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": "",
    "query": {
        "pages": {
            "4563": {
                "pageid": 4563,
                "ns": 0,
                "title": "API",
                "revisions": [
                    {
                        "user": "Rofii",
                        "timestamp": "2019-03-01T23:18:28Z",
                        "comment": "fixed grammar",
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "'''API''' is the application programming interface where the Godville server provides programmatic access to most of the data, that can be used to write third-party programs.\n\nThe API data is available in JSON format:\n\n http://godvillegame.com/gods/api/Godville.json\n\n''Replace 'Godville' with the name of the god.''\n\nIt was previously also available in XML format via the URL [http://godvillegame.com/gods/api/Godville.xml http://godvillegame.com/gods/api/Godville.xml], but that format is deprecated and the XML url now returns the same JSON-format output.\n\nBy default, it is available to supply only a basic set of information about the hero of the god, about the same amount as the personal page. \n\nThe data is updated every minute, so pulling it from the server more often than that is pointless. If requests for the data are made too often (there is a limit, \"no more than 30 requests per 10 minutes in a bundle (god + ip)\" as a result of the incident described below) data is no longer returned about the hero and you are notified. In addition, there is an extended API but this is not available at the moment. \n\n==Controversy==\n\nMany moons ago in the first year of Godville, great controversy erupted over the discovery that certain overly-competitive guilds (who will remain unnamed here) had been using the API to effectively spy on members of other guilds (at the time, nobody knew about the API).\n\nSince the API provides access to details normally not accessible (most notably, the health of a god's hero and their current status), members of these guilds could use the API to stalk gods (using things like the Godville chrome extension although the ability to use it to track other gods has since been removed as the API was edited by admin following the incident) and then send their heroes to the arena at the same time that the god being stalked sent their hero to the arena too, ensuring that the heroes would meet in combat. They 'farmed' players, using bots to keep track of them and having found through trial and error when certain players slept, taking advantage of this in the arena (being able to face someone who would not use any influences). This enabled the best gladiators of a guild to gang up on enemies as well as artificially inflate their number of duel wins to dominate the pantheon of gladiatorship (although some players would use [[alternative accounts]] to do this too).\n\nA large argument ensued over whether using a tool that nobody else knew about (for a use that the admin did not know of since it was a tool they had not endorsed at all) to gain an unfair advantage over other players counted as cheating or not. Since the admin fixed the problem, it probably did count as cheating. Either way, the argument eventually fizzled out after a lot of shouting (having only got so big in the first place because most of the people involved were at the top of their guild hierarchies) as everyone got bored of it. \n\nThe argument also centered around the fact that the guilds in question had been using the API to elevate their positions in [[secret pantheons]] not visible through any other means (in order to 'conquer' them), since it was discovered that the API let people see the positions of heroes in these [[hidden pantheons]] (they were lying dormant as remnants from the '[[Russian Godville]] template' and those in the know reckoned they would eventually be revealed with their guilds dominating them straight away but most of them have now been officially 'revealed' anyway). \n\nOne of the main arguments is available on the forum ([http://godvillegame.com/forums/show_topic/1152?page=1 \"Arena, challenges and more - oh my!\"]) for anyone to see but there's not much point. It is just important that such a disregard for the stochastic and fair philosophy of the game is not repeated, but it cannot be denied that this was a very entertaining period of Godville history nevertheless.\n\n\n[[Category:Gameplay]]"
                    }
                ]
            },
            "1": {
                "pageid": 1,
                "ns": 0,
                "title": "Main Page",
                "revisions": [
                    {
                        "user": "WardPhoenix",
                        "timestamp": "2019-06-03T15:46:33Z",
                        "comment": "",
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "{{top}}\n__NOTOC__ __NOEDITSECTION__ \n<div style=\"border: 2px solid #aaa; margin:0 0.1rem; background-color:#f8f8f8; overflow: auto; padding:0 width: 100%;\">\n<!------------------ Grey block at the top  ----------------------->\n<div style=\"text-align:center; padding: 2px;\">\n<p style=\"font-size:1.4rem; line-height: 1.4; padding:.1em; color:#000;\">Welcome to the '''[[GodWiki]]''', the [[divine|divine]] encyclopedia of [[Godville]] that can be edited by anyone.</p>\n<p style=\"font-size:1.05rem; line-height: 1.2; margin:0.3em 0;\"> Now the GodWiki has '''[[Special:Statistics|{{NUMBEROFARTICLES}} {{plural:{{NUMBEROFARTICLES}}|article|articles}}]]''', and [[gods|gods]] are continuing their divine work, enriching [[Godville|Godville's]] pages with the threads of their ingenious creations.</p><!--\n------------------ Banner message goes here ---------------------------\n--> {{Godwiki event banner}} <!--Godwiki event banner-->\n<!---------------------- Categories -------------------------------->\n<div style=\"margin: 0.1rem 0.4rem; columns: 3 6em; column-gap: 1em; overflow: auto;\">\n<ul style=\"margin: 0 auto; width: 6em;padding-inline-start:1em;\">\n<li>[[:Category:Gameplay|Gameplay]]</li>\n<li>[[Aura|Auras]]</li>\n<li>[[List of Quests|Quests]]</li>\n<li>[[List of Artifacts|Artifacts]]</li>\n<li>[[List of Monsters|Monsters]]</li>\n<li>[[List of Skills|Skills]]</li>\n<li>[[List of Equipment|Equipment]]</li>\n<li>[[:Category:Geography|Geography]]</li>\n<li>[[Omnibus List]]</li>\n<li style=white-space:nowrap>[[History|Godville's History]]</li>\n<li style=white-space:nowrap>[[Hall of records]]</li>\n</ul></div>\n<div style=\"clear: both\"></div>\n<div style=\"width: auto; overflow: auto; vertical-align: top; box-sizing: border-box; margin:0; padding-top:0.2rem;\">\n<ul style=\"width: auto; box-sizing: border-box; list-style: none; display: flex; flex-flow: row wrap; justify-content: space-around; margin: 0; text-align:center;\">\n<li style=\"flex: 1 0 auto; width: 7rem; border: 1px solid #ccc; margin: 0; padding: 0 4px; white-space:nowrap;\">'''[[Godwiki_Guidebook|Guidebook]]'''</li>\n<li style=\"flex: 1 0 auto; width: 7rem; border: 1px solid #ccc; margin: 0; padding: 0 4px; white-space:nowrap;\">'''[[Creators Manual]]'''</li>\n<li style=\"flex: 1 0 auto; width: 7rem; border: 1px solid #ccc; margin: 0; padding: 0 4px; white-space:nowrap;\">'''[[:Category:Guidelines|Guidelines]]'''</li>\n<li style=\"flex: 1 0 auto; width: 7rem; border: 1px solid #ccc; margin: 0; padding: 0 4px; white-space:nowrap;;\">'''[[Help:Requests|Help:Requests]]'''</li>\n<li style=\"flex: 1 0 auto; width: 7rem; border: 1px solid #ccc; margin: 0; padding: 0 4px; white-space:nowrap;\">'''[[GodWiki's Lore Compendium|Lore Compendium]]'''</li>\n</ul>\n<div style=\"clear: both\"></div>\n</div></div>\n<!-- \nPAGE LAYOUT NOTE:\n\nThe next section leverages CSS flexbox styling in somewhat-esoteric ways, the main\ngoal being that it conforms to mobile displays in a way that's readable and well-\norganized. As a result, the four sections are laid out in two separate flexbox rows\nof two items each. The first row is configured row-reverse wrap, so that the Intro box\nis placed ABOVE the Featured box when stacked. The second is row wrap, so that the\nRandom Image box is the last item on the page. Please think carefully before making\nchanges to this design, and consider the needs of both mobile and desktop screens.\n\nWhen in doubt, discuss first at Talk:Main page. -User:FeRDNYC\n-->\n<!---------------------- Top row flexbox -------------------------->\n<div class=\"mp-left\" style=\"width: 100%; box-sizing: border-box; margin: 0; display: flex; flex-flow: row-reverse wrap;\">\n<!-- INTRO TEXT -->\n<div style=\"margin: 0.1rem; padding: 0; border:1px solid #99c2e6; background: #ecf3f9; vertical-align: baseline; flex: 3 1 20rem; box-sizing: border-box;\">\n<h2 class=\"mp-tfa-h2\" style=\"margin:0; padding:0.2em 0.5em; background:#99c2e6; border:none; font-size:120%; font-weight:bold; text-align:left; color:#000; box-sizing: border-box;\">Introduction to the GodWiki&ensp;</h2>\n<div style=\"padding:0 0.5rem;\">{{mainpageintro}}</div>\n</div>\n<!-- FEATURED ARTICLE -->\n<div style=\"margin: 0.1rem; padding: 0; display: block; background:#ecfce9; border: 1px solid #aadf9f; vertical-align: baseline; flex: 1 2 22rem; box-sizing:border-box;\">\n<h2 class=\"mp-tfa-h2\" style=\"margin:0; padding: 0.2rem 0.5rem; background:#aadf9f; border:none; font-size:120%; font-weight:bold; text-align:left; color:#000; width: 100%; box-sizing: border-box;\">Featured Article&ensp;</h2>\n<div style=\"padding:0 0.5rem;\">\n{{featured}}\n<span style=\"text-align: left;\" class=\"noprint\">Help choose the next featured article: '''[[Template talk:featured|Nominate an article ]]''' today</span></div>\n</div>\n</div><!-- End top row flexbox -->\n<!--------------------- Bottom row flexbox ------------------------>\n<div class=\"mp-left\" style=\"width: 100%; box-sizing: border-box; margin: 0; display: flex; flex-flow: row wrap;\">\n<!-- DID YOU KNOW -->\n<div style=\"margin: 0.1rem; padding: 0; background:#fcf2e9; border: 1px solid #f5cca3; vertical-align: baseline; flex: 1 2 22rem; box-sizing:border-box;\">\n<h2 class=\"mp-tfa-h2\" style=\"margin:0; padding:0.2rem 0.5rem; background:#f5cca3; border:none; font-size:120%; font-weight:bold; text-align:left; color:#000; width: 100%; box-sizing: border-box;\">Did you know...&ensp;</h2>\n<div style=\"padding:0 0.5rem;\">{{didyouknow}}</div>\n</div>\n<!-- RANDOM IMAGE -->\n<div style=\"margin: 0.1rem; padding:0; border:1px solid #ddcef2; background:#f4f1f8; vertical-align: baseline; flex: 3 1 20rem; box-sizing: border-box;\">\n<h2 class=\"mp-tfa-h2\" style=\"margin:0; padding:0.2rem 0.5rem; background:#ddcef2; border:none; font-size:120%; font-weight:bold; text-align:left; color:#000; box-sizing: border-box;\">Random Image&ensp;</h2>\n<div style=\"padding-top:0.5rem;\"><randomimage size=\"250\" float=\"center\">&nbsp;</randomimage></div></div>\n</div><!-- End bottom row flexbox -->\n<div style=\"clear:both; height:1rem;\"></div>\n----\n'''''You will be logged in automatically if your hero has reached level 15.''' Your divine name shall be written at the top of the screen. If that didn't happen, try to login again and open this page. There is no need to register separately for the wiki.''\n\n<div id=\"siteSub\" class=\"nomobile\">\nSwitch back to the [https://wiki.godvillegame.com/index.php?title=Main_Page&mobileaction=toggle_view_mobile mobile skin].\n</div>\n[[Category:Backstage]]"
                    }
                ]
            }
        }
    }
}