Is it possible to fetch information from Wikipedia API by movies category? e.g I've a url which search avatar but I don't know how to search avatar movie.
https://en.wikipedia.org/w/api.php?&titles=avatar&format=xml&action=query&prop=extracts|categories|categoryinfo|pageterms|pageprops|pageimages&exintro=&explaintext=&cllimit=max&piprop=original
It will not be easy by "movies category" because there are a lot of nested categories, but you can use something else - all articles about movie include within themselves Template:Infobox film, and we can get all them by MediaWiki API:
Then, you decide how will search in them - by regex,
Contains()
orStartsWith()
,CaseInsensitive
or not, will return first found or all matches, etc...Here is an example in C# for all movie articles which title starts with "Avatar":
This will returns: