MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "parse": {
        "title": "API",
        "pageid": 1078,
        "text": {
            "*": "<div class=\"mw-parser-output\"><table style=\"background-color: transparent; border:1px dotted #000000;padding:2px;margin:2px;\">\n<tbody><tr>\n<td><i>Welcome to the <b>Apertium Sandbox</b>! This page allows you to carry out experiments. To edit, click <b><a rel=\"nofollow\" class=\"external text\" href=\"//wiki.apertium.org/w/index.php?title=API&amp;action=edit\">here</a></b> or <b>edit this page</b> above (or the views section for obscure browsers), make your changes and click the <b>Save page</b> button when finished. Content will <b>not</b> stay permanently; this page is <b>automatically cleaned</b> every hour.</i>\n<p><i>Please do not place copyrighted, offensive, or libelous content in the sandbox(es). If you have any questions regarding <a href=\"/wiki/Apertium\" title=\"Apertium\">Apertium</a>, please see <a href=\"/w/index.php?title=Apertium:Questions&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"Apertium:Questions (page does not exist)\">Apertium:Questions</a>. Thanks!</i>\n</p>\n<dl><dd><i>This page is a virtual sandbox on Apertium Wiki. For uses of sandboxes, see the article <a href=\"/wiki/Sandbox\" class=\"mw-redirect\" title=\"Sandbox\">sandbox</a>.</i></dd></dl>\n</td>\n<td>\n<table style=\"background-color: transparent;\">\n\n<tbody><tr>\n<td><div style=\"border: 1px solid black; text-align: center; padding:5px; font-size: small; background: #eeeeee; white-space: nowrap;\">\n<p>More info:<br />\n<a href=\"/w/index.php?title=Apertium:Introduction&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"Apertium:Introduction (page does not exist)\">Introduction to Apertium</a><br />\n<a href=\"/w/index.php?title=Apertium:About_the_Sandbox&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"Apertium:About the Sandbox (page does not exist)\">About the Sandbox</a><br />\n</p>\n<a href=\"/w/index.php?title=Apertium:Tutorial&amp;action=edit&amp;redlink=1\" class=\"new\" title=\"Apertium:Tutorial (page does not exist)\">Editing tutorial</a></div>\n</td></tr></tbody></table>\n</td></tr></tbody></table>\n<p><br />\n</p>\n<pre>import org.freedesktop.DBus;\nimport org.freedesktop.dbus.DBusConnection;\nimport org.freedesktop.dbus.exceptions.DBusException;\n\nimport org.apertium.Info; // The interface we use to access org.apertium.info/\n\nclass TestDBus {\n\n        public static void main(String[] args) throws org.freedesktop.dbus.exceptions.DBusException {\n                DBusConnection bus = null;\n                Info info = null;\n\n                bus = DBusConnection.getConnection(DBusConnection.SESSION);\n                info = bus.getRemoteObject(\"org.apertium.info\", \"/\", Info.class);\n\n                for (String s&#160;: info.modes()) {\n                        System.out.println(s);\n                }\n\n                bus.disconnect();\n        }\n}\n</pre>\n<!-- \nNewPP limit report\nCached time: 20240517032350\nCache expiry: 86400\nDynamic content: false\nComplications: []\nCPU time usage: 0.013 seconds\nReal time usage: 0.053 seconds\nPreprocessor visited node count: 16/1000000\nPreprocessor generated node count: 0/1000000\nPost\u2010expand include size: 2414/2097152 bytes\nTemplate argument size: 0/2097152 bytes\nHighest expansion depth: 5/40\nExpensive parser function count: 0/100\nUnstrip recursion depth: 0/20\nUnstrip post\u2010expand size: 737/5000000 bytes\n-->\n<!--\nTransclusion expansion time report (%,ms,calls,template)\n100.00%    5.686      1 Apertium:Sandbox\n100.00%    5.686      1 -total\n 33.12%    1.883      1 Template:Sandbox\n 26.13%    1.486      1 User:Soroush/Tests\n-->\n</div>"
        },
        "langlinks": [],
        "categories": [],
        "links": [
            {
                "ns": 0,
                "exists": "",
                "*": "Apertium"
            },
            {
                "ns": 0,
                "exists": "",
                "*": "Sandbox"
            },
            {
                "ns": 4,
                "*": "Apertium:Questions"
            },
            {
                "ns": 4,
                "*": "Apertium:Introduction"
            },
            {
                "ns": 4,
                "*": "Apertium:About the Sandbox"
            },
            {
                "ns": 4,
                "*": "Apertium:Tutorial"
            }
        ],
        "templates": [
            {
                "ns": 4,
                "exists": "",
                "*": "Apertium:Sandbox"
            },
            {
                "ns": 10,
                "exists": "",
                "*": "Template:Sandbox"
            },
            {
                "ns": 2,
                "exists": "",
                "*": "User:Soroush/Tests"
            }
        ],
        "images": [],
        "externallinks": [],
        "sections": [],
        "parsewarnings": [],
        "displaytitle": "API",
        "iwlinks": [],
        "properties": []
    }
}