Versions in this module Expand all Collapse all v1 v1.0.1 Sep 9, 2016 v1.0.0 Apr 29, 2016 Changes in this version + const API_URL + const Depreciated + const EndPointError + const InvalidAuth + const MODE + const NotAuthorized + const ParamError + const RateLimitExceeded + const VERSION + type ApiError struct + Meta Meta + StatusCode int + Url *url.URL + func (aerr ApiError) Error() string + type Attribute struct + Count int + Items []Omit + Name string + Summary string + Type string + type Attributes struct + Groups []Attribute + type Category struct + ID string + Icon Icon + Name string + PluralName string + Primary bool + ShortName string + type Contact struct + FormattedPhone string + Phone string + Twitter string + type Entitie struct + Indicies []int + Type string + type Entries struct + Count int + Items []EntryItem + type EntryItem struct + Additions Omit + Description string + EntryID string + Name string + Options Omit + Price string + Prices []string + type Event struct + AllDay bool + Categories []Category + Date int + HereNow HereNow + ID string + Name string + Stats Stats + TimeZone string + Url string + type EventsResponse struct + Count int + Items []Event + Summary string + type Followers struct + Count int + type FoursquareApi struct + HttpClient *http.Client + func NewFoursquareApi(clientID string, clientSecret string) *FoursquareApi + func (a *FoursquareApi) Close() + func (a *FoursquareApi) SetOauthToken(oauthToken string) + func (a FoursquareApi) GetCategories() (categories []Category, err error) + func (a FoursquareApi) GetVenue(id string) (venue Venue, err error) + func (a FoursquareApi) GetVenueEvents(id string) (events []Event, err error) + func (a FoursquareApi) GetVenueHereNow(id string, uv url.Values) (hereNow HereNow, err error) + func (a FoursquareApi) GetVenueHours(id string) (hours HoursResponse, err error) + func (a FoursquareApi) GetVenueLikes(id string) (likes LikesResponse, err error) + func (a FoursquareApi) GetVenueLinks(id string) (links LinksResponse, err error) + func (a FoursquareApi) GetVenueListed(id string, uv url.Values) (lists Listed, err error) + func (a FoursquareApi) GetVenueMenu(id string) (menu MenuResponse, err error) + func (a FoursquareApi) GetVenuePhotos(id string, uv url.Values) (photos []Photo, err error) + func (a FoursquareApi) GetVenueSimilar(id string) (venues SimilarVenueResponse, err error) + func (a FoursquareApi) Search(uv url.Values) (venues []Venue, err error) + type HereNow struct + Count int + Groups Omit + Items []HereNowItem + Summary string + type HereNowItem struct + CreatedAt int + ID string + Like bool + Likes Likes + TimeZoneOffset int + Type string + User User + type Hours struct + IsOpen bool + Status string + Timeframes []TimeFrameHours + type HoursResponse struct + Hours Hours + Popular Hours + type HoursVenue struct + IsOpen bool + Status string + Timeframes []TimeFrame + type Icon struct + Prefix string + Suffix string + type Interaction struct + EntryUrl string + type Likes struct + Count int + Groups Omit + Items []User + Summary string + type LikesResponse struct + Like bool + Likes Likes + type Link struct + LinkedID string + Provider Provider + Url string + type LinksResponse struct + Count int + Items []Link + type List struct + CanonicalUrl string + Collaborative bool + CreatedAt int + Description string + Editable bool + Followers Followers + ID string + ListItems []ListItems + Name string + Photo Photo + Public bool + Type string + UpdatedAt int + Url string + User User + type ListGroup struct + Count int + Items []List + Name string + Type string + type ListItem struct + CreatedAt int + ID string + Photo Photo + Tip Tip + type ListItems struct + Count int + Items []ListItem + type Listed struct + Count int + Groups []ListGroup + type Location struct + Address string + Cc string + City string + Country string + CrossStreet string + Distance int + FormattedAddress string + IsFuzzed bool + Lat float64 + Lng float64 + PostalCode string + State string + type Menu struct + Entries Entries + MenuID string + Name string + type MenuResponse struct + Menus Menus + Provider Provider + type Menus struct + Count int + Items []Menu + type Meta struct + Code int + ErrorDetail string + ErrorType string + type Omit struct + type Open struct + End string + RenderedTime string + Start string + type Photo struct + CreatedAt int + Height int + ID string + Prefix string + Source PhotoSource + Suffix string + User User + Visibility string + Width int + type PhotoGroup struct + Count int + Items []Photo + Name string + Type string + type PhotoSource struct + Name string + Url string + type Photos struct + Count int + Groups []PhotoGroup + type PhotosResponse struct + Count int + DupesRemoved int + Items []Photo + type Phrase struct + Count int + Phrase string + Sample Sample + type Popular struct + IsOpen bool + Status string + TimeFrames []TimeFrame + type Price struct + Currency string + Message string + Tier int + type Provider struct + AttributionImage string + AttributionLink string + AttributionText string + ID string + Name string + type Reason struct + ReasonName string + Summary string + Type string + type Reasons struct + Count int + Items []Reason + type Sample struct + Count int + Entities []Entitie + Text string + type ShortMenu struct + Anchor string + Label string + MobileUrl string + Type string + Url string + type SimilarVenueResponse struct + Count int + Items []Venue + type SpecialItem struct + Description string + Detail int + FinePrint string + FriendsHere []User + Icon string + Interaction Interaction + Message string + Progress int + ProgressDescription string + Provider string + Redemption string + State string + Target int + Title string + Type string + Unlocked bool + type Specials struct + Count int + Items []SpecialItem + type Stats struct + CheckinsCount int + TipCount int + UsersCount int + VisitsCount int + type TimeFrame struct + Days string + IncludesToday bool + Open []Open + Segments Omit + type TimeFrameHours struct + Days []int + IncludesToday bool + Open []Open + Segements Omit + type Tip struct + CanonicalUrl string + CreatedAt int + EditedAt int + Flags Omit + ID string + Like bool + Likes Likes + LogView bool + Photo Photo + PhotoUrl string + Text string + Todo Omit + Type string + Url string + User User + type TipGroup struct + Count int + Items []Tip + Name string + Type string + type Tips struct + Count int + Groups []TipGroup + type User struct + FirstName string + Gender string + ID string + LastName string + Photo UserPhoto + RelationShip string + type UserPhoto struct + Prefix string + Suffix string + type Venue struct + Attributes Attributes + BestPhoto Photo + CanonicalUrl string + Categories []Category + Contact Contact + CreatedAt int + Dislike bool + HasMenu bool + Hours HoursVenue + ID string + Inbox Omit + Like bool + Likes Likes + Listed Listed + Location Location + Menu ShortMenu + Name string + Ok bool + PageUpdates Omit + Photos Photos + Phrases []Phrase + Popular Popular + Price Price + Rating float32 + RatingColor string + RatingSignals int + Reasons Reasons + ShortUrl string + Specials Specials + Stats Stats + Tags []string + TimeZone string + Tips Tips + Url string + VenueChains Omit + Verified bool Incompatible versions in this module v4.0.0+incompatible Sep 16, 2018 v3.1.0+incompatible Jul 19, 2017 v3.0.2+incompatible Mar 17, 2017 v3.0.1+incompatible Dec 27, 2016 v3.0.0+incompatible Dec 27, 2016 v2.0.0+incompatible Oct 28, 2016