Skip to content

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.

2 participants