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

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.6.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

goco-1.0.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: goco-1.0.6.tar.gz
  • Upload date:
  • Size: 3.2 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.6.tar.gz
Algorithm Hash digest
SHA256 26c109ff0ca3da0ef883d55d909c709b81e35e62349a8b2bf294507a291a5d8b
MD5 13256ecd1735a6b8f50549020fc461e3
BLAKE2b-256 e43e2a466e0d420f0e05e623ee5d94883c06640e0e3abc332a782ff90b12641e

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: goco-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.3 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 71a242d3f2e481e65e328fa1e641c066a51cc471e9159a6f70ccd4c979eb60a0
MD5 9914268e769e5ee0a1dedc32a6971239
BLAKE2b-256 866297b64efdf0a91ac5054c4d9b68455b8a89fdfa3e06e40124a19c6eb0b7d2

See more details on using hashes here.

Provenance

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