I am using fyers newly via java. Need help in generating auth code systematically. Everyday it is asking pin for first time to generate code as a result unable to automate it via program. Suggestion needed for systematic generation to avoid manual auth code generation. Using this end point: https://api.fyers.in/api/v2/generate-authcode?client_id=OF0YF9F6VX-100&redirect_uri=http://127.0.0.1:5000/&response_type=code&state=sample_state
Hey Muthu, I had answered previously but using python code, Can you please check.
Thanks for your response @vikram_sri . I am a java programmer, really finding difficulty in understanding python scripts what you had shared over above thread. Could you please help me in sharing step by step in curl format, so that it will be helpful for everyone. We have a community of serious java developers who are recently on boarded into fyers for innovative product development. This setp is very much important for us. Please help us in sharing step by step curl for us to proceed further, its blocker for us and need your help in unblock us.
you can use following maven dependency
io.github.iamgollapalli
trading-core
1.0.0
refer to readme at GitHub - iamgollapalli/OSSRH-87928 · GitHub
@venkat_g After using above git repo, getting bad request “Response{protocol=http/1.1, code=400, message=Bad Request, url=https://api.fyers.in/vagator/v1/login}”. Any suggestion would be helpful, thank you.
I made it worked, thank you
It worked, please help updating latest API CURL details in the documentation