Wiktionary json output

Wiktionary json output
0
#1

Hi,
for several days I try to get some json output out of wiktionary.

I tried this:
://en.wiktionary.org/w/api.php?action=parse&page=dog&prob=text&format=json

but the text block is html not json. So, how to get this part in json. And … I have no clue how wo access a single information. For example:

://en.wiktionary.org/wiki/dog

How do I access just the “Synonyms” for example ?

Anyone an idea ?
So frustrated and the documentation is … :frowning: … urghs

Thx …
Ralph

#2

I think the querystring parameter is prop not prob and maybe you should be using wikitext instead of text ?

https://en.wiktionary.org/w/api.php?action=parse&page=dog&prop=wikitext&format=json

#3

Ah … oops … right … prop makes sense :wink:
now I am getting somewhere … THX !!!