@HarishKumar That is the point of the API to allow you to controll the IOs of with a simple python script so you do not need to write the low level programs... But if you do not want to use websockets or http, you can use the TCP Modbus.

Evok: https://github.com/UniPiTechnology/evok#testing-latest-git-versions
TCP Modbus (already included in evok): https://github.com/UniPiTechnology/neuron_tcp_modbus_overlay