SkynetAPI

A Python library for interacting with the Skynet API

Skynet is a sophisticated telescope control and queue scheduling software that simultaneously controls a global network of telescopes, allowing them to function individually or as an integrated whole. Furthermore, Skynet can control most commercially available telescope hardware, and provides participating institutions with easy-to-use web and API interfaces.

The intent of skynetapi is to provide easy-to-use Python classes that don't require any knowledge of how to make API calls.

A request is as simple as:

from skynetapi import ObservationRequest

obs = ObservationRequest(token='1234').get(obs_id=9999)

print(obs.id, obs.name)  # output: 9999, 'example-name'

Skynet API Token

All Skynet observers are provided an API key that can be found under their account settings.

chevron-rightFinding Your Skynet API Tokenhashtag
  • Log into Skynetarrow-up-right and navigate to My Account under My Observatory.

  • On the right side navigation window, click on the Settings option.

  • Scroll down to find your API token.

  • Copy this token somewhere safe. Never share it with anyone. Not even your mom.

Last updated