Skip to content

app-generator/python-stripe-wrapper

Repository files navigation

Simple Python Wrapper for Stripe

This minimal library pulls the products from Stripe in JSON format using STRIPE_API_KEY as input, loaded from environment.


Quick Start


Step 1 - Create .env using provided env.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.txt

Pull the products from Stripe dashboard

$ python run.py

The products are saved in products.json. Available props:

  • id
  • name
  • description
  • images
  • price

Credits & Links



Python Warpper for Stripe - Free library provided by AppSeed.

About

Python Wrapper for Stripe API - Open-Source Library | AppSeed

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages