Skip to content

openactive-contrib/openactive-clubs

Repository files navigation

OpenActive Clubs

Note: Work in progress!

This tool reads a number of Google Sheets and converts them into a single OpenActive JSON feed. Organizer and location info only.

Usage

Club owners

Service owner

  • Copy all except the Excel files from this repo to your server
  • Make a file called "spreadsheet-ids.txt". Put the spreadsheet IDs sent from club owners into this file, one per line, no commas or other furniture.
  • Contact the owner of the "services@openactive-clubs.iam.gserviceaccount.com" account to obtain the associated "key.json" file, which is used to authenticate the service with the club owners' files. This email address is owned by the ODI Google account "OpenActive Clubs" project, which is the root of the Google Sheets API functionality used herein. Don't attempt to contact this email address directly, it's only for automation.
  • Put the "spreadsheet-ids.txt" file and the "key.json" file in a non-public folder on your server. In the location where the code runs, make environment variables called RELATIVE_FILEPATH_SPREADSHEET_IDS and RELATIVE_FILEPATH_KEY, and set them to the relative filepaths of their respective files, including the file names. You may need to mount the storage location to the service in order to access the files within it.
  • Start the service via node index.js
  • See the collated spreadsheet info as a single JSON feed at https://<ADDRESS>/
  • If the contents of "spreadsheet-ids.txt" is updated, then the service will need to be restarted to produce the updated feed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors