Versions in this module Expand all Collapse all v0 v0.1.11 Jul 13, 2024 v0.1.10 May 29, 2024 v0.1.9 Jul 3, 2023 v0.1.8 May 2, 2023 v0.1.7 Apr 14, 2021 v0.1.6 Apr 14, 2021 v0.1.5 Dec 28, 2019 v0.1.4 Aug 2, 2019 v0.1.3 Jul 31, 2019 v0.1.2 Jul 31, 2019 v0.1.1 Jul 31, 2019 Changes in this version + var SortByPublishedAt = SortEnum + var SortByStartsAt = SortEnum + var SortByUpdatedAt = SortEnum + type SortEnum struct + func (s SortEnum) GetValue() string v0.1.0 Jul 31, 2019 Changes in this version + const Version + type Client struct + UserAgent string + func NewClient(accessToken string) *Client + func (c *Client) GetEvent(eventID int, options ...OptionFunc) (*Event, *RateLimit, error) + func (c *Client) GetEvents(params *GetEventsParams) ([]*Event, *RateLimit, error) + func (c *Client) GetGroup(groupName string, options ...OptionFunc) (*Group, *RateLimit, error) + func (c *Client) GetGroupEvents(groupName string, params *GetEventsParams) ([]*Event, *RateLimit, error) + type Event struct + Address string + Description string + EndsAt time.Time + Group int + ID int + Lat *float64 + Long *float64 + Participants int + PublicURL string + PublishedAt time.Time + StartsAt time.Time + TicketLimit int + Title string + UpdatedAt time.Time + VenueName string + Waitlisted int + type GetEventsParams struct + Callback string + Locale string + Page int + Query string + Since *time.Time + Sort Sort + Until *time.Time + type Group struct + CountryCode string + Description string + ID int + Logo string + MembersCount int + Name string + PublicURL string + type OptionFunc func(map[string]string) + func WithLocale(locale string) OptionFunc + type RateLimit struct + Limit int + Name string + Period int + Remaining int + Until time.Time + type Sort int + const Nothing + const PublishedAt + const StartsAt + const UpdatedAt + func (s Sort) String() string