libgs_ops.propagator.SpaceTrackAPI¶
-
class
libgs_ops.propagator.
SpaceTrackAPI
(uname, pwd)[source]¶ Class to interface with space-track.org.
This class connects to the space-track.org public API, and therefore requires a username and password. To obtain such credentials you can register for free on the space-track website.
This class allows the execution of arbitrary API queries, but provides a simplified method to download TLEs in the format used by
Propagator
.Parameters: - uname – space-track.org user name
- pwd – space-track.org password
Methods
get_tle_sets
(name)A shortcut to some predefined sets of satellites. get_tles
(nids)Query space-track for a series of norad IDs, and return the NIDs and TLEs in a dict. query_raw
(uri)Perform a raw query to spacetrack API. query_tle
(params)Perform a (fairly) raw query to the spacetrack API for the most recent three-line-elements. Attributes
ST_URL
Inherited from base class