func (s *VenueService) Trending(params *VenueTrendingParams) ([]Venue, *http.Response, error) {
	venues := new(venueTrendingResp)
	response := new(Response)

	resp, err := s.sling.New().Get("trending").QueryStruct(params).Receive(response, response)
	if err == nil {
		json.Unmarshal(response.Response, venues)
	}

	return venues.Venues, resp, relevantError(err, *response)
}
func (s *VenueService) Trending(params *VenueTrendingParams) ([]Venue, *http.Response, error) {
	venues := new(venueTrendingResp)
	response := new(Response)

	resp, err := s.sling.New().Get("trending").QueryStruct(params).Receive(response, response)
	if err == nil {
		json.Unmarshal(response.Response, venues)
	}

	return venues.Venues, resp, relevantError(err, *response)
}
func ( s * VenueService ) Trending ( params * VenueTrendingParams ) ( [ ] Venue , * http . Response , error ) { venues := new ( venueTrendingResp ) response := new ( Response ) resp , err := s . sling . New ( ) . Get ( " " ) . QueryStruct ( params ) . Receive ( response , response ) if err == nil { json . Unmarshal ( response . Response , venues ) } return venues . Venues , resp , relevantError ( err , * response ) }
// Trending returns a list of venues near the current location with the most people currently checked in.
// https://developer.foursquare.com/docs/api/venues/trending
Trending returns a list of venues near the current location with the most people currently checked in . https : // developer . foursquare . com / docs / api / venues / trending