athletichelper
v2.4.1
Published
An Unofficial Wrapper for the Athletic.net and Milesplit API
Maintainers
Readme
UnOfficial Athletic.Net API Wrapper for NodeJS
About
I'm currently a high schooler participating in Cross Country and Track and Field. Athletic.Net (along with other websites) are crucial in saving performance information. In order to parse this information, plot our progression, and analyze competitors, I've made this NPM module to help obtain related information.
Todo
- [] Website
- [] Discord Bot
- [] Example Functions
- [] Better API Documentation
Cross Country API
- [x] Team
- [x] Athlete
- [x] Meet
- [] Ranking
Track and Field API
- [x] Team
- [x] Athlete
- [x] Meet
- [] Ranking
API Documentation
Athletic.net API
Track & Field API
Team Functions
GetAthletes(teamId: string, sport?: string, year?: string)- Gets all athletes on a teamGetTeamCore(teamId: string, sport: string, year: string)- Gets basic team information and JWT tokenGetCalendar(teamId: string, sport: string, year: string)- Gets the team's meet calendarTeam(teamId: string, year: string)- Gets basic team informationGetTeamEventRecords(teamId: string, year: string)- Gets team records for all events
Team Records
GetTeamEventRecords(teamId: string, year: string)- Gets event records for specific yearSeasons_TeamReports(teamId: string)- Gets valid seasons for team reportsGetTeamRecords(teamId: string, gender?: string, eventShort?: string, indoor?: boolean, qParams?: object)- Gets team/school records
Athlete Functions
GetAthleteBioData(athleteId: string, sport: string, level?: number)- Gets athlete biographical data and results
Meet Functions
GetMeetData(meetId: string)- Gets basic meet informationGetAllResultsData(meetId: string)- Gets all results from a meetGetTeams(meetId: string)- Gets teams participating in a meet
Cross Country API
Team Functions
Team(teamId: string, year: string)- Gets basic team informationGetTeamCore(teamId: string, year?: string)- Gets team information and JWT tokenGetCalendar(teamId: string, year?: string)- Gets team meet calendarGetAthletes(teamId: string, year?: string)- Gets team roster
Team Records
seasonBests(teamId: string, year?: string)- Gets season best performancesTeamRecords(teamId: string)- Gets all-time team records
Athlete Functions
GetAthleteBioData(athleteId: string, level?: number)- Gets athlete bio and resultsGetRankings(athleteId: string, seasonId: string)- Gets athlete rankings
Meet Functions
GetMeetData(meetId: string)- Gets basic meet informationGetAllResultsData(meetId: string)- Gets all race resultsGetResultsData(meetId: string, raceId: string)- Gets specific race resultsGetIndividualRaceResults(meetId: string, raceId: string)- Gets individual resultsGetXCMoreData(meetId: string)- Gets additional meet data
Additional Functions
GetUncategorizedTeams()- Gets uncategorized teamsGetTree()- Gets division hierarchyGetDivisions()- Gets available divisions
MileSplit API
Rankings Functions
getRankings(season: Season, level: Level, state: State, event?: Event, grade?: Grade, year?: Year)- Gets rankings for specific criteria
Search Functions
getSearchToken()- Gets search authentication tokenfetchTeams(query: string)- Searches for teamsfetchAthletes(query: string)- Searches for athletes
Meet Functions
getMeets(season: string, level: string, state: string, month: string, year: string)- Gets meet listingsgetPerformances(meetId: string, resultsId: string)- Gets meet results
Home Functions
getLiveEvents()- Gets currently live events
Updating the package
remember to switch type from commonjs to module
npm version patch / minor / major
npm publishCopilot was used in making this project
