Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 688 Bytes

README.rst

File metadata and controls

27 lines (18 loc) · 688 Bytes

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