Installation
npm install requestify
Usage
Overwatch-stat-tracker allows a super easy way of getting stats from any battletag. To start, require the module and call the request method:
var owTracker = ;
Method example:
owTracker
Return:
competitiveStats: {}endorsement: 1endorsementIcon:'https://static.playoverwatch.com/svg/icons/endorsement-frames-3c9292c49d.svg#_1'gamesWon: 0icon:'https://d15f34w2p8l1cc.cloudfront.net/overwatch/d8ada4ce47d3de34d270776a11f6f75a93aa648d7f86d2e31095b5360be358a5.png'level: 63levelIcon:'https://d15f34w2p8l1cc.cloudfront.net/overwatch/e8b7df4b88998380658d49d00e7bc483c740432ac417218e94fab4137bec4ae0.png'name: 'Innox#1937'prestige: 0prestigeIcon: ''private: truequickPlayStats: {}rating: 0ratingIcon: ''ratings: null
Parameters:
platform
- The platform the player is on (i.e. 'pc')
country
- the country the player is from (i.e. 'us')
battletag
- The battletag of the user with a dash between the digits and tha name (i.e. 'Innox-1937')