It's python code, however even if you watch this video, you will understand the process of generating request token and after that, you can refer the documentation of the library of your preferred language.
Here are the documentation of all pre-built libraries:
Have you set localhost as the redirect URL in the developers console? Also looks like your localhost server is not up but still, you will get request_token param embedded in the redirect URL post successful login. This thread explains more.
https://kite.trade/docs/connect/v3/user/
You can also refer this video:
It's python code, however even if you watch this video, you will understand the process of generating request token and after that, you can refer the documentation of the library of your preferred language.
Here are the documentation of all pre-built libraries:
https://kite.trade/docs/connect/v3/#libraries-and-sdks
https://kite.trade/connect/login?api_key=xxxxxx
https://kite.zerodha.com/connect/login?v=3&api_key=xxxxx
But still getting below error -
This site can’t be reachedlocalhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED