Skip to main content

Libraries and Integrations

The Electric Imp Platform supports the addition of software libraries to both your agent and device code. Any of our libraries may be included in your code, and you can include multiple libraries. At this time, only libraries hosted by Electric Imp are available. However, all of our libraries are open source, and you can viewed, download or fork the library source from our GitHub repo.

Electric Imp’s libraries have been issued under the terms of the MIT License allow you free usage of each library in your own code. You should understand the terms of this license before you make use any of our libraries. Some of the libraries we host are provided by third-parties, so you should check a given library’s documentation for ownership information and any special licensing terms imposed by the third-party concerned.

New Libraries

Library Name Load The Library With... Targets
TreasureData

#require "TreasureData.agent.lib.nut:1.0.0"

  • agent
Google IoT Core

#require "GoogleIoTCore.agent.lib.nut:1.0.0"

  • agent
BQ25895M

#require "BQ25895M.device.lib.nut:1.0.0"

  • device
Losant

#require "Losant.agent.lib.nut:1.0.0"

  • agent
Amazon DRS

#require "AmazonDRS.agent.lib.nut:1.1.0"

  • agent

Recently Updated Libraries

Library Name Load The Library With... Targets
Utilities

#require "Utilities.nut:2.0.0"

  • agent
  • device
Rocky

#require "rocky.class.nut:2.0.1"

  • agent
Azure IoT Hub

#require "AzureIoTHub.agent.lib.nut:4.0.0"

  • agent
TreasureData

#require "TreasureData.agent.lib.nut:1.0.0"

  • agent
Google PubSub

#require "GooglePubSub.agent.lib.nut:1.1.0"

  • agent