Giter Club home page Giter Club logo

caps-cal-convert's Introduction

caps-cal-convert

This converts a public Google Calendar address into a .ics file

My favorite hockey team only provides their calendar as a Google Calendar link that you can subscribe to. I wanted to show the games on my Inkycal which only supports direct links to ics files or local ics files.

I created a simple script that will take a Google Calendar public link and will create an ics file from that.

Set-up

Copy convert.py and edit the first few lines.

  1. Set your timezone
  2. Go to google calendar, find the calendar in question from the list on the left side and click on "settings". Copy the Public URL into public_url in the python file.
  3. Change the save file path if desired.

Notes

  • The file only goes through the next two-ish months of events to create the ics file because my Inkycal only shows a few weeks of events. If you want more events, you can change the number in the line while c < 2: to be something more and it will show more events.
  • This will only work with public urls built and published with Google Calendar because it parses the html page that google calendar uses to show events. I recommend looking for an ics link for this calendar you want to see first, before using this. Most places will let you find the direct ics link, but in this case it was not available.

caps-cal-convert's People

Contributors

emilyboda avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.