1.0.0 • Published 7 years ago

strava-me v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

strava-me Build Status

Get the current user via the Strava API

Install

$ npm install --save strava-me

Usage

var me = require('strava-me')

me({accessToken}, function (err, data) {
  if (err) throw err
  console.log('Hi', data.firstname)
})

API

stravaMe(options, callback) -> undefined

options
accessToken

Required
Type: string

A Stava API access token.

callback

Required
Type: function
Arguments: err, data

License

MIT © Ben Drucker