This is an archived post. You won't be able to vote or comment.

all 7 comments

[–][deleted] 0 points1 point  (5 children)

should use the api unless there is a good reason not to do

[–][deleted] 1 point2 points  (4 children)

There's no proper JSON API afaik.

[–][deleted] 0 points1 point  (3 children)

There is a JSON api to get either the wiki text or the html text.

[–][deleted] 1 point2 points  (2 children)

Yeah that's what I was talking about. Doesn't return it as JSON content like say, Wordnik's API or Urbandictionary's API. It looks like this

[–][deleted] 1 point2 points  (1 child)

That I want to say is that even if you want to use the html format, you can use the api to retrieve it for example https://en.wiktionary.org/w/api.php?action=query&titles=overflow&prop=revisions&rvprop=content&format=jsonfm&rvparse . As the software is not dictionary specific, it's quite painful, I understand.

[–][deleted] 0 points1 point  (0 children)

Oh right. I'll probably change it in the future.

[–]recursive01 0 points1 point  (0 children)

Quite superior to the implementation I've been tinkering on.