skytracker.services.api.api.collection_service#

async skytracker.services.api.api.collection_service(storage: Storage, repeat: int = 90) None#

Service which periodically collects aircraft states from an external API

Parameters:
  • storage (Storage) – database storage instance

  • repeat (int, optional) – period with which to collect states (sec). Defaults to 90 sec.