forked from andrewramsay/ical_to_gcal_sync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py
26 lines (19 loc) · 942 Bytes
/
config.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# The iCal feed URL for the events that should be synced to the Google Calendar.
# Note that the syncing is one-way only.
ICAL_FEED = '<ICAL FEED URL>'
# the ID of the calendar to use for iCal events, should be of the form
# '[email protected]', check the calendar settings page to find it.
# (can also be 'primary' to use the default calendar)
CALENDAR_ID = '<GOOGLE CALENDAR ID>'
# must use the OAuth scope that allows write access
SCOPES = 'https://www.googleapis.com/auth/calendar'
# API secret stored in this file
CLIENT_SECRET_FILE = 'ical_to_gcal_sync_client_secret.json'
# Location to store API credentials
CREDENTIAL_PATH = 'ical_to_gcal_sync.json'
# Application name for the Google Calendar API
APPLICATION_NAME = 'ical_to_gcal_sync'
# File to use for logging output
LOGFILE = 'ical_to_gcal_sync_log.txt'
# Time to pause between successive API calls that may trigger rate-limiting protection
API_SLEEP_TIME = 0.05