geo.getEvents {RLastFM}R Documentation

API call to geo.getEvents

Description

API call to geo.getEvents

Usage

geo.getEvents(location = NA, lat = NA, long = NA, page = NA, distance = NA, key = lastkey, parse = TRUE)

Arguments

location Location to find events. Accepts city, state, and country arguments.
lat Latitude to find events
long Longitude to find events
page Results are paginated. If more than the default 10 results are desired, choose a subsequent page.
distance Distance from location or lat/long to search for events
key API key, defaults to global variable lastkey
parse Parse the returned XML into a list?

Value

If parse = TRUE,

eventid Event ID
title Event name
headliner Headliner. One artist.
venue Venue name
venueid Venue ID
city Venue city
zip Venue postal code
lat Venue latitude
long Venue longitude
artists If more than one artist is playing at event, a list of all artists.

If parse = FALSE, a object of type "XMLInternalDocument" and "XMLAbstractDocument"

Note

API is sensitive to spelling.

Author(s)

Greg Hirson <ghirson@ucdavis.edu>

References

http://www.last.fm/api/show?service=270

Examples

res = geo.getEvents("Davis, CA")
#res$venue

[Package RLastFM version 0.1-4 Index]