API Docs

Version:  1.0

GET/v1.0/usage

Return historical quota usage information.


Definition

https://api.sharedcount.com/v1.0/usage


Parameters

Query Params
apikey:
required
stringYOUR_APP_KEY

Result Format

Success
{"2014-02-13": {"date": "2014-02-13", "queries": 320, "quota": 10000}, "2014-02-14":
{"date": "2014-02-14", "queries": 4403, "quota": 10000}, "2014-02-15":
{"date": "2014-02-15", "queries": 202, "quota": 10000}, "2014-02-16":
{"date": "2014-02-16", "queries": 105, "quota": 10000}}

Documentation

Node.js
Python
Php
npm i sharedcount-sdk

const SharedCountApi = require('sharedcount-sdk');
let sharedCountApiInstance = new SharedCountApi(YOUR_API_KEY);
 
//Return historical quota usage information.
var usage = sharedCountApiInstance.usage();
pip install sharedcountsdk

from sharedcountsdk import SharedCountApi
sharedCountApiInstance = SharedCountApi('YOUR_API_KEY')

//Return historical quota usage information.
usage = sharedCountApiInstance.usage()
composer require sharedcount/sharedcount-sdk

require __DIR__ . '/vendor/sharedcount/sharedcount-sdk/lib/api.php';
$sharedcountApiInstance = new SharedcountApi('YOUR_API_KEY');

//Return historical quota usage information.
$usage = $sharedcountApiInstance->usage();