How to use HTTPS API REST with python (httplib)


#1

MyQttHub REST API Introduction

MyQttHub provides a HTTPS REST API that among other features, allows to:

  • Do platform management (device administration, etc)
  • Sending and receiving messages (PUBLISH)

This way to can integrate pure MQTT devices with HTTP enable senders/receives.

Full REST API documentation can be found here: https://www.asplhosting.com/portal/en/rest-api-to-manage-mqtt-service

Connecting to MyQttHub using REST API and python httplib

See the following github repo to get supported and ready to use helper file to connect to MyQtthub.com using Python and httplib:


How to publish from Micropython?