WWW::ORCID(3pm)
π WWW::ORCID π
okay bestie, gather round, because we're talking about WWW::ORCID β that's the Perl module, page 3pm, straight out of the User Contributed Perl Documentation section. she's a whole vibe and she's here to talk to the ORCID 2.0 API for you. no cap. π¦
β¨ NAME β¨
WWW::ORCID β a client for the ORCID 2.0 API. that's it, that's the name, and honestly? iconic. π
πΈ SYNOPSIS πΈ
look at her. look at these three little lines. so simple, so powerful:
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);
three ways to spawn your client: regular, sandbox mode, and public mode. pick your fighter. π
π DESCRIPTION π
she is a client for the ORCID 2.x API. that's the whole description, and she said it with her chest. π«Ά
π STATUS π
okay so real talk, this is the "where are we at" section and I need you to not panic:
- The client is mostly complete.
- The 2.0 member API is implemented β except
notification-permission. - The 2.0 public API is implemented β except
identifiersandstatus. - The 2.1 member API has not yet been implemented. not yet, bestie. someday. π
π§ CREATING A NEW INSTANCE π§
the new method hands you a fresh new 2.0 API client, like a lil baby client that's ready to go. πΌβ¨
here's what you can pass to new:
π client_id
your ORCID client id. this one is required. no client id, no client. periodt.
π client_secret
your ORCID client secret. also required. keep it secret, keep it safe, don't be putting this in the group chat. π
π version
the only possible value at the moment is 2.0, and what it does is load WWW::ORCID::API::v2_0 or WWW::ORCID::API::v2_0_public. that's the whole menu, babe.
π sandbox
set it to 1 and the client will use the API sandbox. play safely in the sandbox, that's literally what it's for. ποΈ
π public
set it to 1 and the client will use the ORCID public API https://pub.sandbox.orcid.org/v2.0. default is the ORCID member API https://pub.sandbox.orcid.org/v2.0.
yes, both of those URLs are exactly the same in this doc. I'm not the one who wrote it, I'm just the one who's reporting it. π«‘
π transport
this is where you specify which HTTP client to use. possible values are LWP or HTTP::Tiny. default is LWP. choose your transport, bestie, we're going on a trip. ππ¨
π₯ METHODS π₯
ngl, this section is short and sweet β please refer to the API clients WWW::ORCID::API::v2_0 and WWW::ORCID::API::v2_0_public for the method documentation. she's pointing you to her friends. π«Ά
π SEE ALSO π
π AUTHOR π
these absolute legends made this happen:
- Patrick Hochstenbach
"<patrick.hochstenbach at ugent.be>" - Nicolas Steenlant,
"<nicolas.steenlant at ugent.be>" - Simeon Warner
"<simeon.warner at cornell.edu>"
we stan. π
π 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.
and that's the whole page, bestie!! β¨ this was perl v5.36.0, dated 2023-02-05, and you read it in the WWW::ORCID(3pm) era. mwah. π
ππ¦
π¦ where this page comes from
- debian bookworm: libwww-orcid-perl 0.0402-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libwww-orcid-perl 0.0402-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libwww-orcid-perl 0.0402-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libwww-orcid-perl 0.0402-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libwww-orcid-perl 0.0402-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms