שליחת חדשות וצי 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.plan | Your plan: slug and display name. |
data.qps | Per-second request cap that applies to this key now. |
data.quotas.cheap.limit | Daily allowance of the standard class; heavy and route have the same four fields. |
data.quotas.cheap.used | Units spent today with this key. |
data.quotas.cheap.remaining | Units left today — equals X-Devapi-Remaining. |
data.quotas.cheap.reset_at | When the counter resets, ISO-8601 UTC (midnight UTC). The X-Devapi-Reset header gives the same moment as a Unix timestamp. |
data.markets.approved | Countries this key may use. Countries switched on through an integration work only with that integration's key. |
data.markets.allowed | How many countries the plan allows; null = unlimited. |
data.markets.available | Integration keys only: the integration's countries you do not have yet (null for other keys). |
data.markets.key_bound | true when some approved countries belong to one key only, so another key can see a different list. |
data.upgrade_url | Billing page in your account language — upgrade the plan or add extra countries. |
data.pass | Integration keys only: Trip Pass state {active, expires_at, days_left}; null for other keys. |
data.pass_url | Integration 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 קריאות בדיקה חינם ביום. התחברות
עודכן