API-DeutscheBahn-Fahrplan

 view release on metacpan or  search on metacpan

README.md  view on Meta::CPAN

- access\_token

    Access token to sign requests. If provided the client will use the `fahrplan_plus_url` endpoint.

# METHODS

## location

    $fahrplan->location( name => 'Berlin' );

Fetch information about locations matching the given name or name fragment.

## arrival\_board

    $fahrplan->arrival_board( id => 8503000, date => '2018-09-24T11:00:00' );

Fetch the arrival board at a given location at a given date and time. The date
parameter should be in the ISO-8601 format.

## departure\_board

lib/API/DeutscheBahn/Fahrplan.pm  view on Meta::CPAN

    builder => '_build_client',
);


=head1 METHODS

=head2 location

    $fahrplan->location( name => 'Berlin' );

Fetch information about locations matching the given name or name fragment.

=cut

sub location {
    return shift->_request( 'location', @_ );
}

=head2 arrival_board

    $fahrplan->arrival_board( id => 8503000, date => '2018-09-24T11:00:00' );



( run in 3.231 seconds using v1.01-cache-2.11-cpan-b16cb0d3907 )