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.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "Sources_DiG_1.0",
        "continue": "gapcontinue||"
    },
    "warnings": {
        "main": {
            "*": "Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes."
        },
        "revisions": {
            "*": "Because \"rvslots\" was not specified, a legacy format has been used for the output. This format is deprecated, and in the future the new format will always be used."
        }
    },
    "query": {
        "pages": {
            "57": {
                "pageid": 57,
                "ns": 0,
                "title": "SEGUID library",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "Help file for iRefIndex SEGUID library\n\n\n== Creating SEGUID and ROGID ==\n\nimport java.util.Arrays;\nimport sha.etc.no.uio.biotek.SHA_Main;\n\npublic class Main{  \n \n    public static void main(String[] args) {\n        SHA_Main main = new SHA_Main();\n        String primary_amino_acid_sequence = \"mdnmsitntp tsndaclsiv hslmchrqgg esetfakrai\";\n        int taxid =9606;\n        String seguid = main.getSegu(primary_amino_acid_sequence);\n        System.out.println(\"SEGUID = \"+seguid);\n        System.out.println(\"ROGID = \"+seguid+taxid);\n    }\n\n}\n\n== Creating RIGID ==\n\nimport java.util.Arrays;\nimport sha.etc.no.uio.biotek.SHA_Main;\n\npublic class Main {    \n    public static void main(String[] args) {\n        SHA_Main main = new SHA_Main();\n        String[] segulist_2 = {\"waTMnn0uXSbf7bracJUScX9ckEc9606\", \"A9Ga60ipENjSsgt59TfNchYqXtw9606\"};\n        Arrays.sort(segulist_2);\n        String concat = segulist_2[0] + segulist_2[1];\n        System.out.println(\"RIGID= \" + main.getSeguForWithNum(concat));\n    }\n\n}"
                    }
                ]
            },
            "42": {
                "pageid": 42,
                "ns": 0,
                "title": "Sources",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": ""
                    }
                ]
            }
        }
    }
}