Skip to content

rogap/hi-rez-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hi-rez-api

Hi-rez API for paladins and smite on Node js

Installation

$ npm install https://github.com/rogap/hi-rez-api

Quick Example

We take the name of the methods here

const { Hirez } = require('hi-rez-api')
const hi = new Hirez(devId, authKey) // for paladins

/**
 * where mutu is name to search
 */
hi.ex('searchplayers', 'mutu')
.then(response => {
    console.log(response) // [{..}, {..}]
})

/**
 * where 3368378 is the player's id
 * 1 is lang
 */
hi.ex('getplayerloadouts', '3368378', 1)
.then(response => {
    console.log(response) // [{..}, {..}]
})

hi.ex('getdataused')
.then(response => {
    console.log(response) // [{..}]
})

Releases

No releases published

Packages

No packages published