Skip to main content

Sportsx Python SDK

Project description

Welcome to SportsX SDK Documentation

Overview

The STX SDK is a wrapper around the Sportsx Graphql APIs and Phoenix channels. The SDK provides object-oriented APIs to connect with the available Sportsx APIs and socket channels. The SDK is built on the following libraries:

Compatibility

This library is compatible with the following versions of Python:

  • 3.7
  • 3.8
  • 3.9

Setup

Install the requirements:

pip install -r requirements.txt

Project Structure

- stxsdk
    - config
        - channels
        - configs
        - schema.graphql
    - services
        - authentication
        - base
        - channel
        - proxy
        - schema
        - selection
    - storage
        - singleton
        - user_storage
    - enums
    - exceptions
    - typings
    - utils

The SDK is composed of two key sections:

  • Proxy (the classes providing the low-level functionality)
  • Client (the services to be used for connectivity with the STX APIs).

All you need to use is Client services for the integration with the APIs.

There are two services available StxClient and StxChannelClient

  • StxClient provides sync operations, while
  • StxChannelClient provides connectivity with websocket channels.

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

stx-pysdk-1.0.2.tar.gz (27.2 kB view details)

Uploaded Source

Built Distribution

stx_pysdk-1.0.2-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

Details for the file stx-pysdk-1.0.2.tar.gz.

File metadata

  • Download URL: stx-pysdk-1.0.2.tar.gz
  • Upload date:
  • Size: 27.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for stx-pysdk-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bdbea5c433fddd06df7891d59fec653e642675c20b249d59f3ae2ea30eea3e6f
MD5 fea42be7c9da70db157b70a4c0182ed0
BLAKE2b-256 d855711d5dc0722ea434a69a275f06ed2ef985c435a18bdab1e06e315d70948c

See more details on using hashes here.

File details

Details for the file stx_pysdk-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: stx_pysdk-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 32.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.15

File hashes

Hashes for stx_pysdk-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 86833e5f3a8cc7eca18b2f7030ec93b47335aaa8f0e76c3f964467671b8f7b7c
MD5 faa4c8f0c60bc68691efcd29058241fd
BLAKE2b-256 217add1b283518d3d3655eedfb4132dab3b33219f22544da637e9043b221b272

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page