Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aditya-xq/flask-socketio-demo
A demo of using events to perform client-server communication to display real time data on a web page. Bitcoin prices are fetched using Coinbase API and displayed in real time.
https://github.com/aditya-xq/flask-socketio-demo
flask flask-soc python web web-socke
Last synced: about 1 month ago
JSON representation
A demo of using events to perform client-server communication to display real time data on a web page. Bitcoin prices are fetched using Coinbase API and displayed in real time.
- Host: GitHub
- URL: https://github.com/aditya-xq/flask-socketio-demo
- Owner: aditya-xq
- License: mit
- Created: 2021-12-17T18:26:53.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-11T22:04:24.000Z (9 months ago)
- Last Synced: 2024-11-11T22:07:33.267Z (3 months ago)
- Topics: flask, flask-soc, python, web, web-socke
- Language: HTML
- Homepage:
- Size: 9.77 KB
- Stars: 20
- Watchers: 1
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# flask-socketio-demo
A simple demo to demonstrate using events to perform client-server communication and display data on a web page. Bitcoin prices are fetched using Coinbase API and displayed in real time.![image](https://user-images.githubusercontent.com/32733783/146593242-79c11b31-b578-4445-9f07-ca0bacecc13a.png)
To run the program, type ```python app.py``` in your console while you are in the project directory.
Visit `localhost` in your browser to access the flask app.
Read the dev blog and explanation [here](https://medium.com/the-research-nest/how-to-log-data-in-real-time-on-a-web-page-using-flask-socketio-in-python-fb55f9dad100)