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": "Read_Pdbstr",
        "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": {
            "1076": {
                "pageid": 1076,
                "ns": 0,
                "title": "Read Molstr",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "\n'''read_molstr''' reads an MDL MOL format file as a string\n \n===PYMOL API ONLY===\n<source lang=\"python\">\ncmd.read_molstr( string molstr, string name, int state=0, \\\n  int finish=1, int discrete=1 )\n</source>\n\n===NOTES===\n*'''state''' is a 1-based state index for the object, or 0 to append.\n \n* '''finish''' is a flag (0 or 1) which can be set to zero to improve [[:Category:Performance|performance]] when loading large numbers of objects, but you must call '''finish_object''' when you are done.\n \n* '''discrete''' is a flag (0 or 1) which tells PyMOL that there will be no overlapping atoms in the file being loaded.  '''discrete''' objects save memory but can not be edited. \n\n[[Category:Commands|Read Molstr]]\n[[Category:Performance|Read Molstr]]\n[[Category:States|Read Molstr]]"
                    }
                ]
            },
            "1139": {
                "pageid": 1139,
                "ns": 0,
                "title": "Read PDB-String",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "<source lang=\"python\">\ndelete all\ncmd.read_pdbstr(\"\"\"HEADER    CREATED BY CONVERTPROSPECT              27-JAN-02   2tnf  \\\nREMARK   1                                                                       \\\nATOM      1  N   PRO A   9       1.895  67.213 -38.182  1.00  0.00           N   \\\nATOM      2  CA  PRO A   9       1.703  68.680 -38.402  1.00  0.00           C   \\\n....\nATOM   1153  C   GLY A 157       6.927  59.108 -38.901  1.00  6.00           C   \\\nATOM   1154  O   GLY A 157       6.700  59.292 -37.676  1.00  6.00           O   \\\nTER    1155      GLY A 157                                                       \\\nMASTER                                                                           \\\nEND                                                                              \\\n\"\"\",\"2tnfa\")\n</source>\n\n[[Category:Script_Library|Read PDB-String]]\n[[Category:System_Scripts]]"
                    }
                ]
            }
        }
    }
}