bkaluza / Snaga2ical

Exports SNAGA-bins pickups to ical format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snaga2ical

Simple script that exports SNAGA-bins pickups to ical format. It can be run as a webserver.

How to configure

Visit http://www.mojiodpadki.si/zemljevid and find your location. The class has two parameters:

How to use it

You can either call the class directly:

snaga_bins = Snaga2ical(url, add)
print snaga_bins.to_ical()

Or you can run it as a web server:

$ python snaga2ical.py

which runs on http://localhost:5000 by default. If you have a public server, you can then add it as a feed your Google calendar or similar.

About

Exports SNAGA-bins pickups to ical format


Languages

Language:Python 100.0%