Marvel.pm

filter: Statementstmt 100% 8 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 2 / 2 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Marvel/Config/File.pm ↑ Summary
1 package WWW::Marvel;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 our $VERSION = '0.04';
6  
7 =head1 NAME
8  
9 WWW::Marvel - A Marvel Comics API
10  
11 =head1 VERSION
12  
13 Version 0.04
14  
15  
16 =head1 SYNOPSIS
17  
18 use WWW::Marvel::Config;
19 use WWW::Marvel::Client;
20  
21 my $cfg = WWW::Marvel::Config::File->new("my_marvel.conf");
22  
23 my $client = WWW::Marvel::Client->new({
24 public_key => $cfg->get_public_key,
25 private_key => $cfg->get_private_key
26 });
27  
28 my $data = $client->characters({ name => 'spider-man' });
29  
30  
31 =head1 DESCRIPTION
32  
33 This module is an interface to Marvel Comics API
34 to "create awesome stuff with the world's greatest comic api".
35  
36 For more information:
37 http://developer.marvel.com/
38  
39 Remember to keep you private key private and not store it publicly.
40  
41 Right now this is a work in progress.
42  
43  
44 =head1 USAGE
45  
46 If you wanna query the Marvel Comics API, probably you have to use
47 the WWW::Marvel::Client module.
48  
49  
50  
51 =head1 BUGS
52  
53  
54  
55 =head1 SUPPORT
56  
57  
58  
59 =head1 AUTHOR
60  
61 Simone "SIMOTRONE" Tampieri
62  
63 =head1 COPYRIGHT
64  
65 This program is free software; you can redistribute
66 it and/or modify it under the same terms as Perl itself.
67  
68 The full text of the license can be found in the
69 LICENSE file included with this module.
70  
71  
72 =head1 SEE ALSO
73  
74 perl(1).
75  
76 =cut
77  
78 2 1;
« Marvel/Config/File.pm ↑ Summary