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

groupby-api

Package Overview
Dependencies
Maintainers
3
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

groupby-api

Client for the GroupBy Searchandiser API.

  • 2.7.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
118
decreased by-88.28%
Maintainers
3
Weekly downloads
 
Created
Source

GroupBy Search API

CircleCI Codecov

license npm npm Greenkeeper badge

Please follow the steps carefully to ensure a successful build.

Before running the install steps, ensure node and npm are installed on your system.

Install global dependencies:

npm i -g gulp typings

To install:

npm i

This will by default install the typings as well.

To test:

npm test

This will install the project and run all tests.

Add this library as a dependency to your project:

NPM
npm i --save groupby-api

Examples

Searching (typescript)
import { CloudBridge, Query, Results } from 'groupby-api';

let bridge = new CloudBridge('<client-key>', '<customer-id>');
let query = new Query('dvd');
bridge.search(query)
  .then(results: Results => {
    // operate on results
  });

// OR

bridge.search(query, results: Results => {
    // operate on results
  });
Searching (ES5/CommonJS)
var groupby = require('groupby-api');
var CloudBridge = groupby.CloudBridge,
  Query = groupby.Query,
  Results = groupby.Results;

var bridge = new CloudBridge('<client-key>', '<customer-id>');
var query = new Query('dvd');
bridge.search(query)
  .then(function(results) {
    // operate on results
  });

// OR

bridge.search(query, function(results) {
    // operate on results
  });

FAQs

Package last updated on 07 Apr 2020

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