@team-choco/xiv
TypeScript icon, indicating that this package has built-in type declarations

0.1.7 • Public • Published

NOTE: THIS LIBRARY IS CURRENTLY UNDER HEAVY DEVELOPMENT, USE AT YOUR OWN RISK

NPM Version NPM Downloads Coveralls CI

@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',
// }

Readme

Keywords

none

Package Sidebar

Install

npm i @team-choco/xiv

Weekly Downloads

5

Version

0.1.7

License

none

Unpacked Size

70.9 kB

Total Files

14

Last publish

Collaborators

  • cecilia-sanare
  • kweh-bot