更新时间:2023-01-25 17:03:44
Mediawiki ,***使用的维基平台确实有基于HTTP的API。请参阅 MediaWiki API 。
Mediawiki, the wiki platform that wikipedia uses does have an HTTP based API. See MediaWiki API.
例如,要获取标题为***的页面,请调用
For example, to get pages with the title ***, you call
http://en.wikipedia.org/w/api.php? action = query& titles = ***
API周围有一些(不完整的)Java包装器 - 请参阅API页面的客户端代码 - Java 部分以获取更多详细信息。
There are some (incomplete) Java wrappers around the API - see the Client Code - Java section of the API page for more detail.