Retrieve Strava segment efforts as a Readable stream
Install
$ npm install --save strava-segment-efforts
Usage
var efforts =
strava-segment-efforts \ --segment-id 123 \ --athlete-id 456 \ --access-token abc
API
efforts(options)
-> stream
Returns a readable stream of segment effort objects.
options
segmentId
Required
Type: number
The ID of the segment.
athleteId
Type: number
Default: self
A Strava user's ID. If no ID is supplied, the "current" user from the access token will be used.
accessToken
Required
Type: string
A Strava API access token.
License
MIT © Ben Drucker