{"id":32944996,"url":"https://github.com/robertoduessmann/weather-api","last_synced_at":"2026-01-12T01:59:05.738Z","repository":{"id":41487047,"uuid":"98360812","full_name":"robertoduessmann/weather-api","owner":"robertoduessmann","description":"A RESTful API to check the weather","archived":false,"fork":false,"pushed_at":"2025-10-27T21:07:37.000Z","size":110,"stargazers_count":447,"open_issues_count":2,"forks_count":73,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-27T23:07:42.209Z","etag":null,"topics":["golang","weather","weather-api"],"latest_commit_sha":null,"homepage":"https://goweather.xyz/v2/weather/Berlin","language":"Go","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/robertoduessmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2017-07-26T00:16:35.000Z","updated_at":"2025-10-27T21:17:15.000Z","dependencies_parsed_at":"2025-01-20T22:39:00.496Z","dependency_job_id":"51c66faf-8157-4c54-8a58-8980b2c37f78","html_url":"https://github.com/robertoduessmann/weather-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robertoduessmann/weather-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoduessmann%2Fweather-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoduessmann%2Fweather-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoduessmann%2Fweather-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoduessmann%2Fweather-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertoduessmann","download_url":"https://codeload.github.com/robertoduessmann/weather-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertoduessmann%2Fweather-api/sbom","scorecard":{"id":780379,"data":{"date":"2025-08-11","repo":{"name":"github.com/robertoduessmann/weather-api","commit":"b19aaed62ab7648f19790e5d17c5d20f5cd0ba07"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Code-Review","score":2,"reason":"Found 4/16 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/robertoduessmann/weather-api/build.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/robertoduessmann/weather-api/build.yaml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yaml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/robertoduessmann/weather-api/build.yaml/master?enable=pin","Info:   0 out of   3 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":3,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'master'","Info: 'force pushes' disabled on branch 'master'","Info: 'branch protection settings apply to administrators' is required to merge on branch 'master'","Warn: could not determine whether codeowners review is allowed","Warn: no status checks found to merge onto branch 'master'","Warn: PRs are not required to make changes on branch 'master'; or we don't have data to detect it.If you think it might be the latter, make sure to run Scorecard with a PAT or use Repo Rules (that are always public) instead of Branch Protection settings"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 22 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T04:45:49.611Z","repository_id":41487047,"created_at":"2025-08-23T04:45:49.611Z","updated_at":"2025-08-23T04:45:49.611Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331472,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["golang","weather","weather-api"],"created_at":"2025-11-12T17:00:33.797Z","updated_at":"2026-01-12T01:59:05.733Z","avatar_url":"https://github.com/robertoduessmann.png","language":"Go","funding_links":[],"categories":["Public APIs","Index","APIs"],"sub_categories":["Weather"],"readme":"# weather-api\n\n[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](/LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/robertoduessmann/weather-api)](https://goreportcard.com/report/github.com/robertoduessmann/weather-api)\n[![GoDoc](https://godoc.org/github.com/robertoduessmann/weather-api?status.svg)](https://godoc.org/github.com/robertoduessmann/weather-api)\n\n\u003e A REST API to check the current weather.\n\n\u003e http://goweather.xyz/weather/Berlin\u003cbr /\u003e \u003e http://goweather.xyz/weather/{city}\n\n## Build locally (Mac users)\n\n```sh\ngo build\n```\n\n## Run\n\n```sh\n./weather-api\n```\n\n## Usage\n\n```sh\ncurl http://localhost:3000/weather/{city}\n```\n\n## Example\n\n#### Request\n\n```sh\ncurl http://localhost:3000/weather/Curitiba\n```\n\n#### Response\n\n```json\n{\n  \"temperature\": \"29 °C\",\n  \"wind\": \"20 km/h\",\n  \"description\": \"Partly cloudy\",\n  \"forecast\": [\n    {\n      \"day\": \"1\",\n      \"temperature\": \"27 °C\",\n      \"wind\": \"12 km/h\"\n    },\n    {\n      \"day\": \"2\",\n      \"temperature\": \"22 °C\",\n      \"wind\": \"8 km/h\"\n    }\n  ]\n}\n```\n\n## Web Version\n\nFew web clients of the API and their Projects:\n\n1. **Client:** [https://reacttempo.netlify.app/](https://reacttempo.netlify.app/)  \n   **Project:** [https://github.com/GabrielCampos99/appTempo](https://github.com/GabrielCampos99/appTempo)\n\n2. **Client:** [https://emaniaditya.github.io/weather-app](https://emaniaditya.github.io/weather-app)  \n   **Project:** [https://github.com/emaniaditya/weather-app/](https://github.com/emaniaditya/weather-app/)\n\n3. **Client:** [https://weather-react-tsx.netlify.app/](https://weather-react-tsx.netlify.app/)  \n   **Project:** [https://github.com/keissiant/weather-api-react.tsx](https://github.com/keissiant/weather-api-react.tsx)\n\n## License\n\nThe MIT License ([MIT](https://github.com/robertoduessmann/weather-api/blob/master/LICENSE))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertoduessmann%2Fweather-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertoduessmann%2Fweather-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertoduessmann%2Fweather-api/lists"}