iosreviewfetcher
v1.0.12
Published
Fetches reviews of ios apps from itunes. Should theoratically also work for anything listed on itunes.
Downloads
16
Readme
iOSReviewFetcher
Fetches reviews of ios apps from itunes. Should theoratically also work for anything listed on itunes,
Usage:
const IOSReviewfetcher = require('iosreviewfetcher');
const iosFetcher = new IOSReviewfetcher();
//585027354 is the itunes app id
//nl is the countrycode we want to fetch reviews for
iosFetcher.fetchReviews('585027354', 'nl').then((result) => {
console.log(result);
});
The result will look like:
{
id: '1368872528',
text: "Some text",
title: 'Some title',
author: 'Some author',
dateTime: '2016-10-18T05:43:54-07:00',
rating: 5,
appId: '585027354',
version: '1.2.1',
countryCode: 'nl'
}
How does it work: It uses the apple rss feeds to get the reviews. An example rss feed is: https://itunes.apple.com/nl/rss/customerreviews/page=1/id=585027354/sortby=mostrecent/xml