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.7.tar.gz (7.6 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for delighted-0.7.tar.gz
Algorithm Hash digest
SHA256 ef482ff1c43255301803d6c7a58aa9eab5555a8ae9802bd9dc72474bc858fe8c
MD5 049764fbe49397775c68a76d882c898b
BLAKE2b-256 1bb7f62f5b3d6c62bf0df6c0548a689b6773717a7b856dec15f00b831e08d919

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