venues_general.go
func (s *VenueService) SuggestCompletion(params *VenueSuggestParams) ([]MiniVenue, *http.Response, error) {
	venues := new(venueSuggestResp)
	response := new(Response)

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

	return venues.MiniVenues, resp, relevantError(err, *response)
}
func (s *VenueService) SuggestCompletion(params *VenueSuggestParams) ([]MiniVenue, *http.Response, error) {
	venues := new(venueSuggestResp)
	response := new(Response)

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

	return venues.MiniVenues, resp, relevantError(err, *response)
}
func ( s * VenueService ) SuggestCompletion ( params * VenueSuggestParams ) ( [ ] MiniVenue , * http . Response , error ) { venues := new ( venueSuggestResp ) response := new ( Response ) resp , err := s . sling . New ( ) . Get ( " " ) . QueryStruct ( params ) . Receive ( response , response ) if err == nil { json . Unmarshal ( response . Response , venues ) } return venues . MiniVenues , resp , relevantError ( err , * response ) }
// SuggestCompletion returns a list of mini-venues partially matching the search term, near the location.
// https://developer.foursquare.com/docs/api/venues/suggestcompletion
SuggestCompletion returns a list of mini - venues partially matching the search term near the location . https : // developer . foursquare . com / docs / api / venues / suggestcompletion