BigGo API Python Client
BigGo API Python Client is a video API written in python. We have two APIs included so far and will update more APIs and the function in each of them in the short future.
This package also support asyncio, but the Getting Started part only illustrate synchronous usage.
For asynchronous usage, see async docs.
BigGo API Python Client currently support Python 3.9+.
Getting Started
Installaiton
Install biggo-api in virtual environment.
- create and activate virtual environment
python3 -m venv <venv-name>
source <venv-name>/bin/activate
- install
biggo-apiusing pip
python3 -m pip install biggo-api
Initializing API Client
Begin by importing the APIClient and ClientCredentials from biggo_api module:
>>> from biggo_api.clients import APIClient, ClientCredentials
Next, initialize an authorized API client using client credentials:
>>> credentials = ClientCredentials(
... client_id='my_client_id', client_secret='my_client_secret',
... )
>>> api_client = APIClient(client_credentials=credentials)
Accessing BigGo API
You can use a similar approach to access all BigGo API resources using the api client. Simply access the instance client of the desired resource. For example:
# access video api
>>> video_client = api_client.video
# get video information
>>> info = video_client.get(video_id='video_id')
# access user api
>>> user_client = api_client.user
# get client's own videos at page 1
>>> own_videos = user_client.get_own_videos(page=1)
# Use other resources in a similar way...
Features
This library currently supports the following BigGo APIs (see full usage guide in docs folder):
Video API
- Uploading videos.
- Getting video information - Using video ID to get the information for both video and the uploader. (ex: user ID, description, etc. )
- Editing video settings - Editing video title, description, accessibility, etc.
- Deleting videos.
User API
- Getting video information on all uploaded videos on the personal video list.
API Reference
LICENSE
Metadata
Release files for biggo-api 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| biggo-api-0.2.0.tar.gz | 13.9 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| biggo_api-0.2.0-py3.9.egg | Legacy Egg format | - | - | Details |
| biggo_api-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 75.1 kB
Release files / biggo-api-0.2.0.tar.gz
| Download URL | biggo-api-0.2.0.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
37a7c94b7b4e80a27d874bae078b89fb377836b94d2dbf85df2228906facf798
|
|
BLAKE2b-256 checksum How to use checksums |
3015d6832de3ef28e38222f0d9839d3b61817e3fa967654009d38579b257acad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.28.2 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.9.16
|
Release files / biggo_api-0.2.0-py3.9.egg
| Download URL | biggo_api-0.2.0-py3.9.egg |
|---|---|
| Size | 41.8 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c18426a59a16f950adde99a4f27516efbbf2d2d14e1f1d64ab946b4e51844dff
|
|
BLAKE2b-256 checksum How to use checksums |
f611062d2cdf8b53fbb5fff917843856e0ace83ed05b3ec87b1f9bd71e968902
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.28.2 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.9.16
|
Release files / biggo_api-0.2.0-py3-none-any.whl
| Download URL | biggo_api-0.2.0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26eb49818be95359321fbef0e1449a3f548ac86646c0e8d64bb220a8b82464e7
|
|
BLAKE2b-256 checksum How to use checksums |
46fe6dad5818e7e8ba066d3634d4cce74a97256413c6f588ee90bd8c3015e136
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.28.2 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.9.16
|