|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.umass.lastfm.ImageHolder
de.umass.lastfm.Venue
public class Venue
Venue information bean.
Field Summary |
---|
Fields inherited from class de.umass.lastfm.ImageHolder |
---|
imageUrls |
Method Summary | |
---|---|
String |
getCity()
|
String |
getCountry()
|
static Collection<Event> |
getEvents(String venueId,
String apiKey)
Get a list of upcoming events at this venue. |
String |
getId()
|
float |
getLatitude()
|
float |
getLongitude()
|
String |
getName()
|
static PaginatedResult<Event> |
getPastEvents(String venueId,
int page,
String apiKey)
Get a paginated list of all the events held at this venue in the past. |
static PaginatedResult<Event> |
getPastEvents(String venueId,
String apiKey)
Get a paginated list of all the events held at this venue in the past. |
String |
getPhonenumber()
|
String |
getPostal()
|
String |
getStreet()
|
String |
getTimezone()
|
String |
getUrl()
Returns a last.fm URL to this venue, e.g.: http://www.last.fm/venue/<id>-<venue name> |
String |
getWebsite()
Returns an URL to the actual venue's website. |
static Collection<Venue> |
search(String venue,
String apiKey)
Search for a venue by venue name. |
static Collection<Venue> |
search(String venue,
String country,
String apiKey)
Search for a venue by venue name. |
Methods inherited from class de.umass.lastfm.ImageHolder |
---|
availableSizes, getImageURL, loadImages |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getId()
public String getUrl()
getWebsite()
public String getWebsite()
public String getCity()
public String getCountry()
public float getLatitude()
public float getLongitude()
public String getName()
public String getPostal()
public String getStreet()
public String getTimezone()
public String getPhonenumber()
public static Collection<Venue> search(String venue, String apiKey)
venue
- The venue name you would like to search forapiKey
- A Last.fm API key
public static Collection<Venue> search(String venue, String country, 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 key
public static Collection<Event> getEvents(String venueId, String apiKey)
venueId
- The venue id to fetch the events forapiKey
- A Last.fm API key
getPastEvents(java.lang.String, java.lang.String)
public static PaginatedResult<Event> getPastEvents(String venueId, String apiKey)
venueId
- The id for the venue you would like to fetch event listings forapiKey
- A Last.fm API key
public static PaginatedResult<Event> getPastEvents(String venueId, int page, 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |