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/MeshAPI: API for Mesh Commerce written in Python

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

Latest commit

 

History

8 Commits
8 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

MeshAPI

API for Mesh Commerce written in Python by Luke Davis (@R8T3D)

Features

  • Add products to cart
  • Check products stock
  • Multi-site support with easy expandability

Installation

MeshAPI requires Python 2.7

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

Edit the main.py file and set the cart_id variables to the corresponding site's cart-id. I can't tell you how to get this

3. Run
$ cd DIRECTORY_CONTAINING_MESHAPI
$ python main.py
3. Stock Check or ATC

Stock Check

  1. Fully close the site's mobile app on your phone.
  2. Type in your desired PID and then press enter.
  3. The item's stock/status should now display.

ATC

  1. Fully close the site's mobile app on your phone.
  2. Type in your desired PID.SIZE and then press enter.
  3. Open the 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 IDs? Vaguely, you need to view the network requests of your mobile device and get it from there.

  3. What are the x-api-keys? The x-api-key allows you to change the script to work for other websites besides the ones specified (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
  • Auto-checkout

License

MIT License (MIT)

About

API for Mesh Commerce written in Python

Resources

Readme
MIT license
Activity

Stars

18 stars

Watchers

1 watching

Forks

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