Use your lexicon to collect terms that you find interesting and define them the way you think they are correct.
Retrieve a term from Factolex.
This query also retrieves all facts of the term.
http://api.factolex.com/v1/get?term=termCurrently no authentication is needed to execute this function.
| term | Get the facts for this term | |
| tags | opt | Allows to specify a term more specifically. |
| id | opt | Allows to specify a term uniquely. Usually this id can be retrieved when multiple terms are found for a term title. |
| lang | opt | as usual |
| format | opt | as usual |
Query:
http://api.factolex.com/v1/get?term=roofResponse:
<response>
<term>
<title>Roof</title>
<id>c2e0yzO9</id>
<link>http://en.factolex.com/Roof</link>
<facts>
<fact>
<title>the covering on the uppermost part of a building</title>
<source>http://en.wikipedia.org/wiki/Roof</source>
</fact>
<fact>
<title>protects the building and its contents from the effects of weather</title>
<source>http://en.wikipedia.org/wiki/Roof</source>
</fact>
</facts>
</term>
</response>
| 101 | Parameter 'term' missing. |
| 201 | The term could not be found. |
| 202 | Multiple terms were found. Please be more specific. |
Error-Query:
http://api.factolex.com/v1/get
Error-Response:
<error>
<code>101</code>
<message>Parameter 'term' missing.</message>
</error>