Documentation menu
Get a year timetable
GET
/v2/locations/{id}/timetables/{year}.json Returns every day of one calendar year, 1 January to 31 December. Dates are ISO 8601 and times are 24-hour. A year file does not change from day to day, so you can cache it.
Path parameters
idstringrequiredTimetable id from List timetables, for example kuttiady-assembly-constituency.
yearintegerrequiredCalendar year from 2020 to 2031. A new year is added each January.
Returns
A timetable object with location, timeZone, utcOffset, attribution, year, links and days, with 365 entries or 366 in a leap year.
JSON43 KB
Every field is described in Response format Try it
Choose the parameters to see the request and the response it returns from the live API.