NAME

WebService::OpenSky::Response - A class representing a response from the OpenSky Network API

VERSION

version 0.4

DESCRIPTION

This class represents iterator from the OpenSky Network API. By default, it does not instantiate individual response objects until you first ask for them. This is for performance reasons.

METHODS

raw_response

The raw response from the OpenSky Network API.

route

The route used to retrieve this response.

query

The query used to retrieve this response.

iterator

Returns an iterator of results. See WebService::OpenSky to understand the actual response class returned for a given method and which underlying module represents the results. (Typically this would be WebService::OpenSky::Core::Flight or WebService::OpenSky::Core::StateVector.)

As a convenience, the following methods are delegated to the iterator:

  • first

  • next

  • reset

  • all

  • count

AUTHOR

Curtis "Ovid" Poe <curtis.poe@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2023 by Curtis "Ovid" Poe.

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)