MediaWiki API ็ตๆžœ

้€™ๆ˜ฏJSONๆ ผๅผ็š„HTMLๅฏฆ็พใ€‚HTMLๅฐ้™ค้Œฏๅพˆๆœ‰็”จ๏ผŒไฝ†ไธ้ฉๅˆๆ‡‰็”จ็จ‹ๅผไฝฟ็”จใ€‚

ๆŒ‡ๅฎšformatๅƒๆ•ธไปฅ่ฎŠๆ›ด่ผธๅ‡บๆ ผๅผใ€‚่ฆๆŸฅ็œ‹JSONๆ ผๅผ็š„้žHTMLๅฏฆ็พ๏ผŒ่จญๅฎšformat=jsonใ€‚

ๅƒ่ฆ‹ๅฎŒๆ•ดๆ–‡ไปถ๏ผŒๆˆ–API่ชชๆ˜Žไปฅๅ–ๅพ—ๆ›ดๅคš่ณ‡่จŠใ€‚

{
    "batchcomplete": "",
    "continue": {
        "bkcontinue": "20210129100746|394",
        "continue": "-||"
    },
    "query": {
        "blocks": [
            {
                "id": 434,
                "user": "MichelManson",
                "by": "Inamin",
                "timestamp": "2022-08-11T12:45:53Z",
                "expiry": "infinity",
                "reason": "\u6563\u4f48\u5916\u90e8\u5ee3\u544a\u9023\u7d50",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 425,
                "user": "Ezra22K783677",
                "by": "Inamin",
                "timestamp": "2021-02-05T08:53:58Z",
                "expiry": "infinity",
                "reason": "\u5728\u9801\u9762\u586b\u5beb\u7121\u610f\u7fa9\u6587\u5b57",
                "nocreate": "",
                "allowusertalk": ""
            },
            {
                "id": 423,
                "user": "AdaBraddon",
                "by": "Inamin",
                "timestamp": "2021-02-05T08:42:46Z",
                "expiry": "infinity",
                "reason": "\u5728\u9801\u9762\u586b\u5beb\u7121\u610f\u7fa9\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 421,
                "user": "KraigHasan7871",
                "by": "Inamin",
                "timestamp": "2021-02-05T08:42:34Z",
                "expiry": "infinity",
                "reason": "\u5728\u9801\u9762\u586b\u5beb\u7121\u610f\u7fa9\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 419,
                "user": "ChristyIky",
                "by": "Inamin",
                "timestamp": "2021-02-05T08:42:26Z",
                "expiry": "infinity",
                "reason": "\u5728\u9801\u9762\u586b\u5beb\u7121\u610f\u7fa9\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 415,
                "user": "LJBAlycia66",
                "by": "Inamin",
                "timestamp": "2021-02-02T17:03:25Z",
                "expiry": "infinity",
                "reason": "\u5728\u9801\u9762\u586b\u5beb\u7121\u610f\u7fa9\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 413,
                "user": "LillianMuniz2",
                "by": "Inamin",
                "timestamp": "2021-02-02T17:03:14Z",
                "expiry": "infinity",
                "reason": "\u5728\u9801\u9762\u586b\u5beb\u7121\u610f\u7fa9\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 400,
                "user": "LeanneTrudel68",
                "by": "Inamin",
                "timestamp": "2021-01-29T10:08:41Z",
                "expiry": "infinity",
                "reason": "\u5728\u9801\u9762\u586b\u5beb\u7121\u610f\u7fa9\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 398,
                "user": "LuisaCalderone",
                "by": "Inamin",
                "timestamp": "2021-01-29T10:08:24Z",
                "expiry": "infinity",
                "reason": "\u5728\u9801\u9762\u586b\u5beb\u7121\u610f\u7fa9\u6587\u5b57",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            },
            {
                "id": 396,
                "user": "BeatriceBrantley",
                "by": "Inamin",
                "timestamp": "2021-01-29T10:08:04Z",
                "expiry": "infinity",
                "reason": "",
                "nocreate": "",
                "autoblock": "",
                "allowusertalk": ""
            }
        ]
    }
}