Skip to content

This script fetches data from the Sunrise Sunset API and creates an iCalendar file so that it can be used in your Google, iCloud, or Outlook calendar.

License

Notifications You must be signed in to change notification settings

joshcwinton/SunriseSunsetCalendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sunrise Sunset Calendar

This script fetches data from the Sunrise Sunset API and creates an iCalendar file so that it can be used in your Google, iCloud, or Outlook calendar.

Uses the ICS Python Library to create the .ics file.

Installation and Usage

  1. Clone this repo and navigate to it
  2. pip install -r requirements.txt
  3. python3 main.py
  4. Open the generated .ics file

Future Work

  • Add command line input that requests a zip code and looks up latitude and longitude and time zone automatically using Google Geocoding API
  • Create calendar subscription using Google Calendar API
  • Create a frontend that allows you to directly download a .ics file

About

This script fetches data from the Sunrise Sunset API and creates an iCalendar file so that it can be used in your Google, iCloud, or Outlook calendar.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages