Flattr Developer Platform

Flattr resource now returns a thing

When you flattr a thing from the API you now get a small thing object if the flattr was successful. It also returns a location but that attribute is now deprecated in favour of the thing attribute. location will be removed in due time.

Example request
POST https://api.flattr.com/rest/v2/things/423405/flattr
Example response
HTTP/1.1 200 OK
Content-Type: application/json;charset=utf-8
X-RateLimit-Limit: 1000
X-RateLimit-Remaining: 999
X-RateLimit-Current: 1
X-RateLimit-Reset: 1342521939
{
  "message": "ok",
  "description": "Thing was successfully flattred",
  "thing": {
    "type": "thing",
    "resource": "https://api.flattr.com/rest/v2/things/423405",
    "link": "https://flattr.com/thing/423405",
    "id": 423405,
    "flattrs": 3,
    "url": "http://blog.flattr.net/2011/10/api-v2-beta-out-whats-changed/",
    "title": "API v2 beta out - what's changed?",
    "image": "https://flattr.com/thing/image/4/2/3/4/0/5/medium.png"
  }
}
Visit Flattr.com to learn more about Flattr.