Dienstag, 4. November 2014

HowTo: Access Strava API from Java

Introduction

In the following we are going to access Strava's REST API from Java. As the Strava REST API requires OAuth we use Apache Oltu as Open Source OAuth framework.

Although the API is very rich on resources the focus of this tutorial is just the basic access, not the generation of any fancy reports (maybe we will do this later ;-)). 

If you don't know Strava grab your bike or running shoes and give it a shot.

Prerequisites

  • Strava Account

Steps

See inline comments.

Check the screenshot below for details on the Strava API settings.


The whole project can be found on GitHub.

Keine Kommentare:

Kommentar veröffentlichen