☰
Login
Signup
Home
›
Python client
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.8K
All Categories
0
Incidents
154
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
993
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
March 2018
sujith
WebSocket streaming
darsh
March 2018
in
Python client
var ws = new WebSocket("wss://ws.kite.trade?api_key=xxx&access_token=xxxx");
this example is already given in document of kite.
but i am using python.
i wrote code:
import json,requests
r=requests.get("wss://ws.kite.trade?api_key=xxx&access_token=xxxx")
x=r.json()
print(r)
But i am getting error:"InvalidSchema: No connection adapters were found "
could you please tell me this error is due to error in code or something else.?
Tagged:
python3.x
sujith
March 2018
A websocket API is a long-standing connection which is not like any other HTTP calls. You look up online for more information. You can't make an HTTP call to a websocket endpoint.
Sign In
or
Register
to comment.