Подаването на новини и флотата NakBus вече са в партньорското табло
Свържете акаунта си за разработчици с акаунт в Nakordoni Partners със същия имейл и управлявайте там новините и автобусния си флот (NakDriver / NakManager) с роли за екипа. Вашите API ключове, крайни точки и приложения остават непроменени, а страниците тук продължават да работят. Отвори 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"
🔑 Влезте като разработчик, за да изпробвате тази крайна точка на живо в sandbox — 50 безплатни тестови заявки на ден. Вход

Обновено