Simple authenticator for google apis
Project description
Goco
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", "path\\to\\credentials.storage")
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
goco-1.0.1.tar.gz
(3.1 kB
view hashes)
Built Distribution
goco-1.0.1-py3-none-any.whl
(4.2 kB
view hashes)