I want to extract some country's holiday list from Google Calendar API using JavaScript.
Is it Possible? How Can I do this?
Answers:
Yes, using google api you can do that.
- Create an API app in google developer account
.https://console.developers.google.com
- From the "Credentials" tab you can create an API key, you get
something like this "AIzaSyBcOT_DpEQysiwFmmmZXupKpnrOdJYAhhM"
- Then you can access holiday calender using this url
https://www.googleapis.com/calendar/v3/calendars/en.uk%40holiday.calendar.google.com/events?key=yourAPIKey