Skip to content

Repository files navigation

Arsenal Parser

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

Supported by the Warframe Community Developers Coverage Status Release Discord

Documentation is available here

Example usage

import ArsenalData from '@wfcd/arsenal-parser';

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);
}

About

Parser for Warframe Arsenal data

Resources

Code of conduct

Contributing

Security policy

Stars

10 stars

Watchers

6 watching

Forks

Releases

Contributors

Languages