Get Holidays List of a Country from Google Calendar API

I want to extract some country's holiday list from Google Calendar API using JavaScript.

Is it Possible? How Can I do this?

Answers:

Answer

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

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.