Coder Social home page Coder Social logo

adidasmonitor's Introduction

AdidasMonitor

Python program to monitor the availability status of Adidas products. Supports Adidas UK, US, CA, AU, NL, DE, NZ, IT, CZ, DK, FR, ES, BE, CH, MY, BR, SG, RU. Requires Python 3.6 or above

SMS setup (optional)

  • Signup for free trial account https://www.twilio.com/try-twilio
  • Verify your account with the phone number you want to use
  • Get a free trial number
  • Save your SID and Auth token

Config

  • webhooks - list of your Discord webhooks (as strings)
  • refresh_time - how often to refresh (in seconds)
  • products - list of JSON objects to monitor, each with region and PID (supported regions are listed above)
  • sms_sid - your Twilio SID (leave as null if not using SMS support)
  • sms_auth - your Twilio auth token (leave as null if not using SMS support)
  • twilio_number - the phone number you got from Twilio (leave as null if not using SMS support)
  • your_numbers - list of your phone numbers (as strings) (leave as null if not using SMS support)

Everything should be a string (surrounded by ") other than refresh_time Make sure to include the country code for all phone numbers

Example config.json

To Run

  • Download and run the appropriate Python installer from here https://www.python.org/downloads/release/python-367/ (skip this step if you already have Python 3.6 installed)
  • Install requirements in requirements.txt using one of the following commands
    • Windows: pip install -r requirements.txt
    • Mac and Linux: python3 -m pip install -r requirements.txt
  • Edit config.json
  • Put proxies in proxies.txt or clear file to run without proxies
  • Run main.py using using one of the following commands
    • Windows: python main.py
    • Mac and Linux: python3 main.py

adidasmonitor's People

Contributors

ben-sb avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.