| HTTP::OAI::UserAgent(3pm) | User Contributed Perl Documentation | HTTP::OAI::UserAgent(3pm) |
HTTP::OAI::UserAgent - Extension of the LWP::UserAgent for OAI HTTP requests
This module provides a simplified mechanism for making requests to an OAI repository, using the existing LWP::UserAgent module.
require HTTP::OAI::UserAgent;
my $ua = new HTTP::OAI::UserAgent;
my $response = $ua->request(
baseURL=>'http://arXiv.org/oai1',
verb=>'ListRecords',
from=>'2001-08-01',
until=>'2001-08-31'
);
print $response->content;
OAI-PMH related options:
from => $from
until => $until
resumptionToken => $token
metadataPrefix => $mdp
set => $set
| 2023-09-28 | perl v5.36.0 |