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": "Rescan_sata_disk",
        "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": {
            "17": {
                "pageid": 17,
                "ns": 0,
                "title": "Recursive wget",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "'''How to wget something recursively without pulling lots of unnecessary crud'''\n\n-r means descend recursively\n\n-np means never follow a link upward\n\n-nH means don't put everything in a hostname subdir\n\n<pre>\n wget -nH -r -np http://blah.blah.com/blah\n</pre>\n\nadd -N to turn on timestamping, so files already stored locally will not be downloaded again unless changed.\n\nadd '-A suffix' to download only files with suffix 'suffix'\n\n<pre>\nwget -nH -r -np -A gif,jpg -N http://blah.blah.com/blah\n</pre>\n\n[[Category:Incantations]]"
                    }
                ]
            },
            "34": {
                "pageid": 34,
                "ns": 0,
                "title": "Remote sensor transmitter/receiver",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "[[Category:Electronics]]\n[[Image:humptemp.png|800px]]\n\n[[Media:main.c.txt|main.c]]\n[[Media:sht15.c.txt|sht15.c]]\n[[Media:sht15.h.txt|sht15.h]]\n\n<pre>\nUse watchdog timer to go into full power down in between samples.\n\n1. wake up\n2. sample the temp/humidity sensor\n3. turn on the transmitter\n4. transmit the data\n5. turn off the transmitter\n6. setup the WDT\n7. go to powerdown mode.\n\nbaseline (sleeping) 38 uA\n        (i leave the sensor turned on since it goes into its own\n        sleep mode in between samples and doesn't draw much)\n\nreading sensor (transmitter off): 8 mA\n\ntransmitting: peak 32.7mA, but since in transmitting we try to\n        achieve close to 50% duty cycle, it averages at 14.3mA\n\nwith an 8 second sleep between samples, that's\n\n300ms at 8mA  .0024 amp*sec\n160ms at 14.3mA  .002288 amp*sec\n8.0s  at 38uA .000304 amp*sec\n\n                .004992 amp*sec / 8.46 sec -->\n                        .00059007 amp avg, or\n                        590 uA\n\n</pre>\nThis is pretty terrible. More effort could go into lowering idle power, by switching sensor/radio power directly, but mostly by shortening read and transmit time. In this case it's not too bad since the battery is opportunistically charged by a solar panel via MCP73811T charger chip."
                    }
                ]
            }
        }
    }
}