See https://www.mediawiki.org/wiki/API:Categorymembers The API limit is 500. Here are the first 500:Wptools (python) can probably simplify your task:>>> import wptools>>> cat = wptools.category('Category:English agent nouns', wiki='en.wiktionary.org') >>> cat.get_members()>>> len(cat.data['members'])576On Jan 12, 2018, at 2:30 PM, Brandon Keith Biggs <brandonkeithbiggs@gmail.com> wrote:______________________________Hello,
I am new with using the API and can’t seem to get the list of words from:
https://en.wiktionary.org/
wiki/Category:English_agent_ nouns I have managed to get the page:
But nothing I have tried has worked. I originally tried:
and I would expect for a list of pages (aka words) with a title attribute to show up, but instead I get titles such as: "title": "!" which is not very useful.
I have also tried going through all the props, but still nothing. I don’t really understand props and list, but something should have given all the words.
My goal is to use request to fetch the JSON so I can use the words in a script.
Are there any tutorials or guides that go into getting lists of words like this?
Thank you,
_________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api