| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package WWW::MetaForge; |
|
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:GETTY'; |
|
3
|
|
|
|
|
|
|
# ABSTRACT: Perl client for MetaForge gaming APIs |
|
4
|
|
|
|
|
|
|
our $VERSION = '0.002'; |
|
5
|
1
|
|
|
1
|
|
512011
|
use strict; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
47
|
|
|
6
|
1
|
|
|
1
|
|
6
|
use warnings; |
|
|
1
|
|
|
|
|
2
|
|
|
|
1
|
|
|
|
|
108
|
|
|
7
|
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
1; |
|
9
|
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
__END__ |
|
11
|
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
=pod |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=encoding UTF-8 |
|
15
|
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
=head1 NAME |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
WWW::MetaForge - Perl client for MetaForge gaming APIs |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 VERSION |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
version 0.002 |
|
23
|
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 SYNOPSIS |
|
25
|
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
# ARC Raiders API |
|
27
|
|
|
|
|
|
|
use WWW::MetaForge::ArcRaiders; |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
my $api = WWW::MetaForge::ArcRaiders->new; |
|
30
|
|
|
|
|
|
|
my $items = $api->items(search => 'Ferro'); |
|
31
|
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
# Generic Game Map Data API |
|
33
|
|
|
|
|
|
|
use WWW::MetaForge::GameMapData; |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
my $maps = WWW::MetaForge::GameMapData->new; |
|
36
|
|
|
|
|
|
|
my $markers = $maps->map_data(map => 'Dam'); |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
WWW::MetaForge provides Perl interfaces to the MetaForge gaming APIs. |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 Available APIs |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=over 4 |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=item * L<WWW::MetaForge::ArcRaiders> - ARC Raiders game data (items, quests, traders, events, maps) |
|
47
|
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=item * L<WWW::MetaForge::GameMapData> - Generic game map marker data |
|
49
|
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=back |
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 CLI |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The distribution includes the C<arcraiders> command-line tool: |
|
55
|
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
arcraiders items --search Ferro |
|
57
|
|
|
|
|
|
|
arcraiders item ferro-i |
|
58
|
|
|
|
|
|
|
arcraiders events --active |
|
59
|
|
|
|
|
|
|
arcraiders traders |
|
60
|
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head1 ATTRIBUTION |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
This module uses the MetaForge API: L<https://metaforge.app> |
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Data is community-maintained. Please attribute MetaForge when using |
|
66
|
|
|
|
|
|
|
this data in public projects. |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
69
|
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
L<https://metaforge.app/arc-raiders/api> |
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head1 SUPPORT |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
=head2 Issues |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
Please report bugs and feature requests on GitHub at |
|
77
|
|
|
|
|
|
|
L<https://github.com/Getty/p5-www-metaforge/issues>. |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
=head2 IRC |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
You can reach Getty on C<irc.perl.org> for questions and support. |
|
82
|
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
=head1 CONTRIBUTING |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
Contributions are welcome! Please fork the repository and submit a pull request. |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
=head1 AUTHOR |
|
88
|
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
Torsten Raudssus <torsten@raudssus.de> |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
This software is copyright (c) 2026 by Torsten Raudssus. |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
|
96
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=cut |