Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.39 KB

README.md

File metadata and controls

48 lines (31 loc) · 1.39 KB

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:

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]