get¶
- lsst.verify.squash.get(api_url, api_endpoint=None, api_user=None, api_password=None, timeout=None, version=None)¶
- GET request to the SQUASH API. - Parameters:
- api_urlstr
- Root URL of the SQUASH API. For example, - 'https://squash.lsst.codes/api'.
- api_endpointstr, optional
- Name of the API endpoint to post to. The - api_urlis requested if unset.
- api_userstr, optional
- API username. 
- api_passwordstr, optional
- API password. 
- timeoutfloat, optional
- Request timeout. The value of - get_default_timeoutis used by default.
- versionstr, optional
- API version. The value of - get_default_api_versionis used by default.
 
- api_url
- Returns:
- responserequests.Response
- Response object. Obtain JSON content with - response.json().
 
- response
- Raises:
- requests.exceptions.RequestException
- Raised if the HTTP request fails.