Python module for interacting with the IBM Watson Internet of Things Platform.
Note: Support for MQTT over SSL requires at least Python v2.7.9 or v3.4, and openssl v1.0.1
Install the latest version of the library with pip
[root@localhost ~]# pip install ibmiotf
Uninstalling the module is simple.
[root@localhost ~]# pip uninstall ibmiotf
There is a significant change between the 0.1.x releases and 0.2.x that may require changes to client code. Version 0.1 of the lirbary will remain available, if you do not
wish to update your device or application code for the 0.2 release simply install the library using pip install ibmiotf==0.1.8
- The library now uses
typeId
,deviceId
, andeventId
consistently - Changes to API support:
- Mixed use of
queryParameters
¶meters
consolidated to always useparameters
retrieveDevices()
&getAllDevices()
removed. SinglegetDevices()
method remainsaddMultipleDevices
renamed toregisterDevices()
for consistency withregisterDevice()
methodgetAllDeviceTypes()
renamed togetDeviceTypes()
for consistency with other getResourceTypePlural methodsIoTFCReSTException
nowAPIException
getDeviceConnectionLogs()
renamedgetConnectionLogs
& restructured to support parameters object instead ofdeviceTypeId
anddeviceId
- Mixed use of
- As of v0.2.1 the application client only requires two properties to be passed in
options
:auth-token
andauth-key
,orgId
andauth-method
are now determined from the API key provided.