iOS无法在Google上使用Books API

vnt*_*udy 8 google-api google-search isbn ios

我正在扫描ISBN代码,并在我的iOS应用程序中基于Google上的代码搜索该书.我在google上创建了应用程序.我有浏览器应用程序的密钥,我还为iOS应用程序创建了密钥.

现在这是我正在使用的API: -

https://www.googleapis.com/books/v1/volumes?q=isbn=9783161484100&key={API Key}
Run Code Online (Sandbox Code Playgroud)

当我通过浏览器应用程序密钥时,它也会在我的iOS应用程序中提供优质结果.

但是当我传递iOS API Key时,它会给出如下响应: -

{
 "error": {
  "errors": [
   {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured"
   }
  ],
  "code": 403,
  "message": "Access Not Configured"
 }
}
Run Code Online (Sandbox Code Playgroud)

我知道一天有1000个请求限制.但到目前为止我只做了18次请求.那么为什么这个响应来自iOS API Key.是否有其他方法可以在iOS中实现图书搜索功能.

Sam*_*mir 1

google api 控制台中的包标识符和 Xcode 项目中的包 ID 是否相同?