简体   繁体   English

验证谷歌分析 api

[英]authenticating google analytics api

I am using query explorer to get the API constructed in google analytics, but this comes with token.我正在使用查询资源管理器来获取在谷歌分析中构建的 API,但这带有令牌。 I don't know how can I get a token or authenticate so it never expires.我不知道如何获取令牌或进行身份验证,使其永不过期。

I am not using any app, just want when I hit browser with API I get JSON results that's it.我没有使用任何应用程序,只是想当我用 API 访问浏览器时,我得到 JSON 结果就是这样。

Please someone please help me to authenticate the API I get from query explorer in GA.请有人帮我验证我从 GA 的查询资源管理器中获得的 API。

The query explorer is only a tryout platform and DOES NOT produce tokens for indefinite use.查询资源管理器只是一个试用平台,不会生成无限期使用的令牌。

There is a step by step setup for this: https://console.developers.google.com/flows/enableapi?apiid=analytics&credential=client_key&pli=1有一个逐步设置: https://console.developers.google.com/flows/enableapi?apiid=analytics&credential=client_key&pli=1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM