客户端库参考文档
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如需查看有关如何使用客户端库的示例,请参阅快速入门指南。
Go
go get google.golang.org/genproto/googleapis/analytics/data/v1beta
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThis page provides quick access to client libraries for Google Analytics Data API in various programming languages including Java, PHP, Python, Node.js, .NET, Ruby and Go.\u003c/p\u003e\n"],["\u003cp\u003eFor each language, you can find installation guides, reference documentation, public artifacts, source code, and samples to help you get started.\u003c/p\u003e\n"],["\u003cp\u003eThese libraries allow developers to easily integrate Google Analytics data into their applications using their preferred language.\u003c/p\u003e\n"],["\u003cp\u003eConsult the quick start guide for practical examples of utilizing these libraries.\u003c/p\u003e\n"]]],["Client library information for Google Analytics Data is provided for Java, PHP, Python, Node.js, .NET, Ruby, and Go. Each language section includes links for installation, reference documentation, public artifacts, client library source code, and code samples. The Go section provides a command to get the code along with links to documentation, artifact and the library source code. A quick start guide with more examples is available.\n"],null,["# Client Libraries Reference\n\nSee the [Quick start guide](/analytics/devguides/reporting/data/v1/quickstart-client-libraries) for examples of using the\nclient libraries. \n\n### Java\n\n-\n [Java client library installation guide](https://github.com/googleapis/google-cloud-java/blob/main/java-analytics-data/README.md)\n\n- [Reference documentation](https://googleapis.dev/java/google-analytics-data/latest/index.html)\n\n- [Public artifact](https://search.maven.org/artifact/com.google.analytics/google-analytics-data)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-java/tree/main/java-analytics-data)\n\n- [Samples](https://github.com/googleanalytics/java-docs-samples/tree/main/google-analytics-data)\n\n### PHP\n\n-\n [PHP client library installation guide](https://github.com/googleapis/php-analytics-data#installation)\n\n- [Reference documentation](https://cloud.google.com/php/docs/reference/analytics-data/latest)\n\n- [Public artifact](https://packagist.org/packages/google/analytics-data)\n\n- [Client library source code](https://github.com/googleapis/php-analytics-data)\n\n- [Samples](https://github.com/googleanalytics/php-docs-samples/tree/main/google-analytics-data)\n\n### Python\n\n-\n [Python client library installation guide](https://github.com/googleapis/google-cloud-python/blob/main/packages/google-analytics-data/README.rst#installation)\n\n- [Reference documentation](https://googleapis.dev/python/analyticsdata/latest/index.html)\n\n- [Public artifact](https://pypi.org/project/google-analytics-data/)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-python/tree/main/packages/google-analytics-data)\n\n- [Samples](https://github.com/googleanalytics/python-docs-samples/tree/main/google-analytics-data)\n\n### Node.js\n\n-\n [Node.js client library installation guide](https://googleapis.dev/nodejs/analytics-data/latest/index.html#installing-the-client-library)\n\n- [Reference documentation](https://googleapis.dev/nodejs/analytics-data/latest/index.html)\n\n- [Public artifact](https://www.npmjs.com/package/@google-analytics/data)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-analytics-data)\n\n- [Samples](https://github.com/googleanalytics/nodejs-docs-samples/tree/main/google-analytics-data)\n\n### .NET\n\n-\n [.NET client library installation guide](https://www.nuget.org/packages/Google.Analytics.Data.V1Beta#package-manager)\n\n- [Reference documentation](https://googleapis.dev/dotnet/Google.Analytics.Data.V1Beta/latest/api/Google.Analytics.Data.V1Beta.html)\n\n- [Public artifact](https://www.nuget.org/packages/Google.Analytics.Data.V1Beta)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-dotnet/tree/main/apis/Google.Analytics.Data.V1Beta)\n\n- [Samples](https://github.com/googleanalytics/dotnet-docs-samples/tree/main/analytics-data)\n\n### Ruby\n\n-\n [Ruby client library installation guide](https://github.com/googleapis/google-cloud-ruby/tree/main/google-analytics-data-v1beta#installation)\n\n- [Reference documentation](https://googleapis.dev/ruby/google-analytics-data-v1beta/latest/index.html)\n\n- [Public artifact](https://rubygems.org/gems/google-analytics-data-v1beta)\n\n- [Client library source code](https://github.com/googleapis/google-cloud-ruby/tree/main/google-analytics-data-v1beta)\n\n### Go\n\n\n```\ngo get google.golang.org/genproto/googleapis/analytics/data/v1beta\n```\n\n\u003cbr /\u003e\n\n- [Reference documentation](https://pkg.go.dev/google.golang.org/genproto/googleapis/analytics/data/v1beta)\n\n- [Public artifact](https://pkg.go.dev/google.golang.org/genproto/googleapis/analytics/data/v1beta)\n\n- [Client library source code](https://github.com/googleapis/go-genproto/tree/main/googleapis/analytics/data/v1beta)"]]