https://api.workingdays.org/api-countries
By default, the working days API works with the following default parameters:
But all calendars can be fully customized.
Suppose we want to customize our calendar for Australia:
From the setup screen, define your weekend days one by one and define your own default week time schedule (1 to 4 weeks templates are supported). It is your own default definition of a regular week (working hours morning and afternoon for each day of the week):
Choose your public holidays one by one, or by selecting one of our preset configurations:
Define one or several custom periodic rules: for instance “every second Monday of the month is closed” or “every Tuesday of January” has specific working hours that overloads your default week time schedule:
profile_id
:The consumption is not based on the number of requests sent but on the number of days analysed.
For instance “100,000 days/mo” means you can analyse up to a total of 100 000 days in a month (any country, any number of requests).
analyse
with the parameters start_date=2019-01-01&end_date=2019-12-31
, it will take off 365 days of your monthly quota because they are 365 days in the year 2019.add_working_days
with the parameters country_code=FR&start_date=2020-01-01&increment=100
, it will take off 147 days of your monthly quota because the resulting period is 147 days long.get_info_day
, it will remove 1 day from your monthly quotaadd_working_hours
, it will remove 1 day for every 8 hours added/removed from your monthly quota (with a minimum of 1 day)