OpenMTC/doc/training/onem2m-examples/onem2m-example-8a.py

7 lines
183 B
Python
Raw Normal View History

2017-11-07 13:41:38 +00:00
# Example 8a: Creating a Client
from openmtc_onem2m.client.http import OneM2MHTTPClient
# create a OneM2MHTTPClient object
client = OneM2MHTTPClient("http://localhost:8000", False)