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


Download files

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

Source Distribution

mym2m-client-0.1.0.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mym2m_client-0.1.0-py2-none-any.whl (4.7 kB view details)

Uploaded Python 2

File details

Details for the file mym2m-client-0.1.0.tar.gz.

File metadata

  • Download URL: mym2m-client-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mym2m-client-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a35c970cd70119679e2075564d2c50a844f4f7a5f1e0d38bc7c9efe12c560bbc
MD5 97e752df17ae2b8e4dd2e3787ed4e9a4
BLAKE2b-256 c38c91b5631ebd1a361fc5a3d00518afa7b6548e8f44298792757e64ba959290

See more details on using hashes here.

File details

Details for the file mym2m_client-0.1.0-py2-none-any.whl.

File metadata

File hashes

Hashes for mym2m_client-0.1.0-py2-none-any.whl
Algorithm Hash digest
SHA256 52af04bc7e09fdedcb6e0fbe59495ef616984bc81aea26a00fe3182be7e0cdb6
MD5 160d6d936e17a3c36c9fbf4ac368be2a
BLAKE2b-256 dde125a408e0e2a14c12431bb9b04443fe0a0e64eedc5927375823132b0b3dc5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page