apis_and_examples - mqtt/mqtt.org GitHub Wiki
APIs
Documentation of the available APIs for building MQTT clients, examples of using these APIs can be found in [#Scripting Strategies and API Usage Examples](#Scripting Strategies and API Usage Examples):
-
[Perl WebSphere::MQTT::Client](Perl MQTT Client)
-
[IBM IA93 MQTT C Client](C MQTT Client)
-
[Arduino Pub/Sub Client](Arduino MQTT Client)
-
[Delphi](Delphi MQTT Client)
-
[.net](.net MQTT Client)
-
[Java](Java MQTT Client)
-
[Ruby](Ruby MQTT Gem)
Scripting Strategies and API Usage Examples
Many of the different MQTT implementations listed on the Software page come with their own samples.
Another good source of example code is Github - search for "MQTT" - and always respect the license.
Below are approaches to common tasks and examples using the various APIs:
-
[Integrating Current Cost Meters](MQTT and Current Cost)
-
[Using Cosm (aka Pachube) with MQTT](MQTT and Pachube)
-
Using MQTT with OpenSensors
-
[Using MQTT with Twitter etc](MQTT and Microblogging)
-
[Logging MQTT Messages in Databases](MQTT and Databases)
Language examples
- [Java examples](Java MQTT Client)
- [Python examples](Python examples)
- [Scala examples](Scala MQTT Client)