Check prices for SeatGeek events in a Google Apps Script.
Created because their email alerts never work for me.
- Get a SeatGeek
client_id
here. - Go to the Google Apps Script homepage, click "New Script."
- (optional) Name the script.
- Copy the contents of code.js into the open file.
- Replace
YOUR_CLIENT_ID_HERE
with your ID from step 1 and replaceYOUR_EMAIL_HERE
with your email. - Fill in
events
with your events. Each event is a JavaScript object withid
andmaxPrice
fields. Currently, event IDs are at the end of the event URLs. For example, for my Sam Smith event the URL is:https://seatgeek.com/sam-smith-tickets/san-diego-california-valley-view-casino-center-2018-09-01-8-pm/concert/4077297
. Thename
is just used for logging and emails, it can be anything that makes sense to you. You will only receive email alerts if the price of the ticket goes belowmaxPrice
. - Click the Run button. This will cause an "Authorization Required" pop-up to appear. Review the permissions and accept.
- Click the Current Projects Triggers button. Use the options to schedule your price checker to run at whatever interval you'd like.
- Enjoy!