public class Venue extends ImageHolder
imageUrls
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCity() |
java.lang.String |
getCountry() |
static java.util.Collection<Event> |
getEvents(java.lang.String venueId,
java.lang.String apiKey)
Get a list of upcoming events at this venue.
|
java.lang.String |
getId() |
float |
getLatitude() |
float |
getLongitude() |
java.lang.String |
getName() |
static PaginatedResult<Event> |
getPastEvents(java.lang.String venueId,
int page,
java.lang.String apiKey)
Get a paginated list of all the events held at this venue in the past.
|
static PaginatedResult<Event> |
getPastEvents(java.lang.String venueId,
java.lang.String apiKey)
Get a paginated list of all the events held at this venue in the past.
|
java.lang.String |
getPhonenumber() |
java.lang.String |
getPostal() |
java.lang.String |
getStreet() |
java.lang.String |
getTimezone() |
java.lang.String |
getUrl()
Returns a last.fm URL to this venue, e.g.: http://www.last.fm/venue/<id>-<venue name>
|
java.lang.String |
getWebsite()
Returns an URL to the actual venue's website.
|
static java.util.Collection<Venue> |
search(java.lang.String venue,
java.lang.String apiKey)
Search for a venue by venue name.
|
static java.util.Collection<Venue> |
search(java.lang.String venue,
java.lang.String country,
java.lang.String apiKey)
Search for a venue by venue name.
|
availableSizes, getImageURL, loadImages
public java.lang.String getId()
public java.lang.String getUrl()
getWebsite()
public java.lang.String getWebsite()
public java.lang.String getCity()
public java.lang.String getCountry()
public float getLatitude()
public float getLongitude()
public java.lang.String getName()
public java.lang.String getPostal()
public java.lang.String getStreet()
public java.lang.String getTimezone()
public java.lang.String getPhonenumber()
public static java.util.Collection<Venue> search(java.lang.String venue, java.lang.String apiKey)
venue
- The venue name you would like to search forapiKey
- A Last.fm API keypublic static java.util.Collection<Venue> search(java.lang.String venue, java.lang.String country, java.lang.String apiKey)
venue
- The venue name you would like to search forcountry
- Filter your results by country. Expressed as an ISO 3166-2 codeapiKey
- A Last.fm API keypublic static java.util.Collection<Event> getEvents(java.lang.String venueId, java.lang.String apiKey)
venueId
- The venue id to fetch the events forapiKey
- A Last.fm API keygetPastEvents(java.lang.String, java.lang.String)
public static PaginatedResult<Event> getPastEvents(java.lang.String venueId, java.lang.String apiKey)
venueId
- The id for the venue you would like to fetch event listings forapiKey
- A Last.fm API keypublic static PaginatedResult<Event> getPastEvents(java.lang.String venueId, int page, java.lang.String apiKey)
venueId
- The id for the venue you would like to fetch event listings forpage
- The page of results to returnapiKey
- A Last.fm API key