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.6.tar.gz
(7.3 kB
view details)
File details
Details for the file delighted-0.6.tar.gz.
File metadata
- Download URL: delighted-0.6.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f08e8f5919ea1b0893112b0d5a2ea565f099ba0a423c9476d2fd381ec05fdfeb
|
|
| MD5 |
30bee9ab4ebf786a229ebd1ed3b239aa
|
|
| BLAKE2b-256 |
82c95ce7198d04e51a45b050d8cf224397d9e2009b72b63409dd3c83391e3dcb
|