gpt4 book ai didi

iOS 无法在谷歌上使用 Books API

转载 作者:可可西里 更新时间:2023-11-01 03:19:48 24 4
gpt4 key购买 nike

我正在我的 iOS 应用程序中扫描 ISBN 代码并根据该代码在谷歌上搜索该书。我在谷歌上创建了这个应用程序。我有浏览器应用程序的 key ,我也为 iOS 应用程序创建了 key 。

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

https://www.googleapis.com/books/v1/volumes?q=isbn=9783161484100&key={API Key}

当我传递浏览器应用 key 时,它也在我的 iOS 应用中给出了很好的结果。

但是当我传递 iOS API Key 时,它会给出这样的响应:-

{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
],
"code": 403,
"message": "Access Not Configured"
}
}

我知道一天有 1,000 个请求限制。但到目前为止我只做了 18 个请求。那么为什么这个响应来自 iOS API key 。有没有其他方法可以在 iOS 中实现图书搜索功能。

最佳答案

您在 google api 控制台中的 bundle identifier 和 Xcode 项目中的 bundle id 是否相同?

关于iOS 无法在谷歌上使用 Books API,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18842037/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com