Skip to main content
==========================
Python Google calendar api
==========================

This package demonstrates a simple implementation of Google calendar api and let you create and update events.

Description
-----------

1. The first step is to turn on your google calendar api.

a. Use the following link to create or select a project from the google developer console and turn on the api.

https://console.developers.google.com/start/api?id=calendar

Click continue and go to credentials.

b. On the Add credentials to your project page, click the Cancel button.

c. At the top of the page, select the OAuth consent screen tab. Select an Email address, enter a Product name if not already set, and click the Save button.

d. Select the Credentials tab, click the Create credentials button and select OAuth client ID.

e. Select the application type "Other", enter the desired name, and click the Create button.

f. Click OK to dismiss the resulting dialog.

g. Click the Download JSON button to the right of the client ID.

h. Move this file to your projects home directory and rename it client_secret.json.

2. Install the package using the folowing command

pip install python-google-calendar-api

3. Once the client_secret.json file is in your projects home directory and the this package is installed, you are able to create and update events on your google calendar.

4. Example code:

from calendar_api.calendar_api import google_calendar_api
m=google_calendar_api()
m.create_event(calendar_id='<your calendar id>',
start='2017,12,5,15,00,00',
end='2017,12,5,15,15,00'
description='foo'
)


Metadata

Release files for python-google-calendar-api 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for python-google-calendar-api 0.5
File Interpreter ABI Platform
python_google_calendar_api-0.5-py3-none-any.whl Python 3 none any Details

Release files / python_google_calendar_api-0.5-py3-none-any.whl

Download URL python_google_calendar_api-0.5-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d509779d37ba84708d6f437e17d006521b294a676503286a9336c37fb107e464
BLAKE2b-256 checksum
How to use checksums
70c98d6c786516d4ef296aed113dbd0d70291cd00eb492dd9687fbbf7cf1c845
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page