https://github.com/pannh/trn-rocket-league
Track any Rocket League player's stats with the Tracker Network API.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.4%) to scientific vocabulary
Keywords
Repository
Track any Rocket League player's stats with the Tracker Network API.
Basic Info
- Host: GitHub
- Owner: PannH
- License: mit
- Default Branch: main
- Homepage: https://www.npmjs.com/package/trn-rocket-league
- Size: 37.1 KB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
🚗 TRN Rocket League
trn-rocket-leagueis an easy-to-use and typed library that allows you to fetch data from a Rocket League profile.
☎️ Support
You need some help? Contact me: linktr.ee/pannh.
🔰 Getting Started
Installation
bash npm install trn-rocket-leagueFetch a profile ```js const { fetchProfile } = require('trn-rocket-league');
const profile = await fetchProfile('PannH.', 'epic'); // Returns a Profile instance (see documentation) ```
- Fetch sessions ```js const { fetchSessions } = require('trn-rocket-league');
const sessions = await fetchSessions('PannH.', 'epic'); // Returns an array of Session instances (see documentation) ```
📖 Documentation
The fetchProfile() function returns an instance of Profile which can be represented as :
js
Profile {
platform: 'psn' | 'xbl' | 'steam' | 'epic' | 'switch';
username: string;
avatarURL: string | null;
countryCode: string;
linkedAccounts: {
platform: string;
username: string;
}[];
stats: {
overview: {
assists: number;
goals: number;
goalShotRatio: number;
mvps: number;
saves: number;
shots: number;
wins: number;
seasonRank: {
name: string;
index: number;
imageURL: string;
}
};
ranked: {
duel: {
rank: {
tier: {
index: number;
name: string;
};
division: {
index: number;
name: string;
};
imageURL: string;
};
matchesPlayed: number;
winStreak: number;
loseStreak: number;
mmr: number;
};
double: {...}; // same as above
standard: {...}; // same as above
};
extra: {
dropshot: {...}; // same as above
hoops: {...}; // same as above
rumble: {...}; // same as above
snowday: {...}; // same as above
};
unranked: {...}; // same as above
totalMatchesPlayed: number;
}
}
Example: https://sourceb.in/qBXXqD2cgi
The fetchSessions() function returns an array of instances of Session which can be represented as :
js
Session {
matches: {
id: string;
isGrouped: boolean;
date: Date;
playlist: string;
stats: {
rank: {
tier: {
name: string;
index: number;
};
division: {
name: string;
index: number;
};
oldMMR: number;
newMMR: number;
mmrDelta: number;
imageURL: string;
};
saves: number;
assists: number;
goals: number;
matchesPlayed: number;
mvps: number;
shots: number;
wins: number;
}
}[]
}
Example: https://sourceb.in/wcaesZzb4P
Owner
- Name: PannH
- Login: PannH
- Kind: user
- Location: Belgium, Wallonia
- Website: https://linktr.ee/pannh
- Repositories: 6
- Profile: https://github.com/PannH
GitHub Events
Total
- Watch event: 1
Last Year
- Watch event: 1
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- npm 98 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 17
- Total maintainers: 1
npmjs.org: trn-rocket-league
Track any Rocket League player's stats with the Tracker Network API.
- Homepage: https://github.com/PannH/trn-rocket-league#readme
- License: MIT
-
Latest release: 2.6.9
published over 3 years ago