Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
/ appstore-api Public archive

AppStore Review Search API Server with GAE

Notifications You must be signed in to change notification settings

itsubaki/appstore-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

appstore-api

  • AppStore Review Search API Server with GAE

Required

  • go 1.8

How to Build

Install

$ go get github.com/itsubaki/appstore-api

Make GAE Application

package main

import api "github.com/itsubaki/appstore-api"

func init() {
    api.Init()
}
# app.yaml
runtime: go
api_version: go1

handlers:
- url: /.*
  script: _go_app
# cron.yaml
- description: "Capture Review"
  url: /review/capture?id=${IOS_APP_ID}&name=${APP_NAME}
  schedule: every 1 hours
- description: "Capture Ranking"
  url: /ranking/capture
  schedule: every 24 hours

Deploy

$ ls
app.yaml cron.yaml main.go
$ gcloud app deploy app.yaml  --project ${PROJECT_ID}
$ gcloud app deploy cron.yaml --project ${PROJECT_ID}

API Example

AppInfo

$ curl "https://${PROJECT_ID}.appspot.com/app"

Ranking

$ curl "https://${PROJECT_ID}.appspot.com/ranking"
$ curl "https://${PROJECT_ID}.appspot.com/ranking/search?id=${IOS_APP_ID}"
$ curl "https://${PROJECT_ID}.appspot.com/ranking/search?query=${IOS_APP_ARTIST}"

Review

$ curl "https://${PROJECT_ID}.appspot.com/review"
$ curl "https://${PROJECT_ID}.appspot.com/review/search?id=${IOS_APP_ID}&query=Rating:5"

About

AppStore Review Search API Server with GAE

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages