Skip to content

amorgulis/strava-typescript-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strava-typescript-api

TypeScript wrapper for the Strava V3 API.

Installing

Install with npm:

npm install strava-typescript-api

Usage

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();

  // ...
})();

Implementation Status

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

License

This project is licensed under the MIT License - see the LICENSE file for details

About

TypeScript wrapper for the Strava V3 API.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published