Low-level API

gwosc.api provides the low-level interface functions that handle direct requests to the GWOSC host.

Module contents:

DEFAULT_URL

The default GWOSC host URL

JSON_CACHE

Cache of downloaded blobs

fetch_allevents_json([full, host])

"Returns the JSON metadata for the allevents API

fetch_allowed_params_json([host])

fetch_catalog_json(catalog[, host])

"Returns the JSON metadata for the given catalogue

fetch_cataloglist_json([host])

Returns the JSON metadata for the catalogue list.

fetch_dataset_json(gpsstart, gpsend[, host])

Returns the JSON metadata for all datasets matching the GPS interval

fetch_event_json(event[, catalog, version, host])

Returns the JSON metadata for the given event.

fetch_filtered_events_json(select[, host])

"Return the JSON metadata for the events constrained by select

fetch_json(url, **kwargs)

Fetch JSON data from a remote URL

fetch_run_json(run, detector[, gpsstart, ...])

Returns the JSON metadata for the given science run parameters

logger

Instances of the Logger class represent a single logging channel.

urlencode(query[, doseq, safe, encoding, ...])

Encode a dict or sequence of two-element tuples into a URL query string.