I'm trying to use WikiMedia API (https://www.mediawiki.org/wiki/API:Main_page) to search all articles under specific categories (https://en.wikinews.org/wiki/Category:News_articles_by_section). For instance, find the text of all news articles under Politics and Conflicts (https://en.wikinews.org/wiki/Category:Politics_and_conflicts).
So far, I've tried the Search API function (https://www.mediawiki.org/wiki/API:Search). However, it doesn't seem to accept Deepcategory parameter.
You can use the
CategoryMemberAPI (https://www.mediawiki.org/wiki/API:Categorymembers).For instance, to list 500 recent news articles in
Politics and Conflictssorted bytimestampuse the following request: