app

package
v0.0.0-...-4fd7eb7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	AdSupported              bool                `json:"ad_supported"`
	AndroidVersion           string              `json:"android_version,omitempty"`
	AppId                    string              `json:"app_id,omitempty"`
	Available                bool                `json:"available"`
	ContentRating            string              `json:"content_rating,omitempty"`
	ContentRatingDescription string              `json:"content_rating_description,omitempty"`
	Country                  string              `json:"country,omitempty"`
	Description              string              `json:"description,omitempty"`
	DescriptionHTML          string              `json:"description_html,omitempty"`
	Developer                string              `json:"developer,omitempty"`
	DeveloperAddress         string              `json:"developer_address,omitempty"`
	DeveloperEmail           string              `json:"developer_email,omitempty"`
	DeveloperID              string              `json:"developer_id,omitempty"`
	DeveloperURL             string              `json:"developer_url,omitempty"`
	DeveloperWebsite         string              `json:"developer_website,omitempty"`
	EditorsChoice            bool                `json:"editors_choice"`
	FamilyGenre              string              `json:"family_genre,omitempty"`
	FamilyGenreID            string              `json:"family_genre_id,omitempty"`
	Features                 []*Feature          `json:"features"`
	Free                     bool                `json:"free"`
	Genre                    string              `json:"genre,omitempty"`
	GenreId                  string              `json:"genre_id,omitempty"`
	HeaderImage              string              `json:"header_image,omitempty"`
	IAPOffers                bool                `json:"iap_offers"`
	IAPRange                 string              `json:"iap_range,omitempty"`
	Icon                     string              `json:"icon,omitempty"`
	Installs                 string              `json:"installs,omitempty"`
	InstallsMax              int64               `json:"installs_max"`
	InstallsMin              int64               `json:"installs_min"`
	Language                 string              `json:"language,omitempty"`
	Permissions              map[string][]string `json:"permissions"`
	Price                    *price.Price        `json:"price"`
	PriceText                string              `json:"price_text"`
	PrivacyPolicy            string              `json:"privacy_policy,omitempty"`
	Ratings                  int64               `json:"ratings,omitempty"`
	RatingsHistogram         map[int]int64       `json:"ratings_histogram,omitempty"`
	RecentChanges            string              `json:"recent_changes,omitempty"`
	RecentChangesHTML        string              `json:"recent_changes_html,omitempty"`
	Released                 string              `json:"released,omitempty"`
	ReviewsTotalCount        int64               `json:"reviews_total_count"`
	Score                    float64             `json:"score"`
	ScoreText                string              `json:"score_text"`
	Screenshots              []string            `json:"screenshots,omitempty"`
	SimilarURL               string              `json:"similar_url,omitempty"`
	Size                     string              `json:"size,omitempty"`
	Summary                  string              `json:"summary,omitempty"`
	Title                    string              `json:"title,omitempty"`
	URL                      string              `json:"url,omitempty"`
	Updated                  time.Time           `json:"updated"`
	Version                  string              `json:"version,omitempty"`
	Video                    string              `json:"video,omitempty"`
	VideoImage               string              `json:"video_image,omitempty"`
}

func Detail

func Detail(ctx context.Context, appId string, opt *Options) (*App, error)

type Feature

type Feature struct {
	Title       string `json:"title"`
	Description string `json:"description"`
}

type Options

type Options struct {
	Country  string
	Language string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL