{"id":26584211,"url":"https://github.com/lukasveiga/weather-forecast","last_synced_at":"2026-05-04T13:35:47.962Z","repository":{"id":248790639,"uuid":"829765621","full_name":"Lukasveiga/weather-forecast","owner":"Lukasveiga","description":"Weather Forecast API with Java + Spring","archived":false,"fork":false,"pushed_at":"2024-07-18T15:26:37.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T04:05:16.638Z","etag":null,"topics":["java","openfeign","redis","spring","spring-boot"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lukasveiga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-17T02:04:58.000Z","updated_at":"2024-07-18T15:26:40.000Z","dependencies_parsed_at":"2025-03-23T09:45:57.103Z","dependency_job_id":null,"html_url":"https://github.com/Lukasveiga/weather-forecast","commit_stats":null,"previous_names":["lukasveiga/weather-forecast"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lukasveiga/weather-forecast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasveiga%2Fweather-forecast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasveiga%2Fweather-forecast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasveiga%2Fweather-forecast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasveiga%2Fweather-forecast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lukasveiga","download_url":"https://codeload.github.com/Lukasveiga/weather-forecast/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lukasveiga%2Fweather-forecast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32609993,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","openfeign","redis","spring","spring-boot"],"created_at":"2025-03-23T09:32:24.105Z","updated_at":"2026-05-04T13:35:47.945Z","avatar_url":"https://github.com/Lukasveiga.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://cdn.iconscout.com/icon/free/png-256/free-weather-296-1100758.png\" width=80/\u003e\n    \u003ch2\u003eWeather Forecast Spring API\u003c/h2\u003e\n\u003c/div\u003e\n\n\u003cp align=\"center\"\u003e\n     \u003ca alt=\"Java\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Java-v17-blue.svg\" /\u003e\n    \u003c/a\u003e\n\u003ca alt=\"Spring\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Spring Boot-v3.3.1-green.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca alt=\"OpenFeign\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/OpenFeign-v4.1.3-purple.svg\" /\u003e\n    \u003c/a\u003e\n    \u003ca alt=\"Redis\"\u003e\n        \u003cimg src=\"https://img.shields.io/badge/Redis-v7.2.5-red.svg\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n### Overview\n\nThe 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.\n\n## Technologies\n\n- Spring Boot\n- OpenFeign\n\n## Endpoint\n\nRequest:\n* Method: GET\n* Url: http://localhost:8080/api/v1/weather-forecast/{cep}?forecast_days=1\n* Path param: `cep` (String): The CEP (Postal Code) for which to retrieve the weather forecast.\n* Query param: `forecast_days` (Integer): Forecasts days.\n\n## External APIs\n\n### CEP to Latitude/Longitude API\n\n- Base URL: https://cep.awesomeapi.com.br/json\n- Method: GET\n- Query Parameter:\n  - cep (String): The CEP for which to retrieve data includin coordinates.\n\n### Weather Data API\n\n- Base URL: https://api.open-meteo.com/v1/forecast\n- Method: GET\n- Query Parameters:\n  - latitude (Double): The latitude coordinate.\n  - longitude (Double): The longitude coordinate.\n  - current: A list of weather variables to get current conditions.\n  - forecast_days: Per default, only 7 days are returned. Up to 16 days of forecast are possible.\n- And others. See documentation: https://open-meteo.com/en/docs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasveiga%2Fweather-forecast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flukasveiga%2Fweather-forecast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flukasveiga%2Fweather-forecast/lists"}