cyberjunky / python-garminconnect

Python 3 API wrapper for Garmin Connect to get activity statistics
MIT License
908 stars 142 forks source link

Replace .text with .json() in garmin.get_hrv_data() #118

Closed psdupvi closed 1 year ago

psdupvi commented 1 year ago

Related to https://github.com/cyberjunky/python-garminconnect/issues/117 which I just opened -- garmin.get_hrv_data() has a last line of

return self.modern_rest_client.get(url).text #.json()

instead of

return self.modern_rest_client.get(url).json()

cyberjunky commented 1 year ago

@psdupvi Good find! Thanks!