Socket
Book a DemoInstallSign in
Socket

buscape-lookup

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buscape-lookup

A wrapper around buscape's lomadee api

0.8.0
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
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

buscape

FAQs

Package last updated on 04 Dec 2014

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.