NAME

EPFL::Sciper::List - Retrieve a list of all public active sciper from EPFL.

VERSION

Version 0.01

SYNOPSIS

Retrieve sciper from EPFL

use EPFL::Sciper::List qw/retrieveSciper toJson toTsv/;

my @listPersons = retrieveSciper();
print toJson(@listPersons);
print toTsv(@listPersons);

Via the command-line program epfl-sciper-list.pl

DESCRIPTION

A simple module to retrieve a list of all public active sciper from EPFL.

SUBROUTINES/METHODS

retrieveSciper( )

Return a list of persons from EPFL with information like:

(sciper => 999999, firstname => 'Taylor', name => 'Swift');

toJson

Return sciper list in JSON

toTsv

Return sciper list in TSV

PRIVATE SUBROUTINES/METHODS

p_createUserAgent

Return a LWP::UserAgent. LWP::UserAgent objects can be used to dispatch web requests.

p_getUrl

Dispatch a GET request on the given $url The return value is a response object. See HTTP::Response for a description of the interface it provides.

p_buildUrl

Return the autocomplete url to retrieve sciper.

AUTHOR

William Belle, <william.belle at gmail.com>

BUGS AND LIMITATIONS

Please report any bugs or feature requests here https://github.com/epfl-devrun/epfl-sciper-list/issues. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc EPFL::Sciper::List

You can also look for information at:

LICENSE AND COPYRIGHT

Copyright ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE, Switzerland, VPSI, 2017.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

L<http://www.apache.org/licenses/LICENSE-2.0>

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.