def get_channel(chan_key, on_page, on_error=None, **kwargs): get_page( url=endpoint('get_channel', chan_key=chan_key), page_args=get_page_args(**kwargs), response_key='updates', on_page=on_page, on_error=on_error)
def get_comments(post_key, on_page, on_error=None, **kwargs): get_page( url=endpoint('get_comments', post_key=post_key), page_args=get_page_args(**kwargs), response_key='comments', on_page=on_page, on_error=on_error)