Comments (2)
Found few apis which could be used for fetching holidays.
- Google calendar API - The api results all holidays for a country. However there is no differentiation wether the holiday return is an public holiday or regional holiday.
List of google holiday calendar cuntrywise:
https://gist.github.com/mattn/1438183
API for fetching holiday :
GET https://www.googleapis.com/calendar/v3/users/me/calendarList?key=[YOUR_API_KEY]
try the api here:
https://developers.google.com/calendar/v3/reference/events/list?apix_params=%7B%22calendarId%22%3A%22en.indian%23holiday%40group.v.calendar.google.com%22%7D
- Holiday API website
API : https://holidayapi.com/v1/holidays?country=IN&year=2018&month=11&day=7&key=
- There are few limitation with this api, for free version it returns only last year public holiday list.
List of countries supported:
https://holidayapi.com/countries
- https://calendarific.com/api-documentation
This seems quite good. And have a proper documentation too. But they have a limit of 1000 Request per day for free account. For a start it look like good candidate. However only one draw back i see, the holiday information doesnt returns the details as if its and gazetted holiday or normal regional holiday, hence making Republic day and pongal both as public holiday. Seems like it picking up bank holidays.
from ispublicholiday.
Planning to implement the last option
from ispublicholiday.
Related Issues (7)
- Create a front page design/demo for website
- Identify API for fetching the public holiday countrywise. HOT 1
- Create API specs which frontend can consume
- Create backend structure to consume public holiday api
- Consume backend api and show information is today is holiday or not
- book domain and host site on a cloud
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ispublicholiday.