Skip to content

A script to gather stick and puck and drop-in times from the closest rinks to where I live, then add them as events to a Google Calendar.

Notifications You must be signed in to change notification settings

booshja/stick-and-puck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stick-and-puck

A script to gather stick and puck and drop-in times from the closest rinks to where I live, then add them as events to a Google Calendar.

Features

  • Fetching data from the KCI API
  • Fetching data from the OVA/LIA API
  • Creating events via the Google Calendar SDK

Upcoming Features

  • Checking the calendar and filtering out any duplicate, already created events before creating events for a rink.

Run Locally

Create a Google Calendar, take note of the Calendar ID

Enable a Service Account in Google Cloud

Generate an access key for the Service Account

Save the access key in the repo

Share the Google Calendar to the Service Account with appropriate permissions to edit events

Accept the Google Calendar share by sending an insert calendar request via the SDK using the Calendar ID

Clone the project

  git clone [email protected]:booshja/stick-and-puck.git

Go to the project directory

  cd stick-and-puck

Install dependencies

  npm install

Run the script

  npm run start

Check your Calendar and the terminal output

Level up your hockey skillz 🏒🥅

Tech Stack

TypeScript, Google API TypeScript SDK

Feedback

For feedback, email [email protected].

Authors

About

A script to gather stick and puck and drop-in times from the closest rinks to where I live, then add them as events to a Google Calendar.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published