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.6.tar.gz (7.3 kB view hashes)

Uploaded Source

Supported by

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