0.0.2 • Published 6 years ago
nuuvem v0.0.2
nuuvem
A price checker for nuuvem.com.br . Since nuuvem.com.br don't have a price API, this code will search for a game by it's name and return the matching results title, link and price information.
Installation
Using npm:
$ npm i --save nuuvemUsage
const nuuvem = require('nuuvem');
nuuvem.checkPrice('game-name').then((gameDataArray)=>{
})If you want to return just the first result for 'game-name':
const nuuvem = require('nuuvem');
nuuvem.checkPrice('game-name', true).then((gameDataArray)=>{
})Each position of the result array with have an object containing the following attributes:
| Attr | Type | Description |
|---|---|---|
| title | String | The game title. |
| currency | String | The currency string. |
| price | Float | The game price. |
| link | String | The link for the game in nuuvem.com.br |
License
MIT © Christiano Teixeira
