谷歌翻译 API 总是返回“超出每日限制" [英] Google Translate API always returning 'Daily Limit Exceeded'
问题描述
我正在尝试启动并运行 Google 翻译 API.在入门指南上,给出了以下示例:https://www.googleapis.com/language/translate/v2/detect?key={MyAppId}&q=google+translate+is+fast
I'm trying to get the google translate API up and running. On the getting started guide, it gives the following example: https://www.googleapis.com/language/translate/v2/detect?key={MyAppId}&q=google+translate+is+fast
我现在只想让它工作,所以我只是想通过浏览器帖子让它工作视图,所以我创建了一个测试网络应用程序(截图):
I just want to get this working for now, so I'm just trying to get it working view via a browser post, so I created a testing web application (screenshot):
并获取 API 密钥,将示例 URL 的密钥替换为我的 API 密钥.我收到以下回复:
and grabbed the API key, replaced the sample URL's key with my API key. I get the following response:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceeded",
"message": "Daily Limit Exceeded"
}
],
"code": 403,
"message": "Daily Limit Exceeded"
}
}
我还应该注意,我已经使用结算选项注册了我的帐户(我计划使用该服务很多),所以我目前应该没有问题.
I should also note, that I have signed my account up with the billing option (I plan on using the service quite a bit), so I should have no issues at the moment.
我显然做错了什么,但我不知道是什么.有什么建议吗?
I'm obviously doing something wrong, but I don't know what. Any suggestions?
推荐答案
要翻译数据,您必须启用帐单并必须注册您的信用卡/借记卡.在您注册您的卡后,将扣除 1 美元,然后您将可以使用您的网址
For getting data translated you have to enable billing and have to register your credit/debit card.After you register your card 1$ will be deducted and then you will be able to use your URL
我最近做过,效果很好.
I did it recently and it worked fine.
我现在也在翻译项目.
如果您需要有关此主题的任何帮助,请告诉我
Let me know if you need any kind of help on this topic
伊山
这篇关于谷歌翻译 API 总是返回“超出每日限制"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!