A weather API allows users to retrieve weather data from an external source and format it in a way that is useful for their application. In this project, you will build a simple weather API using Java and an external weather API.
Create a Simple Weather API
Requirements
- A way to retrieve weather data from an external API
- A way to format the retrieved data in a useful way (e.g. temperature, humidity, etc.)
- A way to make the formatted data available to users through the API
Bonus
- Can you add a feature that allows users to specify a location or zip code to get weather data for a specific location?
- Can you add a feature that allows users to specify a time range to get historical weather data?
Hint
You can use a website like OpenWeatherMap to find an external weather API to use for this project.