Gathering detailed insights and metrics for garmin-api-handler
Gathering detailed insights and metrics for garmin-api-handler
Gathering detailed insights and metrics for garmin-api-handler
Gathering detailed insights and metrics for garmin-api-handler
npm install garmin-api-handler
Typescript
Module System
Node Version
NPM Version
TypeScript (97.1%)
JavaScript (2.9%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
12 Stars
556 Commits
3 Forks
4 Watchers
10 Branches
4 Contributors
Updated on May 19, 2025
Latest Version
7.1.0
Package Id
garmin-api-handler@7.1.0
Unpacked Size
125.21 kB
Size
28.78 kB
File Count
47
NPM Version
8.8.0
Node Version
14.20.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
12
This is an unofficial handler for Garmin Connect API. The documentation is bad :)
1const fs = require('fs'); 2const path = require('path'); 3const { GarminApi } = require('../dist'); 4const { DateTime } = require('luxon'); 5require('cross-fetch/polyfill'); 6 7const extract = require('extract-zip') 8 9 10const api = new GarminApi(); 11 12(async () => { 13 await api.login(LOGIN, PASSWORD); 14 15 const activities = await api.getActivities({limit: 1000, startDate: DateTime.fromJSDate(new Date('2020-01-01')).startOf('day'), endDate: DateTime.fromJSDate(new Date('2020-12-31')).endOf('day')}); 16 17 await Promise.all(activities.map(async (activity) => { 18 const data = await api.getActivityFile(activity.getId()); 19 const fileName = `files/${activity.getId()}.fit.zip`; 20 fs.writeFileSync(fileName, Buffer.from(await data.arrayBuffer())); 21 await extract(path.resolve(__dirname, '..', fileName), { dir: path.resolve(__dirname, '..', 'files') }) 22 fs.rmSync(fileName); 23 })); 24})() 25
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/24 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
27 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-14
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More