Struggling to get heart rate data from the FitBit API

If anyone has ever used the FitBit API to access the heart rate data, could you please help? I have tried many things, all of which are incorrect. Can anyone help? How do I do this?

Isn’t it on the plugin ?

The API looks like in needs OAUTH token.