GitHunt
RO

rogap/hi-rez-api

Hi-rez API for paladins and smite

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) // [{..}]
})

Languages

JavaScript100.0%

Contributors

MIT License
Created August 3, 2020
Updated August 3, 2020