hirez-signature-helper
v0.0.4
Published
Helper class to generate Hirez signature
Downloads
8
Maintainers
Readme
About
hirez-signature-api is a helper for Smite/Paladins/RealmRoyal api.
Usage
Using npm:
$ npm install hirez-signate-helper
Using yarn:
$ yarn add hirez-signate-helper
Example
JS
const { HirezSignatureHelper } = require('hirez-signature-helper')
TS
import { HirezSignatureHelper } from 'hirez-signature-helper'
Usage
// signature and timestamp ready for use
const signature = HirezSignatureHelper.createSignature({
hirezAuthKey: 'hirez auth key',
hirezDevId: 'hirez dev id',
method: 'any api method' // example: createsession
})
Signature object
{
md5: '623e7b9b224924ef4d04ab68d5b2bcbe',
timestamp: '20221118000504'
}