WWW::ORCID - A client for the ORCID 2.0 API
my $client = WWW::ORCID->new(client_id => "XXX", client_secret => "XXX"); my $client = WWW::ORCID->new(client_id => "XXX", client_secret => "XXX", sandbox => 1); my $client = WWW::ORCID->new(client_id => "XXX", client_secret => "XXX", public => 1);
A client for the ORCID 2.x API.
The client is mostly complete. The 2.0 member API is implemented except notification-permission. The 2.0 public API is implemented except identifiers and status. The 2.1 member API has not yet been implemented.
notification-permission
identifiers
status
The new method returns a new 2.0 API client.
new
Arguments to new:
client_id
Your ORCID client id (required).
client_secret
Your ORCID client secret (required).
version
The only possible value at the moment is "2.0" which will load WWW::ORCID::API::v2_0 or WWW::ORCID::API::v2_0_public.
"2.0"
sandbox
The client will use the API sandbox if set to 1.
1
public
The client will use the ORCID public API if set to 1. Default is the ORCID member API.
transport
Specify the HTTP client to use. Possible values are LWP or HTTP::Tiny. Default is LWP.
Please refer to the API clients WWW::ORCID::API::v2_0 and WWW::ORCID::API::v2_0_public for method documentation.
https://api.orcid.org/v2.0/#/Member_API_v2.0
Patrick Hochstenbach <patrick.hochstenbach at ugent.be>
<patrick.hochstenbach at ugent.be>
Nicolas Steenlant, <nicolas.steenlant at ugent.be>
<nicolas.steenlant at ugent.be>
Simeon Warner <simeon.warner at cornell.edu>
<simeon.warner at cornell.edu>
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install WWW::ORCID, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::ORCID
CPAN shell
perl -MCPAN -e shell install WWW::ORCID
For more information on module installation, please visit the detailed CPAN module installation guide.