This project is a fun experiment I built to practice recently learned NumPy concepts by generating synthetic temperature data. It includes:
- A Flask API that returns daily temperatures for each month using NumPy.
- A simple HTML frontend that visualizes the data in a calendar-like layout.
- API: https://temperature-api-j8nv.onrender.com/temperature-data
- Frontend Preview: https://htmlpreview.github.io/?https://github.com/ronaksarvaya/temperature-api/blob/main/sample.html
- Random temperature generation for each day (range: 26°C – 41°C)
- Organized month-wise temperature data
- API response structure maintains
Jan → Decorder usingOrderedDict - Simple frontend that displays the temperature data in calendar format
GET /temperature-data