{"id":18424181,"url":"https://github.com/bradmccoydev/surf-report","last_synced_at":"2025-09-10T06:32:25.504Z","repository":{"id":107564085,"uuid":"363783157","full_name":"bradmccoydev/surf-report","owner":"bradmccoydev","description":"Surf Report API","archived":false,"fork":false,"pushed_at":"2023-06-13T09:50:12.000Z","size":31,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-07T15:46:36.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bradmccoydev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"bradmccoydev"}},"created_at":"2021-05-03T00:53:38.000Z","updated_at":"2023-06-10T12:15:17.000Z","dependencies_parsed_at":"2024-06-11T17:07:50.707Z","dependency_job_id":null,"html_url":"https://github.com/bradmccoydev/surf-report","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bradmccoydev/surf-report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmccoydev%2Fsurf-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmccoydev%2Fsurf-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmccoydev%2Fsurf-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmccoydev%2Fsurf-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bradmccoydev","download_url":"https://codeload.github.com/bradmccoydev/surf-report/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bradmccoydev%2Fsurf-report/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274422205,"owners_count":25282123,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"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":[],"created_at":"2024-11-06T04:41:37.567Z","updated_at":"2025-09-10T06:32:25.470Z","avatar_url":"https://github.com/bradmccoydev.png","language":"Go","funding_links":["https://github.com/sponsors/bradmccoydev"],"categories":[],"sub_categories":[],"readme":"![GitHub](https://img.shields.io/github/license/bradmccoydev/surf-report)\n# Surf Report\nSurf Report API. This used to be in donetcore for Microsoft Reactor labs ran by Brad, now it has been refactored to use Golang. For references to the labs you can checkout an earlier commit for the dotnet core code.\n\nThis application simply calls the weather api and creates prometheus metrics for use of viewing data related to surfing in tools like grafana.\n\ncurl \"https://api.stormglass.io/v2/weather/point?lat=-33.7979\u0026lng=151.2882\u0026params=airTemperature,cloudCover,swellDirection,swellHeight,swellPeriod,waterTemperature,waveDirection,waveHeight\" -H \"Authorization: \" \u003e surf.json\n\ncurl \"https://api.stormglass.io/v2/tide/sea-level/point?lat=-33.7979\u0026lng=151.2882\"  -H \"Authorization: \" \u003e tide.json\n\n# HELP surf_water_temperature Swell direction metric\n# TYPE surf_water_temperature gauge\nsurf_water_temperature 18.42\n\n# HELP surf_wave_direction Swell direction metric\n# TYPE surf_wave_direction gauge\nsurf_wave_direction 152.14\n\n# HELP surf_wave_height Swell height metric\n# TYPE surf_wave_height gauge\nsurf_wave_height 152.14\n\n# HELP surf_air_temperature Swell direction metric\n# TYPE surf_air_temperature gauge\nsurf_air_temperature 16.45\n\n# HELP surf_cloud_cover Swell direction metric\n# TYPE surf_cloud_cover gauge\nsurf_cloud_cover 100.0\n\n# HELP surf_swell_direction Swell direction metric\n# TYPE surf_swell_direction gauge\nsurf_swell_direction 150.68\n\n# HELP surf_swell_height Swell height metric\n# TYPE surf_swell_height gauge\nsurf_swell_height 1.07\n\n# HELP surf_swell_period Swell period metric\n# TYPE surf_swell_period gauge\nsurf_swell_period 7.88\n\n# HELP surf_tide Tide metric\n# TYPE surf_tide gauge\nsurf_tide 7.88\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradmccoydev%2Fsurf-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbradmccoydev%2Fsurf-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbradmccoydev%2Fsurf-report/lists"}