cyberjunky / python-garminconnect

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

fix garmin connect login url for china site #119

Closed sydongda closed 1 year ago

sydongda commented 1 year ago

the garmin_connect_login_url was wrong when is_cn=true, fix it.

sydongda commented 1 year ago

with self.garmin_connect_login_url = self.garmin_connect_base_url + "/en-US/signin", the http request may timeout sometimes. with self.garmin_connect_login_url = self.garmin_connect_base_url + "/zh-CN/signin", it's better, almost no connectivity issue.

cyberjunky commented 1 year ago

Thank you @sydongda! merging