https://github.com/wfcd/warframe-nexus-query
:green_book: Simple query library for warframe.market
https://github.com/wfcd/warframe-nexus-query
price sales
Last synced: about 1 year ago
JSON representation
:green_book: Simple query library for warframe.market
- Host: GitHub
- URL: https://github.com/wfcd/warframe-nexus-query
- Owner: WFCD
- License: apache-2.0
- Created: 2016-10-15T00:39:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-03-28T03:23:14.000Z (about 1 year ago)
- Last Synced: 2025-04-04T05:45:47.591Z (about 1 year ago)
- Topics: price, sales
- Language: JavaScript
- Homepage: https://wfcd.github.io/warframe-nexus-query/
- Size: 2.3 MB
- Stars: 6
- Watchers: 8
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# warframe-nexus-query
[](https://github.com/WFCD/banner/blob/master/PROJECTS.md)
[](https://discord.gg/jGZxH9f)
A node project for allowing simple summary of the [Warframe.Market](https://warframe.market) pricing API.
## Installation
```
npm install --save warframe-nexus-query
```
## Usage
| 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 objects
* `id` - Unique identifier for the Item object
* `title` - Title of the item
* `type` - Type of the item
* `supplyPercent` - Of the total amount of item listings for this object, this is the percent for sale
* `demandPercent` - Of the total amount of item listings for this object, this is t looking to be bought
* `supplyAmount` - Of the total amount of item listings for this object, this is the number for sale
* `demandAmount` - Of the total amount of item listings for this object, this is the number looking to be bought
Component
* `name` - Name of the component
* `avgPrice` - Average platinum price
* `rawAverage` - Raw average (non-rounded) price of the component
* `data` - Array of Miscellaneous data