line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
1
|
|
|
1
|
|
69445
|
use utf8; |
|
1
|
|
|
|
|
25
|
|
|
1
|
|
|
|
|
5
|
|
2
|
|
|
|
|
|
|
package WebService::KvKAPI::LocationProfile; |
3
|
|
|
|
|
|
|
our $VERSION = '0.103'; |
4
|
|
|
|
|
|
|
# ABSTRACT: Instance of OpenAPI client for locatieprofiel API of the KvK. |
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
59
|
use v5.26; |
|
1
|
|
|
|
|
3
|
|
7
|
1
|
|
|
1
|
|
453
|
use Object::Pad; |
|
1
|
|
|
|
|
8970
|
|
|
1
|
|
|
|
|
3
|
|
8
|
1
|
|
|
1
|
|
426
|
use WebService::KvKAPI::Formatters qw(format_location_number); |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
86
|
|
9
|
|
|
|
|
|
|
|
10
|
1
|
|
|
1
|
|
353
|
class WebService::KvKAPI::LocationProfile does WebService::KvKAPI::Roles::OpenAPI; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
76
|
|
11
|
|
|
|
|
|
|
|
12
|
1
|
|
|
1
|
1
|
101
|
method get_location_profile { |
13
|
1
|
|
|
|
|
6
|
my $id = format_location_number(shift); |
14
|
1
|
|
|
|
|
3
|
my $geo = shift; |
15
|
1
|
50
|
|
|
|
5
|
return $self->api_call( |
16
|
|
|
|
|
|
|
'getVestigingByVestigingsnummer', |
17
|
|
|
|
|
|
|
vestigingsnummer => $id, |
18
|
|
|
|
|
|
|
$geo ? (geoData => 1) : () |
19
|
|
|
|
|
|
|
); |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
1; |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=pod |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=encoding UTF-8 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
WebService::KvKAPI::LocationProfile - Instance of OpenAPI client for locatieprofiel API of the KvK. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 VERSION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
version 0.103 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHOR |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Wesley Schwengle |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This software is Copyright (c) 2018 by Mintlab / Zaaksysteem.nl. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This is free software, licensed under: |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
The European Union Public License (EUPL) v1.1 |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=cut |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
__DATA__ |