/broadway-lottery

An automated way to sign up for lotteries for broadway musicals

Primary LanguageTypeScript

Broadway Lottery

Overview

The project was created to automate signing up for Broadway musicals' lotteries to get affordable tickets. Currently, it works for lotteries on the Broadway Direct website. The list of musicals is defined in the source code. You can edit that list directly on the GitHub website. The results of the lottery drawings are sent out via email (frequently at 3 p.m., but not always). Enjoy the shows and please use this automation responsibly. Reselling these tickets is not allowed.

How to use it

  1. "Fork" the repository (button at the top right side)
  2. To create (repository secrets) go to the Settings tab => Secrets and variables => Actions
  3. Click "New repository secret" and add the following secrets with your personal information:
    1. FIRST_NAME (example value: Donald)
    2. LAST_NAME (example value: Duck)
    3. NUMBER_OF_TICKETS (allowed values: 1 or 2)
    4. EMAIL (example value: donald.duck@gmail.com)
    5. DOB_MONTH - month of birth (allowed values: 1 - 12)
    6. DOB_DAY - day of birth (allowed values: 1 - 31)
    7. DOB_YEAR - year of birth (example value: 1999)
    8. ZIP - address postal code (example value: 10007)
    9. COUNTRY (allowed values: USA, CANADA, OTHER)
  4. Go to the Actions tab, accept the terms and conditions, and enable the "Playwright Tests" workflow
  5. The workflow will run daily at the specified time (UTC timezone)
  6. Modify the list of shows you want to sign-up for if needed

Secrets example

List of secrets

image

Create a new secret

image

Email filters

In order to avoid being a daily loser, I recommend creating email filters to automatically Archive or Delete the following emails:

This way you will only receive emails when you win something.