Konto
Prüfe das Guthaben deines Tokens.
Auf dieser Seite
Jeder Dienst ist eine POST-Anfrage mit deinem Token. Mehr dazu unter Total API aus Total.js aufrufen und Total API über HTTP aufrufen.
API
rest
POST https://api.totaljs.com/check/
Gibt das Guthaben zurück, das auf deinem Token übrig ist.
POST https://api.totaljs.com/check/Rückgabe Object Ein Objekt mit dem Guthaben in credits.
Der Dienst ist kostenlos.
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 }