Useful for creating invoices for time marked out in calendars. It is currently very tailored to my use case, but could be made more general without too much effort.
- Create new Credentials.
- Visit the Google Developer Console.
- Create a new project.
- Enable the Google Calendar API.
- Click "Go to Credentials".
- For "Where will you be calling the API from?", select "Other UI".
- For "What data will you be accessing?", select "User data".
- "Download JSON", and save as
client_secrets.json
in this repo. - Run
bundle install
. - Run
bundle exec ruby artichoke_hours.rb
.