MMM-fitbit
MMM-fitbit copied to clipboard
Updated python-fitbit to 0.3.0 w Auto Re-authorize
Hello, first, thank you for taking the time to create the MM2 Module for the fitbit. It's awesome.
I've updated the python-fitbit
API in your module to the newest version 0.3.0. The new version automatically re-authorizes the user and re-writes the tokens when they timeout (something I was having issues with not working in the old version).
I figured I would send you a pull request in case you wanted to incorporate these changes into your original branch (no hard feelings if you don't, just trying to save you some double work down the road). This also makes the authHandler.py
script obsolete as this should be handled inside the API now.