ავტობუსის გადამზიდველის სასაზღვრო სტატისტიკის API Online
სასაზღვრო გადაკვეთის შესრულება ავტობუსის გადამზიდველის მიხედვით: გადაკვეთები, საშუალო/მედიანური/მინ/მაქს ლოდინის წუთები — შექმნილია ჩვენი საკუთარი ნომრით დადგენილი გადაკვეთის ჩანაწერებიდან.
GET https://nakordoni.eu/api/v1/data/bus-carriers
— კვოტის კლასი: cheap
| პარამეტრი | აღწერა |
|---|---|
ppid | კონტროლპუნქტის ID, მაგ. id_13 — ან "all" აგრეგირებული სიისთვის |
days | პერიოდი 1-90 (ნაგულისხმევი 30) |
min_crossings | მინიმალური გადაკვეთები გადამზიდველის ჩასართავად (ნაგულისხმევი 3) |
limit | დაბრუნებული გადამზიდველების მაქსიმუმი (ნაგულისხმევი 20) |
პასუხის ველები — პასუხის კონვერტის data ობიექტის შიგნით. [] აღნიშნავს სიას, ამიტომ data.items[].name არის თითოეული ელემენტის ველი name. ველი არის null, არ არსებობს ან ცარიელი სიაა, როცა მნიშვნელობა არ გვაქვს — შემავსებელს არასოდეს ვდებთ.
| ველი | აღწერა |
|---|---|
data.companies[].name | Carrier, as matched from plates seen at the border. |
data.companies[].crossings | How many crossings of theirs we matched in the period. |
data.companies[].avg_wait_min | Their average border wait, with median_wait_min, min_wait_min and max_wait_min. |
data.companies[].max_wait_days_ago | How long ago the worst wait happened — an old outlier is not today's carrier. |
data.total_crossings | Crossings observed in period_days, with matched_crossings — the subset a carrier could be identified for. |
data.data_available | false = too little matched data for the checkpoint/period to report anything. |
data.ppid | Checkpoint the stats are for ('all' when aggregated), with mode and generated_at. |
curl "https://nakordoni.eu/api/v1/data/bus-carriers?ppid=all&days=30" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 შედით დეველოპერის ანგარიშით, რომ ეს ენდპოინტი პირდაპირ Sandbox-ში სცადოთ — დღეში 50 უფასო სატესტო გამოძახება. შესვლა