📜  wikipedia api url - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:29.781000             🧑  作者: Mango

代码示例1
-----------------------------------------------------------------------
Example of a Wikipedia API to get the contents of a page in JSON format
-----------------------------------------------------------------------
API Syntax: https://en.wikipedia.org/w/api.php?action=parse&page={{keyword}}&format=json&prop=text

Page we want to retrieve: https://en.wikipedia.org/wiki/JavaScript

API Request URL: https://en.wikipedia.org/w/api.php?action=parse&page=JavaScript&format=json&prop=text
-----------------------------------------------------------------------
Read more: https://www.mediawiki.org/wiki/API:Tutorial