Closed qligier closed 8 years ago
I confirm. To mean "all" the resolution
should be left empty. I.e. replace everywhere 'all'
by the empty string ''
.
Setting the parameter to null also works, that's what I've done to patch this issue in my local repository.
Correct, null
works too.
Could you change the 3 occurrences of 'all'
to null
in those 3 files too in your fork:
src/Strava/API/Service/REST.php
src/Strava/API/Service/ServiceInterface.php
src/Strava/API/Service/Stub.php
and send a PR here?
Done. The code works but it isn't passing the test because of the new version of dependencies. I'll fix that later.
Fixed in 1.0.2. Thanks to @qligier
Hey, The default value of the
resolution
parameter in the streams function is set toall
:The documentation isn't quite clear on this, but
all
isn't a valid value:returns
As I understand it: If you don't specify the parameter, all points are returned. If you specify it (with
low
,medium
orhigh
), only (100/1000/10000) values are returned.