{"id":22620281,"url":"https://github.com/qba73/rivers","last_synced_at":"2026-02-18T19:30:59.361Z","repository":{"id":40511300,"uuid":"338140484","full_name":"qba73/rivers","owner":"qba73","description":"Go client library and CLI utility for reading water levels in Ireland","archived":false,"fork":false,"pushed_at":"2025-02-25T05:53:14.000Z","size":2994,"stargazers_count":0,"open_issues_count":15,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-26T21:07:27.448Z","etag":null,"topics":["api","geospatial","gis","gis-data","gis-utils","go","ireland","rivers","sensors-data-collection"],"latest_commit_sha":null,"homepage":"","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/qba73.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}},"created_at":"2021-02-11T20:11:11.000Z","updated_at":"2025-02-25T05:53:11.000Z","dependencies_parsed_at":"2024-01-23T01:05:09.148Z","dependency_job_id":"8cea9729-3ddf-4f9c-91b5-afd316f413f1","html_url":"https://github.com/qba73/rivers","commit_stats":{"total_commits":131,"total_committers":4,"mean_commits":32.75,"dds":"0.23664122137404575","last_synced_commit":"e8706fd5759e06236c1b07a8f8085b38a2e3816c"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/qba73/rivers","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qba73%2Frivers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qba73%2Frivers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qba73%2Frivers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qba73%2Frivers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qba73","download_url":"https://codeload.github.com/qba73/rivers/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qba73%2Frivers/sbom","scorecard":{"id":752874,"data":{"date":"2025-08-11","repo":{"name":"github.com/qba73/rivers","commit":"9f36d509b3a215904e63d3431e1d8b613c8ccf95"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.8,"checks":[{"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/24 approved changesets -- score normalized to 0","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/go.yml: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":"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/go.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/qba73/rivers/go.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/go.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/qba73/rivers/go.yml/main?enable=pin","Info:   0 out of   2 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":"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 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"}}]},"last_synced_at":"2025-08-22T20:49:18.751Z","repository_id":40511300,"created_at":"2025-08-22T20:49:18.751Z","updated_at":"2025-08-22T20:49:18.751Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29591877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"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":["api","geospatial","gis","gis-data","gis-utils","go","ireland","rivers","sensors-data-collection"],"created_at":"2024-12-08T22:13:00.282Z","updated_at":"2026-02-18T19:30:59.323Z","avatar_url":"https://github.com/qba73.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Go](https://github.com/qba73/rivers/workflows/Go/badge.svg)\n[![Go Report Card](https://goreportcard.com/badge/github.com/qba73/rivers)](https://goreportcard.com/report/github.com/qba73/rivers)\n\n## rivers\n\n```rivers``` is a Go client library and a CLI utility for reading water level and water temperature data from stations located in rivers in Ireland. The tool reads data from more than 450 sensors located in 28 rivers.  \n\n## Using the Go library\nImport the library using:\n```go\nimport \"github.com/qba73/rivers\" \n```\n## Creating a client\nCreat a new ```Client``` object by calling ```rivers.NewClient()```:\n```go\nclient := rivers.NewClient()\n```\n## Retrieving latest water level redings\n\n```go\nclient.GetLatestWaterLevels()\n```\nor\n```go\nrivers.GetLatestWaterLevels()\n```\n## A complete example program\nYou can see an example programs which retrieves water level data in the [examples/stations](examples/stations/main.go) folder.\n\n## Bugs and feature requests\nIf you find a bug in the ```rivers``` client or library, please [open an issue](https://github.com/qba73/rivers/issues). Similarly, if you'd like a feature added or improved, let me know via an issue.\n\nNot all the functionality of the [water level](https://waterlevel.ie) is implemented yet.\n\nPull requests welcome!\n\n## Using the CLI utility for reading water levels\n\nGet readings from stations (water level in millimeters):\n```\n$ waterlevel\n[...]\ntime: 2022-07-04 00:15:00 +0000 UTC, station: Innisconnell Pier, id: 36084, level: 1152\ntime: 2022-07-04 09:30:00 +0000 UTC, station: Clonconwal, id: 38001, level: 619\ntime: 2022-07-04 09:30:00 +0000 UTC, station: Glenties, id: 38010, level: 810\ntime: 2022-07-03 11:30:00 +0000 UTC, station: New Mills, id: 39001, level: 210\ntime: 2022-07-04 09:30:00 +0000 UTC, station: Tullyarvan, id: 39003, level: 327\n[...]\n```\n\nSave readings to a file:\n```\n$ waterlevel \u003e levels.txt\n```\n\n### Disclaimer\n\n```rivers``` project processes *Irish Public Sector Information* licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0), [licence](http://waterlevel.ie) provided by the Office of Public Works.\nData is licensed under the [Creative Commons By Attribution (CC-BY) version 4.0 license](https://creativecommons.org/licenses/by/4.0/legalcode) - see [summary](https://creativecommons.org/licenses/by/4.0/).\nThis is in line with Irish Government [PER Circular 12 of 2016](http://circulars.gov.ie/pdf/circular/per/2016/12.pdf) and policy on Open Data [data.gov.ie](https://data.gov.ie/data).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqba73%2Frivers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqba73%2Frivers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqba73%2Frivers/lists"}