Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ChartsCmd = &cobra.Command{
Use: "charts",
Short: "Charts & analytics",
Long: "View, explore, and export subscription analytics charts from your RevenueCat project.",
}
ChartsCmd is the parent command for chart operations
Functions ¶
This section is empty.
Types ¶
type ChartData ¶
type ChartData struct {
Object string `json:"object"`
Category string `json:"category"`
DisplayType string `json:"display_type"`
DisplayName string `json:"display_name"`
Description string `json:"description"`
DocLink *string `json:"documentation_link,omitempty"`
LastComputedAt *int64 `json:"last_computed_at,omitempty"`
StartDate *int64 `json:"start_date,omitempty"`
EndDate *int64 `json:"end_date,omitempty"`
YAxisCurrency string `json:"yaxis_currency,omitempty"`
FilterAllowed bool `json:"filtering_allowed"`
SegmentAllowed bool `json:"segmenting_allowed"`
Resolution string `json:"resolution"`
Values json.RawMessage `json:"values"`
Summary json.RawMessage `json:"summary,omitempty"`
YAxis string `json:"yaxis"`
Segments json.RawMessage `json:"segments,omitempty"`
Measures json.RawMessage `json:"measures,omitempty"`
UserSelectors json.RawMessage `json:"user_selectors,omitempty"`
}
type ChartOptions ¶
type ChartOptions struct {
Object string `json:"object"`
Resolutions []ResolutionOption `json:"resolutions"`
Segments []SegmentOption `json:"segments"`
Filters []FilterOption `json:"filters"`
}
type FilterOption ¶
type FilterOption struct {
ID string `json:"id"`
DisplayName string `json:"display_name"`
GroupDisplayName string `json:"group_display_name,omitempty"`
Options []FilterValue `json:"options"`
}
type FilterValue ¶
type ResolutionOption ¶
type SegmentOption ¶
Click to show internal directories.
Click to hide internal directories.