Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Make API call from FitBit App

Hi there,

 

I'm currently trying to make my first app in FitBit studio as a 16 y/o beginner dev and ran into some issues with making api calls from the App.

 

Short description of what I want to do: 

When you start the app, it should request some JSON data from an external JSON API.

 

I already tried several ways of making API calls, both in the app and the companion code, but neither of them worked.

 

 

Hope you guys can help me out

Best Answer
0 Votes
5 REPLIES 5

The app should then display the data in the app.

 

It should be a timetable for the Versa Lite using the WebUntis API just to give a bit more detail about what I'm trying to do.

Best Answer

That's a hard place to start!

I think you'll need to use this.

Peter McLennan
Gondwana Software
Best Answer

Thanks for the quick answer dude, it worked for about every API other than the WebUntis API.

Maybe this is just WebUntis being weird or sth, idk.

 

In the official documentation for the webuntis API I just found excamples for API calls using npm and yarn, but I found nothing on how to use any of them in FitBit studio.

Best Answer
0 Votes

Nevermind, I just found the option of using CLI which makes this process so much easier.

I'll just use Visual Studio

Best Answer
0 Votes

I don't think that will help with fetch().

Peter McLennan
Gondwana Software
Best Answer