Command-line Interface for Google Calendar
Dependencies
Python: 2.6 / 2.7
six
python-dateutil
pytz
tzlocal
google-api-python-client
argparse
Installation
pip command may need sudo
Operation |
Command |
|---|---|
Install |
pip install gcalendar-cli |
Upgrade |
pip install --upgrade gcalendar-cli |
Uninstall |
pip uninstall gcalendar-cli |
Check installed version |
calendar-cli --version |
Help |
calendar-cli -h |
Getting Started
Download client_secret.json from Google Developers Console
Open Google API Manager
Select or create a project
Open API Manager -> Credentials
OAuth consent screen: Set a product name and save
Credentials: Add credentials -> OAuth 2.0 client ID -> Other: Set a name and create
Download a credential file by clicking the Download JSON button, then rename it client_secret.json
Create a credentials file
calendar-cli setup client_secret.json
The default path to the credentials file is ~/.credentials/calendar-cli.json.
Print the summary of today’s events on the default calendar
calendar-cli
Launch with arguments
calendar-cli --date 20151014 calendar-cli --calendar xxxxxx@group.calendar.google.com
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file gcalendar-cli-0.2.3.tar.gz.
File metadata
- Download URL: gcalendar-cli-0.2.3.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c78402f45e45c295a418d4d9fb7cb0fc406007f7f7c49d7409802c3f66614872
|
|
| MD5 |
484edb76fc0110ee36c6395c03de0538
|
|
| BLAKE2b-256 |
3ea79bdc93ce57207633b119999e2ed22c1786c51cdf3da598dd5d7f86c36d28
|