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
Release history Release notifications | RSS feed
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.5.tar.gz
(7.1 kB
view details)
File details
Details for the file delighted-0.5.tar.gz.
File metadata
- Download URL: delighted-0.5.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c53b2babf90b004c0c8a31ff18a78292a1dd5307bc6929d3a48d984d0f224212
|
|
| MD5 |
e01cc6382c401e22a4d4603a26fe29dd
|
|
| BLAKE2b-256 |
1065b33111f9bfcab18544bebd432172d754fe69ba2530ee81ace11bf24b92ab
|