/
Introduction IguanaX's APIs

Introduction IguanaX's APIs

Everything you can see done in IguanaX’s graphical user interface is done via very simple APIs. One can call these APIs as web APIs but even more convenient is calling them from Lua using iguana.call.

Here’s an example that uses the API to create a component:

local Params= {} Params.connected = false Params.components = {} Params.components[1] = {} Params.components[1].description = "Created component" Params.components[1].editable = true Params.components[1].name = "C"..os.time() Params.components[1].git = "https://bitbucket.org/interfaceware/blank-template.git" iguana.call{api="/component/create", data=Params}

Be careful - every time this script runs it will create new component based on the GIT repository given. This gives you a taste of the power and simplicity of IguanaX APIs.

 

Related content

How to discover IguanaX APIs?
How to discover IguanaX APIs?
More like this
Getting Started
Getting Started
More like this
Create a Component
Create a Component
Read with this
Lua
More like this
Searching the Logs
Searching the Logs
Read with this
Create a Library
Create a Library
More like this