Жаңалық жіберу және NakBus паркі енді әріптес тақтасында
Әзірлеуші аккаунтыңызды сол электрондық поштамен Nakordoni Partners аккаунтына қосыңыз және онда жаңалықтар мен автобус паркіңізді (NakDriver / NakManager) команда рөлдерімен басқарыңыз. API кілттеріңіз, endpoint-тер мен қолданбалар өзгеріссіз қалады, ал мұндағы беттер жұмысын жалғастырады. Nakordoni Partners ашу

← Барлық соңғы нүктелер

Аккаунтты пайдалану API

Шақыратын кілтіңіз үшін лимиттеріңізден қазір қанша қалғаны: жоспар, секундтық лимит және әр күндік квота класы (cheap, heavy, route) үшін лимит, жұмсалғаны, қалғаны және нөлдену уақыты (UTC түн ортасы); сондай-ақ осы кілт көретін елдеріңіз және жоспарды қайдан көтеруге болатыны. Есептелмейді, бір кілтке минутына 30 шақыру.

GET https://nakordoni.eu/api/v2/account/usage — есептелмейді — квотаны ешқашан жұмсамайды

Жауап өрістері — жауап конвертіндегі data объектісінің ішінде. [] тізімді білдіреді, сондықтан data.items[].name — әр элементтің name өрісі. Мәні жоқ өріс null болады, мүлде болмайды немесе бос тізім қайтарады — толтырғышты ешқашан қоймаймыз.

ӨрісСипаттама
data.planYour plan: slug and display name.
data.qpsPer-second request cap that applies to this key now.
data.quotas.cheap.limitDaily allowance of the standard class; heavy and route have the same four fields.
data.quotas.cheap.usedUnits spent today with this key.
data.quotas.cheap.remainingUnits left today — equals X-Devapi-Remaining.
data.quotas.cheap.reset_atWhen the counter resets, ISO-8601 UTC (midnight UTC). The X-Devapi-Reset header gives the same moment as a Unix timestamp.
data.markets.approvedCountries this key may use. Countries switched on through an integration work only with that integration's key.
data.markets.allowedHow many countries the plan allows; null = unlimited.
data.markets.availableIntegration keys only: the integration's countries you do not have yet (null for other keys).
data.markets.key_boundtrue when some approved countries belong to one key only, so another key can see a different list.
data.upgrade_urlBilling page in your account language — upgrade the plan or add extra countries.
data.passIntegration keys only: Trip Pass state {active, expires_at, days_left}; null for other keys.
data.pass_urlIntegration keys only: link to the Trip Pass on the Billing page (account language); null for other keys.
curl "https://nakordoni.eu/api/v2/account/usage" \
  -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Бұл соңғы нүктені сынақ алаңында тікелей байқап көру үшін әзірлеуші ретінде кіріңіз — тәулігіне 50 тегін сынақ шақыруы. Кіру

Жаңартылды