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

Import the package and search for songs by a given artist:

# 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.0.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: goco-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 51903d34a42f3f2eda44bba69033f812c2f5c7f3247e393f295bbc596d5adb1a
MD5 c03baf188281cd0dd4a039b10f0580b4
BLAKE2b-256 353083a01bc52f8a87fcd6a2ef5b43b005a89b85b30dc06f0f4b72d0f0394682

See more details on using hashes here.

File details

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

File metadata

  • Download URL: goco-1.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 152c9a44dc0d2956ef282601abd4647edc9b1261e25d0138707aceb5e0a2ac50
MD5 276615aa5b331407a9fba836a14bfc11
BLAKE2b-256 27c377b9a6d120637bbacb9ab578af6cbd00ba7aab00b0a75085d59e7482646f

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