Want some assist with my private undertaking (interactive world map with real-time knowledge)
Hello! I lately thought I would attempt engaged on a undertaking of my very own and thought I would make an interactive world map the place it will show prime information (title, abstract + hyperlink) for the nation on which you place your cursor.
Thanks quite a bit everybody, and have an exquisite day!
Comment ( 1 )
Given this, there are 3 potential ways I could envisage setting this up.
1) I believe Flask is a framework for creating websites using only Python code, although I don’t have much experience with it so I’m not sure. You could poll the Gnews API from your client’s browser, and then construct the map from relevant python libraries once you have the data.
3) If downloading the data in real-time is too intensive for the website, you could temporarily store the most recent headlines in an AWS database, and retrieve the data by setting up your own API. Depending on how fast the Google News API is, this might not add that much speed, and could be unnecessarily more complicated, but it could be worth exploring.
Shoot me a message if you want more advice on any of those ideas, or someone feel free to correct me if you’ve got something better