• Stars
    star
    272
  • Rank 150,552 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 6 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ“˜ Get all Warframe items directly from Warframe's API. No more messy wikia scraping.

Warframe Items

Supported by Warframe Community Developers

npm warframe update build Discord


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.


Installation

npm install warframe-items

Usage

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

In this example, items is an Array with all items. The ...oldItems 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.
Categories Description
All All categories in one file
Arcanes Operator, Zaw, and some Warframe Arcanes
Archwing Archwings.... nuff said
Arch-Gun Archwing Guns
Arch-Melee Archwing Melee weapons
Enemy NPCs
Fish Fish that you fish
Gear Things you equip in your gear wheel
Glyphs Glyphs from partners, etc.
Melee Melee weapons
Misc Uncategorized items
Mods Modifications for weapons, warframes, archwings, etc.
Node Mission nodes
Pets Companions, just the beasts
Primary Primary slot weapons
Quests Quests that you adventure on
Relics Things you get prime parts from
Resources For building stuff
Secondary Secondary slot weapons
Sentinels Mechanical companions
SentinelWeapons Specialized weapons for sentinels
Sigils Chest & back art
Skins Henna for your frame
Warframes Warframes...

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 on npm due to the size, we've set up a CDN to get you images at https://cdn.warframestat.us/img/${item.imageName} that provides a linkable resource for you. https://runkit.com/tobitenno/615e52157b2af60008dce1f5

For Developers

We're always happy to see contributions to this project, so here's some basic setup information to get you started.


Dependencies

  • Node.js > 10
  • Lua > 5
  • Build Tools (build-essentials on linux should be enough, on windows run npm i -g windows-build-tools)
  • libpng-dev12 (linux only)

File structure

All relevant scripts are found in /build/ with

build.js
The entrypoint for the build script. Here we also save JSON, image and cache data.

scraper.js
Fetches all external data and returns it to the parser.

parser.js
Parses the external data to match our schema and returns it to the build script.


Usage and Testing

You can run the build script with npm run build. Once built, you can verify the data with npm test. To verify the TypeScript typings are up to date, you can run npm run typings.

In case you want to skip hash checking in the build process run: npm run build -- --force or npm run build -- -f. It's also possible to set the environment variable FORCE='true'.


License

MIT

More Repositories

1

WFinfo

πŸ’» A fissure Companion App for Warframe
C#
216
star
2

warframe-drop-data

πŸ’° Warframe Drop Data in an easier to parse format.
JavaScript
118
star
3

genesis

πŸ€– Warframe Discord Cephalon
JavaScript
95
star
4

warframe-hub

πŸ“˜ Warframe hub strives to be the community center of the Warframe game
JavaScript
81
star
5

warframe-worldstate-parser

πŸ“— An Open parser for Warframe's Worldstate in Javascript
JavaScript
53
star
6

warframe-worldstate-data

πŸ“¦ A repository of Warframe data for use with warframe-worldstate-parser
JavaScript
53
star
7

warframe-status

☁️ Simple express app that parses worldState.php
JavaScript
39
star
8

navis

Cephalon Navis is an app inspired by Warframe Hub.
Dart
26
star
9

Warframe.NET

Under rewrite: Collection of Warframe libraries for C# developers.
C#
23
star
10

warframe.py

an asynchronous API wrapper for Warframe.
Python
12
star
11

warframe-discord-emoji

Emoji For Warfame Community Discords
12
star
12

Warframe.js

A JavaScript API Wrapper for Warframes WorldState Data
JavaScript
11
star
13

warframe-rewards-evaluator

Never worry about picking the right relic reward again, get fresh item ratings with ease! πŸ’ΈπŸ˜Ž
TypeScript
7
star
14

warframe-deathlog

Parser and logger for EE.log events
JavaScript
7
star
15

arsenal-parser

Parser for Warframe Arsenal data
JavaScript
7
star
16

warframe-wikia-scrapers

Scrapes data from the Warframe Wikia and converts to JSON for reuse in other community projects
Lua
6
star
17

Mod-Detection-Tools

Tool(s) for tinkering with specific settings to help identify mods using OpenCV
Java
6
star
18

warframe-patchlogs

πŸ“ƒ All warframe patchlogs parsed to more usable JSON. Also lets you find all patchlogs for a specific item.
JavaScript
5
star
19

warframe-relic-data

πŸ“ Easy to parse data for Relics in Warframe
TypeScript
5
star
20

warframe-nexus-query

πŸ“— Simple query library for warframe.market
JavaScript
5
star
21

warframe.rs

An async crate to interact with the warframestat.us and the warframe.market API.
Rust
4
star
22

mod-generator

Generate mod images using warframe-items
TypeScript
4
star
23

genesis-assets

Shared Static Image Assets
HTML
4
star
24

warframe-name-generator

πŸ“¦ Little name generator for Warframe
JavaScript
3
star
25

warframe-updates

☁️ Checks for patch deployments in Warframe.
JavaScript
3
star
26

profile-parser

JavaScript
3
star
27

warframe-alerts-win

Windows C# app tracking Warframe Alerts
C#
3
star
28

market-api-spec

πŸ“˜ API specification repo for Warframe.Market
HTML
3
star
29

genesis-landing-page

New landing page for genesis based on orels1/landing-discord-red
Pug
2
star
30

warframe-university-guides

2
star
31

banner

Banner for use with Supported community Dev projects
2
star
32

eslint-config

Shareable eslint configuration for
JavaScript
1
star
33

tennotv-api

☁️ Simple express app for middleware for tenno.tv
JavaScript
1
star
34

api-spec

OpenAPI Specifications for WarframeStat.us API
CSS
1
star
35

warframe-patchnotes-redirect

Redirects [platform-name].warframestat.us to the newest changelog for said platform.
PHP
1
star
36

worldstate-emitter

Super simple emitter for Warframe data
JavaScript
1
star
37

mod-detection-api

Java
1
star
38

warframe-forum-dark

A dark reskin for the Warframe forums
CSS
1
star
39

warframe-location-query

JavaScript
1
star
40

wfcd-name-forge

πŸ“– Electron app for generating Warframe Names
HTML
1
star
41

tennotv

πŸ“Ί Location for contribution and Issue management
JavaScript
1
star
42

warframestat_client

Dart
1
star