API Docs

Version:  v1.1

GET/v1.1/quota

Return information about your quota allocation for the day.


Endpoint

https://api.sharedcount.com/v1.1/quota


Parameters

NameTypeDescription Required
apikeystringYour API Key.true

Code Examples

Curl
Node.js
Python
Php
curl 'https://api.sharedcount.com/v1.1/quota?apikey=YOUR_API_KEY'
npm i sharedcount-sdk

const SharedCountApi = require('sharedcount-sdk');
let sharedCountApiInstance = new SharedCountApi('YOUR_API_KEY');
 
//Return information about your quota allocation for the day.
var quota = sharedCountApiInstance.quota();
pip install sharedcountsdk

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

#Return information about your quota allocation for the day.
quota = sharedCountApiInstance.quota()
composer require sharedcount/sharedcount-sdk

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

//Return information about your quota allocation for the day.
$quota = $sharedcountApiInstance->quota();

Result Format

Success
{
    "quota_used_today": 812,
    "plan": "personal",
    "quota_remaining_today": 188,
    "quota_allocated_today": 10000
}