def get_auth_url(self): waveid = self.request.get('waveid') userid = self.request.get('userid') if (not waveid) or (not userid): return return to_json({ 'url': Blogger.get_auth_url(waveid, userid, _UPGRADE_URL) })
def list_blogs(self): blogs = Blogger.list_blogs() return to_json(blogs)