Skip to content

Commit

Permalink
Merge pull request #81 from tarunbhardwaj/develop
Browse files Browse the repository at this point in the history
Deprecate v1 api
  • Loading branch information
tarunbhardwaj authored Sep 18, 2020
2 parents 5cce099 + 7831e22 commit f6f2ed8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
The V1 API is officially deprecated as of March 31, 2020.

As of Sep 2020, if you are still using API V1, you are in-fact accessing V2.
The V2 API is mostly backwards compatible with the V1 API.

===============================
Fulfil IO Python Client
===============================
Expand Down
2 changes: 1 addition & 1 deletion fulfil_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __init__(self, subdomain,
else:
self.host = 'https://{}.{}'.format(self.subdomain, base_url)

self.base_url = '%s/api/v1' % self.host
self.base_url = '%s/api/v2' % self.host

self.session = requests.Session()
if api_key is not None:
Expand Down

0 comments on commit f6f2ed8

Please sign in to comment.