Skip to main content

Google dictionary API for dynamic content generation

Google dictionary API for dynamic content generation [JSON data-interchange]

I was just thinking to generate some contents based on a keyword and i googled for any possible solutions for that.
Then I came across  an unofficial dictionary API services listed by google.

You can use this to return the definition of words, its type , its pronounciation. and some related texts to that word.

Link to the API is:

http://www.google.com/dictionary/json?callback=dict_api.callbacks.id100&q=YOUR_SEARCH_TERM&sl=en&tl=en&restrict=pr,de&client=te


Copy and paste this url your browser (make sure the link is not broken when you copy), modify the word "YOUR_SEARCH_TERM"  to whatever word you would like and then press enter. You will get a JSON doc as output. Go through it, you can find  lots of info regarding the word you submitted. Data includes the word type and info. You can iterate the JSON data and use it according to your need.

NB: I am not sure how long this service will exists :)




What is JSON?


JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate. It is based on a subset of the JavaScript Programming Language, Standard ECMA-262 3rd Edition - December 1999. JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others. These properties make JSON an ideal data-interchange language.

For reference:
http://www.json.org/
en.wikipedia.org/wiki/JSON

Comments

Popular posts from this blog

Sachin Tendulkar's emotional farewell Speech at Wankhede Stadium, Mumbai - Full Text and Video

Full Text and Video of Sachin Tendulkar's emotional farewell Speech on Nov 16, 2014 On November 16, 2013 - Sachin Ramesh Tendulkar played his last international cricket match against West-Indies at the at Wankhede Stadium, Mumbai. After the match he gave an emotional farewell speech. No one would be able forget the speech. The eyes of the gathered people were tearfull. Through out the speech Sachin thanked each and everyone who supported and encouraged him to build up his glorius career which spanned 24 years.

How to remove backlinks to your website from low quality websites and how to Disavow websites?

Some webmasters may find their website's traffic dropped significantly after a particular day. The day before the traffic drop, might have received lots of visitors, but after that the web traffic dropped to less than 50%. Periodically Google releases some search algorithms which tracks low quality sites and penalise pages so that they may not appear in top positions of the search results there after and this will lead to low traffic to that website.

PHP script to list files in a given directory using opendir, readdir and glob functions

PHP script to list files in a given directory The below given script goes through a given directory and list the name of the files in the order as it is stored in the file system. The first script uses a directory handler to operate on a given directory. It opens the handler, reads file entries one by one by looping through the directory (during this step you can process the file ) and finally close the handler


Urgent Openings for PHP trainees, Andriod / IOS developers and PHP developers in Kochi Trivandrum Calicut and Bangalore. Please Send Your updated resumes to recruit.vo@gmail.com   Read more »
Member
Search This Blog