Re: Any way to list just the event name, date, time??

19 views
Skip to first unread message
Message has been deleted

Eventbrite Developers

unread,
Mar 8, 2021, 12:42:23 PM3/8/21
to Eventbrite Developers
Hi Teneika,

You should be able to retrieve event data such as this using the 'List Your Events by Status' or 'List Your Events by Date' calls. You can find those referenced here: https://www.eventbrite.com/platform/docs/events. Any filtering beyond that mentioned in our documentation, you will need to handle on your end. 

Thanks,
Donna

On Wednesday, February 24, 2021 at 12:54:36 AM UTC-6 teneik...@gmail.com wrote:
I am running this code below but it is too large with all of the attributes, is there anyway to retrieve the event name, date and time only?

 function getEvents() {
  
 //Call the Eventbrite API for EB data
var options = {
    "async": true,
    "crossDomain": true,
    "method" : "GET",
    "headers" : {
      "Authorization" : "Bearer TXOPFZK42MQLR7ASJ5JI",
      "Eb-Api-Switches-Enabled": "OMIT_DESCRIPTION_FROM_EVENT_CONTAINER"
                }
              };
var response = UrlFetchApp.fetch("https://www.eventbriteapi.com/v3/organizations/191282775728/events/", options);
 //for(i in response) {
  Logger.log(response.getContentText());
  // var fact = response.getContentText();
  // var sheet = SpreadsheetApp.getActiveSheet();
  // sheet.getRange(1,1).setValue([fact]);
  }

Nathan Tinius

unread,
Mar 8, 2021, 1:21:40 PM3/8/21
to Eventbrite Developers
You should 100% delete that API token a regenerate a new one. ;)
Reply all
Reply to author
Forward
0 new messages