Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 814 Bytes

README.md

File metadata and controls

50 lines (39 loc) · 814 Bytes

Scraper for parsing app information from Google Play Store

How to use?

import "github.com/betacraft/scraper"

func xyz(){
   app, err := scraper.Scrape("https://play.google.com/store/apps/details?id=com.yourpackage.name")
   if err != nil {
       //parsing failed
   }
}

App struct

type App struct {
	Name        string
	IconUrl     string
	Price       int
	Description string
	LastUpdated string
	FileSize    string

	OperatingSystem string

	VersionName string

	ScreenshotUrls []string

	Author    string
	AuthorUrl string

	Genre string

	AggregateRating string
	RatingValue     int
	RatingCount     int
	ContentRating   string

	Downloads string

	ApkDownloadUrl  string
	ApkDownloadSize string
	ApkDownloadMD5  string
}

Supported sites

  1. Google Play Store
  2. AndroidDrawer