def get_default_data(**kwargs):
    """Returns a POST data dict using default values."""
    limit = kwargs.get('limit', 20)
    offset = kwargs.get('offset', 0)
    direction = kwargs.get('direction', 'asc')
    if not isinstance(limit, int):
        raise TypeError("`limit` must be int")
    if not isinstance(offset, int):
        raise TypeError("`offset` must be int")
    if not direction in ('asc', 'desc'):
        raise ValueError("`direction` must be one of 'asc', 'desc'")
    return {'limit': limit, 'offset': offset, 'direction': direction}