May-01-2018, 05:41 PM
I want to get data from a website to use it in my code.
I always used the standard
Current way :
what I want is :
The website is https://www.bitstamp.net/api/
On the left u can choose between HTTP API and Websocket API.
I would be so glad if someone could help me with that topic.
Thanks!!!
I always used the standard
requests.get(URL)
and .json
method. I saw that the website is supporting websocket
via pusher. That is something I don't really get. Of course the principle of websockets
but not how to get data into python.Current way :
value = requests.get(URL)
what I want is :
value = something
I choose with pusher from that channel.The website is https://www.bitstamp.net/api/
On the left u can choose between HTTP API and Websocket API.
I would be so glad if someone could help me with that topic.
Thanks!!!