The Evok is our open-source application programming interface (API) providing interfaces to access physical inputs, outputs and communication interfaces. Its goal is to provide simple access to the hardware without the need to deal with low-level programming.
Documentation, installation guide and description of APIs can be found at our GitHub repository.
Evok is divided into two modules:
Application logic and other operations (implementation of different components of the system) should be handled by an external application.
Documentation, such as how to install or configure, is available on Read the Docs. The API itself is documented on the Stoplight, a few examples are below.
Quick examples using curl and JSON:
curl --request GET --url http://127.0.0.1:8080/json/di/1_01 --header 'Accept: text/html, application/json'
curl --request POST --url http://127.0.0.1:8080/json/do/1_01 --header 'Accept: application/json' --header 'Content-Type: application/json' --data '{"value": 1}'
curl --request POST --url http://127.0.0.1:8080/json/do/1_01 --header 'Accept: application/json' --header 'Content-Type: application/json' --data '{"value": 0}'
Older version of Evok:
Legacy documentation of Evok v2 is available here, API documentation v2 is also available.