Você está na página 1de 1

MediaWiki API Useful queries

Subcategories of a category/subcategory
http://en.wikipedia.org/w/api.php?action=query&list=categorymembers&cmtitle=Cate
gory:Physics
Contributions made by a user
http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=YurikBot
Some User information
http://en.wikipedia.org/w/api.php?action=query&list=users&ususers=dummy_starfish
_ohyeah&usprop=groups|editcount|gender|groups|registration|emailable
Protected titles
http://en.wikipedia.org/w/api.php?action=query&list=protectedtitles
Users who made revisions for article/s
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=starfish&rv
prop=timestamp|user|comment|content
Categories of article/s
http://en.wikipedia.org/w/api.php?action=query&prop=categories&titles=Albert%20E
instein
Categories of article/s with some information
http://en.wikipedia.org/w/api.php?action=query&generator=categories&titles=Alber
t%20Einstein&prop=info
Information about category/categories
http://en.wikipedia.org/w/api.php?action=query&prop=categoryinfo&titles=Category
:History|Category:Science
Information about current logged in user
http://en.wikipedia.org/w/api.php?action=query&meta=userinfo
Getting the revisions for an article
http://en.wikipedia.org/w/api.php?action=query&prop=revisions&titles=starfish&rv
prop=ids|user|content&rvlimit=5
A user's latest contribution
http://en.wikipedia.org/w/api.php?action=query&list=usercontribs&ucuser=YurikBot
&uclimit=1

Você também pode gostar