Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nabilettaqy/flaskmonero
Very simple Flask application provides real-time Monero (XMR) cryptocurrency price information in Euros (EUR).
https://github.com/nabilettaqy/flaskmonero
crypto cryptocurrency flask flask-application monero purecss webapp xmr
Last synced: about 1 month ago
JSON representation
Very simple Flask application provides real-time Monero (XMR) cryptocurrency price information in Euros (EUR).
- Host: GitHub
- URL: https://github.com/nabilettaqy/flaskmonero
- Owner: nabilettaqy
- Created: 2024-01-31T17:17:54.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-06-11T11:27:51.000Z (5 months ago)
- Last Synced: 2024-09-27T12:04:25.995Z (about 2 months ago)
- Topics: crypto, cryptocurrency, flask, flask-application, monero, purecss, webapp, xmr
- Language: HTML
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Basic Monero Price Tracker
This very simple Flask application provides real-time Monero (XMR) cryptocurrency price information in Euros (EUR). It utilizes the CryptoCompare API to fetch the latest price data and displays it on a web page.
## Features
- **Current Price Display:** The main page shows the current price of Monero in Euros.
- **Manual Refresh:** Users can manually refresh the price information by visiting the '/refresh' route.
- **Error Handling:** Custom error page for 404 errors.## Code Overview
The application is built with Flask and utilizes the `requests` library for API requests.
### Web Routes
- **Main Page (`/`):** Displays the current price of Monero in Euros.
- **Refresh (`/refresh`):** Manually triggers a refresh to update the price information.### External API Integration
- The [CryptoCompare API](https://min-api.cryptocompare.com/) is used to fetch the current price of Monero in Euros.
### Error Handling
- Custom error page for 404 errors.
### Running the Application
1. Install the required dependencies `pip install Flask`, `pip install requests`.
2. Run the application (in debug mode only) `python app.py`.
3. Access the application at `http://127.0.0.1:5000/` in your web browser.
4. The main page displays the current price of Monero in Euros.## Disclaimer
This project is for educational purposes only. Any actions and or activities related to the material contained within this project is solely your responsibility. I assume no liability and are not responsible for any misuse or damage caused by this program.
## Contact
Created by [Nabil Et-taqy](https://github.com/nabilettaqy) - feel free to contact me!