Essayez le serveur MCP pour Google Analytics. Installez-le depuis
GitHub et consultez l'
annonce pour en savoir plus.
Documentation de référence sur les bibliothèques clientes
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Consultez le guide de démarrage rapide pour obtenir des exemples d'utilisation des bibliothèques clientes.
Go
go get google.golang.org/genproto/googleapis/analytics/data/v1beta
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/26 (UTC).
[null,null,["Dernière mise à jour le 2025/07/26 (UTC)."],[[["\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)"]]