Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

authlabs-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authlabs-api

Wrapper around node-al-papi to make it nicer to use.

  • 1.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

al-api

A wrapper around node-al-papi.

For now just gives you a function to make requests with.

Usage


// Instantiate it with your api Key and an optional baseUrlOverride (for testing)
var al = require('../al')({
  apiKey: 'testApiKey'
});

var params = {
  jobId: 234,
  keyword: 'blah',
  searchEngine: 'bing',
  locale: 'en-au',
  includeAdultContent: false,
  instant: true,
  callbackUrl: 'http://mycallbackurl.org?blah=yeah'
};

al(params, function(err, params) {
  // err is null if all is OK
  // params is the params you passed in above.  This is just so your callback
  // doesn't have to be closed over the params passed in if you want to access
  // the params in it.
});



Keywords

FAQs

Package last updated on 30 Oct 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

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc