Socket
Socket
Sign inDemoInstall

buscape-lookup

Package Overview
Dependencies
26
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    buscape-lookup

A wrapper around buscape's lomadee api


Version published
Weekly downloads
5
decreased by-61.54%
Maintainers
1
Install size
1.31 MB
Created
Weekly downloads
 

Readme

Source

buscape-lookup

Introduction

This module is a simple wrapper around buscape's lomadee publisher api for node.

Dependencies

  • superagent
  • underscore
  • nomnom

Usage examples

Full example:

var buscape = require('buscape-lookup');

buscape({keywords: 'test'})
  .id('api key')
  .price('120..560')
  .country('BR')
  .limit(5)
  .done(function (err, result) {
    console.log(JSON.stringify(result));
  });

Limit to one result:

var buscape = require('buscape-lookup');

buscape({keywords: 'test'})
  .id('api key')
  .one()
  .done(function (err, result) {
    console.log(JSON.stringify(result));
  });

Pass in keywords directly

var buscape = require('buscape-lookup');

buscape('test')
  .id('api key')
  .done(function (err, result) {
    console.log(JSON.stringify(result));
  });

Add client IP address if calling on someone else's behalf

var buscape = require('buscape-lookup');

buscape('test')
  .id('api key')
  .client('192.168.1.1')
  .done(function (err, result) { ... })

LICENSE

MIT

Keywords

FAQs

Last updated on 04 Dec 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc