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.
Using npm:
$ npm i --save nuuvem
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 |
MIT © [Christiano Teixeira]