Account
Controlla i crediti del tuo token.
In questa pagina
Ogni servizio è una richiesta POST con il tuo token. Leggi Chiamare Total API da Total.js e Chiamare Total API via HTTP.
API
rest
POST https://api.totaljs.com/check/
Restituisce i crediti rimasti sul tuo token.
POST https://api.totaljs.com/check/Restituisce Object Un oggetto con i crediti in credits.
È gratuito.
var response = await API('TAPI', 'check').promise();
console.log(response.credits);
curl -X POST https://api.totaljs.com/check/ \
-H "Content-Type: application/json" \
-H "X-Token: YOUR_TOKEN"
{ "credits": 34.49 }