Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.
/ goco Public archive

Connecting to Google API has never been easier!

License

Notifications You must be signed in to change notification settings

elmoiv/goco

Repository files navigation

Goco

Build Status Python version Codacy Badge

Connecting to Google apis has never been easier!

Features

  • Easy and Fast connection to google apis
  • Auto-renewable access token

Installation

goco requires Python 3.

Use pip to install the package from PyPI:

pip install goco

Or, install the latest version of the package from GitHub:

pip install git+https://github.com/elmoiv/goco.git

Usage

Using goco to connect to blogger::

# Blogger example
from goco import Goco

GoogleApi = Goco("path\\to\\client_secret.json")

MyBlog = GoogleApi.connect(scope='Blogger', service_name='blogger', version='v3')

Posts = MyBlog.posts().list(blogId='7599400532066909387').execute()

print(Posts)

Tests

Here are a few sample tests:

Contributing

Please contribute! If you want to fix a bug, suggest improvements, or add new features to the project, just open an issue or send me a pull request.