pimoroni / mote

Mote - drivers for the plug and play USB APA102 controller
https://shop.pimoroni.com/products/mote
MIT License
24 stars 14 forks source link

Implement endpoint for returning API version to a client #15

Closed raruston closed 7 years ago

raruston commented 7 years ago

This pull request pulls out the API version from each individual route (making it easier to update) and implements the /mote/api endpoint to return {'mote-api-version': version}

This should resolve issue #14