Skip to main content
===============
python-google-calendar-api
===============

.. image:: https://travis-ci.org/kacchan822/python-google-calendar-api.svg?branch=master
:target: https://travis-ci.org/kacchan822/python-google-calendar-api
:alt: Travis CI

.. image:: https://coveralls.io/repos/github/kacchan822/python-google-calendar-api/badge.svg?branch=master
:target: https://coveralls.io/github/kacchan822/python-google-calendar-api?branch=master
:alt: COVERALLS

.. image:: https://codeclimate.com/github/kacchan822/python-google-calendar-api/badges/gpa.svg
:target: https://codeclimate.com/github/kacchan822/python-google-calendar-api
:alt: Code Climate

.. image:: https://codeclimate.com/github/kacchan822/python-google-calendar-api/badges/issue_count.svg
:target: https://codeclimate.com/github/kacchan822/python-google-calendar-api
:alt: Issue Count

.. image:: https://img.shields.io/badge/license-MIT-blue.svg
:target: https://raw.githubusercontent.com/kacchan822/python-google-calendar-api/master/LICENSE
:alt: LICENSE MIT


**python-google-calendar-api** is Google Calendar api client for python3.


Requirement
============

* Python >= 3.5


Quick start
============

1. Install by pip ::

# install from github master branch
pip install -U https://github.com/kacchan822/python-google-calendar-api/archive/master.tar.gz


2. Usage ::

import datetime

from google_calendar_api.client import GoogleCalendarClient

CALENDAR_ID = 'XXXXXXXXXXXXXXXXX@group.calendar.google.com'

client = GoogleCalendarClient(calendar_id=CALENDAR_ID, client_secrete_file='/path/to/client_secret.json')

events = client.get_events()

for event in events:
start = event['start'].get('dateTime', event['start'].get('date'))
print(start, event['summary'])


Acknowledgements
=================

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

google-calendar-api-client-python-0.1.0.tar.gz (3.5 kB view details)

Uploaded Source

File details

Details for the file google-calendar-api-client-python-0.1.0.tar.gz.

File metadata

  • Download URL: google-calendar-api-client-python-0.1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.7

File hashes

Hashes for google-calendar-api-client-python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3896476e05bdaad6713cc901a5740add7f1a3943bc872a7c6730bc2ca0458ddd
MD5 16d4a3600bbe8c096451757f0929faae
BLAKE2b-256 b4da2a89fe971a96b5eb74098e1bac39228df40fe2835a52cfa0993224b2ad55

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page