line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package WWW::ORCID::API::v2_0; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
60748
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
23
|
|
4
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
30
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
our $VERSION = 0.0402; |
7
|
|
|
|
|
|
|
|
8
|
1
|
|
|
1
|
|
473
|
use Moo; |
|
1
|
|
|
|
|
9729
|
|
|
1
|
|
|
|
|
5
|
|
9
|
1
|
|
|
1
|
|
1742
|
use namespace::clean; |
|
1
|
|
|
|
|
9948
|
|
|
1
|
|
|
|
|
5
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
with 'WWW::ORCID::MemberAPI'; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
sub ops { |
14
|
|
|
|
|
|
|
+{ |
15
|
1
|
|
|
1
|
0
|
59
|
'group-id-record' => |
16
|
|
|
|
|
|
|
{get => 1, add => 1, delete => 1, get_pc => 1, update => 1}, |
17
|
|
|
|
|
|
|
'activities' => {orcid => 1, get => 1}, |
18
|
|
|
|
|
|
|
'address' => { |
19
|
|
|
|
|
|
|
orcid => 1, |
20
|
|
|
|
|
|
|
get => 1, |
21
|
|
|
|
|
|
|
add => 1, |
22
|
|
|
|
|
|
|
delete => 1, |
23
|
|
|
|
|
|
|
get_pc => 1, |
24
|
|
|
|
|
|
|
update => 1 |
25
|
|
|
|
|
|
|
}, |
26
|
|
|
|
|
|
|
'biography' => {orcid => 1, get => 1}, |
27
|
|
|
|
|
|
|
'education' => |
28
|
|
|
|
|
|
|
{orcid => 1, add => 1, delete => 1, get_pc => 1, update => 1}, |
29
|
|
|
|
|
|
|
'education/summary' => {orcid => 1, get_pc => 1}, |
30
|
|
|
|
|
|
|
'educations' => {orcid => 1, get => 1}, |
31
|
|
|
|
|
|
|
'email' => {orcid => 1, get => 1}, |
32
|
|
|
|
|
|
|
'employment' => |
33
|
|
|
|
|
|
|
{orcid => 1, add => 1, delete => 1, get_pc => 1, update => 1}, |
34
|
|
|
|
|
|
|
'employment/summary' => {orcid => 1, get_pc => 1}, |
35
|
|
|
|
|
|
|
'employments' => {orcid => 1, get => 1}, |
36
|
|
|
|
|
|
|
'external-identifiers' => { |
37
|
|
|
|
|
|
|
orcid => 1, |
38
|
|
|
|
|
|
|
get => 1, |
39
|
|
|
|
|
|
|
add => 1, |
40
|
|
|
|
|
|
|
delete => 1, |
41
|
|
|
|
|
|
|
get_pc => 1, |
42
|
|
|
|
|
|
|
update => 1 |
43
|
|
|
|
|
|
|
}, |
44
|
|
|
|
|
|
|
'funding' => |
45
|
|
|
|
|
|
|
{orcid => 1, add => 1, delete => 1, get_pc => 1, update => 1}, |
46
|
|
|
|
|
|
|
'funding/summary' => {orcid => 1, get_pc => 1}, |
47
|
|
|
|
|
|
|
'fundings' => {orcid => 1, get => 1}, |
48
|
|
|
|
|
|
|
'keywords' => { |
49
|
|
|
|
|
|
|
orcid => 1, |
50
|
|
|
|
|
|
|
get => 1, |
51
|
|
|
|
|
|
|
add => 1, |
52
|
|
|
|
|
|
|
delete => 1, |
53
|
|
|
|
|
|
|
get_pc => 1, |
54
|
|
|
|
|
|
|
update => 1 |
55
|
|
|
|
|
|
|
}, |
56
|
|
|
|
|
|
|
'other-names' => { |
57
|
|
|
|
|
|
|
orcid => 1, |
58
|
|
|
|
|
|
|
get => 1, |
59
|
|
|
|
|
|
|
add => 1, |
60
|
|
|
|
|
|
|
delete => 1, |
61
|
|
|
|
|
|
|
get_pc => 1, |
62
|
|
|
|
|
|
|
update => 1 |
63
|
|
|
|
|
|
|
}, |
64
|
|
|
|
|
|
|
'peer-review' => |
65
|
|
|
|
|
|
|
{orcid => 1, add => 1, delete => 1, get_pc => 1, update => 1}, |
66
|
|
|
|
|
|
|
'peer-review/summary' => {orcid => 1, get_pc => 1}, |
67
|
|
|
|
|
|
|
'peer-reviews' => {orcid => 1, get => 1}, |
68
|
|
|
|
|
|
|
'person' => {orcid => 1, get => 1}, |
69
|
|
|
|
|
|
|
'personal-details' => {orcid => 1, get => 1}, |
70
|
|
|
|
|
|
|
'researcher-urls' => { |
71
|
|
|
|
|
|
|
orcid => 1, |
72
|
|
|
|
|
|
|
get => 1, |
73
|
|
|
|
|
|
|
add => 1, |
74
|
|
|
|
|
|
|
delete => 1, |
75
|
|
|
|
|
|
|
get_pc => 1, |
76
|
|
|
|
|
|
|
update => 1 |
77
|
|
|
|
|
|
|
}, |
78
|
|
|
|
|
|
|
'work' => |
79
|
|
|
|
|
|
|
{orcid => 1, add => 1, delete => 1, get_pc => 1, update => 1}, |
80
|
|
|
|
|
|
|
'work/summary' => {orcid => 1, get_pc => 1}, |
81
|
|
|
|
|
|
|
'works' => {orcid => 1, get => 1, get_pc_bulk => 1}, |
82
|
|
|
|
|
|
|
}; |
83
|
|
|
|
|
|
|
} |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
sub _build_api_url { |
86
|
0
|
0
|
|
0
|
|
|
$_[0]->sandbox |
87
|
|
|
|
|
|
|
? 'https://api.sandbox.orcid.org/v2.0' |
88
|
|
|
|
|
|
|
: 'https://api.orcid.org/v2.0'; |
89
|
|
|
|
|
|
|
} |
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
__PACKAGE__->install_helper_methods; |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
__END__ |