ejones18 / realtime-analytics-with-flask-highcharts

An example Flask web application used to display live, 5-minutely API data using HighCharts.js and the OpenweatherMap APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

highcharts_flask_example

An example Flask web application used to display live, 5-minutely API data using HighCharts.js

  • Developed and tested in Python 3.8+

How do I get set-up?

  • Generate an API key at https://openweathermap.org/api and update the ajax request in the graph.js script - to alter location also change the lat and lon params in the API URL.
  • Install the dependencies by running pip install -r "requirements.txt" at the top level of the directory.
  • Run the launch_flask.ps1 powershell script to launch the app.

Example

Example graph

About

An example Flask web application used to display live, 5-minutely API data using HighCharts.js and the OpenweatherMap APIs


Languages

Language:HTML 35.1%Language:JavaScript 34.7%Language:CSS 20.9%Language:Python 7.0%Language:PowerShell 2.2%