假期统计API专注于提供有关世界各国带薪休假日和公共假期的综合数据。它处理数据字段,如国家名称、总带薪休假日、公共假期等
{"countries":["Iran","Burkina Faso","Cambodia","Andorra","Bahrain","Kuwait","Russia","France","Algeria","Poland","Malta","Sri Lanka","Kazakhstan","United Arab Emirates","Azerbaijan","Panama","Luxembourg","Georgia","Estonia","Austria","Mauritius","Iceland","Slovakia","Tanzania","Yemen","Ukraine","Syria","Benin","Lebanon","Spain","Denmark","Finland","India","South Korea","Afghanistan","Madagascar","Norway","Bosnia and Herzegovina","Djibouti","Egypt","Peru","Ivory Coast","Niger","Sweden","Lithuania","Gabon","Cyprus","Sao Tome and Principe","Seychelles","Colombia","Angola","Romania","Zimbabwe","Guinea","Czech Republic","Hungary","Belarus","Palestine","Croatia","Slovenia","Italy","Senegal","South Sudan","Bulgaria","New Zealand","Armenia","Albania","Latvia","North Macedonia","Japan","Kenya","Zambia","Cuba","Portugal","Serbia","Oman","Germany","Saudi Arabia","Australia","Chile","Burundi","Belgium","Ireland","Equatorial Guinea","Suriname","Pakistan","United Kingdom","Argentina","Venezuela","Greece","Botswana","Taiwan","Uganda","Morocco","Ghana","Nepal","Netherlands","Hong Kong","Indonesia","South Africa","Chad","Haiti","Switzerland","Belize","Saint Lucia","Turkey","Rwanda","Jordan","El Salvador","Republic of the Congo","Ethiopia","Guatemala","Uruguay","Qatar","Comoros","Myanmar","Canada","Central African Republic","Trinidad and Tobago","Vietnam","Ecuador","Dominican Republic","Grenada","Antigua and Barbuda","Mali","Somalia","Togo","Libya","Paraguay","Mauritania","Lesotho","Guinea Bissau","Fiji","Maldives","Cape Verde","Dominica","Singapore","Bangladesh","Israel","Gambia","Montenegro","Samoa","Sudan","Iraq","Kyrgyzstan","Nicaragua","Moldova","Namibia","Bahamas","Tonga","Mexico","Thailand","Malaysia","Mozambique","Honduras","Papua New Guinea","Costa Rica","Jersey","Cameroon","Malawi","Sierra Leone","Brunei","Philippines","Tunisia","Saint Vincent and the Grenadines","Uzbekistan","Laos","Mongolia","Puerto Rico","Solomon Islands","Vanuatu","Barbados","Brazil","DR Congo","Eritrea","Timor Leste","Guyana","Saint Kitts and Nevis","China","Bolivia","Liberia","Jamaica","San Marino","Bhutan","Nigeria"]}
curl --location --request POST 'https://zylalabs.com/api/6022/vacation+stats+api/8095/get+countries+available+in+dataset' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{"country":"Argentina","paid_vacation_days_by_year":"10\/14\/18\/22","details":"14 calendar days (10 working days, from 0 to 5 years seniority), 21 calendar days (15 working days, from 5 to 10 years), 28 calendar days (20 working days, from 10 to 20 years) and 35 calendar days (25 working days, from 20 years)."}
curl --location --request POST 'https://zylalabs.com/api/6022/vacation+stats+api/8096/get+paid+vacation+days+by+country' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{"country":"Argentina","paid_public_holidays_days_by_year":15,"details":"Every employee is also entitled to 15 paid public holidays and every year the government adds a few more holidays known as 'bridge holidays' which means that a holiday lasts two days."}
curl --location --request POST 'https://zylalabs.com/api/6022/vacation+stats+api/8097/get+paid+public+holidays' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
{"country":"Argentina","total_paid_leave":"29"}
curl --location --request POST 'https://zylalabs.com/api/6022/vacation+stats+api/8098/get+total+paid+leave' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"country":"Required"}'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
假期统计API提供有关各国带薪休假天数和公共假期的详细统计数据,允许用户全球比较和分析假期政策
您可以访问与不同国家的假期政策相关的数据字段,例如国家名称、总带薪休假天数、公共假期和其他相关统计信息
您可以使用假期统计 API 收集多个国家的假期和公共假日数据,使您能够进行比较分析、识别趋势并了解全球假期惯例
是的,假期统计API旨在提供有关带薪假期和公共假日的全面和最新数据,确保用户可以访问最新信息
是的,假期统计API可以集成到应用程序中,允许开发人员利用其数据用于如假期规划工具、人力资源管理系统或与旅行相关的服务等功能
每个端点返回与休假政策相关的特定数据 “获取国家”端点返回国家列表 “获取带薪休假天数”端点提供各国的休假天数数据 “获取带薪公共假期”端点详细介绍公共假期 “获取总带薪休假”端点总结一个国家的总休假天数
关键字段包括“国家”表示国家名称,“每年的带薪假期天数”表示假期数据,“每年的带薪公共假期天数”表示公共假期,以及“总带薪休假天数”表示总假期天数。每个响应还包括“细节”以提供额外的上下文
响应数据以JSON格式结构化 每个响应包括一个国家标识符和相关统计数据 如假期或公共假日 以及详细解释 这种格式便于解析和集成到应用程序中
“获取国家”接口提供国家列表 “获取带薪假期天数”接口提供详细的假期天数统计 “获取带薪公共假期”接口列出公共假期 “获取总带薪休假”接口总结一个国家可用的总带薪休假
所需的主要参数是用于检索假期天数、公共假期和总带薪休假的“国家”名称。用户可以在向其他端点发出请求之前使用“获取国家”端点获取国家列表
用户可以分析返回的数据,以比较各国的休假政策,识别带薪休假的趋势,以及评估公共假期对工作与生活平衡的影响。例如,比较总带薪休假可以帮助组织根据全球标准对其政策进行基准评估
典型的用例包括人力资源政策开发 假期规划工具和与旅行相关的应用程序 企业可以利用这些数据确保遵守当地劳动法律,并通过了解全球假期实践来提高员工满意度
通过定期更新和与可靠来源(如政府劳动统计和国际劳动组织)进行验证来保持数据的准确性。这确保用户获得有关假期政策的可信且相关的信息