2.0.2 • Published 2 months ago

@wfcd/arsenal-parser v2.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Arsenal Parser

Parse the Warframe Arsenal Twitch extension data into useable javascript objects.

Supported by the Warframe Community Developers Coverage Status Build Status Discord

Documentation is available here

Example usage

import ArsenalData from 'ArsenalParser.js';
import fetch from 'node-fetch.js';

const baseURL = 'https://content.warframe.com/dynamic/twitch/getActiveLoadout.php?account=';

async function fetchArsenal(username) {
  // Fetch the data for the specified username
  const data = await fetch(baseURL + encodeURIComponent(username.toLowerCase()))
    .then((res) => res.json());
  if (data.errors) {
    throw new Error(data.errors);
  }

  return new ArsenalData(data);
}
2.0.2

2 months ago

2.0.1

2 months ago

2.0.0

2 months ago

1.2.3

1 year ago

1.2.2

2 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago

0.0.1

3 years ago