Skip to main content

A Python client for using the Sprinklr API

Project description

SprinklrClient

A simple Python client library (SDK) for interacting with Sprinklr's REST API

Notes:

  • This library is not created by, or supported by Sprinklr. Please review the library before using in a production environment to make sure it meets your organization's security and compliance requirements!

Installation now available via PyPi:

pip install SprinklrClient

Please let me know if you are using this library. Send feedback to SteveDz@Sprinklr.com - Thanks!

Sample usage:

Python 3.7.6 (default, Jan  8 2020, 13:42:34)
[Clang 4.0.1 (tags/RELEASE_401/final)] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import SprinklrClient as sc
>>> client = sc.SprinklrClient("YOUR API KEY HERE", None, "YOUR ACCESS TOKEN HERE")
>>> client.add_comment("CASE", "75613", "Adding this note to a case!")
True
>>> client.fetch_webhook_types()
True
>>> webhook_types = client.result["data"]
>>> for webhook_type in webhook_types:
...     print(webhook_type['label'])
...
Audience Activity
Campaign Created
Campaign Deleted
Campaign Updated
Case Created
Case Deleted
Case Updated
Message Association Change
Comment Created
Comment Updated
Draft Created
Draft Scheduled
Draft Updated
Message Deleted
Message Delivered
Message Engagement Updated
Message Publish Failed
Message Published
Message Read
Message Received
Message Sent For Approval
Message Updated
Profile Created
Profile Deleted
Profile Updated
Profiles Merged
Asset Created
Asset Deleted
Asset Updated
Task Create
Task Delete
Task Update
Thread Control Updated
User Create
User Update
Workflow Updated
>>>

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

SprinklrClient-0.21.5.17.5.tar.gz (17.3 kB view details)

Uploaded Source

Built Distribution

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

SprinklrClient-0.21.5.17.5-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file SprinklrClient-0.21.5.17.5.tar.gz.

File metadata

  • Download URL: SprinklrClient-0.21.5.17.5.tar.gz
  • Upload date:
  • Size: 17.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for SprinklrClient-0.21.5.17.5.tar.gz
Algorithm Hash digest
SHA256 e4dc4e223911e596bb00ba62ba76b015c7434a165b3eb65685e96848d2951f08
MD5 94d0a19c4ff68344100c33f46579baae
BLAKE2b-256 5276cb24da90905041afd0e460bde914508e961a6b8b1934321a9e23f1ce063d

See more details on using hashes here.

File details

Details for the file SprinklrClient-0.21.5.17.5-py3-none-any.whl.

File metadata

  • Download URL: SprinklrClient-0.21.5.17.5-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8

File hashes

Hashes for SprinklrClient-0.21.5.17.5-py3-none-any.whl
Algorithm Hash digest
SHA256 02fcaf8f6ab9d6f833c6d010b15507b5c572ab8a233ad54b280cf8b6b933ab3a
MD5 ad21bfa8800b9934e22f845735f0ed3e
BLAKE2b-256 cc9c0454ca296683827a4f6bd24ccfe04138013b212ebbfbbbc9a1efd89f2705

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