OpenMTC/doc/training/onem2m-examples/onem2m-example-8a.py
2017-11-07 14:41:38 +01:00

7 lines
183 B
Python

# Example 8a: Creating a Client
from openmtc_onem2m.client.http import OneM2MHTTPClient
# create a OneM2MHTTPClient object
client = OneM2MHTTPClient("http://localhost:8000", False)