适用于 Linux 的只读 Google 日历工具
A command-line tool to read your Google Calendar events in JSON format.
sudo add-apt-repository ppa:slgobinath/gcalendar
sudo apt update
sudo apt install gcalendaryay -S gcalendarOR
packer -S gcalendarInstall these dependencies:
python3-pip python3-setuptools python3-dateutil python3-oauth2client python3-googleapiInstall gcalendar:
pip3 install gcalendarsudo apt install python3-pip python3-setuptools python3-dateutil python3-oauth2client python3-googleapi git
git clone https://github.com/slgobinath/gcalendar.git
cd gcalendar
pip3 install -e .sudo apt install python3-pip python3-setuptools python3-dateutil python3-oauth2client python3-googleapi git
git clone https://github.com/slgobinath/gcalendar.git
cd gcalendar
python3 -m gcalendar…Run gcalendar from the terminal. It will open the Google Calendar OAuth screen in your default browser.
Allow gcalendar to view your calendars as shown in this video: gcalendar Authorization.
After successful authorization, gcalendar should print calendar events on your terminal.
gcalendar --list-calendar# list next 7 days events
gcalendar
# list next 30 days events
gcalendar --no-of-days 30
# list events from selected calendar
gcalendar --calendar "Holidays in Canada"# the default account
gcalendar
# different account named foo
gcalendar --account foo
# different account named bar
gcalendar --account bar# reset the default account
gcalendar --reset
# reset the account named foo
gcalendar --account foo --reset
# reset the account named bar
gcalendar --account bar --resetRun gcalendar --debug and create an issue with the output.
Cinnamon Google Calendar desklet uses gcalendar to pull calendar events and show them on Cinnamon desktop.
GNU General Public License v3
暂无开放 Issues,或尚未同步最近议题。