Google's Dictionary JSON API
Google Dictionary has an undocumented API that's used in Google Docs. You can obtain a JSON output using a URL like:
http://www.google.com/dictionary/json?callback=dict_api.callbacks.id100&q=test&sl=en&tl=en&restrict=pr%2Cde&client=te
(replace test with your favorite keyword).
Actually, this is not necessary to be used with Python. You can definitely use it in Java, Ruby and any other languages.
A developer built a Chrome extension that used Google Dictionary API to display the definitions of a word without opening a new page.
A few days after releasing the extension, Google asked the developer to stop using the API.
"Until recently, this extension was known as Google Dictionary Lookup and used as its data source the Google Dictionary. Unfortunately, due to Google's contracts with their data providers, they are not legally allowed to expose the Dictionary API to third parties, and as such, I was forced to switch providers. (...) In the spirit of FOSS, I'm leaving the source code of the previous version available at my site until Dec 25, but you are solely responsible for its use, and I urge you not to abuse the Google Dictionary API," explains Max.
(replace test with your favorite keyword).
Actually, this is not necessary to be used with Python. You can definitely use it in Java, Ruby and any other languages.
Chrome Extensions
A developer built a Chrome extension that used Google Dictionary API to display the definitions of a word without opening a new page.
A few days after releasing the extension, Google asked the developer to stop using the API.
"Until recently, this extension was known as Google Dictionary Lookup and used as its data source the Google Dictionary. Unfortunately, due to Google's contracts with their data providers, they are not legally allowed to expose the Dictionary API to third parties, and as such, I was forced to switch providers. (...) In the spirit of FOSS, I'm leaving the source code of the previous version available at my site until Dec 25, but you are solely responsible for its use, and I urge you not to abuse the Google Dictionary API," explains Max.
Another Google Python Dictionary
Description
Command line dictionary Python dictionary,uses the unofficial google dictionary API (makes a JSON request ), To install python http://www.python.org/download/releases/2.5/ (Install Python 2.5) If you are using Python 2.7, click View All Files>src>
Google Python Dictionary Web SiteOnline Google Dictionaries:
http://google-dictionary.so8848.com/ Google Dictionary of English
http://dictionary.so8848.com Google Dictionary of English-Chinese
See more details in How to visit Google dictionary?
Post a Comment