Versions in this module Expand all Collapse all v1 v1.0.0 Oct 15, 2026 Changes in this version + const DefaultBaseURL + const Version + type CitiesParams struct + Country string + Cursor string + Limit int + Q string + type City struct + CityGuideURL string + Country string + CountryCode string + FestivalName string + FestivalURL string + HalloweenURL *string + Name string + Slug string + Summary string + type CityList struct + Cities []City + NextCursor *string + Total int + type Client struct + BaseURL string + HTTPClient *http.Client + MaxRetries int + UserAgent string + func New(opts ...Option) *Client + func (c *Client) AllCities(ctx context.Context, p CitiesParams) ([]City, error) + func (c *Client) AllEvents(ctx context.Context, p EventsParams) ([]Event, error) + func (c *Client) Cities(ctx context.Context, p CitiesParams) (*CityList, error) + func (c *Client) City(ctx context.Context, slugOrName string) (map[string]any, error) + func (c *Client) CreateReport(ctx context.Context, r ReportRequest) (*ReportJob, error) + func (c *Client) Event(ctx context.Context, id string) (*Event, error) + func (c *Client) Events(ctx context.Context, p EventsParams) (*EventList, error) + func (c *Client) GetReport(ctx context.Context, id string) (*ReportJob, error) + func (c *Client) Info(ctx context.Context) (map[string]any, error) + func (c *Client) Partners(ctx context.Context, category, q string) (map[string]any, error) + func (c *Client) Pricing(ctx context.Context, city string) (map[string]any, error) + func (c *Client) RunReport(ctx context.Context, r ReportRequest) (*ReportJob, error) + func (c *Client) SendMessage(ctx context.Context, m Message, idempotencyKey string) (map[string]any, error) + type Error struct + Body []byte + Code string + Message string + Status int + func (e *Error) Error() string + type Event struct + AgeMin *int + City string + CitySlug *string + Description string + End *string + EntryRule *string + ID string + Image *string + Name string + Start string + Status string + Tickets Tickets + Timezone *string + Type string + URL string + Venue *Venue + WaitlistOpen bool + WhatsAppGroup *string + type EventList struct + Events []Event + NextCursor *string + Note string + Total int + type EventsParams struct + City string + Cursor string + IncludePast bool + Limit int + Type string + type Message struct + City string + DryRun bool + Email string + Message string + Name string + Subject string + type Option func(*Client) + func WithBaseURL(u string) Option + func WithHTTPClient(h *http.Client) Option + func WithMaxRetries(n int) Option + type ReportJob struct + CompletedAt string + CreatedAt string + ExpiresAt string + ID string + Result json.RawMessage + Status string + StatusURL string + Type string + type ReportRequest struct + Cities []string + EventType string + Type string + type TicketOption struct + Currency string + Name string + Price float64 + type Tickets struct + BuyURL string + EarlyAccess json.RawMessage + Note string + Options []TicketOption + SalesOpenAt *string + Status string + type Venue struct + Address string + Name string