API של ימי ראשון עם מסחר Online
תקנות פתיחת חנויות בימי ראשון, וימי ראשון הקרובים שבהם מותרת מסחר, לכל מדינה מוסדרת באיחוד האירופי.
GET https://nakordoni.eu/api/v1/data/trading-sundays
— מחלקת מכסה: cheap
| פרמטר | תיאור |
|---|---|
country | קוד מדינה ISO (לא חובה) |
שדות התשובה — בתוך אובייקט data שבמעטפת התשובה. [] מסמן רשימה, ולכן data.items[].name הוא שדה name של כל פריט. שדה יהיה null, ייעדר או יחזור כרשימה ריקה כשאין לנו ערך עבורו — לעולם לא ערך ממלא מקום.
| שדה | תיאור |
|---|---|
data.countries[].country | ISO-2 country, with regulated — whether Sunday trading is restricted there at all. |
data.countries[].regulation_type | How it is regulated (nationwide ban with exceptions, regional rules, none). |
data.countries[].count | Trading Sundays in data.year for that country. |
data.countries[].next | The next trading Sunday from today, null when the year holds no more. |
data.mode | What the answer covers — one country or the whole set; regulated_only echoes the filter. |
curl "https://nakordoni.eu/api/v1/data/trading-sundays?country=PL" \ -H "Authorization: Bearer NKD-DEV-XXXX-XXXX-XXXX"
🔑 התחברו כמפתחים כדי לנסות את נקודת הקצה הזו בשידור חי ב־Sandbox — 50 קריאות בדיקה חינם ביום. התחברות