Socket
Socket
Sign inDemoInstall

sapi

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sapi

Sensis API Node.js client


Version published
Weekly downloads
13
increased by8.33%
Maintainers
1
Install size
176 kB
Created
Weekly downloads
 

Changelog

Source

0.0.2

  • Add getListingById, report, and metadata endpoints support.

Readme

Source

sapi http://travis-ci.org/cliffano/sapi

Sensis API Node.js client

Installation

npm install sapi

or as a dependency in package.json file:

"dependencies": {
  "sapi": "x.y.z"
}

Usage

var sapi = require('sapi'),
  s = new sapi('key', 'http://sapi/version/env/');

s.query('restaurant').location('222 Lonsdale St, Melbourne, VIC 3000').search(function (err, result) {
  if (err) {
    console.error(err);
  } else {
    console.log(require('util').inspect(result));
  }
});

Keywords

FAQs

Last updated on 13 Jul 2012

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