bigcommerce / bigcommerce-api-python

Python client library for Bigcommerce API
https://pypi.python.org/pypi/bigcommerce
MIT License
91 stars 82 forks source link

support subscribers and scripts api #85

Open SivarajRathinam opened 5 years ago

SivarajRathinam commented 5 years ago

Add support to get and post subscribers and scripts from bigcommerce using v3 api

What

Add class for Subscibers and Scripts. changing connection path based on class variable api_version in ApiResourceWrapper

Usage

api = bigcommerce.api.BigcommerceApi(client_id='', store_hash='', access_token='')
subscriber = api.Subscribers.get(1)
script = api.Scripts.get("script-uuid")