Skip to content

pjsg/chargebee-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChargeBee Python Client Library

The python library for integrating with ChargeBee Recurring Billing and Subscription Management solution.

Installation

Install the latest version of the library with the following commands:

$ pip install --upgrade chargebee

or

$ easy_install --upgrade chargebee

If you would prefer to install it from source:

$ git clone git@github.com:chargebee/chargebee-python.git

$ python setup.py install

Documentation

See our Python API Reference.

Usage

To create a new subscription:

import chargebee
chargebee.configure(api_key, site)

res = chargebee.Subscription.create({
"plan_id" : "basic"
})

print res.subscription

License

See the LICENSE file.

Packages

No packages published

Languages

  • Python 100.0%