warframe-nexus-query
v2.1.1
Published
Query prices form nexus-stats.com and warframe.market.
Readme
warframe-nexus-query
A node project for allowing simple summary of the Warframe.Market pricing API.
Installation
npm install --save warframe-nexus-queryUsage
| Require | Module File | Accessor | Description | parameters |
|------------------------|-------------|--------------------------|---------------------------------------------------------|---------------------|
| warframe-nexus-query | index.js | .priceCheckQueryString | Get Query result string | query, callback |
| warframe-nexus-query | index.js | .priceCheckQuery | Get Query result objects, has more parameters available | query, callback |
Environment variables
| Variable | example | default |
|------------------------------|---------------------------------|-------------------------------|
| NEXUSSTATS_MAX_CACHED_TIME | 600000 | 30000 |
| NEXUSSTATS_URL_OVERRIDE | 'https://nexus-stats.com/api' | https://nexus-stats.com/api |
Objects
Item
components- List of component objectsid- Unique identifier for the Item objecttitle- Title of the itemtype- Type of the itemsupplyPercent- Of the total amount of item listings for this object, this is the percent for saledemandPercent- Of the total amount of item listings for this object, this is t looking to be boughtsupplyAmount- Of the total amount of item listings for this object, this is the number for saledemandAmount- Of the total amount of item listings for this object, this is the number looking to be bought
Component
name- Name of the componentavgPrice- Average platinum pricerawAverage- Raw average (non-rounded) price of the componentdata- Array of Miscellaneous data
