def history(self, args):
    "\n        #**\n        #* History\n        #*\n        #* Load history from a channel.\n        #*\n        #* @param array args with 'channel' and 'limit'.\n        #* @return mixed false on fail, array on success.\n        #*\n\n        ## History Example\n        history = pubnub.history({\n            'channel' : 'hello_world',\n            'limit'   : 1\n        })\n        print(history)\n\n        "
    limit = ((args.has_key('limit') and int(args['limit'])) or 10)
    channel = str(args['channel'])
    if (not channel):
        raise Exception('Missing Channel')
        return False
    return self._request(['history', self.subscribe_key, channel, '0', str(limit)])
#**
#* History
#*
#* Load history from a channel.
#*
#* @param array args with 'channel' and 'limit'.
#* @return mixed false on fail, array on success.
#*

## History Example
history = pubnub.history({
    'channel' : 'hello_world',
    'limit'   : 1
})
print(history)
def history(self, args):
    "\n        #**\n        #* History\n        #*\n        #* Load history from a channel.\n        #*\n        #* @param array args with 'channel' and 'limit'.\n        #* @return mixed false on fail, array on success.\n        #*\n\n        ## History Example\n        history = pubnub.history({\n            'channel' : 'hello_world',\n            'limit'   : 1\n        })\n        print(history)\n\n        "
    limit = ((args.has_key('limit') and int(args['limit'])) or 10)
    channel = str(args['channel'])
    if (not channel):
        raise Exception('Missing Channel')
        return False
    return self._request(['history', self.subscribe_key, channel, '0', str(limit)])