Eventbrite User

Figure 1. Instantiate User
//user type
$user = eden('eventbrite')->user($_SESSION['ebtoken']);
//personal type
$user = eden('eventbrite')->user('[USER_KEY]', '[APP_SECRET]');
Figure 2. User Methods
Method Arguments Returns Description
$user->add($user, $pass);
  1. string
  2. string
array Create a new user
$user->getDetail($id = NULL);
  1. int|string|null
array Returns detail about the user
$user->getEvents($user = NULL, $hide = NULL, $status = NULL, $order = NULL);
  1. string|null
  2. string|array|null
  3. string|null
  4. string|null
array Returns a user's event list
$user->getOrganizers(); none array Returns a user's oraganizations
$user->getTickets(); none array Returns a user's ticket history
$user->getVenues(); none array Returns a user's venue list they have used before
$user->update($email = NULL, $pass = NULL);
  1. string|null
  2. string|null
array Updates the current user

© 2012 Openovate Labs. All rights reserved.