სიახლეების გამოგზავნა და NakBus-ის ავტოპარკი ახლა პარტნიორის დაფაზეა
დააკავშირეთ თქვენი დეველოპერის ანგარიში Nakordoni Partners ანგარიშთან იმავე ელფოსტით და მართეთ იქ სიახლეები და თქვენი ავტობუსების პარკი (NakDriver / NakManager) გუნდური როლებით. თქვენი API გასაღებები, endpoint-ები და აპლიკაციები უცვლელი რჩება, ხოლო აქაური გვერდები კვლავ მუშაობს. Nakordoni Partners-ის გახსნა
ცოცხალი რიგისა და სიახლის API Online
როდის განახლდა საკონტროლო პუნქტი ბოლოს, რომელი წყაროდან და სიახლის შეფასება.
GET https://nakordoni.eu/api/v1/data/update-info
— კვოტის კლასი: cheap
| პარამეტრი | აღწერა |
|---|---|
ppid | კონტროლის წერტილის ID, მაგ. id_13 (იხ. /api/v1/data/checkpoints) |
lang | ენის კოდი |
პასუხის ველები — პასუხის კონვერტის data ობიექტის შიგნით. [] აღნიშნავს სიას, ამიტომ data.items[].name არის თითოეული ელემენტის ველი name. ველი არის null, არ არსებობს ან ცარიელი სიაა, როცა მნიშვნელობა არ გვაქვს — შემავსებელს არასოდეს ვდებთ.
| ველი | აღწერა |
|---|---|
data.queue_now | Vehicles in the queue at the latest reading. |
data.timestamp | When that reading was taken (unix), with datetime and timezone — the checkpoint's own zone. |
data.age_seconds | How old the reading is now, also as age_minutes and age_hours. |
data.freshness | Plain-language band for that age. is_realtime says the row is an observation rather than a forecast point — it does NOT say the observation was counted; read data_quality for that. |
data.data_quality | high = the reading was counted from a real observation source at the crossing; low = a modelled estimate, because that checkpoint has no counting source. Same high|low vocabulary as the checkpoints directory, Border Queue and Best Time to Cross. Both are real answers; low is not an error, but do not present a low value to drivers as a measurement. |
data.found | false = we monitor the checkpoint but hold no reading; status carries the reason. |
data.origin | Which upstream the reading came from. |
curl "https://nakordoni.eu/api/v1/data/update-info?ppid=id_13" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 შედით დეველოპერის ანგარიშით, რომ ეს ენდპოინტი პირდაპირ Sandbox-ში სცადოთ — დღეში 50 უფასო სატესტო გამოძახება. შესვლა
განახლდა