CUBETIQ RPS Client SDK for Python
Project description
RPS Client SDK Python
- RPS Webhook
- RPS WebSocket
- RPS SendFile
Install via pip
pip install rps_client
Usages
from rps_client.models import RpsClientOptions, RpsHookRequest
from rps_client.sdk import RpsClient
API_KEY = 'YOUR_API_KEY'
DATA = RpsHookRequest(
data={
'mytext': 'my world is here',
'bool': True,
},
type='test',
details={
'name': 'Hello World',
'number': 1000,
}
)
sdk = RpsClient(RpsClientOptions.builder().api_key(TEST_API_KEY).build())
reponse = sdk.send(DATA)
print(response.data)
Build, Install, and Test from Source
make
Build and Install from Source
make build install
Run test
make test
Publish
- Set Token
poetry config pypi-token.pypi my-token
- Publish
make publish
Contributors
- Sambo Chea sombochea@cubetiqs.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rps_client-1.0.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for rps_client-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54ec5593a147045c003857e00ac6b482bb5d7f18a6c9923b51f8425a341a20c9 |
|
MD5 | e2e2bc6907609fdded1a2c534234ea3e |
|
BLAKE2b-256 | 8a08c7a11ef9ce08836c950b17a2ddc9805754e081c5aaead1b269c0be75002a |