Skip to main content

Python SDK for the MyM2M Web JSON Device API

Project description

# 360 Telemetry MyM2M Web Python SDK

This is the Python Client for the 360 Telemetry MyM2M Web Platform.

### Caveats

  • Configuration exchange is currently unsupported in either direction (from the device to the MyM2M Service or vice-versa).

### Getting Started

You can use the client within an existing project by installing it using PyPi:

pip install mym2m-client

### Example Usage

# create a new API client my_device = API(‘asd’, ‘UNIT00001’)

# create a snapshot with some sample data snapshot = Snapshot() snapshot.set_channel(‘temp’, 25) snapshot.set_channel(‘humid’, 40)

# add the snapshot my_device.add(snapshot)

# dispatch! my_device.dispatch()

Project details


Release history Release notifications

This version
History Node

0.1.0

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
mym2m_client-0.1.0-py2-none-any.whl (4.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 May 11, 2016
mym2m-client-0.1.0.tar.gz (2.5 kB) Copy SHA256 hash SHA256 Source None May 11, 2016

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