Noncollinear Perpendicular Microcrystalline

    strava-segment-efforts

    1.0.0 • Public • Published

    strava-segment-efforts Build Status

    Retrieve Strava segment efforts as a Readable stream

    Install

    $ npm install --save strava-segment-efforts
    

    Usage

    var efforts = require('strava-segment-efforts')
     
    efforts({
      segmentId: 123,
      athleteId: 456,
      accessToken: 'abc'  
    })
    .pipe(ndjson.stringify())
    .pipe(process.stdout)
    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

    Install

    npm i strava-segment-efforts

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • bendrucker