https://github.com/wfcd/arsenal-parser
Parser for Warframe Arsenal data
https://github.com/wfcd/arsenal-parser
Last synced: 2 months ago
JSON representation
Parser for Warframe Arsenal data
- Host: GitHub
- URL: https://github.com/wfcd/arsenal-parser
- Owner: WFCD
- License: mit
- Created: 2020-07-23T01:18:08.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2026-04-08T14:27:26.000Z (2 months ago)
- Last Synced: 2026-04-08T16:23:39.422Z (2 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.76 MB
- Stars: 10
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# Arsenal Parser
Parse the Warframe Arsenal Twitch extension data into useable javascript objects.
[](https://github.com/WFCD/banner/blob/main/PROJECTS.md)
[](https://coveralls.io/github/WFCD/arsenal-parser?branch=main)
[](https://github.com/WFCD/arsenal-parser/actions/workflows/release.yaml)
[](https://discord.gg/jGZxH9f)
Documentation is available [here](https://wfcd.github.io/arsenal-parser/)
## Example usage
```javascript
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);
}
```