1.0.1 • Published 7 years ago

pomme-review v1.0.1

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
7 years ago

Pomme Review

iTunes store customer reviews fetcher ES6/promise version.

Known issues

  • It will happen that the number of reviews by country is different and it comes from Apple. Sometimes the request is OK (HTTP 200) with the first page of reviews but after an hour or a day the same request will return OK without reviews.

License

Released under the terms of the MIT License.

Contributing

If you want to contribute, please read this guide.

Changelog

You ask yourself what has changed? Please read the changelog.

Installation

$ npm i --save pomme-review

Usage

const FetchReviews = require('pomme-review');

let storeId = 'IOS_APPLICATION_STORE_ID';
let countryCode = 'COUNTRY_CODE'; // ISO 3166-1 Alpha-2

FetchReviews(storeId, countryCode)
	.then(function(reviews) { console.log(reviews); })
    .catch(function(err) { console.error(err); });

Review

{
	"id": "1512566853",
    "title": "Just What I Need",
    "content": "I'm using both Movist and Serist and it's just what I need. I never forget what I wanted to see and I'm keeping track of everything I watched and own or want. Both apps are beautifully designed and easy to use. I can't wait for the Apple Watch app for Serist. And now I only need 'Bookist' for my books and I'm set for life. ;)",
    "rating": 5,
    "author": "Ilumire1981",
    "version": "1.5",
    "vote_count": 0,
    "vote_sum": 0,
    "updated_at": "2016-12-31T09:20:00.000Z"
}