Skip to content
Export the calendar from Art Fairs Service to .ics
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
artfaircalendar
.gitignore
README.md
requirements.txt

README.md

Art Fair Calendar

Transforms the data from the Art Fairs Service Website into an ICS calendar.

Installation

git clone https://github.com/Aunsiels/artfaircalendar
cd artfaircalendar
pip3 install -r requirements.txt
export PYTHONPATH=$PYTHONPATH:`pwd`

Simple use case

import datetime
from dateutil.relativedelta import relativedelta
from artfaircalendar.calendar import Calendar
calendar = Calendar.from_end_date(datetime.datetime.now() + relativedelta(months=+1))
calendar = calendar.filter_by_country("France")
calendar.write_ics("my_calendar.ics")
You can’t perform that action at this time.