NAME

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

VERSION

version 0.005

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 WebService::OpenSky::Core::Flight objects.

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)