Skip to main content

A CLI client and Python API library for the delighted platform.

Project description

A Python client for the delighted API.

Install

This can be installed via the pypi package using:

$ pip install delighted

Usage

Once you have your API key from Delighted you can quickly use this library from the console:

$ export DELIGHTED_APIKEY="your api key here"
$ python
>>> from delighted import Delighted
>>> delighted = Delighted()
>>> delighted.metrics.get()
{u'passive_count': 4, u'promoter_percent': 40.74074074074074, ... }

Run Tests

You can use pytest to run tests from the console:

$ py.test

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

delighted-0.8.tar.gz (7.6 kB view details)

Uploaded Source

File details

Details for the file delighted-0.8.tar.gz.

File metadata

  • Download URL: delighted-0.8.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for delighted-0.8.tar.gz
Algorithm Hash digest
SHA256 eb06e0624e8f9086c10911e81662c8eaf56b8a77a899b292bd6f4da65f5e8f30
MD5 6285484e55b7f3e902807b1451f3ca77
BLAKE2b-256 7e26d31a8c96fbf2ae510cfdc73181f359e3c30603a914fabac8d8466dd6e63f

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