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)
Built Distribution
stx_pysdk-1.0.2-py3-none-any.whl
(32.3 kB
view hashes)
Close
Hashes for stx_pysdk-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86833e5f3a8cc7eca18b2f7030ec93b47335aaa8f0e76c3f964467671b8f7b7c |
|
MD5 | faa4c8f0c60bc68691efcd29058241fd |
|
BLAKE2b-256 | 217add1b283518d3d3655eedfb4132dab3b33219f22544da637e9043b221b272 |