☰
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
15K
All Categories
0
Incidents
178
Node JS client
52
Go client
849
.Net API client
398
Kite Publisher
554
.Net / VBA / Excel (3rd party)
494
Algorithms and Strategies
1.1K
Java client
1.2K
API clients
410
PHP client
4.3K
Python client
358
Mobile and Desktop apps
1.5K
Market data (WebSockets)
3.6K
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.