Documentation
¶
Overview ¶
Package insights builds deterministic comparisons from official Google Play report exports. It performs no network or credential access.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DailyReport ¶
type DailyReport struct {
Package string `json:"package"`
Source string `json:"source"`
Date string `json:"date"`
PreviousDate string `json:"previous_date"`
Sources []Source `json:"sources"`
Metrics []Metric `json:"metrics"`
}
func Daily ¶
func Daily(request DailyRequest) (DailyReport, error)
Daily compares one selected UTC report date with the preceding date.
type DailyRequest ¶
type Metric ¶
type Metric struct {
Name string `json:"name"`
Unit string `json:"unit"`
Current *float64 `json:"current,omitempty"`
Previous *float64 `json:"previous,omitempty"`
Delta *float64 `json:"delta,omitempty"`
DeltaPercent *float64 `json:"delta_percent,omitempty"`
Status string `json:"status"`
Reason string `json:"reason,omitempty"`
}
type Report ¶
type Report struct {
Package string `json:"package"`
Source string `json:"source"`
Week Range `json:"week"`
PreviousWeek Range `json:"previous_week"`
Sources []Source `json:"sources"`
Metrics []Metric `json:"metrics"`
}
func Weekly ¶
func Weekly(request WeeklyRequest) (Report, error)
Weekly compares the selected week with the immediately preceding week.
Click to show internal directories.
Click to hide internal directories.