Skip to main content

OneLive VGST API

Project description

onelive-vgst

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 0.1.3
  • Package version: 0.1.3
  • Generator version: 7.19.0
  • Build package: org.openapitools.codegen.languages.PythonClientCodegen

Requirements.

Python 3.9+

Installation & Usage

pip install

If the python package is hosted on a repository, you can install directly using:

pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git

(you may need to run pip with root permission: sudo pip install git+https://github.com/GIT_USER_ID/GIT_REPO_ID.git)

Then import the package:

import onelive_vgst

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import onelive_vgst

Tests

Execute pytest to run the tests.

Getting Started

Please follow the installation procedure and then run the following:

import onelive_vgst
from onelive_vgst.rest import ApiException
from pprint import pprint

# Defining the host is optional and defaults to http://localhost
# See configuration.py for a list of all supported configuration parameters.
configuration = onelive_vgst.Configuration(
    host = "http://localhost"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure Bearer authorization: HTTPBearer
configuration = onelive_vgst.Configuration(
    access_token = os.environ["BEARER_TOKEN"]
)


# Enter a context with an instance of the API client
async with onelive_vgst.ApiClient(configuration) as api_client:
    # Create an instance of the API class
    api_instance = onelive_vgst.ApiKeysApi(api_client)
    api_key_create = onelive_vgst.ApiKeyCreate() # ApiKeyCreate | 

    try:
        # Create Api Key
        api_response = await api_instance.create_api_key_v1_api_keys_post(api_key_create)
        print("The response of ApiKeysApi->create_api_key_v1_api_keys_post:\n")
        pprint(api_response)
    except ApiException as e:
        print("Exception when calling ApiKeysApi->create_api_key_v1_api_keys_post: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to http://localhost

Class Method HTTP request Description
ApiKeysApi create_api_key_v1_api_keys_post POST /v1/api-keys Create Api Key
ApiKeysApi get_api_key_info_v1_api_keys_me_get GET /v1/api-keys/me Get API key info
ApiKeysApi get_api_key_v1_api_keys_api_key_id_get GET /v1/api-keys/{api_key_id} Get Api Key
ApiKeysApi list_api_keys_v1_api_keys_get GET /v1/api-keys List Api Keys
ApiKeysApi revoke_api_key_v1_api_keys_api_key_id_delete DELETE /v1/api-keys/{api_key_id} Revoke Api Key
CustomersApi create_customer_v1_customers_post POST /v1/customers Create Customer
CustomersApi delete_customer_v1_customers_customer_id_delete DELETE /v1/customers/{customer_id} Delete Customer
CustomersApi get_customer_v1_customers_customer_id_get GET /v1/customers/{customer_id} Get Customer
CustomersApi get_customers_v1_customers_get GET /v1/customers Get Customers
CustomersApi get_me_v1_customers_me_get GET /v1/customers/me Get Me
CustomersApi update_customer_v1_customers_customer_id_put PUT /v1/customers/{customer_id} Update Customer
CustomersApi update_me_last_activity_v1_customers_me_last_activity_post POST /v1/customers/me/last-activity Update Me Last Activity
CustomersApi update_me_password_v1_customers_me_update_post POST /v1/customers/me/update Update Me Password
HealthApi get_health_status_v1_health_check_get GET /v1/health-check Health check
MatchesApi get_match_broadcasts_v1_matches_broadcasts_get GET /v1/matches/broadcasts Get match broadcasts
MatchesApi get_matches_v1_matches_get GET /v1/matches Get matches
ProviderMatchesApi upsert_provider_matches_bulk_v1_provider_matches_bulk_post POST /v1/provider-matches/bulk Upsert Provider Matches Bulk
ProvidersApi create_provider_v1_providers_post POST /v1/providers Create Provider
ProvidersApi delete_provider_v1_providers_provider_id_delete DELETE /v1/providers/{provider_id} Delete Provider
ProvidersApi get_provider_v1_providers_provider_id_get GET /v1/providers/{provider_id} Get Provider
ProvidersApi get_providers_v1_providers_get GET /v1/providers Get Providers
ProvidersApi update_provider_v1_providers_provider_id_put PUT /v1/providers/{provider_id} Update Provider
SportsApi create_sport_v1_sports_post POST /v1/sports Create Sport
SportsApi delete_sport_v1_sports_sport_id_delete DELETE /v1/sports/{sport_id} Delete Sport
SportsApi get_sport_v1_sports_sport_id_get GET /v1/sports/{sport_id} Get Sport
SportsApi get_sports_v1_sports_get GET /v1/sports Get sports
SportsApi update_sport_v1_sports_sport_id_put PUT /v1/sports/{sport_id} Update Sport

Documentation For Models

Documentation For Authorization

Authentication schemes defined for the API:

HTTPBearer

  • Type: Bearer authentication

Author

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

onelive_vgst-0.1.3.tar.gz (46.2 kB view details)

Uploaded Source

Built Distribution

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

onelive_vgst-0.1.3-py3-none-any.whl (92.1 kB view details)

Uploaded Python 3

File details

Details for the file onelive_vgst-0.1.3.tar.gz.

File metadata

  • Download URL: onelive_vgst-0.1.3.tar.gz
  • Upload date:
  • Size: 46.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for onelive_vgst-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a638f37e8d761aabb9b0462339365da4265b81119e305c33033d302157d6dfd2
MD5 22e2ec077207c2129e5e8efe6c9da9d2
BLAKE2b-256 cea8f4a737723fae254639aea536893036566aa6effe2dbf8ec5e3478e09e4d3

See more details on using hashes here.

File details

Details for the file onelive_vgst-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: onelive_vgst-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 92.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for onelive_vgst-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c889581c0b7c62df8effc6f6fe56a4bb367d974ac1a453459cee0ce104c18e3e
MD5 5fef6f4e750a3722fbab4d071b66aefa
BLAKE2b-256 04ae58d20041d6fb53a9aeb128e91a743cab0f203b130a04b64dc3f22d0fc51e

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