Introducing Losant SDKs for Ruby and Python

Brandon Cannaday
Brandon Cannaday | 2 minute read

It's very important to us that our users can get data into and out of our platform as easy as possible. With that said, today we're happy to announce some major additions to our family of SDKs and open-source libraries.

What Is a Losant SDK?

Each Losant SDK includes one or more open-source libraries that help devices connect to our platform or request data from our API. Our SDKs include an MQTT client for easy device connectivity and an API client to help build custom experiences on top of Losant data and workflows.

JavaScript SDK

The JavaScript MQTT client and API Client were already available, but we've renamed them in order to provide a consistent convention across all of our libraries. We've also greatly improved the documentation for the JavaScript API client.

losant-mqtt-js: https://github.com/Losant/losant-mqtt-js
losant-rest-js: https://github.com/Losant/losant-rest-js

Python SDK

In order to better support the Raspberry Pi community and developers, we've released open-source MQTT and REST libraries for Python environments.

losant-mqtt-python: https://github.com/Losant/losant-mqtt-python
losant-rest-python: https://github.com/Losant/losant-rest-python

Ruby SDK

Ruby is a popular language for building web applications so we've released both MQTT and REST libraries for the Ruby environment.

losant-mqtt-ruby: https://github.com/Losant/losant-mqtt-ruby
losant-rest-ruby: https://github.com/Losant/losant-rest-ruby

Arduino SDK

Our Arduino SDK only includes an MQTT client, which makes it very easy to get Arduino-based devices connected to our platform and sending data. We'll be releasing a REST client soon.

losant-mqtt-arduino: https://github.com/Losant/losant-mqtt-arduino

Other Languages

If none of our SDKs match your environment, the API is available for all other use-cases. We've released greatly improved API documentation to make this as easy as possible. You can also publish MQTT messages directly to the Losant broker by following our MQTT protocol.

What's Next?

With every new release, we really listen to your feedback. By combining your suggestions with our roadmap, we can continue to make the platform easy for you. Let us know what you think in the Losant Forums.