fetch_json
- gwosc.api.fetch_json(url, **kwargs)
Fetch JSON data from a remote URL
- Parameters:
url (
str
) – the remote URL to fetch**kwargs – other keyword arguments are passed directly to
requests.get()
- Returns:
data – the data fetched from
url
as parsed byrequests.Response.json()
- Return type:
See also
json.loads
for details of the JSON parsing