Coder Social home page Coder Social logo

Comments (8)

brad avatar brad commented on July 29, 2024

Great point. Thanks for pointing that out, I wasn't aware of the problem.

from python-fitbit.

taylan avatar taylan commented on July 29, 2024

Some other benefits of moving to oauthlib (and possibly using requests-oauthlib for the internals): This will help simplify the code somewhat. Also, it can help python-fitbit to become Python 3 compatible. As far as I can see, all other dependencies are Python 3 compatible.

from python-fitbit.

irl avatar irl commented on July 29, 2024

If it becomes possible for the library to work with Python 3, I will create a second binary package for Debian with a Python 3 version. Of course, neither version will be usable in Debian until this is fixed.

from python-fitbit.

brad avatar brad commented on July 29, 2024

I've pushed alpha code to use oauthlib instead of the old library, but I want to do some more manual testing before calling it good and closing this issue. If any of you would like to test it yourselves it would be much appreciated.

from python-fitbit.

brad avatar brad commented on July 29, 2024

This is an API breaking update as far as the OAuth API is concerned, but the rest of the python fitbit API remains unchanged. Take a look at gather_keys_cli.py to see the updated and simplified workflow. The biggest change is that the callback_uri needs to be specified in the FitbitOauthClient constructor, rather than the authorize_url function.

from python-fitbit.

mariosangiorgio avatar mariosangiorgio commented on July 29, 2024

I tried to use the latest version of the library and it worked for me. I didn't tested it thoroughly but in the next days I'm going to use the library and if I discover any bug I'll report it here

from python-fitbit.

brad avatar brad commented on July 29, 2024

@mariosangiorgio Great! Thanks!

from python-fitbit.

brad avatar brad commented on July 29, 2024

@mariosangiorgio How's it working for you? Any issues?

from python-fitbit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.