Pusher - import specific data - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Networking (https://python-forum.io/forum-12.html) +--- Thread: Pusher - import specific data (/thread-9857.html) |
Pusher - import specific data - Robin_at_Cantelli - May-01-2018 I want to get data from a website to use it in my code. 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!!! |