app_store_crawler

Some api from app store


Keywords
app store, node, crawler, appstore, hint, rating, review, search, trends
License
MIT
Install
npm install app_store_crawler@1.1.5

Documentation

App Store Api

npm version Build Status

Description

Some Api from App Store

Installation

$ npm install app_store_crawler --save

Demo

Review
const AppStore = require('app_store_crawler')
const co = require('co')
const countries = require('../resources/countries')

const review = async() => {
  const result = await AppStore.review.fetch('414478124', country.frontID, 0, 1000, 4)
  console.log(result)
}

co(function*() {
  yield review()
})

Api

Hint
AppStore.hint.fetch(frontId, keyword)
lookup
AppStore.lookup.fetch(countryCode, appIds)
rating
AppStore.rating.fetch(countryCode, appId)
review
AppStore.review.fetch(appId, frontId, startIndex, endIndex, sort)

About sort: A number, 1~4(1:Most helpful, 2: highest rating, 3:lowest rating, 4:Newly published)

search
AppStore.search.fetch(frontId, keyword)
top chart
AppStore.topChart.fetch(type, genreCode, countryCode)

About type: 'free' or 'pay'

trends
AppStore.trends.fetch(frontId)

subtitle

AppStore.subtitle.fetch(countryCode, appId)

app version hisotry

AppStore.version.fetch(appId, frontId)