Programmatic Connections
Drupal 9 Importer Module
Stanford Web Services has released a new events importer module for use with Drupal 9 websites on the Stanford Sites platform. This new version of the module only works with Drupal 9 sites and pulls specifically from the new Events Calendar. Documentation for this tool is available here.
It’s important to note that Localist is the source of truth for your event, with the exception of any extra fields or metadata you add on your Drupal site. If you change event content in Drupal, it will be overwritten the next time your event is synced from Localist.
Localist API
Localist’s read-only API offers the most modern, powerful way to pull Events Calendar data to another site. Data is delivered in JSON format and can include all event data or a subset of your choosing. A brief overview of the Localist API is available on their support site. Full documentation is on their developer site.
CSV/XLS Import to Localist
If you prefer to add a quarter’s or a year’s worth of events at once, you can do so via Localist’s bulk upload. Accessing this feature requires Platform Admin access, so the Events Calendar team will work with you on this. Submit a help ticket to get started.
Continuous CSV Upload
The Events Calendar team can also work with you to pull your events from a .csv – in order to do so, your CSV file must be internet-accessible and at a fixed address. These feeds are only updated once per day during the overnight hours. You can research this method at the bottom of Localist’s bulk add instructions page.