adafruit / Adafruit_IO_Python

Adafruit IO Python Client Library
Other
225 stars 99 forks source link

remove `api_version` from client.py #89

Closed brentru closed 5 years ago

brentru commented 5 years ago

We're on Adafruit IO API v2, and API v1 is deprecated. This feature should be removed.

Remove api_version from __init__.py - the user should not be able to configure it. https://github.com/adafruit/Adafruit_IO_Python/blob/master/Adafruit_IO/client.py#L45

Make it a fixed string in the method which uses it, compose_path https://github.com/adafruit/Adafruit_IO_Python/blob/master/Adafruit_IO/client.py#L63

brentru commented 5 years ago

Merged intomaster. closing...