Route not found, Please translate

zr7952
Dear Team,

I have read the documentation , But unable to get the information of the following . I have developed a python code and i used the below codes previously . But getting route not found now , Please help me in translating the below 3 statements to updated version or provide me the link to python documentation which satisfies the below 3 statements

For extracting the LTP details of a stock I used

driver.get('https://api.kite.trade/instruments/NSE/'+symb+'?api_key=xxxx &access_token=yyyy ')

For getting order status I used

driver.get('https://api.kite.trade/trades?api_key='+a_key+'&access_token='+a_token)

For placing orders i used the below statements

payload = {
"api_key": a_key,
"access_token": a_token,
"tradingsymbol": symb,
"exchange": "NSE",
"transaction_type": "SELL",
"order_type": "MARKET",
"quantity": "5",
"product": "MIS",
"validity": "DAY"
}


response = requests.post("https://api.kite.trade/orders/regular", data=payload,timeout=None)
Sign In or Register to comment.