სიახლეების გამოგზავნა და 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"
🔑 შედით დეველოპერის ანგარიშით, რომ ეს ენდპოინტი პირდაპირ Sandbox-ში სცადოთ — დღეში 50 უფასო სატესტო გამოძახება. შესვლა

განახლდა