Get data from Eventbrite a different way Eventbrite have removed the API we were using (see https://www.eventbrite.com/platform/docs/changelog for December 2019). We are supposed to use the new https://www.eventbrite.com/platform/api#/reference/event/update/list-events-by-organization API. However, it goes on to say: If you’re retrieving private events on behalf of another user, you can complete the app authorization flow. If you’re interested in retrieving public events on behalf of many Eventbrite creators, you can apply to our distribution partner program. As far as we can tell, if we register for an API key and then use it to call the events by organisation API, it only works for your own organisation; passing a different organisation ID returns a 404 from the API. This suggests that to run the calendar we would need to "apply to [their] distribution partner program", which is unlikely to be granted. So, we grab the data by scraping instead, for now.
Get data from Eventbrite a different way
Eventbrite have removed the API we were using (see https://www.eventbrite.com/platform/docs/changelog for December 2019).
We are supposed to use the new https://www.eventbrite.com/platform/api#/reference/event/update/list-events-by-organization API.
However, it goes on to say:
If you’re retrieving private events on behalf of another user, you can complete the app authorization flow. If you’re interested in retrieving public events on behalf of many Eventbrite creators, you can apply to our distribution partner program.
As far as we can tell, if we register for an API key and then use it to call the events by organisation API, it only works for your own organisation; passing a different organisation ID returns a 404 from the API.
This suggests that to run the calendar we would need to "apply to [their] distribution partner program", which is unlikely to be granted.
So, we grab the data by scraping instead, for now.

BirminghamIO/calendar.birmingham.io