TypeScript wrapper for the Strava V3 API.
Install with npm:
npm install strava-typescript-api
import * as dotenv from 'dotenv';
import { Strava } from 'strava-typescript-api';
dotenv.config();
const ACCESS_TOKEN = process.env.ACCESS_TOKEN;
(async function() {
const strava = new Strava(ACCESS_TOKEN);
const athlete = await stravaApi.getLoggedInAthlete();
// ...
})();
API | Completed |
---|---|
Create an Activity | |
Get Activity | ✔️ |
List Activity Comments | ✔️ |
List Activity Kudoers | ✔️ |
List Activity Laps | ✔️ |
List Athlete Activities | ✔️ |
Get Activity Zones | ✔️ |
Update Activity | |
Get Authenticated Athlete | ✔️ |
Get Zones | ✔️ |
Get Athlete Stats | ✔️ |
Update Athlete | |
List Club Activities | |
List Club Administrators | |
Get Club | |
List Club Members | |
List Athlete Clubs | |
Join Club | |
Leave Club | |
Get Equipment | ✔️ |
Get Route | |
List Athlete Routes | |
Get Running Race | |
List Running Races | |
List Segment Efforts | |
Get Segment Effort | |
Explore segments | |
Get Segment Leaderboard | |
List Starred Segments | |
Get Segment | |
Star Segment | |
Get Activity Streams | ✔️ |
Get segment effort streams | |
Get Segment Streams | |
Upload Activity | |
Get Upload |
This project is licensed under the MIT License - see the LICENSE file for details