I'm trying to retrieve a list of urls of images in Wikimedia Commons from a particular article. I want to either search article by category and retrieve images from them, or filter images by category. I've tried including incategory:category_name
in the titles string of images and article searches as well as [[Category:category%20name]]
and Category:category_name
to no avail. I'm given the impression it's possible, and the advanced search functionality within Wikipedia would imply so, but how to achieve this through the API is not clear.
Specifically, I'm interested in grabbing these images through the Mediawiki API.