{"id":43507959,"url":"https://github.com/dietdoctor/go-trustpilot","last_synced_at":"2026-02-03T12:40:11.232Z","repository":{"id":55955703,"uuid":"270972962","full_name":"dietdoctor/go-trustpilot","owner":"dietdoctor","description":"Trustpilot API client library for Go","archived":false,"fork":false,"pushed_at":"2023-02-22T11:12:45.000Z","size":44,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-06-20T13:35:53.110Z","etag":null,"topics":["api","client","golang","library","trustpilot"],"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/dietdoctor.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}},"created_at":"2020-06-09T10:32:09.000Z","updated_at":"2024-04-03T22:10:22.000Z","dependencies_parsed_at":"2024-06-20T13:03:50.483Z","dependency_job_id":"05d92072-9c47-420d-a9f7-62f628777c24","html_url":"https://github.com/dietdoctor/go-trustpilot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dietdoctor/go-trustpilot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dietdoctor%2Fgo-trustpilot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dietdoctor%2Fgo-trustpilot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dietdoctor%2Fgo-trustpilot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dietdoctor%2Fgo-trustpilot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dietdoctor","download_url":"https://codeload.github.com/dietdoctor/go-trustpilot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dietdoctor%2Fgo-trustpilot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29046196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T10:09:22.136Z","status":"ssl_error","status_checked_at":"2026-02-03T10:09:16.814Z","response_time":96,"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":["api","client","golang","library","trustpilot"],"created_at":"2026-02-03T12:40:10.603Z","updated_at":"2026-02-03T12:40:11.223Z","avatar_url":"https://github.com/dietdoctor.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-trustpilot\n\nTrustpilot API client library for Go.\n\n![ci](https://github.com/dietdoctor/go-trustpilot/workflows/build-go/badge.svg) [![GoDoc](https://godoc.org/github.com/dietdoctor/go-trustpilot?status.svg)](https://godoc.org/github.com/dietdoctor/go-trustpilot)\n\nThis library does not implement full Trustpilot API.\n\n## Getting Started\n\nThe client library can be configured using `ClientOption` as functional options.\n\n```go\nfunc ExampleNewClient() {\n\tauthConfig := \u0026trustpilot.PasswordGrantConfig{\n\t\tClientID:     \"1a9SsZ2XJKraw1Prl8m+gvq\",\n\t\tClientSecret: \"AxLoJhlAcbWiVA8cHW2fINep\",\n\t\tUsername:     \"apiuser@example.com\",\n\t\tPassword:     \"6X2hQa1lPHu9dVjikUr0FbRt\",\n\t}\n\n\tclient, err := trustpilot.NewClient(\n\t\ttrustpilot.AuthConfig(authConfig),\n\t\ttrustpilot.Debug(true),\n\t)\n\n\tif err != nil {\n\t\t// TODO handle the error.\n\t}\n\n\t_ = client\n}\n```\n\n## Authentication\n\nThis client supports Trustpilot's oauth 2.0 `password` grant type. Other\nTrustpilot-supported grant types may be added.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdietdoctor%2Fgo-trustpilot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdietdoctor%2Fgo-trustpilot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdietdoctor%2Fgo-trustpilot/lists"}