misingnoglic / in_stock_alert

Code I used to check if an item was in stock.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use

  1. Create a secrets.py file with all of these secrets:
  • TWILIO_ACCOUNT_SID = SID from Twilio
  • TWILIO_AUTH_TOKEN = Auth token from Twilio
  • NUMBERS_TO_SEND_TO = List of phone numbers to send texts too
  • TWILIO_FROM_NUMBER = Your twilio number that the text will come from.
  1. Download some annoying sound from online and save it as alarm.mp3
  2. run pip install -r requirements.txt
  3. Configure the constants at the top of stock_checker.py - you'll need to download chrome driver and point to the path.
  4. Run the script!

About

Code I used to check if an item was in stock.


Languages

Language:Python 100.0%