You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.
{"name":"strava-api-v3","tagline":"This gem provides a wrapper around the Strava API V3","body":"# strava-api-v3\r\n\r\n[![Build Status](https://secure.travis-ci.org/jaredholdcroft/strava-api-v3.png)](http://travis-ci.org/jaredholdcroft/strava-api-v3) [![Code Climate](https://codeclimate.com/github/jaredholdcroft/strava-api-v3.png)](https://codeclimate.com/github/jaredholdcroft/strava-api-v3)\r\n\r\nThis gem provides a wrapper around the Strava API V3 - [http://strava.github.io/api/](http://strava.github.io/api/)\r\n\r\n## Install\r\n\r\ngem install 'strava-api-v3'\r\n\r\n## Create a client\r\n\r\nAt this point you will need to have the user authorise your application using OAuth2. \r\n\r\n```ruby\r\n\r\n@client = Strava::Api::V3::Client.new(:access_token => \"MY_ACCESS_TOKEN\")\r\n```\r\n\r\n## Call API methods\r\n\r\n### Athlete\r\n\r\nEach method returns a JSON object - see [http://strava.github.io/api/v3/athlete/](http://strava.github.io/api/v3/athlete/) for more info\r\n\r\n```ruby\r\n\r\n@client.retrieve_current_athlete # fetch the authenticated athlete\r\n\r\n@client.retrieve_another_athlete(:some_id) # fetch another athlete by id\r\n\r\n@client.list_athlete_segment_efforts(:some_id) # fetch K/QOMs/CRs for another athlete by id\r\n\r\n```\r\n\r\n\r\n## Contributors\r\n\r\n* Jared Holdcroft\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}