NAME

WWW::AzimuthAero::PriceCrawler - Crawler for https://azimuth.aero/

VERSION

version 0.2

SYNOPSIS

my $azo_price_crawler = WWW::AzimuthAero::PriceCrawler->new();
$azo_price_crawler->prepare_requests()

DESCRIPTION

Wrappper under L<WWW::AzimuthAero>

new

See "new" in WWW::AzimuthAero

prepare_requests

Return arrray of hashes with params (from, to, date) for WWW::AzimuthAero::get method

my @l = $azo_price_crawler->prepare_requests( max_date => '18.12.2019', verbose => 1 );

In fact, combines "route_map_iata" in WWW::AzimuthAero::RouteMap and "get_schedule_dates" in WWW::AzimuthAero

Params

max_date - '%d.%m.%Y' format, if no specified will looks forward for 2 months, default max_date of "get_schedule_dates" in WWW::AzimuthAero

verbose - print amount of "get_schedule_dates" in WWW::AzimuthAero requests and future amount of "get" in WWW::AzimuthAero requests

AUTHOR

Pavel Serikov <pavelsr@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 by Pavel Serikov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.