projects
/
www-backpacktf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
aee079f
)
Update constructor documentation
author
Marius Gavrilescu
<marius@ieval.ro>
Sat, 21 Jun 2014 23:18:48 +0000
(
02:18
+0300)
committer
Marius Gavrilescu
<marius@ieval.ro>
Sat, 21 Jun 2014 23:18:48 +0000
(
02:18
+0300)
lib/WWW/BackpackTF.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/WWW/BackpackTF.pm
b/lib/WWW/BackpackTF.pm
index 448ebbb10b6ed0e61c79c23dcffa3904114ea7e4..6f4535a199340c776b0ffa9b92efd6435187c6df 100644
(file)
--- a/
lib/WWW/BackpackTF.pm
+++ b/
lib/WWW/BackpackTF.pm
@@
-91,9
+91,21
@@
WWW::BackpackTF is an interface to the backpack.tf Team Fortress 2/Dota 2 tradin
=over
=over
-=item B<new>(
I<[$api_key]>
)
+=item B<new>(
[key => I<$api_key>], [base => I<$base_url>]
)
-Create a new WWW::BackpackTF object. Takes a single optional parameter, the API key.
+Create a new WWW::BackpackTF object. Takes a hash of parameters. Possible parameters:
+
+=over
+
+=item B<key>
+
+The API key. Defaults to nothing. Most methods require an API key.
+
+=item B<base>
+
+The base URL. Defaults to http://backpack.tf/api/.
+
+=back
=item B<get_prices>([I<$appid>, [I<$raw>]])
=item B<get_prices>([I<$appid>, [I<$raw>]])
This page took
0.011198 seconds
and
4
git commands to generate.