Cargese API

cargese.gcn_requester Module

gcn_requester.py

Functions

get_circular_json(circ_id)

Get the circular in json for a given circular id :param circ_id: circular id

Classes

GcnRequester()

Class to retrieve GCN info from https://gcn.nasa.gov/circulars

Variables

GCN_URL

str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

logger

Instances of the Logger class represent a single logging channel.

cargese.tools Module

tools.py

Functions

timestamp_to_datetime(timestamp)

Convert the timestamp in seconds since the Unix epoch which is January 1, 1970, 00:00:00 UTC to datetime object :param timestamp: input timestamp