Releases: gulducat/basic-api
Releases · gulducat/basic-api
v0.2.0
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')v0.1.3
v0.1.2
Main functional change is to attempt merging adapter keyword args.
See https://github.com/gulducat/basic-api#overlapping-kwargs
Also remove _prepare method - not really needed, instead just do things in __init__.