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).
Metadata
Release files for yta-google-api 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yta_google_api-0.1.1.tar.gz | 5.5 kB | Without provenance | Details for yta_google_api-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yta_google_api-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for yta_google_api-0.1.1-py3-none-any.whl |
Total release size: 11.8 kB
Release files / yta_google_api-0.1.1.tar.gz
| Download URL | yta_google_api-0.1.1.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
79c0e0ac0a893ffb5f1132b21466cf66d19b1cb8f1c7126cbf6f097147db6ad7
|
|
BLAKE2b-256 checksum How to use checksums |
ac690ab933dd0783f1a7cda143f1066da95a1e09dc1326260d31f01f4838b86f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|
Release files / yta_google_api-0.1.1-py3-none-any.whl
| Download URL | yta_google_api-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ac5ee083092bee26ef7258a115090368fdc068dd9e6d6bf414ba011b58c2303
|
|
BLAKE2b-256 checksum How to use checksums |
11a7c8d1fdbb1531f0d0366104084680eebbd50b562c1cc5a2cfb3303fab884f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.0 CPython/3.9.0 Windows/10
|
Security for yta-google-api 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.