app-store-scraper

scrape data from the itunes app store

MIT License

Stars
0

app-store-scraper

scrape data from the itunes app store

Go scraper to get data from the iTunes/Mac App Store via the iTunes Search API. The goal is to provide an interface as close as possible to the app-store-scraper Node.js module.

Installation

go get -u github.com/StefMa/app-store-scraper/

Usage

App

Retrieves the full details of an application.

import "github.com/StefMa/app-store-scraper/scraper"

func main() {
	options := scraper.Options{
		Country:  "[COUNTRY_CODE]",
		Language: "[LANGUAGE]",
	}
	result, err := scraper.App("[APP_ID]", options)
	if err != nil {
		// Handle error
	}
	// Do something with the result
}

Full working example at the Go Playground.

Developer

Retrieves a list of apps by the given developer id.

import "github.com/StefMa/app-store-scraper/scraper"

func main() {
	options := scraper.Options{
		Country:  "[COUNTRY_CODE]",
		Language: "[LANGUAGE]",
		Limit:    [LIMIT],
	}
	results, err := scraper.Developer("[DEVELOPER_ID]", options)
	if err != nil {
		// Handle error
	}
	// Do something with the result
}

Full working example at the Go Playground.

Package Rankings
Top 16.01% on Proxy.golang.org