Python Forum
Pusher - import specific data
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pusher - import specific data
#1
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!!!
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020