Skip to content

using the api #117

@meysamnick

Description

@meysamnick

Hi Guys, I'm new to API dev. I have done some studies and did few examples. I have gone through the docs of python-fitbit but still can not figure out how to get the access token and then doing some other stuff. here is what i have done:

  1. registered an app in fitbit and got my client id and secret
  2. i provide them as arguments to gather_keys_oauth2.py. it opens a browser and redirect me to my redirect_url (after getting permission) but it stops there.
  3. i dont get to see any response or access token fetched. i just see that in my URL i see a string code=...
  4. what should I do now please? can someone give me a hint please?
    my later step is to use the other project django to retrieve some data and populate it to a webpage... (any hint here also is really appreciated)

thanks a bunch!
M

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions