@team-choco/xiv
v0.1.7
Published
A collection of Final Fantasy XIV APIs used by @team-choco!
Downloads
12
Readme
NOTE: THIS LIBRARY IS CURRENTLY UNDER HEAVY DEVELOPMENT, USE AT YOUR OWN RISK
@team-choco/xiv
A collection of Final Fantasy XIV APIs used by @team-choco!
Install
$ npm install -S @team-choco/xiv
Usage
$ npm install -S @team-choco/xiv
import { XIV, getPoweredBy } from '@team-choco/xiv';
const xiv = new XIV({
xivapi: '<token-here>',
});
xiv.characters.search({
name: 'First Last',
server: 'Famfrit',
}).then((response) => {
console.log(response);
});
console.log(getPoweredBy(xiv.characters.search));
// ~~ Output ~~
// {
// name: 'xivapi',
// url: 'https://xivapi.com',
// }