The /usage
resource gives 30-days of details about your Appfigures API request and partner credit usage.
Request
GET /usage
Example Response
// /usage { "api_requests": { "history": { "total": 1000, "today": 456, "history": { "2014-04-18T00:00:00Z": 799, "2014-04-19T00:00:00Z": 921, "2014-04-20T00:00:00Z": 875, "2014-04-21T00:00:00Z": 941, } }, "total": 1000, "used": 456, "remaining": 544 }, "partner_api": { "history": { "total": 100, "today": 0, "history": { "2014-04-18T00:00:00Z": 0, "2014-04-19T00:00:00Z": 0, "2014-04-20T00:00:00Z": 0, "2014-04-21T00:00:00Z": 0, ... } }, "total": 100, "used": 0, "remaining": 100 } }