Eventbrite is a website that lets people search, discover and create events near them.
In this tutorial, you will learn how to connect the Eventbrite REST API to Google Sheets in 5 steps:
To pull data from the Eventbrite API to Google Sheets, you’ll have to install and open the Apipheny Google Sheets add-on.
Apipheny is a no-code API integrator for Google Sheets that you can use to make unlimited API requests, connect to unlimited APIs, save API requests, schedule API requests, and more. Click here for more info about Apipheny.
1. Install Apipheny by opening the following link in on desktop and then clicking the Install button on the page: https://gsuite.google.com/marketplace/app/apipheny/966163326746
2. After you’ve installed Apipheny, open a Google Sheet and then click on the Add-Ons option in the top menu. In the add-ons menu, you should see Apipheny.
Click Apipheny > Import API to open the Apipheny sidebar in your Google Sheets.
After you’ve created an EVentbrite account and logged in to your Eventbrite deverloper account, a page containing your private token will be displayed.
Copy and paste your private token to safe location, because you’ll need it in the next steps:
In this section, we’ll show you how to browse the Eventbrite API documentation to find an Eventbrite API URL endpoint that retrieves the information you need from your Eventbrite account or from the Eventbrite database of events.
If you already know the API URL and endpoint you’re going to use, or you want to use the same example URL as us, just skip to Step 4.
First, open the Eventbrite API documentation page: https://www.eventbrite.com/platform/api#/reference
The menu on the left contains an Introduction section and a Reference section. In the Reference section we can find a list of API categories, each with its own endpoints:
Clicking on a category scrolls to that category’s section, and each category’s sction contains a list of associated endpoints.
For example, when clicking the Attendee category, the page scrolls to an introduction section and a list of its 2 endpoints:
All API calls to Eventbrite should be made with this base URL:
An example Eventbrite API URL with endpoint is Retrieve, and this is what the whole API URL looks like when put together:
Each endpoint’s documentation contains descriptions of the endpoint’s purpose. On a separate column on the right, you can find the CURL request to the endpoint, the available parameters, the expected response and an example response:
Now go back to your Google Sheet and make sure that the Apipheny add-on is open, on the “Import” tab. With the Import Tab open, enter these details into Apipheny:
API URL: In Step 3, we explained how you can find the Eventbrite REST API endpoint that you need. Now copy and paste your complete Eventbrite API URL into the Apipheny add-on, where it says API URL Path, followed by any GET parameters required for your query (if applicable). For this example, we are using the Retrieve endpoint from Categories, which returns a list of Category objects, as categories with nested subcategories. This is what the whole URL looks like for this endpoint:
If you’re following this same example as us, you will copy and paste the same URL into Apipheny, where it says “API URL”.
Header 1 Key: Authorization Value: Bearer <your_token> Header 2 Key: Accept Value: Application/json
Where it says <your_ token>, copy and paste your actual token that you got in Step 2. Don’t forget to put the word “Bearer” before your token. There should be a single space between “Bearer” and <your_ token>. Do not include the carrots “<>” around your token.
Here is what your Eventbrite API request should look like when entered into Apipheny:
Notice the API URL field is filled in, as well as the two separate “Headers”.
Finally, the last step is to click the Run button at the bottom of the Apipheny add-on and then wait for the Eventbrite API data to be imported into your Google Sheet, like so:
Congratulations, you’ve imported Eventbrite data into your Google Sheet!
After making a successful request to the Eventbrite API, try querying a different Eventbrite API endpoint, or try using one of the more advanced features in the Apipheny add-on, such as: