Need private packages and team management tools?Check out npm Teams »

nuuvem

0.0.2 • Public • Published

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]

Install

npm i nuuvem

DownloadsWeekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

5.81 kB

Total Files

7

Last publish

Collaborators

  • avatar