venues_aspects.go
func (s *VenueService) Listed(params *VenueListedParams) (*Listed, *http.Response, error) {
	lists := new(venueListedResp)
	response := new(Response)

	resp, err := s.sling.New().Get(params.VenueID+"/listed").QueryStruct(params).Receive(response, response)
	if err == nil {
		json.Unmarshal(response.Response, lists)
	}

	return &lists.Lists, resp, relevantError(err, *response)
}
func (s *VenueService) Listed(params *VenueListedParams) (*Listed, *http.Response, error) {
	lists := new(venueListedResp)
	response := new(Response)

	resp, err := s.sling.New().Get(params.VenueID+"/listed").QueryStruct(params).Receive(response, response)
	if err == nil {
		json.Unmarshal(response.Response, lists)
	}

	return &lists.Lists, resp, relevantError(err, *response)
}
func ( s * VenueService ) Listed ( params * VenueListedParams ) ( * Listed , * http . Response , error ) { lists := new ( venueListedResp ) response := new ( Response ) resp , err := s . sling . New ( ) . Get ( params . VenueID + " " ) . QueryStruct ( params ) . Receive ( response , response ) if err == nil { json . Unmarshal ( response . Response , lists ) } return & lists . Lists , resp , relevantError ( err , * response ) }
// Listed returns the lists that this venue appears on
// https://developer.foursquare.com/docs/api/venues/listed
Listed returns the lists that this venue appears on https : // developer . foursquare . com / docs / api / venues / listed