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

reviso

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reviso

A thin wrapper around request to make it easy to work with the Reviso REST API

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

reviso

This small module wraps request in order to provide easy access to the Reviso REST API.

Usage

Install via npm:

npm install reviso

Use it like you would use request. The main difference is that you only have to specify relative URLs and that authentication is handled for you. Just provide a valid access token and you're ready to go:

var appSecretToken = 'your-app-secret-token';
var agreementGrantToken = 'your-agreement-grant-token';

var reviso = require('reviso')(appSecretToken, agreementGrantToken);

reviso('/customers', function (error, response, body) {
	console.log(body);
});

Getting Access

In order to get access to the API you first need to register an app to get an appSecretToken. With that in place you need to run your users through a flow in order to obtain an agreementGrantToken that you can use to interact with their data.

The whole process is described in detail here: https://www.reviso.com/developer/connect

API Documentation

The general Reviso REST API documenation can be found here: http://api-docs.reviso.com

FAQs

Package last updated on 21 Sep 2016

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