I'm writing an app that allows the user to select a country from a list. When they pick a country, a list of national holidays of that country appears.
I've seen CalendarProvider and Google Calendar V3, but they seem to only provide the current user's calendar.
How can I get the national holidays of a specific country? Any suggestion would help me.
Update:
I've found this post which can get a list of holidays in JSON format. In this example, the country code is defined by calendar ID, for instance pt_br.brazilian#holiday@group.v.calendar.google.com or en.usa#holiday@group.v.calendar.google.com.
But I can't find any documentation about this. Is it possible to use the API this way? If yes, where can I get those calendar IDs?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…