Skip to main content

Simple authenticator for google apis

Project description

Goco

Build Status Python version

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 details)

Uploaded Source

Built Distribution

goco-1.0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file goco-1.0.1.tar.gz.

File metadata

  • Download URL: goco-1.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.1

File hashes

Hashes for goco-1.0.1.tar.gz
Algorithm Hash digest
SHA256 cdced93148a812baa86be8515402b85e0fe165db73a0a4203c1d414f9a1e1486
MD5 eed87bb57fae697eb0c0ce8b8d9c621c
BLAKE2b-256 86df5e8e6bf8c8ab9ae9d03e53df1d85feadf7b23eb9f8704a2c986b6be42ec7

See more details on using hashes here.

File details

Details for the file goco-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: goco-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.24.0 CPython/3.6.1

File hashes

Hashes for goco-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1bec2219126fddf539dd363eff8778d1209be4c6b5a6aa279a4c35bee5367f2a
MD5 cd9e2b9de7b8c4b677ae5d67d5538ff2
BLAKE2b-256 751513c0c53dc11ad6bbde357c218218cbb39b9daa9f1a2fc1ef0ed31de359e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page