Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

warframe-items

1.223.0 • Public • Published

Warframe-items

npm build dependencies

Supported by Warframe Community Developers


Fetches all items available on Warframe's mobile API endpoints while also adding images, drop rates, patch logs and related rivens.

The aim of this library is to create a complete collection of data for every item in Warframe based on the game's own data. This repo will be automatically updated on every new release, drop rate change or image change.


Why use this instead of any other scraper?

Because this gives you literally every item in Warframe, many of which can't even be found on the wikia. We also make sure to include every other data aspect that you could possibly need. To give you some idea:

  • Unique ingame name - (/Lotus/Weapons/Tenno/...) - Especially useful when working with worldState
  • Drop rates
  • Patchlogs for each item
  • Minified source images
  • Rivens
  • Whether items are tradable

And tons more item specific data. Check out /data/json to get an idea.

You can also rest assured that this repository will be maintained for as long as Warframe stays alive, as it is has been built to provide all item data for NexusHub.


Installation

npm install warframe-items

Usage

const Items = require('warframe-items')
const items = new Items(options, ...items)

In this example, items is an Array with all items. The ...items param allows you to add your own items before our gathered ones.


Options

Option Default Description
category ['All'] Array of item categories to retrieve. Parallel to file names in /data/json. Useful if you don't wanna load lots and lots of MB of data into memory.

Pre-compiled data

You can find all automatically compiled data in /data/json. Images are stored in /data/img. You can find every item's image name stored in item.imageName.


Image links

Since there are so many images, and we can't publish them due to the size, we've set up a 301 redirect CDN to get you images at https://cdn.warframestat.us/img/${item.imageName} that provides a linkable resource for you.

License

MIT

Keywords

none

install

npm i warframe-items

Downloadsweekly downloads

1,650

version

1.223.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability