API for Footpatrol's mobile framework written in Python by Luke Davis (@R8T3D)
- Add products to cart
FootpatrolAPI requires Python 2.7
$ cd DIRECTORY_CONTAINING_FOOTPATROLAPI
$ pip install -r requirements.txt
Edit the main.py file and set the cart_id variable to your CART ID. I can't tell you how to get this
$ cd DIRECTORY_CONTAINING_FOOTPATROLAPI
$ python main.py
- Fully close the Footpatrol mobile app on your phone.
- Type in your desired PID.SIZE and then press enter.
- Open the Footpatrol mobile app
- The item should now be in your cart.
-
The item isn't in my cart what happened?
- Your cart id is incorrect
- Your PID.SIZE is incorrect
- The desired product is out of stock
-
How do I get the cart ID? Vaguely, you need to view the network requests of your mobile device and get it from there.
-
What is the x-api-key? The x-api-key allows you to change the script to work for other websites besides Footpatrol (but you need to do a bit more than just change that). I thought I'd make it a variable incase they ever change it.
- Web based GUI
- Stock check
- Auto-checkout
MIT License (MIT)