This minimal library pulls the products from Stripe in JSON format using STRIPE_API_KEY as input, loaded from environment.
Step 1 - Create
.envusing providedenv.sample
Add .env file in your projects root directory and add the following credentials
STRIPE_API_KEY=<REAL_VALUE_HERE> Step 1 - Install
dependencies
$ python -m venv env $ source env/bin/activate $ pip install -r requirements.txtPull the products from Stripe dashboard
$ python run.pyThe products are saved in products.json. Available props:
idnamedescriptionimagesprice
- Free support via Email & Discord
- Stripe Dev Tools - official docs
Python Warpper for Stripe - Free library provided by AppSeed.