On 29 April 2012 17:29, Platonides platonides@gmail.com wrote:
On 29/04/12 12:52, Łukasz Czyż wrote:
Hello All!
Is that possible to get list containing all Wiktionary words of given language through API? I have been looking on api documentation for this but found no solution.
thanks Lukasz
As there's a page per word, you could list all pages: http://en.wiktionary.org/w/api.php?action=query&list=allpages
They can however belong to different languages. So if you want to filter by language, you may want to retrieve instead pages in some subcategories of eg. http://en.wiktionary.org/wiki/Category:English_language
There are a few other caveats. I summed them up in an answer to a StackOverflow question a while ago:
http://stackoverflow.com/a/4342777/527702
Andrew Dunbar (hippietrail)
Mediawiki-api mailing list Mediawiki-api@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-api