Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support subscribers and scripts api #85

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SivarajRathinam
Copy link

@SivarajRathinam SivarajRathinam commented May 14, 2019

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")

self.update_api_version()


def update_api_version(self):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, could you test this function?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants