Skip to content
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

What about an /Holidays endpoint? #12

Open
michbeck100 opened this issue Jul 1, 2024 · 1 comment
Open

What about an /Holidays endpoint? #12

michbeck100 opened this issue Jul 1, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@michbeck100
Copy link

Wouldn't it be good to have an endpoint that returns all holiday entries for the query parameters at once? Since the payload already contains the type Public or School, this would be easy to differentiate.

I would suggest to introduce the endpoint /Holidays which has the same parameters like the others but returns data from both /SchoolHolidays and /PublicHolidays.

@fstueber
Copy link
Contributor

fstueber commented Jul 1, 2024

I will consider this. I am anyway in the process of refactoring the API towards a stable 1.0 version. Thanks for the feedback.

@fstueber fstueber added the enhancement New feature or request label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants