|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.roarsoftware.lastfm.Venue
public class Venue
Venue information bean.
Method Summary | |
---|---|
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 |
getPostal()
|
java.lang.String |
getStreet()
|
java.lang.String |
getTimezone()
|
java.lang.String |
getUrl()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public java.lang.String getId()
public java.lang.String getUrl()
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 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 key
public 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 key
public 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 key
getPastEvents(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 key
public 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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |