iosreviewfetcher

1.0.12 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i iosreviewfetcher

Weekly Downloads

0

Version

1.0.12

License

MIT

Unpacked Size

4.81 kB

Total Files

4

Last publish

Collaborators

  • mnm1992