Skip to content

Use wiktionary API for words validation #71

@queleok

Description

@queleok

Reasoning
The API that is currently in use abandoned support for languages other than English at some point. I would like to support Swedish as well, hence it would make sense to consider alternatives. Wiktionary looks like a reasonable alternative, it could also be used to extend the support for other languages

Solution
Requests of the following form seem to provide the required output:
https://sv.wiktionary.org/w/api.php?action=query&titles=gjordudle&format=json&formatversion=2 (failure)
https://sv.wiktionary.org/w/api.php?action=query&titles=gjorde&format=json&formatversion=2 (success)

API usage etiquette should be kept in mind.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions