::Plugin::Map::Tube::API - API for Map::Tube.
=head1 VERSION
Version 0.04
=cut
use 5.006;
use JSON;
use Data::Dumper;
use IO::Socket::INET;
use Cache::Memcached::Fast;
use Time::HiRes qw(gettimeof
te($start, $end);
my $stations = [ map { sprintf("%s", $_) } @{$route->nodes} ];
return _jsonified_content($stations);
};
=head2 line_stations($client_ip, $line)
Returns the list of station
LID_LINE_NAME,
} if ($@);
my $stations = $object->get_stations($line_name);
return _jsonified_content([ map { sprintf("%s", $_) } @{$stations} ]);
};
=head2 map_stations($client_ip)
Re