Eventbrite Venue

Figure 1. Instantiate Venue
//user type
$venue = eden('eventbrite')->venue($_SESSION['ebtoken']);
//personal type
$venue = eden('eventbrite')->venue('[USER_KEY]', '[APP_SECRET]');
Figure 2. Venue Methods
Method Arguments Returns Description
$venue->create($organizer, $venue, $country, $region);
  1. string
  2. string
  3. string
  4. string
array Creates the venue
$venue->setAddress($address, $address2 = NULL);
  1. string
  2. string|null
Eden_Eventbrite_Venue Set Address
$venue->setCity($city);
  1. string
Eden_Eventbrite_Venue Set city
$venue->setCountry($country);
  1. string
Eden_Eventbrite_Venue Set Country
$venue->setPostal($code);
  1. string
Eden_Eventbrite_Venue Set postal
$venue->setRegion($region);
  1. string
Eden_Eventbrite_Venue Set Region
$venue->update($id, $venue);
  1. int
  2. string
array Updates the venue

© 2012 Openovate Labs. All rights reserved.