Combine subscribe-able calendars to publish a public calendar of your own that respects your privacy
$ python3 -m venv venv
# MacOS & Linux
$ . venv/bin/activate
# Windows Powershell
> venv\Scripts\activate
$ pip install flask
$ pip install python-dotenv
$ pip install ics
$ pip install requests
- Duplicate
.env.example
and rename copy to.env
- Make changes to
.env
as required
$ flask run
Send a HTTP POST
request to the flask development server (usually http://localhost:5000
)
Required headers:
Content-Type: application/json
JSON body data
[
"first_ics_url",
"second_ics_url",
// add as many as you like ...
]
You will get a response with the combined following header
Content-Type: text/calendar
Enjoy!