Skip to content

Documentation

Brian Baldner edited this page Oct 14, 2021 · 6 revisions

Contents

Auth type

Namespace

NFL.Com

Summary

Authentication for NFL.com API. Refresh every hour.

GetAuth() method

Summary

Creates an authentication token. Must pass through other requests.

Parameters

This method has no parameters.

Const type

Namespace

NFL.ESPN.Fantasy

Summary

Constant data for ESPN Fantasy

nflTeamIdToNFLTeam constants

nflTeamIdToNFLTeamAbbreviation constants

CurrentData type

Namespace

NFL.Com

Summary

Fetches data from NFL.com about the current week and season.

GetData(auth) method

Summary

Fetches data from NFL.com about the current week and season.

Returns
Parameters
Name Type Description
auth NFL.Com.Auth Authentication from the Auth class

Match type

Namespace

NFL.Com

Summary

Data on a match from NFL.com

GetMatch(auth,matchid) method

Summary

Fetches data for a match from NFL.com

Returns
Parameters
Name Type Description
auth NFL.Com.Auth Authentication from the Auth class
matchid System.String ID of a match. Unique to NFL.com. Fetch current matches from NFL.Com.Week class.

MatchesList type

Namespace

NFL.Com

Summary

Data for multiple matches from NFL.com. Same as Match class but for multiple matches

GetMatchs(auth,matchid) method

Summary

Fetches data for matchs from NFL.com.

Returns
Parameters
Name Type Description
auth NFL.Com.Auth Authentication from the Auth class
matchid System.String[] IDs of matches. Unique to NFL.com. Fetch current matches from NFL.Com.Week class.

Rosters type

Namespace

NFL.ESPN.Fantasy

Summary

Roster data for all teams

GetRosters(leagueid,season) method

Summary

Gets rosters for all teams from league

Returns
Parameters
Name Type Description
leagueid System.String ID of league. Found in league URL. Must be viewable to the public.
season System.Int32 Year of season.

Scoreboard type

Namespace

NFL.ESPN.Fantasy

Summary

Gets scoreboard info from league

GetScore(leagueid,season) method

Summary

Fetches scoreboard data from ESPN Fantasy.

Returns
Parameters
Name Type Description
leagueid System.String ID of league. Found in league URL. Must be viewable to the public.
season System.Int32 Year of season.

Standings type

Namespace

NFL.Com

Summary

Current NFL standings from NFL.com

GetStandings(auth,week,season,seasonType) method

Summary

Fetches current standings from NFL.com.

Returns
Parameters
Name Type Description
auth NFL.Com.Auth Authentication from the Auth class
week System.Int32 Week of standings to get. Fetch from the CurrentData class.
season System.Int32 Year of season. Fetch from the CurrentData class.
seasonType System.String Fetch from the CurrentData class.

Week type

Namespace

NFL.Com

Summary

Information for the week's matches

GetWeek(auth,week,season,seasonType) method

Summary

Fetches match data from a week from NFL.com

Returns
Parameters
Name Type Description
auth NFL.Com.Auth Authentication from the Auth class
week System.Int32 Week of standings to get. Fetch from the CurrentData class.
season System.Int32 Year of season. Fetch from the CurrentData class.
seasonType System.String Fetch from the CurrentData class.