Skip to content

Commit 924d791

Browse files
committed
README for using the v3 mod.
1 parent 332c853 commit 924d791

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ Connecting
2020
2121
# Public apps (OAuth)
2222
# Access_token is optional, if you don't have one you can use oauth_fetch_token (see below)
23+
For connecting to the v2 api:
2324
api = bigcommerce.api.BigcommerceApi(client_id='', store_hash='', access_token='')
24-
25+
For connecting to the v3 api:
26+
api = bigcommerce.api.BigcommerceApi(client_id='', store_hash='', access_token='', api_path='/stores/{}/v3/{}'))
2527
# Private apps (Basic Auth)
2628
api = bigcommerce.api.BigcommerceApi(host='store.mybigcommerce.com', basic_auth=('username', 'api token'))
2729

0 commit comments

Comments
 (0)