-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE] GuiStracini.HolidayAPI.Model.Holiday - SubDivisions #78
Labels
Comments
To it work the Steps:
A sample request: https://holidayapi.com/v1/holidays?pretty&country=USA&year=2022&subdivisions=true&key=[API-KEY] A sample response: {
"name": "Civil Rights Day",
"date": "2022-01-17",
"observed": "2022-01-17",
"public": true,
"country": "US",
"uuid": "7068a05c-881f-4a74-9a36-829383316de7",
"weekday": {
"date": {
"name": "Monday",
"numeric": "1"
},
"observed": {
"name": "Monday",
"numeric": "1"
}
},
"subdivisions": [
"US-AZ",
"US-NH"
]
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Is your feature request related to a problem? Please describe.
After GetHolidaysAsync() is returned I am iterating through the results looking for the SubDivisions that the holiday is associated to;
Describe the solution you'd like
for a [SubDivisions] property string array of SubDivisions the holiday is associated to;
The text was updated successfully, but these errors were encountered: