Arjun Ondkar
 · To Manage a life manage your wealth

Auto login for fetching history price

BASE_URL = "https://api-t2.fyers.in/vagator/v2"

#BASE_URL_2 = "https://api.fyers.in/api/v2" # Old One

BASE_URL_2 = "https://api-t1.fyers.in/api/v3"

URL_SEND_LOGIN_OTP = BASE_URL + "/send_login_otp_v3"

URL_VERIFY_TOTP = BASE_URL + "/verify_otp"

URL_VERIFY_PIN = BASE_URL + "/verify_pin"

URL_TOKEN = BASE_URL_2 + "/token"

URL_VALIDATE_AUTH_CODE = BASE_URL_2 + "/validate-authcode"

but i am failed to generate autho_code... i am not getting response.status_code = 308

I am getting 200....

Any one one know about it ? is fyer change working flow... ?

1 reply