Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@gulducat gulducat released this 27 May 20:48
871e95e

BREAKING CHANGE: Replace host and proto keyword args with a single base_url kwarg.

base_url should include the protocol, unless your adapter does that for you, which requests does not.

Ex:

# replace
api = BasicAPI('api.example.com')
# with
api = BasicAPI('https://api.example.com')
# or
api = BasicAPI(host='api.example.com')
# with
api = BasicAPI(base_url='https://api.example.com')