OpenDicio
November 13, 2020 ยท View on GitHub
Simple and extensible dictionary API for Brazilian Portuguese. I made this mainly to use with Babel, but it may be useful to someone else. The idea is, somewhere in the future, extend it to something like Datamuse, although it is still far from it. Custom dictionaries can be attached to OpenDicio following a format specified below.
Demo
You can try OpenDicio in https://opendicio.herokuapp.com/api/v1. Since I'm using Heroku's free tier, it may take a few seconds to bring the app online.
Usage
Documentation gerenated with openapi-generator from the OpenAPI specification in openapi-spec.json.
All URIs are relative to https://opendicio.herokuapp.com/api/v1
| Class | HTTP request | Description |
|---|---|---|
| Dictionary | GET /mean/{word} | Retrieve the full dictionary entry for a given word. |
| Dictionary | GET /syn/{word} | Retrieve synonyms for a given word. |
Documentation for Models
Response
| Name | Type | Description | Notes |
|---|---|---|---|
| total | Integer | Total number of entries found. | [optional] [default to null] |
| dicts | List | Dictionaries queried. | [optional] [default to null] |
| data | Object | Data grouped by each dictionary queried. | [optional] [default to null] |
Documentation for Authorization
All endpoints do not require authorization.