WWW::ORCID3pm
A client for the orcid 2.0 api
Usage
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);
Overview
A client for the ORCID 2.x API.
Status
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.
Creating a new instance
The "new" method returns a new 2.0 API client.
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.
"sandbox"
The client will use the API sandbox if set to 1.
"public"
The client will use the ORCID public API <https://pub.sandbox.orcid.org/v2.0> if set to 1. Default is the ORCID member API <https://pub.sandbox.orcid.org/v2.0>.
"transport"
Specify the HTTP client to use. Possible values are LWP or HTTP::Tiny. Default is LWP.
Methods
Please refer to the API clients WWW::ORCID::API::v2_0 and WWW::ORCID::API::v2_0_public for method documentation.
License and copyright
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.
Releases
Unchanged in 2 releases since Debian 12 (Bookworm).