Skip to main content

A client library for consuming the Sprinklr API

Reason this release was yanked:

Deprecated. Please use version 0.10.0 or later.

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!

  • See the Generating an Access Token document for directions after registering for a developer account at Developer.Sprinklr.com.

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

Dz

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.9.0.tar.gz (15.2 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.9.0-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: SprinklrClient-0.9.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for SprinklrClient-0.9.0.tar.gz
Algorithm Hash digest
SHA256 d2b4072176c500e4ebcb611a502ed93628e5aed187f028f711131fc5e5dea7b9
MD5 0acbf4d94f2123091a69c115cc339c61
BLAKE2b-256 07e24b49a21bdac6a57816f34180443a0fd3384aedfda2ddc6831051fc3716fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: SprinklrClient-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 26.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.6

File hashes

Hashes for SprinklrClient-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd48340b8573534f01f04fce708e139619374dabecabf7505095b07e3501c64a
MD5 f9307c318becde20e421d99c32506c9e
BLAKE2b-256 15125a9f5ece3a53535ae6502b05a6c759fe2e39904af67dbe8168c01dd278ed

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