2.0.0 • Published 5 years ago
@igorissen/bonobo v2.0.0
BONOBO 
A simple library to fetch all reviews left by your users for your iOS and Mac applications.
Migration guides
Getting started
Installation
$ npm install @igorissen/bonobo
Usage
- Import the module
// JavaScript
const { Bonobo } = require('@igorissen.bonobo');
// TypeScript
import { Bonobo } from '@igorissen/bonobo';
- Create an instance of
Bonobo
const bonobo = new Bonobo({
debugEnabled: true // default: false
});
- Use newly created instance
// Fetch an application reviews from one or multiple countries
bonobo.fetchApplicationReviews('840784742', ['us'])
.then(console.log)
.catch(console.error);
// Fetch reviews for multiple applications from one or multiple countries
bonobo.fetchApplicationsReviews(['840784742', '1081877377'], ['us', 'fr', 'be'])
.then(console.log)
.catch(console.error);
License
This project is licensed under the MIT License - see the LICENSE file for details