I
I
inscamp2016-03-04 21:29:31
API
inscamp, 2016-03-04 21:29:31

How to make a request to the Wiktionary API to get data about a word in JSON?

It is necessary to generate a URL for a request to the Wiktionary API in order to receive data about a word in JSON format. I played with the options offered in the documentation for a long time, but did not find a suitable type of request.
You need to get all the data that is presented on this page.
As close as possible to the required solution at the moment is . But this is not JSON, but apparently wiki markup.
How to achieve output in JSON format? Adding to a query format=jsondoesn't change things.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav Yandimirkin, 2016-03-05
@vlaad360

There is with JSON, but most likely it is terrible
https://www.mediawiki.org/wiki/Alternative_parsers
But most likely you will have to use XML or XHTML anyway good luck (

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question