GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dir/FootpatrolAPI: API for Footpatrol written in Python

This repository was archived by the owner on Mar 31, 2020. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

11 Commits
11 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
main.py
main.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

FootpatrolAPI

API for Footpatrol's mobile framework written in Python by Luke Davis (@R8T3D)

Features

  • Add products to cart

Installation

FootpatrolAPI requires Python 2.7

1. Install requirements
$ cd DIRECTORY_CONTAINING_FOOTPATROLAPI
$ pip install -r requirements.txt
2. Set your cart_id

Edit the main.py file and set the cart_id variable to your CART ID. I can't tell you how to get this

3. Run
$ cd DIRECTORY_CONTAINING_FOOTPATROLAPI
$ python main.py
3. ATC
  1. Fully close the Footpatrol mobile app on your phone.
  2. Type in your desired PID.SIZE and then press enter.
  3. Open the Footpatrol mobile app
  4. The item should now be in your cart.

Troubleshooting

  1. 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
  2. How do I get the cart ID? Vaguely, you need to view the network requests of your mobile device and get it from there.

  3. 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.

Todos

  • Web based GUI
  • Stock check
  • Auto-checkout

License

MIT License (MIT)

About

API for Footpatrol written in Python

Resources

Readme
MIT license
Activity

Stars

43 stars

Watchers

1 watching

Forks

14 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.