MediaWiki-API-resultat

Dette er HTML-representasjonen av formatet JSON. HTML er bra for feilsøking, men ikke passende for bruk i applikasjoner.

Angi parameteren format for å endre utdataformatet. For å se ikke-HTML-representasjonen av formatet JSON, sett format=json.

Se den fullstendige dokumentasjonen eller API-hjelpesiden for mer informasjon.

{
    "batchcomplete": "",
    "query": {
        "searchinfo": {
            "totalhits": 2
        },
        "search": [
            {
                "ns": 0,
                "title": "General av roma",
                "pageid": 1247,
                "size": 10220,
                "wordcount": 1631,
                "snippet": "!|<span class='searchmatch'>Meaning</span>\n",
                "timestamp": "2015-06-10T14:22:58Z"
            },
            {
                "ns": 0,
                "title": "2.0",
                "pageid": 315,
                "size": 15241,
                "wordcount": 2332,
                "snippet": "\u2026on with the lobbing arrow \u201cjump to coordinates\u201d. The next button shows the <span class='searchmatch'>meaning</span> of the colour markings, which is assigned by the alliance. The last button \n",
                "timestamp": "2013-12-01T21:02:21Z"
            }
        ]
    }
}