MediaWiki API 结果

这是JSON格式的HTML实现。HTML对调试很有用,但不适合应用程序使用。

指定format参数以更改输出格式。要查看JSON格式的非HTML实现,设置format=json

参见完整文档,或API帮助以获取更多信息。

{
    "continue": {
        "plcontinue": "4|0|GSM/GPRS/GNSS_HAT",
        "continue": "||"
    },
    "query": {
        "pages": {
            "4": {
                "pageid": 4,
                "ns": 0,
                "title": "Main Page",
                "links": [
                    {
                        "ns": 0,
                        "title": "2.13inch e-Paper HAT"
                    },
                    {
                        "ns": 0,
                        "title": "2.9inch e-Paper Module"
                    },
                    {
                        "ns": 0,
                        "title": "4.2inch e-Paper Module"
                    },
                    {
                        "ns": 0,
                        "title": "5inch DSI LCD (B)"
                    },
                    {
                        "ns": 0,
                        "title": "7DP-CAPLCD"
                    },
                    {
                        "ns": 0,
                        "title": "7DP-LCD"
                    },
                    {
                        "ns": 0,
                        "title": "7IP-CAPLCD"
                    },
                    {
                        "ns": 0,
                        "title": "7inch DSI LCD"
                    },
                    {
                        "ns": 0,
                        "title": "7inch HDMI LCD (H)"
                    },
                    {
                        "ns": 0,
                        "title": "ETH/USB HUB HAT"
                    }
                ]
            }
        }
    }
}