app_store_crawler

1.1.5 • Public • Published

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)

Readme

Keywords

Package Sidebar

Install

npm i app_store_crawler

Weekly Downloads

1

Version

1.1.5

License

MIT

Unpacked Size

19.9 kB

Total Files

18

Last publish

Collaborators

  • linchangfeng