{"id":23488654,"url":"https://github.com/erwanlt/eweather","last_synced_at":"2026-04-11T03:32:17.762Z","repository":{"id":38466812,"uuid":"188019884","full_name":"ErwanLT/Eweather","owner":"ErwanLT","description":null,"archived":false,"fork":false,"pushed_at":"2023-05-01T04:39:45.000Z","size":7336,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-01-03T17:20:19.854Z","etag":null,"topics":["angular","java","leaflet","maven","spring-boot","weather-layers"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ErwanLT.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}},"created_at":"2019-05-22T10:53:56.000Z","updated_at":"2021-05-11T12:50:15.000Z","dependencies_parsed_at":"2025-02-16T10:40:41.761Z","dependency_job_id":"b2bcf259-86ec-4649-9480-4a4d96ceff1e","html_url":"https://github.com/ErwanLT/Eweather","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ErwanLT/Eweather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FEweather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FEweather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FEweather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FEweather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ErwanLT","download_url":"https://codeload.github.com/ErwanLT/Eweather/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ErwanLT%2FEweather/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31668046,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["angular","java","leaflet","maven","spring-boot","weather-layers"],"created_at":"2024-12-24T23:13:36.130Z","updated_at":"2026-04-11T03:32:17.732Z","avatar_url":"https://github.com/ErwanLT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/ErwanLT/Eweather.svg?branch=master)](https://travis-ci.org/ErwanLT/Eweather)\n[![codecov](https://codecov.io/gh/ErwanLT/Eweather/branch/master/graph/badge.svg)](https://codecov.io/gh/ErwanLT/Eweather)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/d48ac109265f451681eb87863d75f0e3)](https://www.codacy.com/app/ErwanLT/Eweather?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=ErwanLT/Eweather\u0026amp;utm_campaign=Badge_Grade)\n[![GitHub version](https://badge.fury.io/gh/ErwanLT%2FEweather.svg)](https://badge.fury.io/gh/ErwanLT%2FEweather)\n[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)\n[![star this repo](http://githubbadges.com/star.svg?user=ErwanLT\u0026repo=Eweather\u0026style=flat)](https://github.com/ErwanLT/Eweather)\n[![fork this repo](http://githubbadges.com/fork.svg?user=ErwanLT\u0026repo=Eweather\u0026style=flat)](https://github.com/ErwanLT/Eweather/fork)\n# EWeather - 4.0.0-SNAPSHOT\nA simple web application using spring-boot to call the DarkSky Api and dispatch the result in a beautiful (all is relative) web page \n\n## Environment\n### Setup\nCurrently using\n* IntelliJ 2018.2\n* java 11.0.2\n* Maven 3.5.4\n* Lombok plugin\n\n## Credit\n### Map\nthe map displayed is from OpenStreetMap https://www.openstreetmap.fr/\n\n## Weather layers\nthe weather layers are displayed thanks to leaflet\nhttps://leafletjs.com/\nand leaflet-openweathermap\nhttps://github.com/buche/leaflet-openweathermap\n\n## Eweather-API\nAPI to call Eweather\n\n- swagger-ui : http://localhost:8080/swagger-ui.html\n\n### Use Case\n### Get weather forecast from a location\n\n- methode : GET\n- URL : /eweather/forecast\n- params : location\n- example : /eweather/forecast?location=Paris\n\n### Get weather forecast from coordinate\n- methode : GET\n- URL : /eweather/forecastLocation\n- params : latitude + longitude\n- example : /eweather/forecastLocation?latitude=xxxx\u0026longitude=xxxx\n\n- response :\n```json\n{\n    \"latitude\": 48.8566969,\n    \"longitude\": 2.3514616,\n    \"timezone\": \"Europe/Paris\",\n    \"location\": \"Paris, Île-de-France, France métropolitaine, France\",\n    \"currently\": {\n        \"time\": \"1601631736\",\n        \"summary\": \"Pluie\",\n        \"icon\": \"rain\",\n        \"precipIntensity\": 1.7406,\n        \"precipProbability\": 0.53,\n        \"precipType\": \"rain\",\n        \"temperature\": 12.87,\n        \"apparentTemperature\": 12.87,\n        \"dewPoint\": 10.47,\n        \"humidity\": 0.85,\n        \"windSpeed\": 4.0,\n        \"windBearing\": 158,\n        \"windGust\": 6.43,\n        \"pressure\": 986.0,\n        \"cloudCover\": 0.99,\n        \"ozone\": 311.7,\n        \"visibility\": 11.643,\n        \"nearestStormBearing\": null,\n        \"nearestStormDistance\": null\n    },\n    \"hourly\": {\n        \"summary\": \"Pluie jusqu’à demain matin.\",\n        \"icon\": \"rain\",\n        \"data\": [\n            {\n                \"time\": \"1601629200\",\n                \"summary\": \"Pluie\",\n                \"icon\": \"rain\",\n                \"precipIntensity\": 2.394,\n                \"precipProbability\": 0.65,\n                \"precipType\": \"rain\",\n                \"temperature\": 12.43,\n                \"apparentTemperature\": 12.43,\n                \"dewPoint\": 10.56,\n                \"humidity\": 0.88,\n                \"windSpeed\": 4.66,\n                \"windBearing\": 155,\n                \"windGust\": 7.47,\n                \"pressure\": 985.8,\n                \"cloudCover\": 0.99,\n                \"ozone\": 310.7,\n                \"visibility\": 8.557,\n                \"precipAccumulation\": null\n            }\n        ]\n    },\n    \"daily\": {\n        \"summary\": \"Pluie pendant toute la semaine.\",\n        \"icon\": \"rain\",\n        \"data\": [\n            {\n                \"time\": \"1601589600\",\n                \"summary\": \"Pluie toute la journée.\",\n                \"icon\": \"rain\",\n                \"sunriseTime\": \"1601617980\",\n                \"sunsetTime\": \"1601659680\",\n                \"moonPhase\": 0.53,\n                \"precipIntensity\": 0.8043,\n                \"precipIntensityMax\": 2.731,\n                \"precipProbability\": 0.98,\n                \"precipIntensityMaxTime\": \"1601624220\",\n                \"precipAccumulation\": null,\n                \"precipType\": \"rain\",\n                \"temperatureHigh\": 15.28,\n                \"temperatureHighTime\": \"1601645160\",\n                \"temperatureLow\": 8.69,\n                \"temperatureLowTime\": \"1601704800\",\n                \"apparentTemperatureHigh\": 15.0,\n                \"apparentTemperatureHighTime\": \"1601645160\",\n                \"apparentTemperatureLow\": 7.64,\n                \"apparentTemperatureLowTime\": \"1601704800\",\n                \"temperatureMin\": 10.88,\n                \"temperatureMinTime\": \"1601604420\",\n                \"temperatureMax\": 15.28,\n                \"temperatureMaxTime\": \"1601645160\",\n                \"apparentTemperatureMin\": 11.15,\n                \"apparentTemperatureMinTime\": \"1601604420\",\n                \"apparentTemperatureMax\": 15.0,\n                \"apparentTemperatureMaxTime\": \"1601645160\",\n                \"dewPoint\": 10.16,\n                \"humidity\": 0.85,\n                \"pressure\": 988.8,\n                \"windSpeed\": 4.02,\n                \"windGust\": 15.04,\n                \"windGustTime\": \"1601609580\",\n                \"windBearing\": 146,\n                \"cloudCover\": 0.99,\n                \"uvIndex\": 2,\n                \"uvIndexTime\": \"1601638680\",\n                \"visibility\": 13.398,\n                \"ozone\": 311.8\n            }\n        ]\n    },\n    \"alerts\": [\n        {\n            \"title\": \"Moderate Rain-flood Warning\",\n            \"time\": \"1601611620\",\n            \"expire\": null,\n            \"uri\": \"http://vigilance.meteofrance.com/\"\n        }\n    ]\n}\n```\n- possible error :\n  * Location Error :\n  ```json\n  {\n      \"status\": \"INTERNAL_SERVER_ERROR\",\n      \"timestamp\": \"05-10-2020 09:29:33\",\n      \"message\": \"Une erreur concernant la location est survenue.\",\n      \"debugMessage\": \"exception message\"\n  }\n  ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferwanlt%2Feweather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferwanlt%2Feweather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferwanlt%2Feweather/lists"}