Whenever I hit the Url 'https://kite.trade/connect/login?api_key=xxx' via browser, I get a Login-page which need to be filled including security-question. Then I get a Url 'https://127.0.0.1/?status=success&request_token=xxxxxxxxxxxx' after that I get request token. But all this is done manually.How to automate this to get request token .Is there any predefined function for this or API? If i create an app then how to put login credentials as I am creating a desktop type apllication to read the data.
Simple wayout is hit ur login page once and from the same page fopen() fwrite some text file, where u save ur token. and get it from that taxt file to yoyr app....
For desktop apps, here are some pointers https://kite.trade/docs/connect/v1/#mobile-and-desktop-apps
While tryin to access historical data, it throws an error: kiteconnect.exceptions.InputException: Invalid interval.
So, what is the parameter for interval, is it number or string, if number, what is the range of number?