WWW::ORCID(3pm) | User Contributed Perl Documentation | WWW::ORCID(3pm) |
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.
The "new" method returns a new 2.0 API client.
Arguments to new:
Your ORCID client id (required).
Your ORCID client secret (required).
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.
The client will use the API sandbox if set to 1.
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>.
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>"
Nicolas Steenlant, "<nicolas.steenlant at ugent.be>"
Simeon Warner "<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.
2023-02-05 | perl v5.36.0 |