Nəzarət-buraxılış məntəqələri kataloqu API Online
Bütün monitorinq edilən sərhəd nəzarət-buraxılış məntəqələrinin kataloqu: identifikatorlar, adlar, ölkələr, koordinatlar və status. Ondan digər API-lər üçün ppid dəyərlərini aşkar etmək üçün istifadə edin.
GET https://nakordoni.eu/api/v1/data/checkpoints
— kvota sinfi: cheap
| Parametr | Təsvir |
|---|---|
country | Ölkənin rəqəmsal kodu üzrə filtrləmə (1=UA, 2=PL, 3=SK, 4=HU, 5=RO, 6=MD, 7=BY, 8=LT, 9=LV, …) |
lang | Nəzarət məntəqələri adları üçün dil (standart en) |
Cavab sahələri — cavab zərfindəki data obyektinin içində. [] siyahını bildirir, yəni data.items[].name hər elementin name sahəsidir. Dəyəri olmayan sahə null olur, ümumiyyətlə görünmür və ya boş siyahı qaytarır — heç vaxt doldurucu qoymuruq.
| Sahə | Təsvir |
|---|---|
data.checkpoints[].ppid | Checkpoint ID — the value every other product's ppid parameter takes. |
data.checkpoints[].name | Checkpoint name in the requested language. |
data.checkpoints[].origin | Numeric country code of the side the crossing is operated from. |
data.checkpoints[].destination | Numeric country code of the country across the border. |
data.checkpoints[].crossing_type | Vehicle type this row is monitored for: 4=car, 5=taxfree car, 6=bus, 7=pedestrian, 8=truck<7.5t, 9=truck. |
data.checkpoints[].timezone | IANA timezone of the crossing — every timestamp for it is in this zone. |
data.checkpoints[].status | 1=open, 3=closed, 0=inactive. |
data.checkpoints[].has_day_stats | false means the Best Time to Cross product has no matrix for this checkpoint and would answer 404 — skip it rather than poll it. |
data.count | Number of checkpoints returned. |
curl "https://nakordoni.eu/api/v1/data/checkpoints" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 Bu son nöqtəni sınaq mühitində canlı yoxlamaq üçün developer kimi daxil olun — gündə 50 pulsuz test sorğusu. Giriş