0.0.2 • Published 4 years ago

nuuvem v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

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.

License Build Status

NPM

Installation

Using npm:

$ npm i --save nuuvem

Usage

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:

AttrTypeDescription
titleStringThe game title.
currencyStringThe currency string.
priceFloatThe game price.
linkStringThe link for the game in nuuvem.com.br

License

MIT © Christiano Teixeira