request_json

dqsegdb2.http.request_json(url, **kwargs)

Request data from a URL and return a parsed JSON packet

Parameters:
url : str

the remote URL to request (HTTP or HTTPS)

Returns:
data : object

the URL reponse parsed with json.loads()

See also

dqsegdb2.http.request
for information on how the request is performed