esijs
Version:
A simple module for ESI.
51 lines (32 loc) • 1.07 kB
Markdown
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
### Table of Contents
- [warInfo][1]
- [Parameters][2]
- [warKills][3]
- [Parameters][4]
- [wars][5]
- [Parameters][6]
## warInfo
Return details about a war.
### Parameters
- `warID` **[number][7]** 
Returns **[Promise][8]<[object][9]>** 
## warKills
Return a list of kills related to a war.
### Parameters
- `warID` **[number][7]** 
Returns **[Promise][8]<[object][9]>** 
## wars
Return a list of wars.
### Parameters
- `maxWarID` **[number][7]** Optional. Only return wars with ID smaller than this.
Returns **[Promise][8]<\[[number][7]]>** 
[1]: #warinfo
[2]: #parameters
[3]: #warkills
[4]: #parameters-1
[5]: #wars
[6]: #parameters-2
[7]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object