Google Dictionary API无法正常工作-还有其他解决方案吗? [英] Google Dictionary API not working--is there another solution?

查看:124
本文介绍了Google Dictionary API无法正常工作-还有其他解决方案吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用Google Dictionary API并通过以下网址访问它:

I have been using the Google Dictionary API and accessing it with this url:

http://www.google.com/dictionary/json?callback = a& q = 'test'& sl = zh-CN& tl = zh-CN& restrict = pr,de& client = te

http://www.google.com/dictionary/json?callback=a&q='test'&sl=en&tl=en&restrict=pr,de&client=te

但是,现在此网址会引发错误.

However, now this url throws an error.

然后,我找到了这个网站:http://google-dictionary.so8848.com /含义?word = test ,效果很好.在他们的网站上浏览时,我在他们的代码中发现了与我相同的网址.但是,当将其复制并粘贴到浏览器中时,也会引发错误.

Then, I found this site: http://google-dictionary.so8848.com/meaning?word=test and this works fine. Digging around their site I found the same url as mine in their code. Yet, when copied and pasted into a browser also throws an error.

因此,尽管我不知道要尝试使用哪个网址和/或是否有人对其他Dictionary API提出建议,我相信该网站仍可以访问此Google Dictionary API.

So, I believe somehow this site is still able to access this Google dictionary API though I don't know what url to try and/or if anyone has a suggestion for a different Dictionary API.

推荐答案

该服务不再免费,仍然是相同的API,但是您需要付费才能在站点或应用程序中使用它.最好使用类似的替代解决方案

This service is no longer free, it is still the same API, but you have to pay to let you use it in your site or application. better to use an alternative solution like

http://glosbe.com/a-api

这篇关于Google Dictionary API无法正常工作-还有其他解决方案吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆