{"id":13414053,"url":"https://github.com/chonthu/go-google-analytics","last_synced_at":"2026-01-14T14:12:26.610Z","repository":{"id":33028161,"uuid":"36663730","full_name":"chonthu/go-google-analytics","owner":"chonthu","description":"Simple Reporting for Google Analytics","archived":false,"fork":false,"pushed_at":"2015-06-09T11:38:07.000Z","size":164,"stargazers_count":15,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-25T05:25:21.017Z","etag":null,"topics":[],"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/chonthu.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":"2015-06-01T13:50:00.000Z","updated_at":"2024-01-20T19:42:45.000Z","dependencies_parsed_at":"2022-08-17T18:11:03.066Z","dependency_job_id":null,"html_url":"https://github.com/chonthu/go-google-analytics","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chonthu/go-google-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chonthu%2Fgo-google-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chonthu%2Fgo-google-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chonthu%2Fgo-google-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chonthu%2Fgo-google-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chonthu","download_url":"https://codeload.github.com/chonthu/go-google-analytics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chonthu%2Fgo-google-analytics/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28422408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-07-30T20:01:56.340Z","updated_at":"2026-01-14T14:12:26.592Z","avatar_url":"https://github.com/chonthu.png","language":"Go","funding_links":[],"categories":["Third-party APIs","第三方api","\u003cspan id=\"第三方api-third-party-apis\"\u003e第三方API Third-party APIs\u003c/span\u003e","第三方API","第三方API`第三方API 汇总`","Utility"],"sub_categories":["Utility/Miscellaneous","HTTP Clients","实用程序/Miscellaneous","Advanced Console UIs","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","Fail injection","查询语","交流"],"readme":"##Google analytics Data pull\n\nLightweight Golang library for pulling Google Analytics API data.\nBuilt for use with Core Reporting API (v3):\n\nhttps://developers.google.com/analytics/devguides/reporting/core/v3/reference\n\n### Install\n\n```\ngo get github.com/chonthu/go-google-analytics\n```\n\n### Authentication\nIn order to authenticate this library for use with your Google Analytics account, an oauth2 token needs to be generated. For a new project login to [Google Developers Console](https://console.developers.google.com) and Create Project. \n\nAdd Analytics API to list of APIs, create a new \"Installed\" App Client ID and download it in JSON format.\n\nPlace the client_secret.json in the root of your application. Ps. you have to renaming it from the crazy name to just \"client_secret.json\"\n\n### Usage\n\nSee Examples [here](https://github.com/chonthu/go-google-analytics/tree/master/examples)\n\n### Testing\nUnit tests are included with this library, use `go test ./...` to run through the set provided.\n\n** This doesnt really work yet, but working on it  **\n\n### Changelog\n\n#### 1.0.0\n- cleaner naming\n- clearner working examples\n\n#### 0.1.1:\n- Implemented batch processing\n- New request period segmentation functionality\n- Cleaner error reporting and resolution suggestions\n\n#### 0.1.0:\n- Initial release","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchonthu%2Fgo-google-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchonthu%2Fgo-google-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchonthu%2Fgo-google-analytics/lists"}