Use of Webster Dictionary Online APIs

Source: Internet
Author: User

Webster
Use of dictionary online APIs


Websterdictionary is an online dictionary that has just opened an API and can be accessed as follows:

Http://www.dictionaryapi.com


Today we will introduce its usage:



There are two types of Webster dictionary APIs. One is free, but the number of queries per month cannot exceed 1000. The other is commercial. You need to contact Webster for negotiation. Take the first API as an example:



1.

Choose http://www.dictionaryapi.com/products/index.htm:



They are similar. Some are synonyms and Antonyms, some are examples, and the returned results are encapsulated in XML (JSON may be returned in the future)


However, every time we look up a dictionary, We need to register a key. Next let's take the first Merriam-Webster's
Collegiate dictionary with audio



2.

First, you must register an account:




3.

Then Webster will send an email to us, click the link contained in it to register successfully, and get our key. We need to include this key when querying Webster dictionary.



The following describes how to use it (the official website provides a detailed description ):



4.

Merriam-Webster's collegiate dictionary with audio
The returned data is in XML format, take the word bin as an example, send: http://www.dicitonaryapi.com/api/v1/references/collegiate/xml/bin? Key =... (where... is the key you obtained earlier), the returned result is as follows:




You can view:

Http://www.dictionaryapi.com/content/products/documentation/collegiate-tag-description.txt

Obtain the complete description of the XML tag.



Below I will only introduce some of the frequently used ones:


5.



6.



7.



8.



9.



10.




11.




12.














Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.