{"id":40907682,"url":"https://github.com/mhelmetag/surflinef","last_synced_at":"2026-01-22T02:40:41.099Z","repository":{"id":38899947,"uuid":"120735647","full_name":"mhelmetag/surflinef","owner":"mhelmetag","description":"An API client for fetching data from the Surfline API v1 and v2","archived":false,"fork":false,"pushed_at":"2022-07-25T20:45:09.000Z","size":70,"stargazers_count":70,"open_issues_count":2,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-17T09:21:06.402Z","etag":null,"topics":["api","forecasts","surfing","surfline","tides"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhelmetag.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}},"created_at":"2018-02-08T08:51:43.000Z","updated_at":"2025-02-22T08:42:36.000Z","dependencies_parsed_at":"2022-08-18T13:52:54.974Z","dependency_job_id":null,"html_url":"https://github.com/mhelmetag/surflinef","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/mhelmetag/surflinef","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhelmetag%2Fsurflinef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhelmetag%2Fsurflinef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhelmetag%2Fsurflinef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhelmetag%2Fsurflinef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhelmetag","download_url":"https://codeload.github.com/mhelmetag/surflinef/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhelmetag%2Fsurflinef/sbom","scorecard":{"id":639994,"data":{"date":"2025-08-11","repo":{"name":"github.com/mhelmetag/surflinef","commit":"957d7ec4177276c2b2719522b47cbeb42705b26f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":-1,"reason":"No tokens found","details":null,"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":"Code-Review","score":0,"reason":"Found 0/8 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":"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":"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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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: GNU General Public License v3.0: 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 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":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"}}]},"last_synced_at":"2025-08-21T10:27:35.032Z","repository_id":38899947,"created_at":"2025-08-21T10:27:35.032Z","updated_at":"2025-08-21T10:27:35.032Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28651809,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["api","forecasts","surfing","surfline","tides"],"created_at":"2026-01-22T02:40:41.034Z","updated_at":"2026-01-22T02:40:41.091Z","avatar_url":"https://github.com/mhelmetag.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SurflineF\n\n[![Build Status](https://travis-ci.org/mhelmetag/surflinef.svg?branch=master)](https://travis-ci.org/mhelmetag/surflinef)\n\nAn API client for fetching Forecasts from the Surfline API.\n\nCheck out the `v2` folder for the API client for the Surfline API v2.\n\n## Installation\n\nSimply run `go get github.com/mhelmetag/surflinef` and start using it in your own apps!\n\n**Note:** I believe any go version over 1.11 will get upset with how I do my weird JSON unmarshalling (because of Surfline's weird API data types). I would recommend using v2 anyways...\n\n## Usage\n\nThe full example for fetching a Forecast (and other info) can be found in `examples/main.go` and can be run with `go run examples/main.go`.\n\n## Surfline API URL\n\n`http://api.surfline.com/v1/forecasts`\n\n## Known Query Params\n\n- **resources (string)** - Possible values: \\[surf, analysis, wind, weather, tide, sort\\] (optional resources for forecast)\n- **days (integer)** - Greater than 1 (unsure of upper limit; confirmed to go above 10 but data usually becomes unknown/blank after that)\n- **getAllSpots (boolean)** - _true_ will get all spot forecasts in the subregion (meaning an array of forecasts)\n- **aggregate (boolean)** - _true_ enables aggregate fields for the Surf resource\n- **units (string)** - Possible values: \\[e, m\\] (e is feet and m is meters)\n- **fullAnalysis (boolean)** - _true_ adds fields like `brief_outlook`, `best_bet`, `extended_outlook` and others to the larger Analysis JSON object\n- **showOptimal (boolean)** - Not sure what this does yet\n- **interpolate (boolean)** - Not sure what this does yet\n\n## Example API Calls\n\nFound in the network tab when browsing around the Surfline site:\n\n`http://api.surfline.com/v1/forecasts/2141?\u0026callback=jQuery18001517130109550182_1474259459851\u0026resources=resources%3Dwind%2Csurf%2Canalysis%2Cweather%2Ctide%2Csort\u0026days=17\u0026aggregate=true\u0026units=e\u0026_=1474259492858`\n\n`http://api.surfline.com/v1/forecasts/2141?resources=analysis\u0026units=e\u0026days=1\u0026fullAnalysis=true`\n\n`http://api.surfline.com/v1/forecasts/2141?resources=surf,analysis\u0026days=1\u0026getAllSpots=true\u0026units=e\u0026interpolate=false\u0026showOptimal=false`\n\n`http://api.surfline.com/v1/forecasts/4991?resources=surf\u0026days=1\u0026getAllSpots=false\u0026units=e\u0026interpolate=true\u0026showOptimal=false`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhelmetag%2Fsurflinef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmhelmetag%2Fsurflinef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmhelmetag%2Fsurflinef/lists"}