basvandorst / StravaPHP

Strava API REST client with OAuth authentication
MIT License
184 stars 67 forks source link

Routes and Route streams support #30

Closed hamazaspavetisyan closed 7 years ago

hamazaspavetisyan commented 7 years ago

Please add support for getting routes and route streams.

GET https://www.strava.com/api/v3/routes/:route_id GET https://www.strava.com/api/v3/routes/:id/streams GET https://www.strava.com/api/v3/athletes/:id/routes

basvandorst commented 7 years ago

Introduced 3 new methods:

$client->getAthleteRoutes($id, $type = null, $after = null, $page = null, $per_page = null);
$client->getStreamsRoute($id);
$client->getRoute($id);

Currently only available in master but I will create a new tag this week.

hamazaspavetisyan commented 7 years ago

Thanks

On Sat, Oct 21, 2017 at 7:41 PM, Bas notifications@github.com wrote:

Introduced 3 new methods:

$client->getAthleteRoutes($id, $type = null, $after = null, $page = null, $per_page = null); $client->getStreamsRoute($id); $client->getRoute($id);

Currently only available in master but I will create a new tag this week.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/basvandorst/StravaPHP/issues/30#issuecomment-338411210, or mute the thread https://github.com/notifications/unsubscribe-auth/ABfygXQeul2CP6oUFiOUHiGArbKyxn7Bks5suhC3gaJpZM4P2nA9 .