b62e2ac1e5
This fix is needed to address internal changes in the Garmin API, where service endpoints that previously worked started returning 402 responses. Appears like dropping the `modern` prefix from the endpoint paths fixes the issue. Also, the authentication sequence has been updated to include a CSRF (Cross-Site Request Forgery) token to closer mimic the behavior of the login sequence on the official web page. Co-authored-by: kfollesdal <kristoffer.follesdal@bkk.no>
15 lines
247 B
TOML
15 lines
247 B
TOML
[[source]]
|
|
name = "pypi"
|
|
url = "https://pypi.org/simple"
|
|
verify_ssl = true
|
|
|
|
[packages]
|
|
garminexport = {path = ".",editable = true}
|
|
requests = ">=2.0,<3"
|
|
python-dateutil = ">=2.0,<3"
|
|
|
|
[dev-packages]
|
|
nose = "~=1.3"
|
|
coverage = "~=4.2"
|
|
mock = "~=2.0"
|