import requests


def get_annotations(url, page=0):
    """Get a page of annotations."""
    r = requests.get(url, params={
        'page': page
    })
    if r.status_code == 404:
        return None
    else:
        r.raise_for_status()
    return r