Skip to main content

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

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

rps_client-1.0.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Built Distribution

rps_client-1.0.1-py3-none-any.whl (5.7 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