Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

biggo-api

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

biggo-api

client for accessing biggo api

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

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.

  1. create and activate virtual environment
python3 -m venv <venv-name>
source <venv-name>/bin/activate
  1. install biggo-api using 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

See Sphinx-docs folder

LICENSE

MIT


:arrow_up: Back to top

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc