strava-me

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i strava-me

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • bendrucker