Permalink
Browse files

Added battlePetStats method.

  • Loading branch information...
1 parent 25de60d commit 39d3d7348271f48e80cda255d94718e4d994f2c8 @xtian committed Dec 16, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 index.js
View
@@ -64,6 +64,15 @@ armory.arenaLadder = function(options, callback) {
return this._get(path, options, cb)
}
+// Retrieves object describing a battle pet.
+armory.battlePetStats = function(options, callback) {
+ var path = '/battlePet/stats/' + options.id
+
+ options.query = buildQuery(['breedId', 'level', 'qualityId'], options)
+
+ return this._get(path, options, callback)
+}
+
// Retrieves array of auction data file URLs
armory.auction = function(options, callback) {
var path = '/auction/data/' + options.name

0 comments on commit 39d3d73

Please sign in to comment.