def make_url(path, api=False):
    """Make a bigg api request url."""
    if api:
        return 'http://bigg.ucsd.edu/api/v2/%s' % path.lstrip('/')
    else:
        return 'http://bigg.ucsd.edu/%s' % path.lstrip('/')