Skip to main content
Help us improve Python packaging – donate today!

A comprehensive pythonic wrapper around the Evrythng REST API.

Project Description

A comprehensive pythonic wrapper around the Evrythng REST API.

For more information about Evrythng and the API that this module wraps, see the Evrythng Documentation Portal.

Installation

python-evrythng is available on PyPI and can be installed via pip.

$ pip install python-evrythng

Example Usage

import os
from evrythng import entities

EVT_OPERATOR_KEY = 'your operator key from the Accounts page'
os.environ['EVRYTHNG_API_TOKEN'] = EVT_OPERATOR_KEY
os.environ['PYEVT_DEBUG'] = '1'

print('Creating a  Project...')
response = entities.create_project('python-evrythng Project')
assert response.status_code == 201
project_id = response.json()['id']

print('Creating an Application under Project={}...'.format(
    project_id))
response = entities.create_application(project_id,
                                       'python-evrythng Application')
assert response.status_code == 201
response_json = response.json()

print('You can get the Trusted API key of the Application...')
application_id = response_json['id']
trusted_app_key = entities.read_trusted_application_key(
    project_id, application_id)
app_key = response_json['appApiKey']
print('Trusted App Key = {} for Application={}'.format(
    trusted_app_key, application_id))

Found a bug, wanna help?

Awesome, let us know! Create a pull request.

https://raw.githubusercontent.com/GooeeIOT/python-evrythng/master/docs/gooee.png https://raw.githubusercontent.com/LyleScott/python-evrythng/master/docs/evrythng.png

Release history Release notifications

This version
History Node

0.3.2

History Node

0.3.1

History Node

0.3.0

History Node

0.2.27

History Node

0.2.26

History Node

0.2.25

History Node

0.2.24

History Node

0.2.23

History Node

0.2.22

History Node

0.2.21

History Node

0.2.20

History Node

0.2.19

History Node

0.2.18

History Node

0.2.17

History Node

0.2.16

History Node

0.2.15

History Node

0.2.14

History Node

0.2.13

History Node

0.2.12

History Node

0.2.11

History Node

0.2.10

History Node

0.2.9

History Node

0.2.8

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
python-evrythng-0.3.2.tar.gz (12.5 kB) Copy SHA256 hash SHA256 Source None Jan 5, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page