Skip to content

WFCD/profile-parser

Repository files navigation

profile-parser

Parse warframe profile data into useable javascript objects.

Supported by the Warframe Community Developers Coverage Status Discord semantic-release: angular

Documentation

You can find the documentation here

Installation

$ npm i -S @wfcd/profile-parser

Example usage

import { ProfileParser } from 'profile-parser';

const profileData = await fetch('https://content.warframe.com/dynamic/getProfileViewingData.php?n=${username}');
const user = new ProfileParser(await profileData.text());

console.log(user.profile.displayName);