Skip to content

Lukasveiga/weather-forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Forecast Spring API

Overview

The Weather Forecast API allows users to retrieve weather forecasts based on their CEP (Postal Code) location. The API uses OpenFeign to integrate with external services to convert CEP to latitude and longitude, and then to fetch weather data using these coordinates.

Technologies

  • Spring Boot
  • OpenFeign

Endpoint

Request:

External APIs

CEP to Latitude/Longitude API

Weather Data API

  • Base URL: https://api.open-meteo.com/v1/forecast
  • Method: GET
  • Query Parameters:
    • latitude (Double): The latitude coordinate.
    • longitude (Double): The longitude coordinate.
    • current: A list of weather variables to get current conditions.
    • forecast_days: Per default, only 7 days are returned. Up to 16 days of forecast are possible.
  • And others. See documentation: https://open-meteo.com/en/docs

About

Weather Forecast API with Java + Spring

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages