Metadata-Version: 2.1
Name: whop-api-wrapper
Version: 1.0.1
Summary: Simple Python Whop API Wrapper
Home-page: https://github.com/TheSweeet/Whop-API-Wrapper
Author: Jacobfinn123
Author-email: jacobfinn@bezosproxy.com
Keywords: WHOP,API,WRAPPER
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: # Whop-API-Wrapper
Requires-Dist: requests

A simple python API wrapper of Whop's API, documentation can be found at: https://dev.whop.com/reference/home

## Installation

To install the package, use the following command:

```shell
pip install whop-api-wrapper
```

## Usage
Initialize the Client class with your token, use any api call as a method of the client.

```shell
client = Client("input_token_here")

client.list_all_products()
client.retrieve_membership("membership_id_here")
client.create_promo_code(amount_off=25, base_currency="usd", code="25off", promo_type="flat_amount")
```

Feel free open any issues or report them to me on discord, `jacobfinn`.
License-File: LICENSE

Makes use of the Whop API easy in python.
