API - Statistiques

/overview

Returns general information on your account.

Return Values

For example

Address: http://api.shorten.li
GET /overview?uid=VOTRE_ID&secret_key=VOTRE_CLE_SECRETE
{
  "status_code": 200,
  "status_txt": "OK",
  "data": [
    {
      "balance": 477.6521,
      "links": 84,
      "clicks": 142 1401,
      "referrals": 16,
      "referrals_commosion": 20.1205,
    }
  ]
}

/daily_statistics

Returns the daily statistics of the given period.

Parameters

Notes

Return Values

For example

Address: http://api.shorten.li
GET /daily_statistics?uid=VOTRE_ID&secret_key=VOTRE_CLE_SECRETE&start_date=2013-10-02&end_date=2013-10-04
{
  "status_code": 200,
  "status_txt": "OK",
  "data": [
    {
      "date": "2013-10-04",
      "earnings": 27.4082,
      "referrals_commission": 9.9514,
      "clicks": 6490
    },
    {
      "date": "2013-10-03",
      "earnings": 21.2850,
      "referrals_commission": 6.9168,
      "clicks": 4997
    },
    {
      "date": "2013-10-02",
      "earnings": 25.6088,
      "referrals_commission": 7.3675,
      "clicks": 6048
    }
  ]
}