readymade api script

How to use Kite API to auto trading? And What is the procedure for algo trading in Kite?
Can anybody provide any ready-made API script (simply moving average crossover) ?

If you are looking for custom coding this algo for live trades you may want to contact me. I can help you by building a tool independent of streak, provided you have Zerodha API access. I can back test this too with 1 year data that I am having right now. 9874795959