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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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