{"id":19420131,"url":"https://github.com/einride/here-go","last_synced_at":"2026-02-16T12:31:23.893Z","repository":{"id":36960445,"uuid":"274998020","full_name":"einride/here-go","owner":"einride","description":"Go SDK for the HERE Maps API.","archived":false,"fork":false,"pushed_at":"2025-07-15T16:18:53.000Z","size":233,"stargazers_count":6,"open_issues_count":2,"forks_count":4,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-08-05T11:59:37.254Z","etag":null,"topics":["gis","go","golang","here","here-maps-api","heremaps","maps","routing"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/go.einride.tech/here","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/einride.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-06-25T19:24:44.000Z","updated_at":"2025-07-15T16:18:55.000Z","dependencies_parsed_at":"2023-02-16T05:00:39.529Z","dependency_job_id":"6be13b38-8e86-4ed2-8a89-d0278de62134","html_url":"https://github.com/einride/here-go","commit_stats":{"total_commits":87,"total_committers":8,"mean_commits":10.875,"dds":0.5632183908045977,"last_synced_commit":"1bc261f9f1d1ece689e951602efb2b2b0788653a"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/einride/here-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einride%2Fhere-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einride%2Fhere-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einride%2Fhere-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einride%2Fhere-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/einride","download_url":"https://codeload.github.com/einride/here-go/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/einride%2Fhere-go/sbom","scorecard":{"id":370070,"data":{"date":"2025-08-11","repo":{"name":"github.com/einride/here-go","commit":"d965ed5456bbd477180968fc7acb6536ad8976d9"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.2,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","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":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"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":"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/einride/here-go/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/einride/here-go/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/einride/here-go/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/einride/here-go/stale.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party 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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: topLevel permissions set to 'write-all': .github/workflows/release.yml:7"],"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":"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":5,"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: 'stale review dismissal' is disabled on branch 'master'","Warn: required approving review count is 1 on branch 'master'","Warn: codeowners review is not required on branch 'master'","Warn: 'last push approval' is disabled on branch 'master'","Warn: no status checks found to merge onto branch 'master'","Info: PRs are required in order to make changes on branch 'master'"],"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":-1,"reason":"internal error: internal error: Client.Checks.ListCheckRunsForRef: error during graphqlHandler.setupCheckRuns: non-200 OK status code: 502 Bad Gateway body: \"\u003chtml\u003e\\r\\n\u003chead\u003e\u003ctitle\u003e502 Bad Gateway\u003c/title\u003e\u003c/head\u003e\\r\\n\u003cbody\u003e\\r\\n\u003ccenter\u003e\u003ch1\u003e502 Bad Gateway\u003c/h1\u003e\u003c/center\u003e\\r\\n\u003chr\u003e\u003ccenter\u003enginx\u003c/center\u003e\\r\\n\u003c/body\u003e\\r\\n\u003c/html\u003e\\r\\n\"","details":null,"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-18T12:44:35.051Z","repository_id":36960445,"created_at":"2025-08-18T12:44:35.051Z","updated_at":"2025-08-18T12:44:35.051Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271448397,"owners_count":24761438,"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-08-21T02:00:08.990Z","response_time":74,"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":["gis","go","golang","here","here-maps-api","heremaps","maps","routing"],"created_at":"2024-11-10T13:21:19.461Z","updated_at":"2026-02-16T12:31:18.871Z","avatar_url":"https://github.com/einride.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HERE Go\n\n[![PkgGoDev](https://pkg.go.dev/badge/go.einride.tech/here)](https://pkg.go.dev/go.einride.tech/here)\n[![GoReportCard](https://goreportcard.com/badge/go.einride.tech/here)](https://goreportcard.com/report/go.einride.tech/here)\n[![Codecov](https://codecov.io/gh/einride/here-go/branch/master/graph/badge.svg)](https://codecov.io/gh/einride/here-go)\n\nGo SDK for the HERE Maps API.\n\n## Documentation\n\nAPI documentation can be found at\n[developer.here.com](https://developer.here.com).\n\n## Installing\n\n```bash\n$ go get go.einride.tech/here\n```\n\n## Authentication\n\nThe package does not directly handle authentication. Instead, when creating a\nnew client, pass an `http.Client` that can handle authentication for you.\n\nNote that when using an authenticated Client, all calls made by the client will\ninclude the same authentication data. Therefore, authenticated clients should\nalmost never be shared between different users.\n\n## Complete Examples\n\n### v7 Routing API\n\n#### Route calculation\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"os\"\n\n\t\"go.einride.tech/here/routingv7\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tapiKey := os.Getenv(\"HERE_API_KEY\")\n\t// Create an authenticated client\n\troutingClient := routingv7.New(\n\t\troutingv7.NewAPIKeyHTTPClient(apiKey, http.DefaultClient.Transport),\n\t)\n\t// Einride Gothenburg.\n\torigin := \u0026routingv7.GeoWaypoint{\n\t\tLat:  57.707752,\n\t\tLong: 11.949767,\n\t}\n\t// Einride Stockholm.\n\tdestination := \u0026routingv7.GeoWaypoint{\n\t\tLat:  59.337492,\n\t\tLong: 18.063672,\n\t}\n\t// Call Here Maps API\n\tresponse, err := routingClient.Route.CalculateRoute(ctx, \u0026routingv7.CalculateRouteRequest{\n\t\tWaypoints: []routingv7.WaypointParameter{origin, destination},\n\t\tMode: routingv7.RoutingMode{\n\t\t\tType: routingv7.RouteTypeFastest,\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err) // TODO: Handle error.\n\t}\n\t// Handle result\n\tfor _, route := range response.Routes {\n\t\tfmt.Println(route.Summary)\n\t}\n}\n```\n\n### v8 Routing API\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"os\"\n\n\t\"go.einride.tech/here/routingv8\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tapiKey := os.Getenv(\"HERE_API_KEY\")\n\t// Create an authenticated client\n\troutingClient := routingv8.New(\n\t\troutingv8.NewAPIKeyHTTPClient(apiKey, http.DefaultClient.Transport),\n\t)\n\t// Einride Gothenburg.\n\torigins := []*routingv8.GeoWaypoint{\n\t\t{\n\t\t\tLat:  57.707752,\n\t\t\tLong: 11.949767,\n\t\t},\n\t}\n\t// Einride Stockholm.\n\tdestinations := []*routingv8.GeoWaypoint{\n\t\t{\n\t\t\tLat:  59.337492,\n\t\t\tLong: 18.063672,\n\t\t},\n\t}\n\t// Call Here Maps API\n\tresponse, err := routingClient.Matrix.CalculateMatrix(ctx, \u0026routingv8.CalculateMatrixRequest{\n\t\tAsync: false,\n\t\tBody: \u0026routingv8.CalculateMatrixBody{\n\t\t\tOrigins:      origins,\n\t\t\tDestinations: destinations,\n\t\t\tRegionDefinition: routingv8.RegionDefinition{\n\t\t\t\tType: routingv8.RegionType_World,\n\t\t\t},\n\t\t\tProfile: routingv8.Profile_TruckFast,\n\t\t\tMatrixAttributes: \u0026routingv8.MatrixAttributes{\n\t\t\t\troutingv8.MatrixAttribute_Distances,\n\t\t\t\troutingv8.MatrixAttribute_TravelTimes,\n\t\t\t},\n\t\t},\n\t})\n\tif err != nil {\n\t\tpanic(err) // TODO: handle error\n\t}\n\t// Handle result\n\tfmt.Printf(\"matrix ID: %s \\n\", response.MatrixID)\n\tfor i, distance := range response.Matrix.Distances {\n\t\tfmt.Printf(\"Route %d: %d meters \\n\", i, distance)\n\t}\n}\n```\n\n### v7 Geocoding \u0026 Search API\n\n```go\npackage main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"net/http\"\n\t\"os\"\n\n\t\"go.einride.tech/here/geocodingsearchv7\"\n)\n\nfunc main() {\n\tctx := context.Background()\n\tapiKey := os.Getenv(\"HERE_API_KEY\")\n\t// Create an authenticated client\n\tgeocodingClient := geocodingsearchv7.NewClient(\n\t\tgeocodingsearchv7.NewAPIKeyHTTPClient(apiKey, http.DefaultClient.Transport),\n\t)\n\n\t// The query to geocode\n\tq := \"Regeringsgatan 65, Stocholm\"\n\t// Call Here Maps API\n\tresponse, err := geocodingClient.Geocoding.Geocoding(ctx, \u0026geocodingsearchv7.GeocodingRequest{\n\t\tQ: \u0026q,\n\t})\n\tif err != nil {\n\t\tpanic(err) // TODO: handle error\n\t}\n\t// Handle result\n\tfor _, item := range response.Items {\n\t\tfmt.Printf(\"Geocoded location lat/lng: %f %f  \\n\", item.Position.Lat, item.Position.Long)\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feinride%2Fhere-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feinride%2Fhere-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feinride%2Fhere-go/lists"}