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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rps_client-1.0.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file rps_client-1.0.1.tar.gz.

File metadata

  • Download URL: rps_client-1.0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-58-generic

File hashes

Hashes for rps_client-1.0.1.tar.gz
Algorithm Hash digest
SHA256 28e4b8dd8c76d6897e258df5007173d213019df1bf4cbcd203260ff68bc2b49b
MD5 dc3c6ec3b9fbfb13ed0f6e2c5c08518d
BLAKE2b-256 10cdde863d03d9f7a7281ebf51e1111c3c1282d16c41bb3f17b33791983810ae

See more details on using hashes here.

File details

Details for the file rps_client-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: rps_client-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-58-generic

File hashes

Hashes for rps_client-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 54ec5593a147045c003857e00ac6b482bb5d7f18a6c9923b51f8425a341a20c9
MD5 e2e2bc6907609fdded1a2c534234ea3e
BLAKE2b-256 8a08c7a11ef9ce08836c950b17a2ddc9805754e081c5aaead1b269c0be75002a

See more details on using hashes here.

Supported by

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