Tate ticket checker checks the Tate.org.uk shop to see if there are tickets available in the near future (today onwards) for a selected event. It will send an email when tickets become available.
I wrote this with Yayoi Kusama's Infinity Mirror Rooms in mind - this exhibition was sold out 6+ months in advance but returns can come available at the shop at any time.
This application is designed to live on AWS (requires account) and requires Node.js 14+ and Serverless
You will need to setup a verified identity in Amazon SES to get the email feature to work correctly
You will need to create a copy of .env.sample
in the root directory and rename it to .env
before updating the values as you want them
TICKET_URL
- this can stay as isEVENT_ID
- the event ID (find this by going to the exhibition in the shop and inspecting the url)NUM_DAYS
- the number of days to check (1 will check only today, 2 will check today and tomorrow, etc)INTERVAL_MINS
- the check interval (eg 5 will check every 5 minutes)DYNAMO_TABLE_NAME
- the name of the Dynamodb tableEMAIL_ADDRESS
- the email address that will be both the 'from' and 'to' email address (needs to be real)
npm install
npm run layers
sls deploy
You can verify the deployment was successful by running
sls invoke -f check
jest
sls remove