API密钥和开发者密钥之间的YouTube API差异密钥、开发者、差异、API

由网友(丑人多作怪)分享简介:我有一些问题的理解API密钥和开发的重点,当涉及到利用YouTube的API之间的差异。I'm having some issues understanding the differences between an API Key and a Developer's Key when it comes to util...

我有一些问题的理解API密钥和开发的重点,当涉及到利用YouTube的API之间的差异。

I'm having some issues understanding the differences between an API Key and a Developer's Key when it comes to utilizing the YouTube API.

我的应用程序正在使用中的Youtube API的V3的宁静的请求,我可以设置通过gapi.client.setApiKey()函数,这是我在开发过程中做了一个API密钥,但是当我在看的配额,的https://groups.google.com/forum/?fromgroups=#!topic/youtube-api-gdata/e1JDQ4lqbXU,它指出,他们是绑一个开发人员密钥,而不是和开发重点应与每个请求被发送。我继续得到了一个为发展宗旨,但我不知道他们如何彼此互动。

My application is using the restful requests in v3 of the Youtube API and I can set an API key via the gapi.client.setApiKey() function , which I have done during development, but when I was looking at the quotas, https://groups.google.com/forum/?fromgroups=#!topic/youtube-api-gdata/e1JDQ4lqbXU, it states that they are tied to a developer key instead and that the developer key should be sent with each request. I went ahead and got one for development purposes, but I'm not sure how they interact with each other.

我还没有找到如何与每个宁静的发送请求开发者的键(如gapi.client.youtube.channels.list)的任何细节,只是如何做一个当它包含在页眉或查询字符串定期get请求。

I also didn't find any details on how to send the developer's key with each restful request (such as gapi.client.youtube.channels.list), only how to include it in the header or query string when making a regular get request.

有人可以帮助我了解这两种,它们之间的关系之间的区别,我是否需要双方,以及如何使用它们在宁静的请求,或者如果我需要切换到普通的GET请求?

Can someone help me understand the difference between the two, how they are related, whether I need both, and how to use them in restful requests, or if I need to switch to regular get requests?

推荐答案

抱歉的混乱。

开发键指的是使用过的键v1或 V2 YouTube数据API的。您可以href="https://$c$c.google.com/apis/youtube/dashboard/gwt/index.html">这里

阅读全文

相关推荐

最新文章