Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

"json: cannot unmarshal number" with zones for run activities #20

Open
chemikadze opened this issue Aug 16, 2017 · 0 comments
Open

"json: cannot unmarshal number" with zones for run activities #20

chemikadze opened this issue Aug 16, 2017 · 0 comments

Comments

@chemikadze
Copy link

Example api body causing error:

$ curl -G https://www.strava.com/api/v3/activities/95352413/zones     -H "Authorization: Bearer xxx"
[{"score":null,"distribution_buckets":[{"max":1.8331809410114008,"min":0,"time":117},{"max":2.156683460013413,"min":1.8331809410114008,"time":67},{"max":2.4435539047991397,"min":2.156683460013413,"time":71},{"max":2.869924875495906,"min":2.4435539047991397,"time":121},{"max":-1,"min":2.869924875495906,"time":413}],"type":"pace","resource_state":3,"sensor_based":true}]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant