rhubley / swgoh

Unofficial node library for swgoh.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Synopsis

Node library to get information of swgoh parsing swgoh.gg, you can get profile, characters, guild members.

Code Example

###import

const swgoh = require("swgoh").swgoh
//or
import {swgoh} from 'swgoh';
const username= "pikax";
swgoh.profile(username).then(function (p) {
  console.log(p);

  return swgoh.guild(p.guildUrl);
}).then(console.log);
swgoh.collection(username).then(console.log);

Motivation

With TB just released, this library provides easy way to get data from swgoh.gg

Installation

yarn add swgoh
npm i swgoh

License

MIT

Disclaimer

The developer of this application does not have any affiliation with the Capital Games, Disney, Lucasfilm Limited or swgoh.gg.

About

Unofficial node library for swgoh.gg

License:MIT License


Languages

Language:TypeScript 95.4%Language:JavaScript 4.6%