Skip to main content

Google API services simplified.

Project description

YTA Google Api

The simplest way to interact with the Google API services.

This library is intented to simplify the interaction with the Google API for using the Google services such as Youtube, Slides, etc.

Instructions

  • Go to Google Developers Console (https://console.cloud.google.com/), create an Oauth user and enable the service you need to use.
  • Obtain your Oauth user secret, download it and place it in your project (calling it client-secret.json is ok).
  • Create a folder called token_files in your project.
  • Use this from yta_google_api.oauth.google_oauth_api import GoogleOauthAPI in your code to import the Oauth main class.
  • Create a CLIENT_SECRET_FILENAME = PROJECT_ABSPATH + 'client-secret.jon' and a TOKEN_FILES_ABSPATH' = PROJECT_ABSPATH + 'token_files/'
  • Instantiate it as instance = GoogleOauthAPI(CLIENT_SECRET_FILENAME, TOKEN_FILES_ABSPATH)
  • And now you have to look for your service API_NAME, API_VERSION and SCOPES to be able to create a new service by intance.create_service(API_NAME, API_VERSION, SCOPES).

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

yta_google_api-0.0.7.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yta_google_api-0.0.7-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file yta_google_api-0.0.7.tar.gz.

File metadata

  • Download URL: yta_google_api-0.0.7.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.9.0 Windows/10

File hashes

Hashes for yta_google_api-0.0.7.tar.gz
Algorithm Hash digest
SHA256 ad5fc4592e71bcd75efebc6519b4c4a6eac5650b91d1cdabc9f0a5df3ea5c579
MD5 e87f3860e175a483da04a65f0ec0dcf2
BLAKE2b-256 eedd3c14a3d2374df801a7a1bafc8b1a779adb84cfa144c7a54a9a7386e0aff0

See more details on using hashes here.

File details

Details for the file yta_google_api-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: yta_google_api-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.9.0 Windows/10

File hashes

Hashes for yta_google_api-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 af777da144bf94ec883a53452bb45c223a7396a1609dc74d592edafc8f6bc1e5
MD5 e91eeba1f68d64f8f41cbfbb24e82407
BLAKE2b-256 830e00b766c7494a9d2bcb751a21f202f1fb836e386b9600fac02a6ed6e1e1a2

See more details on using hashes here.

Supported by

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