| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
####################################################################### |
|
2
|
|
|
|
|
|
|
# $Date: 2007-05-28T14:18:18.679359Z $ |
|
3
|
|
|
|
|
|
|
# $Revision: 1508 $ |
|
4
|
|
|
|
|
|
|
# $Author: unobe $ |
|
5
|
|
|
|
|
|
|
# ex: set ts=8 sw=4 et |
|
6
|
|
|
|
|
|
|
######################################################################### |
|
7
|
|
|
|
|
|
|
package WWW::Bebo::API::Marketplace; |
|
8
|
|
|
|
|
|
|
|
|
9
|
21
|
|
|
21
|
|
109
|
use warnings; |
|
|
21
|
|
|
|
|
35
|
|
|
|
21
|
|
|
|
|
690
|
|
|
10
|
21
|
|
|
21
|
|
101
|
use strict; |
|
|
21
|
|
|
|
|
38
|
|
|
|
21
|
|
|
|
|
587
|
|
|
11
|
21
|
|
|
21
|
|
100
|
use Carp; |
|
|
21
|
|
|
|
|
36
|
|
|
|
21
|
|
|
|
|
1338
|
|
|
12
|
|
|
|
|
|
|
|
|
13
|
21
|
|
|
21
|
|
105
|
use version; our $VERSION = qv('0.0.03'); |
|
|
21
|
|
|
|
|
38
|
|
|
|
21
|
|
|
|
|
119
|
|
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub get_categories { |
|
16
|
1
|
|
|
1
|
1
|
28
|
return shift->base->call( 'marketplace.getCategories', @_ ); |
|
17
|
|
|
|
|
|
|
} |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
sub get_subcategories { |
|
20
|
1
|
|
|
1
|
1
|
28
|
return shift->base->call( 'marketplace.getSubcategories', @_ ); |
|
21
|
|
|
|
|
|
|
} |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
sub get_listings { |
|
24
|
1
|
|
|
1
|
1
|
27
|
return shift->base->call( 'marketplace.getListings', @_ ); |
|
25
|
|
|
|
|
|
|
} |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
sub search { |
|
28
|
1
|
|
|
1
|
1
|
27
|
return shift->base->call( 'marketplace.search', @_ ); |
|
29
|
|
|
|
|
|
|
} |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
sub create_listing { |
|
32
|
1
|
|
|
1
|
1
|
27
|
return shift->base->call( 'marketplace.createListing', @_ ); |
|
33
|
|
|
|
|
|
|
} |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
sub remove_listing { |
|
36
|
1
|
|
|
1
|
1
|
28
|
return shift->base->call( 'marketplace.removeListing', @_ ); |
|
37
|
|
|
|
|
|
|
} |
|
38
|
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
1; # Magic true value required at end of module |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
__END__ |