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:
Apipheny is an API connector for Google Sheets. You can use Apipheny to connect your Google Sheets to unlimited API data sources, make unlimited API requests, and more. There is a 30 day free trial included.
1.) Install Apipheny by opening the following link on desktop and then clicking the Install button in the Google Marketplace: https://apipheny.io/install
2.) After you’ve installed Apipheny, open a Google Sheet and then click on the Extensions dropdown in the menu at the top.
In the dropdown list you should see Apipheny. Click Apipheny then click Import API to open the Apipheny sidebar in your Google Sheet.
Tip: you can open a new Google Sheet by entering this URL in your browser:
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:
Method: At the top of the Apipheny sidebar, select the HTTP method (GET or POST) required by your API endpoint. For this example, we are using the GET method.
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”.
Headers: In the Headers section of Apipheny, add two rows with the following keys and values:
Header 1 Key: Authorization Value: Bearer your_token Header 2 Key: Accept Value: Application/json
Make sure to replace your_ token with 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.
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.
Schedule requests for automatic updates
Reference cell values in requests
Stack multiple URLs in a single request
Run all saved requests at once
Crypto API tutorials and more: