Google Calendar api client for python3
Project description
===============
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
=================
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
=================
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for google-calendar-api-client-python-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3896476e05bdaad6713cc901a5740add7f1a3943bc872a7c6730bc2ca0458ddd |
|
MD5 | 16d4a3600bbe8c096451757f0929faae |
|
BLAKE2b-256 | b4da2a89fe971a96b5eb74098e1bac39228df40fe2835a52cfa0993224b2ad55 |