 # @option query [function] onError
 # @private
 _getEvent = (query) ->
+	console.log 'eventbrite._getEvent'
 	eventbrite.event_get({id: query.eventId}, (err, data) ->
 		db.set 
 			events: [

						title: event.title
						location:
							address: "#{event.venue.address}, #{event.venue.city}, #{event.venue.country}"
								name: event.venue.name
								lon: event.venue.longitude
								lat: event.venue.latitude

			db.set 
				events: events

# @param [string] url
# @return id or undefined
_getEventId = (url) ->
	id = (new RegExp(/eventbrite\.com\/e\/[A-Za-z0-9-]*-(\d+)+/g)).exec(url)?[1] 
	id ?= undefined
	return id

# Get ID for an eventbrite organiser
# @param [string] url
# @return id or undefined
_getOrganiserId = (url) ->
	id = (new RegExp(/eventbrite\.com\/o\/[A-Za-z0-9-]*-(\d+)+/g)).exec(url)?[1] 
	id ?= undefined
	return id

# Get events for an organiser
