'Pushes a message on the registered API keys.'

def push(self, application=u'', event=u'', description=u'', url=u'', contenttype=None, priority=0, batch_mode=False, html=False):

    datas = {u'application': application[:256].encode(u'utf8'), u'event': event[:1024].encode(u'utf8'), u'description': description[:10000].encode(u'utf8'), u'priority': priority}
    if url:
        datas[u'url'] = url[:512]
    if ((contenttype == u'text/html') or (html == True)):
        datas[u'content-type'] = u'text/html'
    if self._developerkey:
        datas[u'developerkey'] = self._developerkey
    results = {}
    if (not batch_mode):
        for key in self._apikey:
            datas[u'apikey'] = key
            res = self.callapi(u'POST', datas)
            results[key] = res
    else:
        datas[u'apikey'] = u','.join(self._apikey)
        res = self.callapi(u'POST', datas)
        results[datas[u'apikey']] = res
    return results
