Skip to content

Commit

Permalink
documentation and fixed enum typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nirokay committed Jul 24, 2024
1 parent 230cc0d commit 082f617
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 21 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
{
"cSpell.words": [
"Åland",
"Bundesländer",
"daten",
"hinweis",
"Mayen",
"Meklenburg",
"Rica",
"Thuringia",
"Vorpommern",
"Würtemberg"
Expand Down
153 changes: 153 additions & 0 deletions COUNTRIES.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
= HolidAPI Countries

== APIs

* European countries via https://openholidaysapi.org/[openholidaysapi.org]:
- Albania
- Andorra
- Austria
- Belarus
- Belgium
- Bulgaria
- Croatia
- Czechia
- Estonia
- France
- Germany
- Hungary
- Ireland
- Italy
- Latvia
- Lichtenstein
- Lithuania
- Luxembourg
- Malta
- Moldova
- Monaco
- Netherlands
- Poland
- Portugal,
- Romania,
- San Marino
- Slovenia
- Spain
- Switzerland,
- Vatican City

* Germany (alternative) via https://www.feiertage-api.de/[feiertage-api.de]

* Countries via https://date.nager.at/[nager.date]:
- Andorra
- Albania
- Armenia
- Argentina
- Austria
- Australia
- Åland Islands
- Bosnia And Herzegovina
- Barbados
- Belgium
- Bulgaria
- Benin
- Bolivia
- Brazil
- Bahamas
- Botswana
- Belarus
- Belize
- Canada
- Switzerland
- Chile
- China
- Colombia
- Costa Rica
- Cuba
- Cyprus
- Czechia
- Germany
- Denmark
- Dominican Republic
- Ecuador
- Estonia
- Egypt
- Spain
- Finland
- Faroe Islands
- France
- Gabon
- United Kingdom
- Grenada
- Georgia
- Guernsey
- Gibraltar
- Greenland
- Gambia
- Greece
- Guatemala
- Guyana
- HongKong
- Honduras
- Croatia
- Haiti
- Hungary
- Indonesia
- Ireland
- Isle Of Man
- Iceland
- Italy
- Jersey
- Jamaica
- Japan
- South Korea
- Kazakhstan
- Liechtenstein
- Lesotho
- Lithuania
- Luxembourg
- Latvia
- Morocco
- Monaco
- Moldova
- Montenegro
- Madagascar
- North Macedonia
- Mongolia
- Montserrat
- Malta
- Mexico
- Mozambique
- Namibia
- Niger
- Nigeria
- Nicaragua
- Netherlands
- Norway
- New Zealand
- Panama
- Peru
- Papua New Guinea
- Poland
- Puerto Rico
- Portugal
- Paraguay
- Romania
- Serbia
- Russia
- Sweden
- Singapore
- Slovenia
- Svalbard And Jan Mayen
- Slovakia
- San Marino
- Suriname
- El Salvador
- Tunisia
- Turkey
- Ukraine
- United States
- Uruguay
- Vatican City
- Venezuela
- Vietnam
- South Africa
- Zimbabwe
20 changes: 1 addition & 19 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,7 @@ _HolidAPI_ (pronounced: _"Holiday-P-I"_, haha get it?), is a wrapper for multipl

== Currently supported countries

* European countries via https://openholidaysapi.org/[openholidaysapi.org]:
- Albania, Andorra, Austria
- Belarus, Belgium, Bulgaria
- Croatia, Czechia
- Estonia
- France
- Germany
- Hungary
- Ireland, Italy
- Latvia, Lichtenstein, Lithuania, Luxembourg
- Malta, Moldova, Monaco
- Netherlands
- Poland, Portugal,
- Romania,
- San Marino, Slovenia, Spain, Switzerland,
- Vatican City


* Germany (alternative) via https://www.feiertage-api.de/[feiertage-api.de]
See `./COUNTRIES.adoc` for a list of supported countries.

You do not see your country in this list? Help us by expanding the API wrappers! :D

Expand Down
4 changes: 2 additions & 2 deletions src/holidapi/apis/nagerdate.nim
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type
Chile = "CL"
China = "CN"
Colombia = "CO"
Costa Rica = "CR"
CostaRica = "CR"
Cuba = "CU"
Cyprus = "CY"
Czechia = "CZ"
Expand Down Expand Up @@ -99,7 +99,7 @@ type
Peru = "PE"
PapuaNewGuinea = "PG"
Poland = "PL"
Puerto Rico = "PR"
PuertoRico = "PR"
Portugal = "PT"
Paraguay = "PY"
Romania = "RO"
Expand Down

0 comments on commit 082f617

Please sign in to comment.