twyle / google-calendar

A python library for working with the google calendar.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

google-calendar

Overview

A python library for working with the google calendar. Allows the developer to programatically perform the following tasks:

  • Schedule an event
  • Find all scheduled events
  • Search for specific scheduled events
  • Delete or update scheduled events
  • Create calendars

Getting started

Tou use this library, you will need a Google (GMail) Account and Google Credentials. Follow the instructions in this short article to get an API key.

Installing the library

pip install oryks-google-calendar

Schedulin an event

from google_calendar import GoogleCalendar

client_secret: str = 'client_secret.json'
google_calendar: GoogleCalendar = GoogleCalendar(secret_file=client_secret)
google_calendar.authenticate()

print(google_calendar.quick_add('Meeting with emmanuel at 10.00 am tommorrow.'))

About

A python library for working with the google calendar.

License:MIT License


Languages

Language:Python 97.0%Language:Makefile 3.0%