Getting Started
Follow step-by-step instructions to generate your Ticketmaster API key.
We'll cover the following
To start using Ticketmaster's APIs, we first need to create an account on Ticketmaster.
Create an account
Follow the steps below to sign up for a Ticketmaster account:
Navigate to the official Ticketmaster sign-up page.
Fill in the required details for registering an account, including your name, company details, username, and email address. Don't forget to accept the terms and conditions and check the reCAPTCHA before clicking the "CREATE NEW ACCOUNT" button.
Note: You can enter dummy values for the company name and URL, such as "Example" and "example.com" if you are not associated with any company.
You'll be sent an email that contains your account details and a one-time login link at the email you entered in the previous step. Click on the link in the email to log in to Ticketmaster.
Once you're logged in, set a password for your account and click the "Save" button at the bottom of the page.
That's it! You've successfully signed up and logged in to Ticketmaster. These steps are demonstrated via the slides below:
Get the API key
To use Ticketmaster's API services, we need an API key. Follow the steps below to retrieve your key:
To navigate to the "My Apps" page the following actions are required:
Click your username in the top right corner.
Click "My Apps" in the dropdown menu. Here, you'll see that Ticketmaster has automatically generated an application called
<username>-App
.
Note: Alternatively, we can navigate directly to the Ticketmaster developer login page.
Click the application name to expand the section and view the "Consumer Key " API key. Copy it and store it somewhere safe.
These steps are demonstrated in the slides below:
Save the API key
Now that we have our API key, let's save it to use throughout the course:
Click the "Edit" button in the widget below.
Enter the API key in the
API_KEY
field.Click the "Save" button to save the key throughout the course.
As soon as we save the key, its value gets replaced in the code. Click the "Run" button to execute the code, which will test the validity of the API key through some hidden code:
const apiKey = '{{API_KEY}}';verifyKey(apiKey);
Now that our API key is saved, let's get started with making calls to the Ticketmaster APIs!