across.client

Submodules

Classes

Client

Client wrapper for interacting with the Across API.

Package Contents

class Client(client_id: str | None = None, client_secret: str | None = None, creds_store: across.sdk.v1.abstract_credential_storage.CredentialStorage | None = None)[source]

Client wrapper for interacting with the Across API.

This class initializes an API client using either direct credentials (client_id, client_secret) or a stored credentials object (CredentialStorage). It exposes higher-level service objects, such as the SSA objects for the across-server

across_client = None
property observatory: across.client.apis.Observatory

Get an Observatory instance for interacting with the API.

The Observatory provides methods to query observatory-related resources in the Across API.

Returns:

An initialized Observatory client bound to this Client’s API session.

Return type:

Observatory

property telescope: across.client.apis.Telescope

Get an Telescope instance for interacting with the API.

The Telescope provides methods to query telescope-related resources in the Across API.

Returns:

An initialized Telescope client bound to this Client’s API session.

Return type:

Telescope

property instrument: across.client.apis.Instrument

Get an Instrument instance for interacting with the API.

The Instrument provides methods to query instrument-related resources in the Across API.

Returns:

An initialized Instrument client bound to this Client’s API session.

Return type:

Instrument

property filter: across.client.apis.Filter

Get an Filter instance for interacting with the API.

The Filter provides methods to query filter-related resources in the Across API.

Returns:

An initialized Filter client bound to this Client’s API session.

Return type:

Filter

property schedule: across.client.apis.Schedule

Get an Schedule instance for interacting with the API.

The Schedule provides methods to query schedule-related resources in the Across API.

Returns:

An initialized Schedule client bound to this Client’s API session.

Return type:

Schedule

property observation: across.client.apis.Observation

Get an Observation instance for interacting with the API.

The Observation provides methods to query observation-related resources in the Across API.

Returns:

An initialized Observation client bound to this Client’s API session.

Return type:

Observation

property visibility_calculator: across.client.apis.VisibilityCalculator

Get a VisibilityCalculator instance for interacting with the API.

The VisibilityCalculator provides methods to calculate visibility windows for instruments in the Across API.

Returns:

An initialized VisibilityCalculator client bound to this Client’s API session.

Return type:

VisibilityCalculator