The Cities App is part of a portfolio suite featured on mikehyland.com
This basic app is an exercise in API consumption based on geo-location and user search criteria. The following API's are consumed in order to display city information:
- IP Stack API
- Teleport Public API
- Country Flags API
- Open Trip Map API
- Open Weather API
- Developer Here API
- Wikipedia API
Since the app uses free and open API's, the data cannot be consistenlty verified. In the majority of searches, data is correct but users may find that some searches, mainly from the Open Trip Map API, may show inconsistent results.
Where data cannot be gathered, the app will error handle these scenarios depending on the nature of the data that cannot be gathered.
- Python 3
- Flask Web Framework
- API Keys for :
Place a config file called config.json in the config directory with the following json:
{ "api_keys": { "ipstack": "XXXX", "openweathermap": "XXXX", "opentripmap": "XXXX" } }
Add the corresponding API keys.