On Wed, May 4, 2011 at 3:01 PM, Sethi, Parampreet
<parampreet.se...@teamaol.com> wrote:
>
> Hi All,
>
> I am trying to download data from wiktionary for Food category. Is there an
> API call available through which I can achieve this functionality or if dump
> file is provided for the same?
>
Use categorymembers as generator and ask for the revision property content:

http://en.wiktionary.org/w/api.php?action=query&generator=categorymembers&gcmtitle=Category:Foods&prop=info|revisions&rvprop=content

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to