app_store_crawler
v1.1.5
Published
Some api from app store
Downloads
5
Readme
App Store Api
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)