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.jsonis ok). - Create a folder called
token_filesin your project. - Use this
from yta_google_api.oauth.google_oauth_api import GoogleOauthAPIin your code to import the Oauth main class. - Create a
CLIENT_SECRET_FILENAME = PROJECT_ABSPATH + 'client-secret.jon'and aTOKEN_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_VERSIONandSCOPESto be able to create a new service byintance.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.8.tar.gz
(5.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yta_google_api-0.0.8.tar.gz.
File metadata
- Download URL: yta_google_api-0.0.8.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3ffd2326f484e3772f3ec4ba2cff5cbb6a35c60cdbaf8ef4b093a48bf16c9e27
|
|
| MD5 |
975c0b5459a9f70dfd50348a20a8408f
|
|
| BLAKE2b-256 |
4b755b9b6f31a0e71ae4828d6b63a331ec925ee76f2fb6eba5955b49db6d94fa
|
File details
Details for the file yta_google_api-0.0.8-py3-none-any.whl.
File metadata
- Download URL: yta_google_api-0.0.8-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.9.0 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
278aa9e8e26c18cd9aa15ad35caeb6c015131b244855338372f5993e4832611d
|
|
| MD5 |
932446a87a87ea04c895e311df54693b
|
|
| BLAKE2b-256 |
b7d15b3729e70ad0fda9f3e69a1a9f0183f413e49436ff00b7ff524addd7664a
|