diff --git a/FantasyData.Api.Client.NetCore/Clients/BaseClient.cs b/FantasyData.Api.Client.NetCore/Clients/BaseClient.cs new file mode 100644 index 0000000..a311749 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/BaseClient.cs @@ -0,0 +1,77 @@ +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.Runtime.Serialization.Json; +using System.Text; + +namespace FantasyData.Api.Client.NetCore +{ + public abstract class BaseClient + { + + /// + /// The host name for making API calls. + /// + /// Default value is api.fantasydata.net + public string Host { get; set; } + + /// + /// The client license key used to make API calls. + /// + public string ApiKey { get; set; } + + /// + /// Indicates whether API calls will be made over secure https connection. + /// + /// Default value is true + public bool Https { get; set; } + + /// + /// The encoding type to be used in the WebClient for data pulled + /// + /// Default is UTF8 + public Encoding Encoding { get; set; } + + private string Scheme { get { return Https ? "https" : "http"; } } + + public BaseClient(string apiKey) + { + Host = "api.fantasydata.net"; + ApiKey = apiKey.Replace("-", "").ToLower(); + Https = true; + Encoding = new UTF8Encoding(); + } + + public BaseClient(Guid apiKey) : this(apiKey.ToString()) { } + + protected T Get(string apiCall) { return Get(apiCall, null); } + + protected T Get(string apiCall, IList> parameters) + { + using (var client = new System.Net.WebClient()) + { + // Add api key + client.Headers.Add("Ocp-Apim-Subscription-Key", ApiKey); + client.Encoding = Encoding; + + // Construct url + var uri = new UriBuilder(this.Scheme, this.Host); + uri.Path = apiCall; + var url = uri.Uri.ToString().ToLower().Trim(); + + // Make sure parameters exist and add format=json + if (parameters == null) parameters = new List>(); + parameters.Add(new KeyValuePair("format", "json")); + + // Add parameters + foreach (var parameter in parameters) + url = url.Replace("{" + parameter.Key.ToLower() + "}", parameter.Value.ToLower().Trim()); + + // Download json, deserialize it, and return it + var json = client.DownloadString(url); + return JsonConvert.DeserializeObject(json); + } + + } + } +} diff --git a/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv2.cs b/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv2.cs new file mode 100644 index 0000000..5369f15 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv2.cs @@ -0,0 +1,499 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.CBB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class CBBv2Client : BaseClient + { + public CBBv2Client(string apiKey) : base(apiKey) { } + public CBBv2Client(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/cbb/v2/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/cbb/v2/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/cbb/v2/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get League Hierarchy Asynchronous + /// + public Task> GetLeagueHierarchyAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/LeagueHierarchy", parameters) + ); + } + + /// + /// Get League Hierarchy + /// + public List GetLeagueHierarchy() + { + return this.GetLeagueHierarchyAsync().Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:60003802. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/cbb/v2/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:60003802. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Details by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Player Details by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:60003802. + public Task GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/cbb/v2/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:60003802. + public PlayerGame GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats By Player Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:60003802. + public Task GetPlayerSeasonStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/cbb/v2/{format}/PlayerSeasonStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats By Player + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:60003802. + public PlayerSeason GetPlayerSeasonStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Projected Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:60003802. + public Task GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/cbb/v2/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:60003802. + public PlayerGameProjection GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season. Examples: 2015, 2016. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2016-FEB-27, 2015-SEP-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/cbb/v2/{format}/teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Tournament Hierarchy Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task GetTournamentAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run(() => + base.Get("/cbb/v2/{format}/Tournament/{season}", parameters) + ); + } + + /// + /// Get Tournament Hierarchy + /// + /// Year of the season. Examples: 2015, 2016. + public Tournament GetTournament(string season) + { + return this.GetTournamentAsync(season).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv3Odds.cs b/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv3Odds.cs new file mode 100644 index 0000000..97ef7bb --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv3Odds.cs @@ -0,0 +1,147 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.CBB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class CBBv3OddsClient : BaseClient + { + public CBBv3OddsClient(string apiKey) : base(apiKey) { } + public CBBv3OddsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get In-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public Task> GetLiveGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/odds/{format}/LiveGameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get In-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public List GetLiveGameOddsByDate(string date) + { + return this.GetLiveGameOddsByDateAsync(date).Result; + } + + /// + /// Get In-Game Odds Line Movement Asynchronous + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 17775 or 17776 + public Task> GetLiveGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/odds/{format}/LiveGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get In-Game Odds Line Movement + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 17775 or 17776 + public List GetLiveGameOddsLineMovement(int gameid) + { + return this.GetLiveGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get Pre-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public Task> GetGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/odds/{format}/GameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get Pre-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public List GetGameOddsByDate(string date) + { + return this.GetGameOddsByDateAsync(date).Result; + } + + /// + /// Get Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 17775 or 17776 + public Task> GetGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/odds/{format}/GameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Pre-Game Odds Line Movement + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 17775 or 17776 + public List GetGameOddsLineMovement(int gameid) + { + return this.GetGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public Task> GetAlternateMarketGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/odds/{format}/AlternateMarketGameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public List GetAlternateMarketGameOddsByDate(string date) + { + return this.GetAlternateMarketGameOddsByDateAsync(date).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 17775 or 17776 + public Task> GetAlternateMarketGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/odds/{format}/AlternateMarketGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 17775 or 17776 + public List GetAlternateMarketGameOddsLineMovement(int gameid) + { + return this.GetAlternateMarketGameOddsLineMovementAsync(gameid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv3Scores.cs b/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv3Scores.cs new file mode 100644 index 0000000..c4a0572 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv3Scores.cs @@ -0,0 +1,283 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.CBB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class CBBv3ScoresClient : BaseClient + { + public CBBv3ScoresClient(string apiKey) : base(apiKey) { } + public CBBv3ScoresClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cbb/scores/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cbb/scores/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/scores/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get League Hierarchy Asynchronous + /// + public Task> GetLeagueHierarchyAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cbb/scores/{format}/LeagueHierarchy", parameters) + ); + } + + /// + /// Get League Hierarchy + /// + public List GetLeagueHierarchy() + { + return this.GetLeagueHierarchyAsync().Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cbb/scores/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:60003802. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/cbb/scores/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:60003802. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Details by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/scores/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Player Details by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/scores/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/scores/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/scores/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cbb/scores/{format}/teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Tournament Hierarchy Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public Task GetTournamentAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run(() => + base.Get("/v3/cbb/scores/{format}/Tournament/{season}", parameters) + ); + } + + /// + /// Get Tournament Hierarchy + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public Tournament GetTournament(string season) + { + return this.GetTournamentAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cbb/scores/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv3Stats.cs b/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv3Stats.cs new file mode 100644 index 0000000..341b292 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/CBB/CBBv3Stats.cs @@ -0,0 +1,518 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.CBB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class CBBv3StatsClient : BaseClient + { + public CBBv3StatsClient(string apiKey) : base(apiKey) { } + public CBBv3StatsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cbb/stats/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/v3/cbb/stats/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of an CBB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cbb/stats/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get League Hierarchy Asynchronous + /// + public Task> GetLeagueHierarchyAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/LeagueHierarchy", parameters) + ); + } + + /// + /// Get League Hierarchy + /// + public List GetLeagueHierarchy() + { + return this.GetLeagueHierarchyAsync().Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:60003802. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/cbb/stats/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:60003802. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Details by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Player Details by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + /// Unique FantasyData Player ID. Example:60003802. + public Task GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/cbb/stats/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + /// Unique FantasyData Player ID. Example:60003802. + public PlayerGame GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats By Player Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + /// Unique FantasyData Player ID. Example:60003802. + public Task GetPlayerSeasonStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/cbb/stats/{format}/PlayerSeasonStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats By Player + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + /// Unique FantasyData Player ID. Example:60003802. + public PlayerSeason GetPlayerSeasonStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Projected Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + /// Unique FantasyData Player ID. Example:60003802. + public Task GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/cbb/stats/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + /// Unique FantasyData Player ID. Example:60003802. + public PlayerGameProjection GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2018-FEB-27, 2017-DEC-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Tournament Hierarchy Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public Task GetTournamentAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run(() => + base.Get("/v3/cbb/stats/{format}/Tournament/{season}", parameters) + ); + } + + /// + /// Get Tournament Hierarchy + /// + /// Year of the season (with optional season type). Examples: 2018, 2018POST, 2019. + public Tournament GetTournament(string season) + { + return this.GetTournamentAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cbb/stats/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Odds.cs b/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Odds.cs new file mode 100644 index 0000000..256cf9d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Odds.cs @@ -0,0 +1,237 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.CFB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class CFBv3OddsClient : BaseClient + { + public CFBv3OddsClient(string apiKey) : base(apiKey) { } + public CFBv3OddsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get In-Game Odds by Week Asynchronous + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + public Task> GetLiveGameOddsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/odds/{format}/LiveGameOddsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get In-Game Odds by Week + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + public List GetLiveGameOddsByWeek(string season, int week) + { + return this.GetLiveGameOddsByWeekAsync(season, week).Result; + } + + /// + /// Get In-Game Odds Line Movement Asynchronous + /// + /// The GameID of an CFB game. GameIDs can be found in the Games API. Valid entries are 8487 or 8657 + public Task> GetLiveGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/odds/{format}/LiveGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get In-Game Odds Line Movement + /// + /// The GameID of an CFB game. GameIDs can be found in the Games API. Valid entries are 8487 or 8657 + public List GetLiveGameOddsLineMovement(int gameid) + { + return this.GetLiveGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get Pre-Game Odds by Week Asynchronous + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + public Task> GetGameOddsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/odds/{format}/GameOddsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Pre-Game Odds by Week + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + public List GetGameOddsByWeek(string season, int week) + { + return this.GetGameOddsByWeekAsync(season, week).Result; + } + + /// + /// Get Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of an CFB game. GameIDs can be found in the Games API. Valid entries are 8487 or 8657 + public Task> GetGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/odds/{format}/GameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Pre-Game Odds Line Movement + /// + /// The GameID of an CFB game. GameIDs can be found in the Games API. Valid entries are 8487 or 8657 + public List GetGameOddsLineMovement(int gameid) + { + return this.GetGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get Player Props by Player Asynchronous + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + /// Unique FantasyData Player ID. Example: 50002016 + public Task> GetPlayerPropsByPlayerIDAsync(string season, int week, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/odds/{format}/PlayerPropsByPlayerID/{season}/{week}/{playerid}", parameters) + ); + } + + /// + /// Get Player Props by Player + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + /// Unique FantasyData Player ID. Example: 50002016 + public List GetPlayerPropsByPlayerID(string season, int week, int playerid) + { + return this.GetPlayerPropsByPlayerIDAsync(season, week, playerid).Result; + } + + /// + /// Get Player Props by Team Asynchronous + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + /// The abbreviation of the requested team. Examples: MIA, ND, PITT, etc. + public Task> GetPlayerPropsByTeamAsync(string season, int week, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/odds/{format}/PlayerPropsByTeam/{season}/{week}/{team}", parameters) + ); + } + + /// + /// Get Player Props by Team + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + /// The abbreviation of the requested team. Examples: MIA, ND, PITT, etc. + public List GetPlayerPropsByTeam(string season, int week, string team) + { + return this.GetPlayerPropsByTeamAsync(season, week, team).Result; + } + + /// + /// Get Player Props by Week Asynchronous + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + public Task> GetPlayerPropsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/odds/{format}/PlayerPropsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Player Props by Week + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + public List GetPlayerPropsByWeek(string season, int week) + { + return this.GetPlayerPropsByWeekAsync(season, week).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds by Week Asynchronous + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + public Task> GetAlternateMarketGameOddsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/odds/{format}/AlternateMarketGameOddsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds by Week + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the game(s). Examples: 1, 2, etc. + public List GetAlternateMarketGameOddsByWeek(string season, int week) + { + return this.GetAlternateMarketGameOddsByWeekAsync(season, week).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of an CFB game. GameIDs can be found in the Games API. Valid entries are 8487 or 8657 + public Task> GetAlternateMarketGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/odds/{format}/AlternateMarketGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement + /// + /// The GameID of an CFB game. GameIDs can be found in the Games API. Valid entries are 8487 or 8657 + public List GetAlternateMarketGameOddsLineMovement(int gameid) + { + return this.GetAlternateMarketGameOddsLineMovementAsync(gameid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Projections.cs b/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Projections.cs new file mode 100644 index 0000000..087042d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Projections.cs @@ -0,0 +1,87 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.CFB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class CFBv3ProjectionsClient : BaseClient + { + public CFBv3ProjectionsClient(string apiKey) : base(apiKey) { } + public CFBv3ProjectionsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Projected Player Game Stats by Week Asynchronous + /// + /// Year of the season. Examples: 2018REG, 2018POST, etc. + /// The week of the game(s). Examples: 2, 3, etc. + public Task> GetProjectedPlayerGameStatsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/projections/{format}/ProjectedPlayerGameStatsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Week + /// + /// Year of the season. Examples: 2018REG, 2018POST, etc. + /// The week of the game(s). Examples: 2, 3, etc. + public List GetProjectedPlayerGameStatsByWeek(string season, int week) + { + return this.GetProjectedPlayerGameStatsByWeekAsync(season, week).Result; + } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the slates. Examples: 2018-SEP-15, 2018-SEP-22, etc. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/projections/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the slates. Examples: 2018-SEP-15, 2018-SEP-22, etc. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get DFS Slates by Week Asynchronous + /// + /// Year of the season. Examples: 2018REG, 2018POST, etc. + /// The week of the game(s). Examples: 3, 4, etc. + public Task> GetDfsSlatesByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/projections/{format}/DfsSlatesByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get DFS Slates by Week + /// + /// Year of the season. Examples: 2018REG, 2018POST, etc. + /// The week of the game(s). Examples: 3, 4, etc. + public List GetDfsSlatesByWeek(string season, int week) + { + return this.GetDfsSlatesByWeekAsync(season, week).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Scores.cs b/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Scores.cs new file mode 100644 index 0000000..1d3de2a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Scores.cs @@ -0,0 +1,283 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.CFB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class CFBv3ScoresClient : BaseClient + { + public CFBv3ScoresClient(string apiKey) : base(apiKey) { } + public CFBv3ScoresClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/scores/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Conference Hierarchy (with Teams) Asynchronous + /// + public Task> GetLeagueHierarchyAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cfb/scores/{format}/LeagueHierarchy", parameters) + ); + } + + /// + /// Get Conference Hierarchy (with Teams) + /// + public List GetLeagueHierarchy() + { + return this.GetLeagueHierarchyAsync().Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/scores/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public int GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Current Week Asynchronous + /// + public Task GetCurrentWeekAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/scores/{format}/CurrentWeek", parameters) + ); + } + + /// + /// Get Current Week + /// + public int? GetCurrentWeek() + { + return this.GetCurrentWeekAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-SEP-01, 2017-SEP-10. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/scores/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2016-SEP-01, 2017-SEP-10. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Games by Week Asynchronous + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public Task> GetGamesByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/scores/{format}/GamesByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Games by Week + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public List GetGamesByWeek(string season, int week) + { + return this.GetGamesByWeekAsync(season, week).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/scores/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cfb/scores/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Team Game Stats by Week Asynchronous + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public Task> GetTeamGameStatsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/scores/{format}/TeamGameStatsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Team Game Stats by Week + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public List GetTeamGameStatsByWeek(string season, int week) + { + return this.GetTeamGameStatsByWeekAsync(season, week).Result; + } + + /// + /// Get Team Season Stats & Standings Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/scores/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats & Standings + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cfb/scores/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Current SeasonType Asynchronous + /// + public Task GetCurrentSeasonTypeAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/scores/{format}/CurrentSeasonType", parameters) + ); + } + + /// + /// Get Current SeasonType + /// + public string GetCurrentSeasonType() + { + return this.GetCurrentSeasonTypeAsync().Result; + } + + /// + /// Get Current Season Details Asynchronous + /// + public Task GetCurrentSeasonDetailsAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/scores/{format}/CurrentSeasonDetails", parameters) + ); + } + + /// + /// Get Current Season Details + /// + public Season GetCurrentSeasonDetails() + { + return this.GetCurrentSeasonDetailsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Stats.cs b/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Stats.cs new file mode 100644 index 0000000..8db3c3e --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/CFB/CFBv3Stats.cs @@ -0,0 +1,568 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.CFB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class CFBv3StatsClient : BaseClient + { + public CFBv3StatsClient(string apiKey) : base(apiKey) { } + public CFBv3StatsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/stats/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of an CFB game. GameIDs can be found in the Games API. Valid entries are 1148 or 1149 + public Task> GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of an CFB game. GameIDs can be found in the Games API. Valid entries are 1148 or 1149 + public List GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-JAN-01, 2017-JAN-01. + public Task> GetBoxScoresByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/BoxScoresByDate/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2016-JAN-01, 2017-JAN-01. + public List GetBoxScoresByDate(string date) + { + return this.GetBoxScoresByDateAsync(date).Result; + } + + /// + /// Get Box Scores by Week Asynchronous + /// + /// Year of the season. Examples: 2017, 2018, etc. + /// The week of the game(s). Examples: 2, 3, etc. + public Task> GetBoxScoresByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/BoxScoresByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Box Scores by Week + /// + /// Year of the season. Examples: 2017, 2018, etc. + /// The week of the game(s). Examples: 2, 3, etc. + public List GetBoxScoresByWeek(string season, int week) + { + return this.GetBoxScoresByWeekAsync(season, week).Result; + } + + /// + /// Get Box Scores by Week Delta Asynchronous + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetBoxScoresByWeekDeltaAsync(string season, int week, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/BoxScoresByWeekDelta/{season}/{week}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Week Delta + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetBoxScoresByWeekDelta(string season, int week, string minutes) + { + return this.GetBoxScoresByWeekDeltaAsync(season, week, minutes).Result; + } + + /// + /// Get Conference Hierarchy (with Teams) Asynchronous + /// + public Task> GetLeagueHierarchyAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/LeagueHierarchy", parameters) + ); + } + + /// + /// Get Conference Hierarchy (with Teams) + /// + public List GetLeagueHierarchy() + { + return this.GetLeagueHierarchyAsync().Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/stats/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public int GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Current Week Asynchronous + /// + public Task GetCurrentWeekAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/stats/{format}/CurrentWeek", parameters) + ); + } + + /// + /// Get Current Week + /// + public int? GetCurrentWeek() + { + return this.GetCurrentWeekAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-SEP-01, 2017-SEP-10. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2016-SEP-01, 2017-SEP-10. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Games by Week Asynchronous + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public Task> GetGamesByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/GamesByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Games by Week + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public List GetGamesByWeek(string season, int week) + { + return this.GetGamesByWeekAsync(season, week).Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:50002016. + public Task> GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:50002016. + public List GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Details by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Player Details by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// The week of the game(s). Examples: 1, 2, 3, etc. + /// Unique FantasyData Player ID. Example:50002016. + public Task> GetPlayerGameStatsByPlayerAsync(string season, int week, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/PlayerGameStatsByPlayer/{season}/{week}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// Year of the season. Examples: 2015, 2016. + /// The week of the game(s). Examples: 1, 2, 3, etc. + /// Unique FantasyData Player ID. Example:50002016. + public List GetPlayerGameStatsByPlayer(string season, int week, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(season, week, playerid).Result; + } + + /// + /// Get Player Game Stats by Week Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public Task> GetPlayerGameStatsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/PlayerGameStatsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Player Game Stats by Week + /// + /// Year of the season. Examples: 2015, 2016. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public List GetPlayerGameStatsByWeek(string season, int week) + { + return this.GetPlayerGameStatsByWeekAsync(season, week).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats By Player Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + /// Unique FantasyData Player ID. Example:50002016. + public Task> GetPlayerSeasonStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/PlayerSeasonStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats By Player + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + /// Unique FantasyData Player ID. Example:50002016. + public List GetPlayerSeasonStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Team Game Stats by Week Asynchronous + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public Task> GetTeamGameStatsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/TeamGameStatsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Team Game Stats by Week + /// + /// Year of the season. Examples: 2015, 2016, etc. + /// The week of the game(s). Examples: 1, 2, 3, etc. + public List GetTeamGameStatsByWeek(string season, int week) + { + return this.GetTeamGameStatsByWeekAsync(season, week).Result; + } + + /// + /// Get Team Season Stats & Standings Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats & Standings + /// + /// Year of the season (with optional season type). Examples: 2017, 2017POST, 2018. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/cfb/stats/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Current SeasonType Asynchronous + /// + public Task GetCurrentSeasonTypeAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/stats/{format}/CurrentSeasonType", parameters) + ); + } + + /// + /// Get Current SeasonType + /// + public string GetCurrentSeasonType() + { + return this.GetCurrentSeasonTypeAsync().Result; + } + + /// + /// Get Current Season Details Asynchronous + /// + public Task GetCurrentSeasonDetailsAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/cfb/stats/{format}/CurrentSeasonDetails", parameters) + ); + } + + /// + /// Get Current Season Details + /// + public Season GetCurrentSeasonDetails() + { + return this.GetCurrentSeasonDetailsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Csgo/Csgov3Projections.cs b/FantasyData.Api.Client.NetCore/Clients/Csgo/Csgov3Projections.cs new file mode 100644 index 0000000..07d0804 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Csgo/Csgov3Projections.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Csgo; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Csgov3ProjectionsClient : BaseClient + { + public Csgov3ProjectionsClient(string apiKey) : base(apiKey) { } + public Csgov3ProjectionsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Projected Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/projections/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + /// Unique FantasyData Player ID. Example:100000576. + public Task> GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/projections/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + /// Unique FantasyData Player ID. Example:100000576. + public List GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Csgo/Csgov3Scores.cs b/FantasyData.Api.Client.NetCore/Clients/Csgo/Csgov3Scores.cs new file mode 100644 index 0000000..2a874f2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Csgo/Csgov3Scores.cs @@ -0,0 +1,346 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Csgo; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Csgov3ScoresClient : BaseClient + { + public Csgov3ScoresClient(string apiKey) : base(apiKey) { } + public Csgov3ScoresClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Areas (Countries) Asynchronous + /// + public Task> GetAreasAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/Areas", parameters) + ); + } + + /// + /// Get Areas (Countries) + /// + public List GetAreas() + { + return this.GetAreasAsync().Result; + } + + /// + /// Get Competition Fixtures (League Details) Asynchronous + /// + /// A CS:GO competition/league unique CompetitionId. Possible values include: 100000009, etc. + public Task GetCompetitionDetailsAsync(string competitionid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competitionid", competitionid.ToString())); + return Task.Run(() => + base.Get("/v3/csgo/scores/{format}/CompetitionDetails/{competitionid}", parameters) + ); + } + + /// + /// Get Competition Fixtures (League Details) + /// + /// A CS:GO competition/league unique CompetitionId. Possible values include: 100000009, etc. + public CompetitionDetail GetCompetitionDetails(string competitionid) + { + return this.GetCompetitionDetailsAsync(competitionid).Result; + } + + /// + /// Get Competitions (Leagues) Asynchronous + /// + public Task> GetCompetitionsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/Competitions", parameters) + ); + } + + /// + /// Get Competitions (Leagues) + /// + public List GetCompetitions() + { + return this.GetCompetitionsAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Memberships (Active) Asynchronous + /// + public Task> GetActiveMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/ActiveMemberships", parameters) + ); + } + + /// + /// Get Memberships (Active) + /// + public List GetActiveMemberships() + { + return this.GetActiveMembershipsAsync().Result; + } + + /// + /// Get Memberships (Historical) Asynchronous + /// + public Task> GetHistoricalMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/HistoricalMemberships", parameters) + ); + } + + /// + /// Get Memberships (Historical) + /// + public List GetHistoricalMemberships() + { + return this.GetHistoricalMembershipsAsync().Result; + } + + /// + /// Get Memberships by Team (Active) Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000001. + public Task> GetMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/MembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Active) + /// + /// Unique FantasyData Team ID. Example:100000001. + public List GetMembershipsByTeam(int teamid) + { + return this.GetMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Memberships by Team (Historical) Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000001. + public Task> GetHistoricalMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/HistoricalMembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Historical) + /// + /// Unique FantasyData Team ID. Example:100000001. + public List GetHistoricalMembershipsByTeam(int teamid) + { + return this.GetHistoricalMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:100000576. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/csgo/scores/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player + /// + /// Unique FantasyData Player ID. Example:100000576. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Players Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/Players", parameters) + ); + } + + /// + /// Get Players + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000001. + public Task> GetPlayersByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/PlayersByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// Unique FantasyData Team ID. Example:100000001. + public List GetPlayersByTeam(int teamid) + { + return this.GetPlayersByTeamAsync(teamid).Result; + } + + /// + /// Get Schedule Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000138, 1000001412, etc + public Task> GetScheduleAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/Schedule/{roundid}", parameters) + ); + } + + /// + /// Get Schedule + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000138, 1000001412, etc + public List GetSchedule(int roundid) + { + return this.GetScheduleAsync(roundid).Result; + } + + /// + /// Get Season Teams Asynchronous + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000023, 100000024, etc + public Task> GetSeasonTeamsAsync(int seasonid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("seasonid", seasonid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/SeasonTeams/{seasonid}", parameters) + ); + } + + /// + /// Get Season Teams + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000023, 100000024, etc + public List GetSeasonTeams(int seasonid) + { + return this.GetSeasonTeamsAsync(seasonid).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Venues Asynchronous + /// + public Task> GetVenuesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/Venues", parameters) + ); + } + + /// + /// Get Venues + /// + public List GetVenues() + { + return this.GetVenuesAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000138, etc + public Task> GetStandingsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/scores/{format}/Standings/{roundid}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000138, etc + public List GetStandings(int roundid) + { + return this.GetStandingsAsync(roundid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Csgo/Csgov3Stats.cs b/FantasyData.Api.Client.NetCore/Clients/Csgo/Csgov3Stats.cs new file mode 100644 index 0000000..17f5a54 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Csgo/Csgov3Stats.cs @@ -0,0 +1,390 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Csgo; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Csgov3StatsClient : BaseClient + { + public Csgov3StatsClient(string apiKey) : base(apiKey) { } + public Csgov3StatsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Areas (Countries) Asynchronous + /// + public Task> GetAreasAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/Areas", parameters) + ); + } + + /// + /// Get Areas (Countries) + /// + public List GetAreas() + { + return this.GetAreasAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// Unique GameId for the desired box scores. Examples: 100000091 + public Task> GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// Unique GameId for the desired box scores. Examples: 100000091 + public List GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Competition Fixtures (League Details) Asynchronous + /// + /// A CS:GO competition/league unique CompetitionId. Possible values include: 100000009, etc. + public Task GetCompetitionDetailsAsync(string competitionid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competitionid", competitionid.ToString())); + return Task.Run(() => + base.Get("/v3/csgo/stats/{format}/CompetitionDetails/{competitionid}", parameters) + ); + } + + /// + /// Get Competition Fixtures (League Details) + /// + /// A CS:GO competition/league unique CompetitionId. Possible values include: 100000009, etc. + public CompetitionDetail GetCompetitionDetails(string competitionid) + { + return this.GetCompetitionDetailsAsync(competitionid).Result; + } + + /// + /// Get Competitions (Leagues) Asynchronous + /// + public Task> GetCompetitionsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/Competitions", parameters) + ); + } + + /// + /// Get Competitions (Leagues) + /// + public List GetCompetitions() + { + return this.GetCompetitionsAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Memberships (Active) Asynchronous + /// + public Task> GetActiveMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/ActiveMemberships", parameters) + ); + } + + /// + /// Get Memberships (Active) + /// + public List GetActiveMemberships() + { + return this.GetActiveMembershipsAsync().Result; + } + + /// + /// Get Memberships (Historical) Asynchronous + /// + public Task> GetHistoricalMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/HistoricalMemberships", parameters) + ); + } + + /// + /// Get Memberships (Historical) + /// + public List GetHistoricalMemberships() + { + return this.GetHistoricalMembershipsAsync().Result; + } + + /// + /// Get Memberships by Team (Active) Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000001. + public Task> GetMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/MembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Active) + /// + /// Unique FantasyData Team ID. Example:100000001. + public List GetMembershipsByTeam(int teamid) + { + return this.GetMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Memberships by Team (Historical) Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000001. + public Task> GetHistoricalMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/HistoricalMembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Historical) + /// + /// Unique FantasyData Team ID. Example:100000001. + public List GetHistoricalMembershipsByTeam(int teamid) + { + return this.GetHistoricalMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:100000576. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/csgo/stats/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player + /// + /// Unique FantasyData Player ID. Example:100000576. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Players Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/Players", parameters) + ); + } + + /// + /// Get Players + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000001. + public Task> GetPlayersByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/PlayersByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// Unique FantasyData Team ID. Example:100000001. + public List GetPlayersByTeam(int teamid) + { + return this.GetPlayersByTeamAsync(teamid).Result; + } + + /// + /// Get Schedule Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000138, 1000001412, etc + public Task> GetScheduleAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/Schedule/{roundid}", parameters) + ); + } + + /// + /// Get Schedule + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000138, 1000001412, etc + public List GetSchedule(int roundid) + { + return this.GetScheduleAsync(roundid).Result; + } + + /// + /// Get Season Teams Asynchronous + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000023, 100000024, etc + public Task> GetSeasonTeamsAsync(int seasonid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("seasonid", seasonid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/SeasonTeams/{seasonid}", parameters) + ); + } + + /// + /// Get Season Teams + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000023, 100000024, etc + public List GetSeasonTeams(int seasonid) + { + return this.GetSeasonTeamsAsync(seasonid).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Venues Asynchronous + /// + public Task> GetVenuesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/Venues", parameters) + ); + } + + /// + /// Get Venues + /// + public List GetVenues() + { + return this.GetVenuesAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000138, etc + public Task> GetStandingsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/csgo/stats/{format}/Standings/{roundid}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000138, etc + public List GetStandings(int roundid) + { + return this.GetStandingsAsync(roundid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Golf/Golfv2.cs b/FantasyData.Api.Client.NetCore/Clients/Golf/Golfv2.cs new file mode 100644 index 0000000..9433efe --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Golf/Golfv2.cs @@ -0,0 +1,311 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Golf; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Golfv2Client : BaseClient + { + public Golfv2Client(string apiKey) : base(apiKey) { } + public Golfv2Client(Guid apiKey) : base(apiKey) { } + + /// + /// Get Injuries Asynchronous + /// + public Task> GetInjuriesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/Injuries", parameters) + ); + } + + /// + /// Get Injuries + /// + public List GetInjuries() + { + return this.GetInjuriesAsync().Result; + } + + /// + /// Get Injuries (Historical) Asynchronous + /// + public Task> GetInjuriesByHistoricalAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/InjuriesByHistorical", parameters) + ); + } + + /// + /// Get Injuries (Historical) + /// + public List GetInjuriesByHistorical() + { + return this.GetInjuriesByHistoricalAsync().Result; + } + + /// + /// Get Leaderboard Asynchronous + /// + /// The TournamentID of a tournament. TournamentIDs can be found in the Tournaments API. Valid entries are 58, 61, etc. + public Task GetLeaderboardAsync(int tournamentid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("tournamentid", tournamentid.ToString())); + return Task.Run(() => + base.Get("/golf/v2/{format}/Leaderboard/{tournamentid}", parameters) + ); + } + + /// + /// Get Leaderboard + /// + /// The TournamentID of a tournament. TournamentIDs can be found in the Tournaments API. Valid entries are 58, 61, etc. + public Leaderboard GetLeaderboard(int tournamentid) + { + return this.GetLeaderboardAsync(tournamentid).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:40000019. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:40000019. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:40000019. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/golf/v2/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player + /// + /// Unique FantasyData Player ID. Example:40000019. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Season Stats (w/ World Golf Rankings) Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats (w/ World Golf Rankings) + /// + /// Year of the season. Examples: 2016, 2017. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Tournament Projected Stats (w/ DraftKings Salaries) Asynchronous + /// + /// The TournamentID of a tournament. TournamentIDs can be found in the Tournaments API. Valid entries are 78, 79, 80, etc. + public Task> GetPlayerTournamentProjectionStatsAsync(int tournamentid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("tournamentid", tournamentid.ToString())); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/PlayerTournamentProjectionStats/{tournamentid}", parameters) + ); + } + + /// + /// Get Player Tournament Projected Stats (w/ DraftKings Salaries) + /// + /// The TournamentID of a tournament. TournamentIDs can be found in the Tournaments API. Valid entries are 78, 79, 80, etc. + public List GetPlayerTournamentProjectionStats(int tournamentid) + { + return this.GetPlayerTournamentProjectionStatsAsync(tournamentid).Result; + } + + /// + /// Get Player Tournament Stats By Player Asynchronous + /// + /// The TournamentID of a tournament. TournamentIDs can be found in the Tournaments API. Valid entries are 58, 61, etc. + /// Unique FantasyData Player ID. Example:40000019. + public Task GetPlayerTournamentStatsByPlayerAsync(int tournamentid, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("tournamentid", tournamentid.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/golf/v2/{format}/PlayerTournamentStatsByPlayer/{tournamentid}/{playerid}", parameters) + ); + } + + /// + /// Get Player Tournament Stats By Player + /// + /// The TournamentID of a tournament. TournamentIDs can be found in the Tournaments API. Valid entries are 58, 61, etc. + /// Unique FantasyData Player ID. Example:40000019. + public PlayerTournament GetPlayerTournamentStatsByPlayer(int tournamentid, int playerid) + { + return this.GetPlayerTournamentStatsByPlayerAsync(tournamentid, playerid).Result; + } + + /// + /// Get Players Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/Players", parameters) + ); + } + + /// + /// Get Players + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Schedule Asynchronous + /// + public Task> GetTournamentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/Tournaments", parameters) + ); + } + + /// + /// Get Schedule + /// + public List GetTournaments() + { + return this.GetTournamentsAsync().Result; + } + + /// + /// Get DFS Slates Asynchronous + /// + /// The TournamentID of a tournament. TournamentIDs can be found in the Tournaments API. Valid entries are 58, 61, etc. + public Task> GetDfsSlatesByTournamentAsync(int tournamentid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("tournamentid", tournamentid.ToString())); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/DfsSlatesByTournament/{tournamentid}", parameters) + ); + } + + /// + /// Get DFS Slates + /// + /// The TournamentID of a tournament. TournamentIDs can be found in the Tournaments API. Valid entries are 58, 61, etc. + public List GetDfsSlatesByTournament(int tournamentid) + { + return this.GetDfsSlatesByTournamentAsync(tournamentid).Result; + } + + /// + /// Get Schedule by Season Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + public Task> GetTournamentsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/golf/v2/{format}/Tournaments/{season}", parameters) + ); + } + + /// + /// Get Schedule by Season + /// + /// Year of the season. Examples: 2016, 2017. + public List GetTournaments(string season) + { + return this.GetTournamentsAsync(season).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Lol/Lolv3Projections.cs b/FantasyData.Api.Client.NetCore/Clients/Lol/Lolv3Projections.cs new file mode 100644 index 0000000..392b1d5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Lol/Lolv3Projections.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Lol; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Lolv3ProjectionsClient : BaseClient + { + public Lolv3ProjectionsClient(string apiKey) : base(apiKey) { } + public Lolv3ProjectionsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Projected Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Example: 2019-01-20 + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/projections/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date + /// + /// The date of the game(s). Example: 2019-01-20 + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Example: 2019-01-20 + /// Unique FantasyData Player ID. Example:100001500. + public Task> GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/projections/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player + /// + /// The date of the game(s). Example: 2019-01-20 + /// Unique FantasyData Player ID. Example:100001500. + public List GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Lol/Lolv3Scores.cs b/FantasyData.Api.Client.NetCore/Clients/Lol/Lolv3Scores.cs new file mode 100644 index 0000000..7da8a33 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Lol/Lolv3Scores.cs @@ -0,0 +1,346 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Lol; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Lolv3ScoresClient : BaseClient + { + public Lolv3ScoresClient(string apiKey) : base(apiKey) { } + public Lolv3ScoresClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Areas (Countries) Asynchronous + /// + public Task> GetAreasAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/Areas", parameters) + ); + } + + /// + /// Get Areas (Countries) + /// + public List GetAreas() + { + return this.GetAreasAsync().Result; + } + + /// + /// Get Competition Fixtures (League Details) Asynchronous + /// + /// A LoL competition/league unique CompetitionId. Possible values include: 100000009, etc. + public Task GetCompetitionDetailsAsync(string competitionid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competitionid", competitionid.ToString())); + return Task.Run(() => + base.Get("/v3/lol/scores/{format}/CompetitionDetails/{competitionid}", parameters) + ); + } + + /// + /// Get Competition Fixtures (League Details) + /// + /// A LoL competition/league unique CompetitionId. Possible values include: 100000009, etc. + public CompetitionDetail GetCompetitionDetails(string competitionid) + { + return this.GetCompetitionDetailsAsync(competitionid).Result; + } + + /// + /// Get Competitions (Leagues) Asynchronous + /// + public Task> GetCompetitionsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/Competitions", parameters) + ); + } + + /// + /// Get Competitions (Leagues) + /// + public List GetCompetitions() + { + return this.GetCompetitionsAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2018-01-13, 2018-06-13. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Memberships (Active) Asynchronous + /// + public Task> GetActiveMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/ActiveMemberships", parameters) + ); + } + + /// + /// Get Memberships (Active) + /// + public List GetActiveMemberships() + { + return this.GetActiveMembershipsAsync().Result; + } + + /// + /// Get Memberships (Historical) Asynchronous + /// + public Task> GetHistoricalMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/HistoricalMemberships", parameters) + ); + } + + /// + /// Get Memberships (Historical) + /// + public List GetHistoricalMemberships() + { + return this.GetHistoricalMembershipsAsync().Result; + } + + /// + /// Get Memberships by Team (Active) Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000001. + public Task> GetMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/MembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Active) + /// + /// Unique FantasyData Team ID. Example:100000001. + public List GetMembershipsByTeam(int teamid) + { + return this.GetMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Memberships by Team (Historical) Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000001. + public Task> GetHistoricalMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/HistoricalMembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Historical) + /// + /// Unique FantasyData Team ID. Example:100000001. + public List GetHistoricalMembershipsByTeam(int teamid) + { + return this.GetHistoricalMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:100000576. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/lol/scores/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player + /// + /// Unique FantasyData Player ID. Example:100000576. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Players Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/Players", parameters) + ); + } + + /// + /// Get Players + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000001. + public Task> GetPlayersByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/PlayersByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// Unique FantasyData Team ID. Example:100000001. + public List GetPlayersByTeam(int teamid) + { + return this.GetPlayersByTeamAsync(teamid).Result; + } + + /// + /// Get Schedule Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000138, 1000001412, etc + public Task> GetScheduleAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/Schedule/{roundid}", parameters) + ); + } + + /// + /// Get Schedule + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000138, 1000001412, etc + public List GetSchedule(int roundid) + { + return this.GetScheduleAsync(roundid).Result; + } + + /// + /// Get Season Teams Asynchronous + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000023, 100000024, etc + public Task> GetSeasonTeamsAsync(int seasonid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("seasonid", seasonid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/SeasonTeams/{seasonid}", parameters) + ); + } + + /// + /// Get Season Teams + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000023, 100000024, etc + public List GetSeasonTeams(int seasonid) + { + return this.GetSeasonTeamsAsync(seasonid).Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000138, etc + public Task> GetStandingsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/Standings/{roundid}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000138, etc + public List GetStandings(int roundid) + { + return this.GetStandingsAsync(roundid).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Venues Asynchronous + /// + public Task> GetVenuesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/scores/{format}/Venues", parameters) + ); + } + + /// + /// Get Venues + /// + public List GetVenues() + { + return this.GetVenuesAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Lol/Lolv3Stats.cs b/FantasyData.Api.Client.NetCore/Clients/Lol/Lolv3Stats.cs new file mode 100644 index 0000000..b1a9c82 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Lol/Lolv3Stats.cs @@ -0,0 +1,447 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Lol; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Lolv3StatsClient : BaseClient + { + public Lolv3StatsClient(string apiKey) : base(apiKey) { } + public Lolv3StatsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Areas (Countries) Asynchronous + /// + public Task> GetAreasAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Areas", parameters) + ); + } + + /// + /// Get Areas (Countries) + /// + public List GetAreas() + { + return this.GetAreasAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// Unique FantasyData Game ID. Example:100002649. + public Task> GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// Unique FantasyData Game ID. Example:100002649. + public List GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2019-01-20 + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2019-01-20 + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Champions Asynchronous + /// + public Task> GetChampionsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Champions", parameters) + ); + } + + /// + /// Get Champions + /// + public List GetChampions() + { + return this.GetChampionsAsync().Result; + } + + /// + /// Get Competition Fixtures (League Details) Asynchronous + /// + /// A LoL competition/league unique CompetitionId. Possible values include: 100000019, etc. + public Task GetCompetitionDetailsAsync(string competitionid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competitionid", competitionid.ToString())); + return Task.Run(() => + base.Get("/v3/lol/stats/{format}/CompetitionDetails/{competitionid}", parameters) + ); + } + + /// + /// Get Competition Fixtures (League Details) + /// + /// A LoL competition/league unique CompetitionId. Possible values include: 100000019, etc. + public CompetitionDetail GetCompetitionDetails(string competitionid) + { + return this.GetCompetitionDetailsAsync(competitionid).Result; + } + + /// + /// Get Competitions (Leagues) Asynchronous + /// + public Task> GetCompetitionsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Competitions", parameters) + ); + } + + /// + /// Get Competitions (Leagues) + /// + public List GetCompetitions() + { + return this.GetCompetitionsAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2019-01-20 + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2019-01-20 + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Items Asynchronous + /// + public Task> GetItemsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Items", parameters) + ); + } + + /// + /// Get Items + /// + public List GetItems() + { + return this.GetItemsAsync().Result; + } + + /// + /// Get Memberships (Active) Asynchronous + /// + public Task> GetActiveMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/ActiveMemberships", parameters) + ); + } + + /// + /// Get Memberships (Active) + /// + public List GetActiveMemberships() + { + return this.GetActiveMembershipsAsync().Result; + } + + /// + /// Get Memberships (Historical) Asynchronous + /// + public Task> GetHistoricalMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/HistoricalMemberships", parameters) + ); + } + + /// + /// Get Memberships (Historical) + /// + public List GetHistoricalMemberships() + { + return this.GetHistoricalMembershipsAsync().Result; + } + + /// + /// Get Memberships by Team (Active) Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000165. + public Task> GetMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/MembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Active) + /// + /// Unique FantasyData Team ID. Example:100000165. + public List GetMembershipsByTeam(int teamid) + { + return this.GetMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Memberships by Team (Historical) Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000165. + public Task> GetHistoricalMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/HistoricalMembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Historical) + /// + /// Unique FantasyData Team ID. Example:100000165. + public List GetHistoricalMembershipsByTeam(int teamid) + { + return this.GetHistoricalMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:100001500. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/lol/stats/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player + /// + /// Unique FantasyData Player ID. Example:100001500. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Players Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Players", parameters) + ); + } + + /// + /// Get Players + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// Unique FantasyData Team ID. Example:100000165. + public Task> GetPlayersByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/PlayersByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// Unique FantasyData Team ID. Example:100000165. + public List GetPlayersByTeam(int teamid) + { + return this.GetPlayersByTeamAsync(teamid).Result; + } + + /// + /// Get Schedule Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000278, etc + public Task> GetScheduleAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Schedule/{roundid}", parameters) + ); + } + + /// + /// Get Schedule + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000278, etc + public List GetSchedule(int roundid) + { + return this.GetScheduleAsync(roundid).Result; + } + + /// + /// Get Season Teams Asynchronous + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000057, etc + public Task> GetSeasonTeamsAsync(int seasonid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("seasonid", seasonid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/SeasonTeams/{seasonid}", parameters) + ); + } + + /// + /// Get Season Teams + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competitions and Competition Details endpoints. Examples: 100000057, etc + public List GetSeasonTeams(int seasonid) + { + return this.GetSeasonTeamsAsync(seasonid).Result; + } + + /// + /// Get Spells Asynchronous + /// + public Task> GetSpellsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Spells", parameters) + ); + } + + /// + /// Get Spells + /// + public List GetSpells() + { + return this.GetSpellsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000278, etc + public Task> GetStandingsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Standings/{roundid}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competitions and Competition Details endpoints. Example: 100000278, etc + public List GetStandings(int roundid) + { + return this.GetStandingsAsync(roundid).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Venues Asynchronous + /// + public Task> GetVenuesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/lol/stats/{format}/Venues", parameters) + ); + } + + /// + /// Get Venues + /// + public List GetVenues() + { + return this.GetVenuesAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv2.cs b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv2.cs new file mode 100644 index 0000000..30378c7 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv2.cs @@ -0,0 +1,832 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.MLB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class MLBv2Client : BaseClient + { + public MLBv2Client(string apiKey) : base(apiKey) { } + public MLBv2Client(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/mlb/v2/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Batter vs. Pitcher Stats Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000031. + /// Unique FantasyData Player ID. Example:10000618. + public Task> GetHitterVsPitcherAsync(int hitterid, int pitcherid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("hitterid", hitterid.ToString())); + parameters.Add(new KeyValuePair("pitcherid", pitcherid.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/HitterVsPitcher/{hitterid}/{pitcherid}", parameters) + ); + } + + /// + /// Get Batter vs. Pitcher Stats + /// + /// Unique FantasyData Player ID. Example:10000031. + /// Unique FantasyData Player ID. Example:10000618. + public List GetHitterVsPitcher(int hitterid, int pitcherid) + { + return this.GetHitterVsPitcherAsync(hitterid, pitcherid).Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/mlb/v2/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/mlb/v2/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the slates. Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the slates. Examples: 2015-JUL-31, 2015-SEP-01. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Play By Play Asynchronous + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetPlayByPlayAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/mlb/v2/{format}/PlayByPlay/{gameid}", parameters) + ); + } + + /// + /// Get Play By Play + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public PlayByPlay GetPlayByPlay(int gameid) + { + return this.GetPlayByPlayAsync(gameid).Result; + } + + /// + /// Get Play By Play Delta Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetPlayByPlayDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayByPlayDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Play By Play Delta + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetPlayByPlayDelta(string date, string minutes) + { + return this.GetPlayByPlayDeltaAsync(date, minutes).Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agents Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agents + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/mlb/v2/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:10000507. + public Task GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/mlb/v2/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:10000507. + public PlayerGame GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Away Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetPlayerSeasonAwayStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerSeasonAwayStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Away Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetPlayerSeasonAwayStats(string season) + { + return this.GetPlayerSeasonAwayStatsAsync(season).Result; + } + + /// + /// Get Player Season Home Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetPlayerSeasonHomeStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerSeasonHomeStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Home Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetPlayerSeasonHomeStats(string season) + { + return this.GetPlayerSeasonHomeStatsAsync(season).Result; + } + + /// + /// Get Player Season Split Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// The desired split of stats. Currently, we support vs. Left/Right/Switch handed pitchers/hitters. Possible values are: L, R and S + public Task> GetPlayerSeasonSplitStatsAsync(string season, string split) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("split", split.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerSeasonSplitStats/{season}/{split}", parameters) + ); + } + + /// + /// Get Player Season Split Stats + /// + /// Year of the season. Examples: 2015, 2016. + /// The desired split of stats. Currently, we support vs. Left/Right/Switch handed pitchers/hitters. Possible values are: L, R and S + public List GetPlayerSeasonSplitStats(string season, string split) + { + return this.GetPlayerSeasonSplitStatsAsync(season, split).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats By Player Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:10000507. + public Task GetPlayerSeasonStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/mlb/v2/{format}/PlayerSeasonStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats By Player + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:10000507. + public PlayerSeason GetPlayerSeasonStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Player Season Stats Split By Team Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetPlayerSeasonStatsSplitByTeamAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerSeasonStatsSplitByTeam/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats Split By Team + /// + /// Year of the season. Examples: 2015, 2016. + public List GetPlayerSeasonStatsSplitByTeam(string season) + { + return this.GetPlayerSeasonStatsSplitByTeamAsync(season).Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, Lineups, DFS Salaries) + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, Lineups, DFS Salaries) + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:10000507. + public List GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Projected Player Season Stats (with ADP) Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetPlayerSeasonProjectionStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/PlayerSeasonProjectionStats/{season}", parameters) + ); + } + + /// + /// Get Projected Player Season Stats (with ADP) + /// + /// Year of the season. Examples: 2015, 2016. + public List GetPlayerSeasonProjectionStats(string season) + { + return this.GetPlayerSeasonProjectionStatsAsync(season).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season. Examples: 2015, 2016. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Hitting vs. Starting Pitcher Asynchronous + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetTeamHittersVsPitcherAsync(int gameid, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/TeamHittersVsPitcher/{gameid}/{team}", parameters) + ); + } + + /// + /// Get Team Hitting vs. Starting Pitcher + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetTeamHittersVsPitcher(int gameid, string team) + { + return this.GetTeamHittersVsPitcherAsync(gameid, team).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/mlb/v2/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Odds.cs b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Odds.cs new file mode 100644 index 0000000..d587310 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Odds.cs @@ -0,0 +1,175 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.MLB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class MLBv3OddsClient : BaseClient + { + public MLBv3OddsClient(string apiKey) : base(apiKey) { } + public MLBv3OddsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Pre-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public Task> GetGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/odds/{format}/GameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get Pre-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public List GetGameOddsByDate(string date) + { + return this.GetGameOddsByDateAsync(date).Result; + } + + /// + /// Get Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 51735 or 51745 + public Task> GetGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/odds/{format}/GameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Pre-Game Odds Line Movement + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 51735 or 51745 + public List GetGameOddsLineMovement(int gameid) + { + return this.GetGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get In-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public Task> GetLiveGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/odds/{format}/LiveGameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get In-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public List GetLiveGameOddsByDate(string date) + { + return this.GetLiveGameOddsByDateAsync(date).Result; + } + + /// + /// Get In-Game Odds Line Movement Asynchronous + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 51735 or 51745 + public Task> GetLiveGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/odds/{format}/LiveGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get In-Game Odds Line Movement + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 51735 or 51745 + public List GetLiveGameOddsLineMovement(int gameid) + { + return this.GetLiveGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get Player Props by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public Task> GetPlayerPropsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/odds/{format}/PlayerPropsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Props by Date + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public List GetPlayerPropsByDate(string date) + { + return this.GetPlayerPropsByDateAsync(date).Result; + } + + /// + /// Get Player Props by Player Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + /// Unique FantasyData Player ID. Example:10000507 + public Task> GetPlayerPropsByPlayerIDAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/odds/{format}/PlayerPropsByPlayerID/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Props by Player + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + /// Unique FantasyData Player ID. Example:10000507 + public List GetPlayerPropsByPlayerID(string date, int playerid) + { + return this.GetPlayerPropsByPlayerIDAsync(date, playerid).Result; + } + + /// + /// Get Player Props by Team Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + /// The abbreviation of the requested team. Examples: PHI, MIN, DET, etc. + public Task> GetPlayerPropsByTeamAsync(string date, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/odds/{format}/PlayerPropsByTeam/{date}/{team}", parameters) + ); + } + + /// + /// Get Player Props by Team + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + /// The abbreviation of the requested team. Examples: PHI, MIN, DET, etc. + public List GetPlayerPropsByTeam(string date, string team) + { + return this.GetPlayerPropsByTeamAsync(date, team).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3PlayByPlay.cs b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3PlayByPlay.cs new file mode 100644 index 0000000..01da3e0 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3PlayByPlay.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.MLB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class MLBv3PlayByPlayClient : BaseClient + { + public MLBv3PlayByPlayClient(string apiKey) : base(apiKey) { } + public MLBv3PlayByPlayClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Play By Play Asynchronous + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetPlayByPlayAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/v3/mlb/pbp/{format}/PlayByPlay/{gameid}", parameters) + ); + } + + /// + /// Get Play By Play + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public PlayByPlay GetPlayByPlay(int gameid) + { + return this.GetPlayByPlayAsync(gameid).Result; + } + + /// + /// Get Play By Play Delta Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + /// Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetPlayByPlayDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/pbp/{format}/PlayByPlayDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Play By Play Delta + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + /// Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetPlayByPlayDelta(string date, string minutes) + { + return this.GetPlayByPlayDeltaAsync(date, minutes).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Projections.cs b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Projections.cs new file mode 100644 index 0000000..9ba574a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Projections.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.MLB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class MLBv3ProjectionsClient : BaseClient + { + public MLBv3ProjectionsClient(string apiKey) : base(apiKey) { } + public MLBv3ProjectionsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the slates. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/projections/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the slates. Examples: 2017-JUL-31, 2017-SEP-01. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/projections/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, Lineups, DFS Salaries) + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/projections/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, Lineups, DFS Salaries) + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + /// Unique FantasyData Player ID. Example:10000507. + public List GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Projected Player Season Stats (with ADP) Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + public Task> GetPlayerSeasonProjectionStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/projections/{format}/PlayerSeasonProjectionStats/{season}", parameters) + ); + } + + /// + /// Get Projected Player Season Stats (with ADP) + /// + /// Year of the season. Examples: 2017, 2018. + public List GetPlayerSeasonProjectionStats(string season) + { + return this.GetPlayerSeasonProjectionStatsAsync(season).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3RotoBallerArticles.cs b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3RotoBallerArticles.cs new file mode 100644 index 0000000..009f5cc --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3RotoBallerArticles.cs @@ -0,0 +1,78 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.MLB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class MLBv3RotoBallerArticlesClient : BaseClient + { + public MLBv3RotoBallerArticlesClient(string apiKey) : base(apiKey) { } + public MLBv3RotoBallerArticlesClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get RotoBaller Articles Asynchronous + /// + public Task> GetRotoBallerArticlesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/articles-rotoballer/{format}/RotoBallerArticles", parameters) + ); + } + + /// + /// Get RotoBaller Articles + /// + public List
GetRotoBallerArticles() + { + return this.GetRotoBallerArticlesAsync().Result; + } + + /// + /// Get RotoBaller Articles By Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetRotoBallerArticlesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/articles-rotoballer/{format}/RotoBallerArticlesByDate/{date}", parameters) + ); + } + + /// + /// Get RotoBaller Articles By Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List
GetRotoBallerArticlesByDate(string date) + { + return this.GetRotoBallerArticlesByDateAsync(date).Result; + } + + /// + /// Get RotoBaller Articles By Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetRotoBallerArticlesByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/articles-rotoballer/{format}/RotoBallerArticlesByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get RotoBaller Articles By Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List
GetRotoBallerArticlesByPlayerID(int playerid) + { + return this.GetRotoBallerArticlesByPlayerIDAsync(playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3RotoBallerPremiumNews.cs b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3RotoBallerPremiumNews.cs new file mode 100644 index 0000000..9c9e882 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3RotoBallerPremiumNews.cs @@ -0,0 +1,78 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.MLB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class MLBv3RotoBallerPremiumNewsClient : BaseClient + { + public MLBv3RotoBallerPremiumNewsClient(string apiKey) : base(apiKey) { } + public MLBv3RotoBallerPremiumNewsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Premium News Asynchronous + /// + public Task> GetRotoBallerPremiumNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/news-rotoballer/{format}/RotoBallerPremiumNews", parameters) + ); + } + + /// + /// Get Premium News + /// + public List GetRotoBallerPremiumNews() + { + return this.GetRotoBallerPremiumNewsAsync().Result; + } + + /// + /// Get Premium News by Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetRotoBallerPremiumNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/news-rotoballer/{format}/RotoBallerPremiumNewsByDate/{date}", parameters) + ); + } + + /// + /// Get Premium News by Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List GetRotoBallerPremiumNewsByDate(string date) + { + return this.GetRotoBallerPremiumNewsByDateAsync(date).Result; + } + + /// + /// Get Premium News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetRotoBallerPremiumNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/news-rotoballer/{format}/RotoBallerPremiumNewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get Premium News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetRotoBallerPremiumNewsByPlayerID(int playerid) + { + return this.GetRotoBallerPremiumNewsByPlayerIDAsync(playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Scores.cs b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Scores.cs new file mode 100644 index 0000000..60ae7be --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Scores.cs @@ -0,0 +1,365 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.MLB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class MLBv3ScoresClient : BaseClient + { + public MLBv3ScoresClient(string apiKey) : base(apiKey) { } + public MLBv3ScoresClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/mlb/scores/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/mlb/scores/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agents Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agents + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/mlb/scores/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season. Examples: 2017, 2018. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2017, 2018. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/scores/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Stats.cs b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Stats.cs new file mode 100644 index 0000000..2e82743 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/MLB/MLBv3Stats.cs @@ -0,0 +1,716 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.MLB; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class MLBv3StatsClient : BaseClient + { + public MLBv3StatsClient(string apiKey) : base(apiKey) { } + public MLBv3StatsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/mlb/stats/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Batter vs. Pitcher Stats Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000031. + /// Unique FantasyData Player ID. Example:10000618. + public Task> GetHitterVsPitcherAsync(int hitterid, int pitcherid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("hitterid", hitterid.ToString())); + parameters.Add(new KeyValuePair("pitcherid", pitcherid.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/HitterVsPitcher/{hitterid}/{pitcherid}", parameters) + ); + } + + /// + /// Get Batter vs. Pitcher Stats + /// + /// Unique FantasyData Player ID. Example:10000031. + /// Unique FantasyData Player ID. Example:10000618. + public List GetHitterVsPitcher(int hitterid, int pitcherid) + { + return this.GetHitterVsPitcherAsync(hitterid, pitcherid).Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/v3/mlb/stats/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/mlb/stats/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the slates. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the slates. Examples: 2017-JUL-31, 2017-SEP-01. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agents Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agents + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/mlb/stats/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + /// Unique FantasyData Player ID. Example:10000507. + public Task GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/mlb/stats/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + /// Unique FantasyData Player ID. Example:10000507. + public PlayerGame GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Away Stats Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + public Task> GetPlayerSeasonAwayStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/PlayerSeasonAwayStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Away Stats + /// + /// Year of the season. Examples: 2017, 2018. + public List GetPlayerSeasonAwayStats(string season) + { + return this.GetPlayerSeasonAwayStatsAsync(season).Result; + } + + /// + /// Get Player Season Home Stats Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + public Task> GetPlayerSeasonHomeStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/PlayerSeasonHomeStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Home Stats + /// + /// Year of the season. Examples: 2017, 2018. + public List GetPlayerSeasonHomeStats(string season) + { + return this.GetPlayerSeasonHomeStatsAsync(season).Result; + } + + /// + /// Get Player Season Split Stats Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + /// The desired split of stats. Currently, we support vs. Left/Right/Switch handed pitchers/hitters. Possible values are: L, R and S + public Task> GetPlayerSeasonSplitStatsAsync(string season, string split) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("split", split.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/PlayerSeasonSplitStats/{season}/{split}", parameters) + ); + } + + /// + /// Get Player Season Split Stats + /// + /// Year of the season. Examples: 2017, 2018. + /// The desired split of stats. Currently, we support vs. Left/Right/Switch handed pitchers/hitters. Possible values are: L, R and S + public List GetPlayerSeasonSplitStats(string season, string split) + { + return this.GetPlayerSeasonSplitStatsAsync(season, split).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season. Examples: 2017, 2018. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats By Player Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + /// Unique FantasyData Player ID. Example:10000507. + public Task GetPlayerSeasonStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/mlb/stats/{format}/PlayerSeasonStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats By Player + /// + /// Year of the season. Examples: 2017, 2018. + /// Unique FantasyData Player ID. Example:10000507. + public PlayerSeason GetPlayerSeasonStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season. Examples: 2017, 2018. + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Player Season Stats Split By Team Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + public Task> GetPlayerSeasonStatsSplitByTeamAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/PlayerSeasonStatsSplitByTeam/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats Split By Team + /// + /// Year of the season. Examples: 2017, 2018. + public List GetPlayerSeasonStatsSplitByTeam(string season) + { + return this.GetPlayerSeasonStatsSplitByTeamAsync(season).Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season. Examples: 2017, 2018. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2017-JUL-31, 2017-SEP-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Hitting vs. Starting Pitcher Asynchronous + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetTeamHittersVsPitcherAsync(int gameid, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/TeamHittersVsPitcher/{gameid}/{team}", parameters) + ); + } + + /// + /// Get Team Hitting vs. Starting Pitcher + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetTeamHittersVsPitcher(int gameid, string team) + { + return this.GetTeamHittersVsPitcherAsync(gameid, team).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2017, 2018. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2017, 2018. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/mlb/stats/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv2.cs b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv2.cs new file mode 100644 index 0000000..497e204 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv2.cs @@ -0,0 +1,622 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NBA; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NBAv2Client : BaseClient + { + public NBAv2Client(string apiKey) : base(apiKey) { } + public NBAv2Client(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/nba/v2/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/nba/v2/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/nba/v2/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agent Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agent + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/nba/v2/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:20000571. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/nba/v2/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:20000571. + public PlayerGame GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats By Player Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerSeasonStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/nba/v2/{format}/PlayerSeasonStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats By Player + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:20000571. + public PlayerSeason GetPlayerSeasonStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, DFS Salaries) + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/nba/v2/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, DFS Salaries) + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:20000571. + public PlayerGameProjection GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season. Examples: 2015, 2016. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season. Examples: 2015, 2016. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Team Stats Allowed by Position Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetTeamStatsAllowedByPositionAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/TeamStatsAllowedByPosition/{season}", parameters) + ); + } + + /// + /// Get Team Stats Allowed by Position + /// + /// Year of the season. Examples: 2015, 2016. + public List GetTeamStatsAllowedByPosition(string season) + { + return this.GetTeamStatsAllowedByPositionAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nba/v2/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Odds.cs b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Odds.cs new file mode 100644 index 0000000..cc6a84a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Odds.cs @@ -0,0 +1,219 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NBA; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NBAv3OddsClient : BaseClient + { + public NBAv3OddsClient(string apiKey) : base(apiKey) { } + public NBAv3OddsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get In-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public Task> GetLiveGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/odds/{format}/LiveGameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get In-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public List GetLiveGameOddsByDate(string date) + { + return this.GetLiveGameOddsByDateAsync(date).Result; + } + + /// + /// Get In-Game Odds Line Movement Asynchronous + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781 + public Task> GetLiveGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/odds/{format}/LiveGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get In-Game Odds Line Movement + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781 + public List GetLiveGameOddsLineMovement(int gameid) + { + return this.GetLiveGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get Pre-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public Task> GetGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/odds/{format}/GameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get Pre-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public List GetGameOddsByDate(string date) + { + return this.GetGameOddsByDateAsync(date).Result; + } + + /// + /// Get Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781 + public Task> GetGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/odds/{format}/GameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Pre-Game Odds Line Movement + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781 + public List GetGameOddsLineMovement(int gameid) + { + return this.GetGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get Player Props by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public Task> GetPlayerPropsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/odds/{format}/PlayerPropsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Props by Date + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public List GetPlayerPropsByDate(string date) + { + return this.GetPlayerPropsByDateAsync(date).Result; + } + + /// + /// Get Player Props by Player Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + /// Unique FantasyData Player ID. Example:20000571 + public Task> GetPlayerPropsByPlayerIDAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/odds/{format}/PlayerPropsByPlayerID/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Props by Player + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + /// Unique FantasyData Player ID. Example:20000571 + public List GetPlayerPropsByPlayerID(string date, int playerid) + { + return this.GetPlayerPropsByPlayerIDAsync(date, playerid).Result; + } + + /// + /// Get Player Props by Team Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + /// The abbreviation of the requested team. Examples: PHI, MIN, DET, etc. + public Task> GetPlayerPropsByTeamAsync(string date, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/odds/{format}/PlayerPropsByTeam/{date}/{team}", parameters) + ); + } + + /// + /// Get Player Props by Team + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + /// The abbreviation of the requested team. Examples: PHI, MIN, DET, etc. + public List GetPlayerPropsByTeam(string date, string team) + { + return this.GetPlayerPropsByTeamAsync(date, team).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public Task> GetAlternateMarketGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/odds/{format}/AlternateMarketGameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public List GetAlternateMarketGameOddsByDate(string date) + { + return this.GetAlternateMarketGameOddsByDateAsync(date).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781 + public Task> GetAlternateMarketGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/odds/{format}/AlternateMarketGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 12780 or 12781 + public List GetAlternateMarketGameOddsLineMovement(int gameid) + { + return this.GetAlternateMarketGameOddsLineMovementAsync(gameid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3PlayByPlay.cs b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3PlayByPlay.cs new file mode 100644 index 0000000..0cff757 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3PlayByPlay.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NBA; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NBAv3PlayByPlayClient : BaseClient + { + public NBAv3PlayByPlayClient(string apiKey) : base(apiKey) { } + public NBAv3PlayByPlayClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Play By Play Asynchronous + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 14620, 16905, etc. + public Task GetPlayByPlayAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/v3/nba/pbp/{format}/PlayByPlay/{gameid}", parameters) + ); + } + + /// + /// Get Play By Play + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 14620, 16905, etc. + public PlayByPlay GetPlayByPlay(int gameid) + { + return this.GetPlayByPlayAsync(gameid).Result; + } + + /// + /// Get Play By Play Delta Asynchronous + /// + /// The date of the game(s). Examples: 2016-OCT-31, 2017-JAN-15. + /// Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetPlayByPlayDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/pbp/{format}/PlayByPlayDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Play By Play Delta + /// + /// The date of the game(s). Examples: 2016-OCT-31, 2017-JAN-15. + /// Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetPlayByPlayDelta(string date, string minutes) + { + return this.GetPlayByPlayDeltaAsync(date, minutes).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Projections.cs b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Projections.cs new file mode 100644 index 0000000..16c0599 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Projections.cs @@ -0,0 +1,156 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NBA; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NBAv3ProjectionsClient : BaseClient + { + public NBAv3ProjectionsClient(string apiKey) : base(apiKey) { } + public NBAv3ProjectionsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-DEC-01, 2018-FEB-15. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/projections/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the game(s). Examples: 2017-DEC-01, 2018-FEB-15. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/projections/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, DFS Salaries) + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nba/projections/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, DFS Salaries) + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:20000571. + public PlayerGameProjection GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Projected Player Season Stats Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2019, etc. + public Task> GetPlayerSeasonProjectionStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/projections/{format}/PlayerSeasonProjectionStats/{season}", parameters) + ); + } + + /// + /// Get Projected Player Season Stats + /// + /// Year of the season (with optional season type). Examples: 2018, 2019, etc. + public List GetPlayerSeasonProjectionStats(string season) + { + return this.GetPlayerSeasonProjectionStatsAsync(season).Result; + } + + /// + /// Get Projected Player Season Stats by Player Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2019, etc. + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerSeasonProjectionStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nba/projections/{format}/PlayerSeasonProjectionStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Season Stats by Player + /// + /// Year of the season (with optional season type). Examples: 2018, 2019, etc. + /// Unique FantasyData Player ID. Example:20000571. + public PlayerSeasonProjection GetPlayerSeasonProjectionStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonProjectionStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Projected Player Season Stats by Team Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2019, etc. + /// The abbreviation of the requested team. Examples: MIA, PHI. + public Task> GetPlayerSeasonProjectionStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/projections/{format}/PlayerSeasonProjectionStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Projected Player Season Stats by Team + /// + /// Year of the season (with optional season type). Examples: 2018, 2019, etc. + /// The abbreviation of the requested team. Examples: MIA, PHI. + public List GetPlayerSeasonProjectionStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonProjectionStatsByTeamAsync(season, team).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3RotoBallerArticles.cs b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3RotoBallerArticles.cs new file mode 100644 index 0000000..b1ba8b5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3RotoBallerArticles.cs @@ -0,0 +1,78 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NBA; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NBAv3RotoBallerArticlesClient : BaseClient + { + public NBAv3RotoBallerArticlesClient(string apiKey) : base(apiKey) { } + public NBAv3RotoBallerArticlesClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get RotoBaller Articles Asynchronous + /// + public Task> GetRotoBallerArticlesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/articles-rotoballer/{format}/RotoBallerArticles", parameters) + ); + } + + /// + /// Get RotoBaller Articles + /// + public List
GetRotoBallerArticles() + { + return this.GetRotoBallerArticlesAsync().Result; + } + + /// + /// Get RotoBaller Articles by Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetRotoBallerArticlesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/articles-rotoballer/{format}/RotoBallerArticlesByDate/{date}", parameters) + ); + } + + /// + /// Get RotoBaller Articles by Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List
GetRotoBallerArticlesByDate(string date) + { + return this.GetRotoBallerArticlesByDateAsync(date).Result; + } + + /// + /// Get RotoBaller Articles by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetRotoBallerArticlesByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/articles-rotoballer/{format}/RotoBallerArticlesByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get RotoBaller Articles by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List
GetRotoBallerArticlesByPlayerID(int playerid) + { + return this.GetRotoBallerArticlesByPlayerIDAsync(playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3RotoBallerPremiumNews.cs b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3RotoBallerPremiumNews.cs new file mode 100644 index 0000000..d9c9c79 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3RotoBallerPremiumNews.cs @@ -0,0 +1,78 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NBA; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NBAv3RotoBallerPremiumNewsClient : BaseClient + { + public NBAv3RotoBallerPremiumNewsClient(string apiKey) : base(apiKey) { } + public NBAv3RotoBallerPremiumNewsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Premium News Asynchronous + /// + public Task> GetRotoBallerPremiumNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/news-rotoballer/{format}/RotoBallerPremiumNews", parameters) + ); + } + + /// + /// Get Premium News + /// + public List GetRotoBallerPremiumNews() + { + return this.GetRotoBallerPremiumNewsAsync().Result; + } + + /// + /// Get Premium News by Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetRotoBallerPremiumNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/news-rotoballer/{format}/RotoBallerPremiumNewsByDate/{date}", parameters) + ); + } + + /// + /// Get Premium News by Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List GetRotoBallerPremiumNewsByDate(string date) + { + return this.GetRotoBallerPremiumNewsByDateAsync(date).Result; + } + + /// + /// Get Premium News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetRotoBallerPremiumNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/news-rotoballer/{format}/RotoBallerPremiumNewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get Premium News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetRotoBallerPremiumNewsByPlayerID(int playerid) + { + return this.GetRotoBallerPremiumNewsByPlayerIDAsync(playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Scores.cs b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Scores.cs new file mode 100644 index 0000000..3ceac58 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Scores.cs @@ -0,0 +1,343 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NBA; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NBAv3ScoresClient : BaseClient + { + public NBAv3ScoresClient(string apiKey) : base(apiKey) { } + public NBAv3ScoresClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nba/scores/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nba/scores/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season. Examples: 2015, 2016. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agent Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/scores/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agent + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nba/scores/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:20000571. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Stats.cs b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Stats.cs new file mode 100644 index 0000000..134e726 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NBA/NBAv3Stats.cs @@ -0,0 +1,619 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NBA; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NBAv3StatsClient : BaseClient + { + public NBAv3StatsClient(string apiKey) : base(apiKey) { } + public NBAv3StatsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nba/stats/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 14620, 16905, etc. + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/v3/nba/stats/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of an NBA game. GameIDs can be found in the Games API. Valid entries are 14620, 16905, etc. + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nba/stats/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-DEC-01, 2018-FEB-15. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the game(s). Examples: 2017-DEC-01, 2018-FEB-15. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agent Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agent + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nba/stats/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:20000571. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nba/stats/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:20000571. + public PlayerGame GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats By Player Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:20000571. + public Task GetPlayerSeasonStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nba/stats/{format}/PlayerSeasonStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats By Player + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:20000571. + public PlayerSeason GetPlayerSeasonStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: MIA, PHI. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: MIA, PHI. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season. Examples: 2015, 2016. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Team Stats Allowed by Position Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetTeamStatsAllowedByPositionAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/TeamStatsAllowedByPosition/{season}", parameters) + ); + } + + /// + /// Get Team Stats Allowed by Position + /// + /// Year of the season. Examples: 2015, 2016. + public List GetTeamStatsAllowedByPosition(string season) + { + return this.GetTeamStatsAllowedByPositionAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + /// + /// Get All-Stars Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetAllStarsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nba/stats/{format}/AllStars/{season}", parameters) + ); + } + + /// + /// Get All-Stars + /// + /// Year of the season. Examples: 2015, 2016. + public List GetAllStars(string season) + { + return this.GetAllStarsAsync(season).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Odds.cs b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Odds.cs new file mode 100644 index 0000000..a3e0b3e --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Odds.cs @@ -0,0 +1,237 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NFLv3; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NFLv3OddsClient : BaseClient + { + public NFLv3OddsClient(string apiKey) : base(apiKey) { } + public NFLv3OddsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get In-Game Odds by Week Asynchronous + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the scores (games). Examples: 1, 2, etc. + public Task> GetLiveGameOddsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/odds/{format}/LiveGameOddsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get In-Game Odds by Week + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the scores (games). Examples: 1, 2, etc. + public List GetLiveGameOddsByWeek(string season, int week) + { + return this.GetLiveGameOddsByWeekAsync(season, week).Result; + } + + /// + /// Get In-Game Odds Line Movement Asynchronous + /// + /// The ScoreID of an NFL score (game). ScoreIDs can be found in the Scores API. Valid entries are 16654 or 16667 + public Task> GetLiveGameOddsLineMovementAsync(int scoreid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("scoreid", scoreid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/odds/{format}/LiveGameOddsLineMovement/{scoreid}", parameters) + ); + } + + /// + /// Get In-Game Odds Line Movement + /// + /// The ScoreID of an NFL score (game). ScoreIDs can be found in the Scores API. Valid entries are 16654 or 16667 + public List GetLiveGameOddsLineMovement(int scoreid) + { + return this.GetLiveGameOddsLineMovementAsync(scoreid).Result; + } + + /// + /// Get Pre-Game Odds by Week Asynchronous + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the scores (games). Examples: 1, 2, etc. + public Task> GetGameOddsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/odds/{format}/GameOddsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Pre-Game Odds by Week + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the scores (games). Examples: 1, 2, etc. + public List GetGameOddsByWeek(string season, int week) + { + return this.GetGameOddsByWeekAsync(season, week).Result; + } + + /// + /// Get Pre-Game Odds Line Movement Asynchronous + /// + /// The ScoreID of an NFL score (game). ScoreIDs can be found in the Scores API. Valid entries are 16654 or 16667 + public Task> GetGameOddsLineMovementAsync(int scoreid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("scoreid", scoreid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/odds/{format}/GameOddsLineMovement/{scoreid}", parameters) + ); + } + + /// + /// Get Pre-Game Odds Line Movement + /// + /// The ScoreID of an NFL score (game). ScoreIDs can be found in the Scores API. Valid entries are 16654 or 16667 + public List GetGameOddsLineMovement(int scoreid) + { + return this.GetGameOddsLineMovementAsync(scoreid).Result; + } + + /// + /// Get Player Props by Player Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2018REG, 2018PRE, 2018POST + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1, 2, etc + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example: 17920, 16771, etc. + public Task> GetPlayerPropsByPlayerIDAsync(string season, int week, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/odds/{format}/PlayerPropsByPlayerID/{season}/{week}/{playerid}", parameters) + ); + } + + /// + /// Get Player Props by Player + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2018REG, 2018PRE, 2018POST + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1, 2, etc + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example: 17920, 16771, etc. + public List GetPlayerPropsByPlayerID(string season, int week, int playerid) + { + return this.GetPlayerPropsByPlayerIDAsync(season, week, playerid).Result; + } + + /// + /// Get Player Props by Team Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2018REG, 2018PRE, 2018POST + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1, 2, etc + /// Abbreviation of the team. Example: PHI, NE, etc. + public Task> GetPlayerPropsByTeamAsync(string season, int week, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/odds/{format}/PlayerPropsByTeam/{season}/{week}/{team}", parameters) + ); + } + + /// + /// Get Player Props by Team + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2018REG, 2018PRE, 2018POST + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1, 2, etc + /// Abbreviation of the team. Example: PHI, NE, etc. + public List GetPlayerPropsByTeam(string season, int week, string team) + { + return this.GetPlayerPropsByTeamAsync(season, week, team).Result; + } + + /// + /// Get Player Props by Week Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2018REG, 2018PRE, 2018POST + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1, 2, etc + public Task> GetPlayerPropsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/odds/{format}/PlayerPropsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Player Props by Week + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2018REG, 2018PRE, 2018POST + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1, 2, etc + public List GetPlayerPropsByWeek(string season, int week) + { + return this.GetPlayerPropsByWeekAsync(season, week).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds by Week Asynchronous + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the scores (games). Examples: 1, 2, etc. + public Task> GetAlternateMarketGameOddsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/odds/{format}/AlternateMarketGameOddsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds by Week + /// + /// Year of the season, with optional season type. Examples: 2018, 2018POST, etc. + /// The week of the scores (games). Examples: 1, 2, etc. + public List GetAlternateMarketGameOddsByWeek(string season, int week) + { + return this.GetAlternateMarketGameOddsByWeekAsync(season, week).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement Asynchronous + /// + /// The ScoreID of an NFL score (game). ScoreIDs can be found in the Scores API. Valid entries are 16654 or 16667 + public Task> GetAlternateMarketGameOddsLineMovementAsync(int scoreid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("scoreid", scoreid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/odds/{format}/AlternateMarketGameOddsLineMovement/{scoreid}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement + /// + /// The ScoreID of an NFL score (game). ScoreIDs can be found in the Scores API. Valid entries are 16654 or 16667 + public List GetAlternateMarketGameOddsLineMovement(int scoreid) + { + return this.GetAlternateMarketGameOddsLineMovementAsync(scoreid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3PlayByPlay.cs b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3PlayByPlay.cs new file mode 100644 index 0000000..8b3f026 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3PlayByPlay.cs @@ -0,0 +1,102 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NFLv3; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NFLv3PlayByPlayClient : BaseClient + { + public NFLv3PlayByPlayClient(string apiKey) : base(apiKey) { } + public NFLv3PlayByPlayClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Play By Play Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the home team. Example: WAS. + public Task GetPlayByPlayAsync(string season, int week, string hometeam) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("hometeam", hometeam.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/pbp/{format}/PlayByPlay/{season}/{week}/{hometeam}", parameters) + ); + } + + /// + /// Get Play By Play + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the home team. Example: WAS. + public PlayByPlay GetPlayByPlay(string season, int week, string hometeam) + { + return this.GetPlayByPlayAsync(season, week, hometeam).Result; + } + + /// + /// Get Play By Play Simulation Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + /// The number of plays to progress in this NFL live game simulation. Example entries are 0, 1, 2, 3, 150, 200, etc. + public Task> GetSimulatedPlayByPlayAsync(string season, int week, string minutes, string numberofplays) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + parameters.Add(new KeyValuePair("numberofplays", numberofplays.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/pbp/{format}/SimulatedPlayByPlay/{numberofplays}", parameters) + ); + } + + /// + /// Get Play By Play Simulation + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + /// The number of plays to progress in this NFL live game simulation. Example entries are 0, 1, 2, 3, 150, 200, etc. + public List GetSimulatedPlayByPlay(string season, int week, string minutes, string numberofplays) + { + return this.GetSimulatedPlayByPlayAsync(season, week, minutes, numberofplays).Result; + } + + /// + /// Get Play By Play Delta Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetPlayByPlayDeltaAsync(string season, int week, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/pbp/{format}/PlayByPlayDelta/{season}/{week}/{minutes}", parameters) + ); + } + + /// + /// Get Play By Play Delta + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetPlayByPlayDelta(string season, int week, string minutes) + { + return this.GetPlayByPlayDeltaAsync(season, week, minutes).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Projections.cs b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Projections.cs new file mode 100644 index 0000000..993382d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Projections.cs @@ -0,0 +1,343 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NFLv3; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NFLv3ProjectionsClient : BaseClient + { + public NFLv3ProjectionsClient(string apiKey) : base(apiKey) { } + public NFLv3ProjectionsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the slates. Examples: 2017-SEP-25, 2017-10-31. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the slates. Examples: 2017-SEP-25, 2017-10-31. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get DFS Slates by Week Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetDfsSlatesByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/DfsSlatesByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get DFS Slates by Week + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetDfsSlatesByWeek(string season, int week) + { + return this.GetDfsSlatesByWeekAsync(season, week).Result; + } + + /// + /// Get Projected Fantasy Defense Game Stats (w/ DFS Salaries) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetFantasyDefenseProjectionsByGameAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/FantasyDefenseProjectionsByGame/{season}/{week}", parameters) + ); + } + + /// + /// Get Projected Fantasy Defense Game Stats (w/ DFS Salaries) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetFantasyDefenseProjectionsByGame(string season, int week) + { + return this.GetFantasyDefenseProjectionsByGameAsync(season, week).Result; + } + + /// + /// Get Projected Fantasy Defense Season Stats (w/ Bye Week, ADP) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetFantasyDefenseProjectionsBySeasonAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/FantasyDefenseProjectionsBySeason/{season}", parameters) + ); + } + + /// + /// Get Projected Fantasy Defense Season Stats (w/ Bye Week, ADP) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetFantasyDefenseProjectionsBySeason(string season) + { + return this.GetFantasyDefenseProjectionsBySeasonAsync(season).Result; + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public Task GetPlayerGameProjectionStatsByPlayerIDAsync(string season, int week, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/projections/{format}/PlayerGameProjectionStatsByPlayerID/{season}/{week}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, Lineups, DFS Salaries) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public PlayerGameProjection GetPlayerGameProjectionStatsByPlayerID(string season, int week, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerIDAsync(season, week, playerid).Result; + } + + /// + /// Get Projected Player Game Stats by Team (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public Task> GetPlayerGameProjectionStatsByTeamAsync(string season, int week, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/PlayerGameProjectionStatsByTeam/{season}/{week}/{team}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Team (w/ Injuries, Lineups, DFS Salaries) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public List GetPlayerGameProjectionStatsByTeam(string season, int week, string team) + { + return this.GetPlayerGameProjectionStatsByTeamAsync(season, week, team).Result; + } + + /// + /// Get Projected Player Game Stats by Week (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetPlayerGameProjectionStatsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/PlayerGameProjectionStatsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Week (w/ Injuries, Lineups, DFS Salaries) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetPlayerGameProjectionStatsByWeek(string season, int week) + { + return this.GetPlayerGameProjectionStatsByWeekAsync(season, week).Result; + } + + /// + /// Get Projected Player Season Stats (w/ Bye Week, ADP) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetPlayerSeasonProjectionStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/PlayerSeasonProjectionStats/{season}", parameters) + ); + } + + /// + /// Get Projected Player Season Stats (w/ Bye Week, ADP) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetPlayerSeasonProjectionStats(string season) + { + return this.GetPlayerSeasonProjectionStatsAsync(season).Result; + } + + /// + /// Get Projected Player Season Stats by Player (w/ Bye Week, ADP) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public Task GetPlayerSeasonProjectionStatsByPlayerIDAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/projections/{format}/PlayerSeasonProjectionStatsByPlayerID/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Season Stats by Player (w/ Bye Week, ADP) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public PlayerSeasonProjection GetPlayerSeasonProjectionStatsByPlayerID(string season, int playerid) + { + return this.GetPlayerSeasonProjectionStatsByPlayerIDAsync(season, playerid).Result; + } + + /// + /// Get Projected Player Season Stats by Team (w/ Bye Week, ADP) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Abbreviation of the team. Example: WAS. + public Task> GetPlayerSeasonProjectionStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/PlayerSeasonProjectionStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Projected Player Season Stats by Team (w/ Bye Week, ADP) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Abbreviation of the team. Example: WAS. + public List GetPlayerSeasonProjectionStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonProjectionStatsByTeamAsync(season, team).Result; + } + + /// + /// Get IDP Projected Player Game Stats by Player (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public Task GetIdpPlayerGameProjectionStatsByPlayerIDAsync(string season, int week, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/projections/{format}/IdpPlayerGameProjectionStatsByPlayerID/{season}/{week}/{playerid}", parameters) + ); + } + + /// + /// Get IDP Projected Player Game Stats by Player (w/ Injuries, Lineups, DFS Salaries) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public PlayerGameProjection GetIdpPlayerGameProjectionStatsByPlayerID(string season, int week, int playerid) + { + return this.GetIdpPlayerGameProjectionStatsByPlayerIDAsync(season, week, playerid).Result; + } + + /// + /// Get IDP Projected Player Game Stats by Team (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public Task> GetIdpPlayerGameProjectionStatsByTeamAsync(string season, int week, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/IdpPlayerGameProjectionStatsByTeam/{season}/{week}/{team}", parameters) + ); + } + + /// + /// Get IDP Projected Player Game Stats by Team (w/ Injuries, Lineups, DFS Salaries) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public List GetIdpPlayerGameProjectionStatsByTeam(string season, int week, string team) + { + return this.GetIdpPlayerGameProjectionStatsByTeamAsync(season, week, team).Result; + } + + /// + /// Get IDP Projected Player Game Stats by Week (w/ Injuries, Lineups, DFS Salaries) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetIdpPlayerGameProjectionStatsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/projections/{format}/IdpPlayerGameProjectionStatsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get IDP Projected Player Game Stats by Week (w/ Injuries, Lineups, DFS Salaries) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetIdpPlayerGameProjectionStatsByWeek(string season, int week) + { + return this.GetIdpPlayerGameProjectionStatsByWeekAsync(season, week).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3RotoBallerArticles.cs b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3RotoBallerArticles.cs new file mode 100644 index 0000000..e555b3d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3RotoBallerArticles.cs @@ -0,0 +1,78 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NFLv3; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NFLv3RotoBallerArticlesClient : BaseClient + { + public NFLv3RotoBallerArticlesClient(string apiKey) : base(apiKey) { } + public NFLv3RotoBallerArticlesClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get RotoBaller Articles Asynchronous + /// + public Task> GetRotoBallerArticlesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/articles-rotoballer/{format}/RotoBallerArticles", parameters) + ); + } + + /// + /// Get RotoBaller Articles + /// + public List
GetRotoBallerArticles() + { + return this.GetRotoBallerArticlesAsync().Result; + } + + /// + /// Get RotoBaller Articles by Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetRotoBallerArticlesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/articles-rotoballer/{format}/RotoBallerArticlesByDate/{date}", parameters) + ); + } + + /// + /// Get RotoBaller Articles by Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List
GetRotoBallerArticlesByDate(string date) + { + return this.GetRotoBallerArticlesByDateAsync(date).Result; + } + + /// + /// Get RotoBaller Articles by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetRotoBallerArticlesByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/articles-rotoballer/{format}/RotoBallerArticlesByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get RotoBaller Articles by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List
GetRotoBallerArticlesByPlayerID(int playerid) + { + return this.GetRotoBallerArticlesByPlayerIDAsync(playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3RotoBallerPremiumNews.cs b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3RotoBallerPremiumNews.cs new file mode 100644 index 0000000..cd7738b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3RotoBallerPremiumNews.cs @@ -0,0 +1,100 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NFLv3; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NFLv3RotoBallerPremiumNewsClient : BaseClient + { + public NFLv3RotoBallerPremiumNewsClient(string apiKey) : base(apiKey) { } + public NFLv3RotoBallerPremiumNewsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Premium News Asynchronous + /// + public Task> GetRotoBallerPremiumNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/news-rotoballer/{format}/RotoBallerPremiumNews", parameters) + ); + } + + /// + /// Get Premium News + /// + public List GetRotoBallerPremiumNews() + { + return this.GetRotoBallerPremiumNewsAsync().Result; + } + + /// + /// Get Premium News by Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetRotoBallerPremiumNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/news-rotoballer/{format}/RotoBallerPremiumNewsByDate/{date}", parameters) + ); + } + + /// + /// Get Premium News by Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List GetRotoBallerPremiumNewsByDate(string date) + { + return this.GetRotoBallerPremiumNewsByDateAsync(date).Result; + } + + /// + /// Get Premium News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetRotoBallerPremiumNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/news-rotoballer/{format}/RotoBallerPremiumNewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get Premium News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetRotoBallerPremiumNewsByPlayerID(int playerid) + { + return this.GetRotoBallerPremiumNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Premium News by Team Asynchronous + /// + /// Abbreviation of the team. Example: WAS. + public Task> GetRotoBallerPremiumNewsByTeamAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/news-rotoballer/{format}/RotoBallerPremiumNewsByTeam/{team}", parameters) + ); + } + + /// + /// Get Premium News by Team + /// + /// Abbreviation of the team. Example: WAS. + public List GetRotoBallerPremiumNewsByTeam(string team) + { + return this.GetRotoBallerPremiumNewsByTeamAsync(team).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Scores.cs b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Scores.cs new file mode 100644 index 0000000..0d96628 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Scores.cs @@ -0,0 +1,667 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NFLv3; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NFLv3ScoresClient : BaseClient + { + public NFLv3ScoresClient(string apiKey) : base(apiKey) { } + public NFLv3ScoresClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/scores/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Bye Weeks Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetByesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Byes/{season}", parameters) + ); + } + + /// + /// Get Bye Weeks + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetByes(string season) + { + return this.GetByesAsync(season).Result; + } + + /// + /// Get Game Stats by Season (Deprecated, use Team Game Stats instead) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetGameStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/GameStats/{season}", parameters) + ); + } + + /// + /// Get Game Stats by Season (Deprecated, use Team Game Stats instead) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetGameStats(string season) + { + return this.GetGameStatsAsync(season).Result; + } + + /// + /// Get Game Stats by Week (Deprecated, use Team Game Stats instead) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetGameStatsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/GameStatsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Game Stats by Week (Deprecated, use Team Game Stats instead) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetGameStatsByWeek(string season, int week) + { + return this.GetGameStatsByWeekAsync(season, week).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get News by Team Asynchronous + /// + /// Abbreviation of the team. Example: WAS. + public Task> GetNewsByTeamAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/NewsByTeam/{team}", parameters) + ); + } + + /// + /// Get News by Team + /// + /// Abbreviation of the team. Example: WAS. + public List GetNewsByTeam(string team) + { + return this.GetNewsByTeamAsync(team).Result; + } + + /// + /// Get Schedule Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetSchedulesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Schedules/{season}", parameters) + ); + } + + /// + /// Get Schedule + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetSchedules(string season) + { + return this.GetSchedulesAsync(season).Result; + } + + /// + /// Get Scores by Season Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetScoresAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Scores/{season}", parameters) + ); + } + + /// + /// Get Scores by Season + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetScores(string season) + { + return this.GetScoresAsync(season).Result; + } + + /// + /// Get Scores by Week Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetScoresByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/ScoresByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Scores by Week + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetScoresByWeek(string season, int week) + { + return this.GetScoresByWeekAsync(season, week).Result; + } + + /// + /// Get Season Current Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/scores/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Season Current + /// + public int? GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Season Last Completed Asynchronous + /// + public Task GetLastCompletedSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/scores/{format}/LastCompletedSeason", parameters) + ); + } + + /// + /// Get Season Last Completed + /// + public int? GetLastCompletedSeason() + { + return this.GetLastCompletedSeasonAsync().Result; + } + + /// + /// Get Season Upcoming Asynchronous + /// + public Task GetUpcomingSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/scores/{format}/UpcomingSeason", parameters) + ); + } + + /// + /// Get Season Upcoming + /// + public int? GetUpcomingSeason() + { + return this.GetUpcomingSeasonAsync().Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetTeamGameStatsAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/TeamGameStats/{season}/{week}", parameters) + ); + } + + /// + /// Get Team Game Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetTeamGameStats(string season, int week) + { + return this.GetTeamGameStatsAsync(season, week).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + /// + /// Get Teams by Season Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetTeamsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Teams/{season}", parameters) + ); + } + + /// + /// Get Teams by Season + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetTeams(string season) + { + return this.GetTeamsAsync(season).Result; + } + + /// + /// Get Timeframes Asynchronous + /// + /// The type of timeframes to return. Valid entries are current or upcoming or completed or recent or all. + public Task> GetTimeframesAsync(string type) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("type", type.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Timeframes/{type}", parameters) + ); + } + + /// + /// Get Timeframes + /// + /// The type of timeframes to return. Valid entries are current or upcoming or completed or recent or all. + public List GetTimeframes(string type) + { + return this.GetTimeframesAsync(type).Result; + } + + /// + /// Get Week Current Asynchronous + /// + public Task GetCurrentWeekAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/scores/{format}/CurrentWeek", parameters) + ); + } + + /// + /// Get Week Current + /// + public int? GetCurrentWeek() + { + return this.GetCurrentWeekAsync().Result; + } + + /// + /// Get Week Last Completed Asynchronous + /// + public Task GetLastCompletedWeekAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/scores/{format}/LastCompletedWeek", parameters) + ); + } + + /// + /// Get Week Last Completed + /// + public int? GetLastCompletedWeek() + { + return this.GetLastCompletedWeekAsync().Result; + } + + /// + /// Get Week Upcoming Asynchronous + /// + public Task GetUpcomingWeekAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/scores/{format}/UpcomingWeek", parameters) + ); + } + + /// + /// Get Week Upcoming + /// + public int? GetUpcomingWeek() + { + return this.GetUpcomingWeekAsync().Result; + } + + /// + /// Get Scores by Week Simulation Asynchronous + /// + /// The number of plays to progress in this NFL live game simulation. Example entries are 0, 1, 2, 3, 150, 200, etc. + public Task> GetSimulatedScoresAsync(string numberofplays) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("numberofplays", numberofplays.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/SimulatedScores/{numberofplays}", parameters) + ); + } + + /// + /// Get Scores by Week Simulation + /// + /// The number of plays to progress in this NFL live game simulation. Example entries are 0, 1, 2, 3, 150, 200, etc. + public List GetSimulatedScores(string numberofplays) + { + return this.GetSimulatedScoresAsync(numberofplays).Result; + } + + /// + /// Get Player Details by Available Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Available + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agents Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agents + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:732. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/scores/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:732. + public PlayerDetail GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Details by Team Asynchronous + /// + /// Abbreviation of the team. Example: WAS. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Player Details by Team + /// + /// Abbreviation of the team. Example: WAS. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Player Details by Rookie Draft Year Asynchronous + /// + /// Year of the season. Examples: 2018, 2019, etc. + public Task> GetRookiesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/scores/{format}/Rookies/{season}", parameters) + ); + } + + /// + /// Get Player Details by Rookie Draft Year + /// + /// Year of the season. Examples: 2018, 2019, etc. + public List GetRookies(string season) + { + return this.GetRookiesAsync(season).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Stats.cs b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Stats.cs new file mode 100644 index 0000000..b958d99 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NFLv3/NFLv3Stats.cs @@ -0,0 +1,1684 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NFLv3; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NFLv3StatsClient : BaseClient + { + public NFLv3StatsClient(string apiKey) : base(apiKey) { } + public NFLv3StatsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Box Score by ScoreID V3 Asynchronous + /// + /// The ScoreID of the game. Possible values include: 16247, 16245, etc. + public Task GetBoxScoreByScoreIDV3Async(int scoreid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("scoreid", scoreid.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/BoxScoreByScoreIDV3/{scoreid}", parameters) + ); + } + + /// + /// Get Box Score by ScoreID V3 + /// + /// The ScoreID of the game. Possible values include: 16247, 16245, etc. + public BoxScoreV3 GetBoxScoreByScoreIDV3(int scoreid) + { + return this.GetBoxScoreByScoreIDV3Async(scoreid).Result; + } + + /// + /// Get Box Score V3 Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of a team playing in this game. Example: WAS. + public Task GetBoxScoreV3Async(string season, int week, string hometeam) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("hometeam", hometeam.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/BoxScoreV3/{season}/{week}/{hometeam}", parameters) + ); + } + + /// + /// Get Box Score V3 + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of a team playing in this game. Example: WAS. + public BoxScoreV3 GetBoxScoreV3(string season, int week, string hometeam) + { + return this.GetBoxScoreV3Async(season, week, hometeam).Result; + } + + /// + /// Get Box Scores Delta V3 Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// The subcategory of players to include in the returned PlayerGame records. Possible values include: all Returns all players fantasy Returns traditional fantasy players (QB, RB, WR, TE, K, DST) idp Returns traditional fantasy players and IDP players. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2, etc. + public Task> GetBoxScoresDeltaV3Async(string season, int week, string playerstoinclude, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("playerstoinclude", playerstoinclude.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/BoxScoresDeltaV3/{season}/{week}/{playerstoinclude}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores Delta V3 + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// The subcategory of players to include in the returned PlayerGame records. Possible values include: all Returns all players fantasy Returns traditional fantasy players (QB, RB, WR, TE, K, DST) idp Returns traditional fantasy players and IDP players. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2, etc. + public List GetBoxScoresDeltaV3(string season, int week, string playerstoinclude, string minutes) + { + return this.GetBoxScoresDeltaV3Async(season, week, playerstoinclude, minutes).Result; + } + + /// + /// Get Bye Weeks Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetByesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Byes/{season}", parameters) + ); + } + + /// + /// Get Bye Weeks + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetByes(string season) + { + return this.GetByesAsync(season).Result; + } + + /// + /// Get Daily Fantasy Players Asynchronous + /// + /// The date of the contest for which you're pulling players 2014-SEP-21, 2014-NOV-15, etc + public Task> GetDailyFantasyPlayersAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/DailyFantasyPlayers/{date}", parameters) + ); + } + + /// + /// Get Daily Fantasy Players + /// + /// The date of the contest for which you're pulling players 2014-SEP-21, 2014-NOV-15, etc + public List GetDailyFantasyPlayers(string date) + { + return this.GetDailyFantasyPlayersAsync(date).Result; + } + + /// + /// Get Daily Fantasy Scoring Asynchronous + /// + /// The date of the contest for which you're pulling players 2014-SEP-21, 2014-NOV-15, etc + public Task> GetDailyFantasyPointsAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/DailyFantasyPoints/{date}", parameters) + ); + } + + /// + /// Get Daily Fantasy Scoring + /// + /// The date of the contest for which you're pulling players 2014-SEP-21, 2014-NOV-15, etc + public List GetDailyFantasyPoints(string date) + { + return this.GetDailyFantasyPointsAsync(date).Result; + } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the slates. Examples: 2017-SEP-25, 2017-10-31. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the slates. Examples: 2017-SEP-25, 2017-10-31. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get DFS Slates by Week Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetDfsSlatesByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/DfsSlatesByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get DFS Slates by Week + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetDfsSlatesByWeek(string season, int week) + { + return this.GetDfsSlatesByWeekAsync(season, week).Result; + } + + /// + /// Get Fantasy Defense Game Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetFantasyDefenseByGameAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/FantasyDefenseByGame/{season}/{week}", parameters) + ); + } + + /// + /// Get Fantasy Defense Game Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetFantasyDefenseByGame(string season, int week) + { + return this.GetFantasyDefenseByGameAsync(season, week).Result; + } + + /// + /// Get Fantasy Defense Game Stats by Team Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public Task GetFantasyDefenseByGameByTeamAsync(string season, int week, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/FantasyDefenseByGameByTeam/{season}/{week}/{team}", parameters) + ); + } + + /// + /// Get Fantasy Defense Game Stats by Team + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public FantasyDefenseGame GetFantasyDefenseByGameByTeam(string season, int week, string team) + { + return this.GetFantasyDefenseByGameByTeamAsync(season, week, team).Result; + } + + /// + /// Get Fantasy Defense Season Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetFantasyDefenseBySeasonAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/FantasyDefenseBySeason/{season}", parameters) + ); + } + + /// + /// Get Fantasy Defense Season Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetFantasyDefenseBySeason(string season) + { + return this.GetFantasyDefenseBySeasonAsync(season).Result; + } + + /// + /// Get Fantasy Defense Season Stats by Team Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Abbreviation of the team. Example: WAS. + public Task GetFantasyDefenseBySeasonByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/FantasyDefenseBySeasonByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Fantasy Defense Season Stats by Team + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Abbreviation of the team. Example: WAS. + public FantasyDefenseSeason GetFantasyDefenseBySeasonByTeam(string season, string team) + { + return this.GetFantasyDefenseBySeasonByTeamAsync(season, team).Result; + } + + /// + /// Get Fantasy Player Ownership Percentages (Season-Long) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetPlayerOwnershipAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerOwnership/{season}/{week}", parameters) + ); + } + + /// + /// Get Fantasy Player Ownership Percentages (Season-Long) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetPlayerOwnership(string season, int week) + { + return this.GetPlayerOwnershipAsync(season, week).Result; + } + + /// + /// Get Fantasy Players with ADP Asynchronous + /// + public Task> GetFantasyPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/FantasyPlayers", parameters) + ); + } + + /// + /// Get Fantasy Players with ADP + /// + public List GetFantasyPlayers() + { + return this.GetFantasyPlayersAsync().Result; + } + + /// + /// Get Game Stats by Season (Deprecated, use Team Game Stats instead) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetGameStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/GameStats/{season}", parameters) + ); + } + + /// + /// Get Game Stats by Season (Deprecated, use Team Game Stats instead) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetGameStats(string season) + { + return this.GetGameStatsAsync(season).Result; + } + + /// + /// Get Game Stats by Week (Deprecated, use Team Game Stats instead) Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetGameStatsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/GameStatsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Game Stats by Week (Deprecated, use Team Game Stats instead) + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetGameStatsByWeek(string season, int week) + { + return this.GetGameStatsByWeekAsync(season, week).Result; + } + + /// + /// Get IDP Fantasy Players with ADP Asynchronous + /// + public Task> GetFantasyPlayersIDPAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/FantasyPlayersIDP", parameters) + ); + } + + /// + /// Get IDP Fantasy Players with ADP + /// + public List GetFantasyPlayersIDP() + { + return this.GetFantasyPlayersIDPAsync().Result; + } + + /// + /// Get Injuries Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetInjuriesAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Injuries/{season}/{week}", parameters) + ); + } + + /// + /// Get Injuries + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetInjuries(string season, int week) + { + return this.GetInjuriesAsync(season, week).Result; + } + + /// + /// Get Injuries by Team Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public Task> GetInjuriesAsync(string season, int week, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Injuries/{season}/{week}/{team}", parameters) + ); + } + + /// + /// Get Injuries by Team + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public List GetInjuries(string season, int week, string team) + { + return this.GetInjuriesAsync(season, week, team).Result; + } + + /// + /// Get League Leaders by Season Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Player’s position that you would like to filter by. + /// Response member you would like results sorted by. + public Task> GetSeasonLeagueLeadersAsync(string season, string position, string column) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("position", position.ToString())); + parameters.Add(new KeyValuePair("column", column.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/SeasonLeagueLeaders/{season}/{position}/{column}", parameters) + ); + } + + /// + /// Get League Leaders by Season + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Player’s position that you would like to filter by. + /// Response member you would like results sorted by. + public List GetSeasonLeagueLeaders(string season, string position, string column) + { + return this.GetSeasonLeagueLeadersAsync(season, position, column).Result; + } + + /// + /// Get League Leaders by Week Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Player’s position that you would like to filter by. + /// Response member you would like results sorted by. + public Task> GetGameLeagueLeadersAsync(string season, int week, string position, string column) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("position", position.ToString())); + parameters.Add(new KeyValuePair("column", column.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/GameLeagueLeaders/{season}/{week}/{position}/{column}", parameters) + ); + } + + /// + /// Get League Leaders by Week + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Player’s position that you would like to filter by. + /// Response member you would like results sorted by. + public List GetGameLeagueLeaders(string season, int week, string position, string column) + { + return this.GetGameLeagueLeadersAsync(season, week, position, column).Result; + } + + /// + /// Get Legacy Box Score Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the home team. Example: WAS. + public Task GetBoxScoreAsync(string season, int week, string hometeam) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("hometeam", hometeam.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/BoxScore/{season}/{week}/{hometeam}", parameters) + ); + } + + /// + /// Get Legacy Box Score + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the home team. Example: WAS. + public BoxScore GetBoxScore(string season, int week, string hometeam) + { + return this.GetBoxScoreAsync(season, week, hometeam).Result; + } + + /// + /// Get Legacy Box Scores Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetBoxScoresAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/BoxScores/{season}/{week}", parameters) + ); + } + + /// + /// Get Legacy Box Scores + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetBoxScores(string season, int week) + { + return this.GetBoxScoresAsync(season, week).Result; + } + + /// + /// Get Legacy Box Scores Active Asynchronous + /// + public Task> GetActiveBoxScoresAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/ActiveBoxScores", parameters) + ); + } + + /// + /// Get Legacy Box Scores Active + /// + public List GetActiveBoxScores() + { + return this.GetActiveBoxScoresAsync().Result; + } + + /// + /// Get Legacy Box Scores Delta Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetBoxScoresDeltaAsync(string season, int week, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/BoxScoresDelta/{season}/{week}/{minutes}", parameters) + ); + } + + /// + /// Get Legacy Box Scores Delta + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetBoxScoresDelta(string season, int week, string minutes) + { + return this.GetBoxScoresDeltaAsync(season, week, minutes).Result; + } + + /// + /// Get Legacy Box Scores Delta (Current Week) Asynchronous + /// + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetRecentlyUpdatedBoxScoresAsync(string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/RecentlyUpdatedBoxScores/{minutes}", parameters) + ); + } + + /// + /// Get Legacy Box Scores Delta (Current Week) + /// + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetRecentlyUpdatedBoxScores(string minutes) + { + return this.GetRecentlyUpdatedBoxScoresAsync(minutes).Result; + } + + /// + /// Get Legacy Box Scores Final Asynchronous + /// + public Task> GetFinalBoxScoresAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/FinalBoxScores", parameters) + ); + } + + /// + /// Get Legacy Box Scores Final + /// + public List GetFinalBoxScores() + { + return this.GetFinalBoxScoresAsync().Result; + } + + /// + /// Get Legacy Box Scores Live Asynchronous + /// + public Task> GetLiveBoxScoresAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/LiveBoxScores", parameters) + ); + } + + /// + /// Get Legacy Box Scores Live + /// + public List GetLiveBoxScores() + { + return this.GetLiveBoxScoresAsync().Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2017-JUL-31, 2017-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:14257. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get News by Team Asynchronous + /// + /// Abbreviation of the team. Example: WAS. + public Task> GetNewsByTeamAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/NewsByTeam/{team}", parameters) + ); + } + + /// + /// Get News by Team + /// + /// Abbreviation of the team. Example: WAS. + public List GetNewsByTeam(string team) + { + return this.GetNewsByTeamAsync(team).Result; + } + + /// + /// Get Player Details by Available Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Available + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agents Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agents + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:732. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:732. + public PlayerDetail GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Details by Team Asynchronous + /// + /// Abbreviation of the team. Example: WAS. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Player Details by Team + /// + /// Abbreviation of the team. Example: WAS. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Player Game Red Zone Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetPlayerGameRedZoneStatsAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerGameRedZoneStats/{season}/{week}", parameters) + ); + } + + /// + /// Get Player Game Red Zone Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetPlayerGameRedZoneStats(string season, int week) + { + return this.GetPlayerGameRedZoneStatsAsync(season, week).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:732. + public Task GetPlayerGameStatsByPlayerIDAsync(string season, int week, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/PlayerGameStatsByPlayerID/{season}/{week}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:732. + public PlayerGame GetPlayerGameStatsByPlayerID(string season, int week, int playerid) + { + return this.GetPlayerGameStatsByPlayerIDAsync(season, week, playerid).Result; + } + + /// + /// Get Player Game Stats by Team Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public Task> GetPlayerGameStatsByTeamAsync(string season, int week, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerGameStatsByTeam/{season}/{week}/{team}", parameters) + ); + } + + /// + /// Get Player Game Stats by Team + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Abbreviation of the team. Example: WAS. + public List GetPlayerGameStatsByTeam(string season, int week, string team) + { + return this.GetPlayerGameStatsByTeamAsync(season, week, team).Result; + } + + /// + /// Get Player Game Stats by Week Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetPlayerGameStatsByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerGameStatsByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Player Game Stats by Week + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetPlayerGameStatsByWeek(string season, int week) + { + return this.GetPlayerGameStatsByWeekAsync(season, week).Result; + } + + /// + /// Get Player Game Stats by Week Delta Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetPlayerGameStatsByWeekDeltaAsync(string season, int week, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerGameStatsByWeekDelta/{season}/{week}/{minutes}", parameters) + ); + } + + /// + /// Get Player Game Stats by Week Delta + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetPlayerGameStatsByWeekDelta(string season, int week, string minutes) + { + return this.GetPlayerGameStatsByWeekDeltaAsync(season, week, minutes).Result; + } + + /// + /// Get Player Game Stats Delta Asynchronous + /// + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetPlayerGameStatsDeltaAsync(string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerGameStatsDelta/{minutes}", parameters) + ); + } + + /// + /// Get Player Game Stats Delta + /// + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetPlayerGameStatsDelta(string minutes) + { + return this.GetPlayerGameStatsDeltaAsync(minutes).Result; + } + + /// + /// Get Player Season Red Zone Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetPlayerSeasonRedZoneStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerSeasonRedZoneStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Red Zone Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetPlayerSeasonRedZoneStats(string season) + { + return this.GetPlayerSeasonRedZoneStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats by Player Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:732. + public Task> GetPlayerSeasonStatsByPlayerIDAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerSeasonStatsByPlayerID/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats by Player + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Each NFL player has a unique ID assigned by FantasyData. Player IDs can be determined by pulling player related data. Example:732. + public List GetPlayerSeasonStatsByPlayerID(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerIDAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Abbreviation of the team. Example: WAS. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Abbreviation of the team. Example: WAS. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Player Season Third Down Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetPlayerSeasonThirdDownStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerSeasonThirdDownStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Third Down Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetPlayerSeasonThirdDownStats(string season) + { + return this.GetPlayerSeasonThirdDownStatsAsync(season).Result; + } + + /// + /// Get Schedule Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetSchedulesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Schedules/{season}", parameters) + ); + } + + /// + /// Get Schedule + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetSchedules(string season) + { + return this.GetSchedulesAsync(season).Result; + } + + /// + /// Get Scores by Season Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetScoresAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Scores/{season}", parameters) + ); + } + + /// + /// Get Scores by Season + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetScores(string season) + { + return this.GetScoresAsync(season).Result; + } + + /// + /// Get Scores by Week Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetScoresByWeekAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/ScoresByWeek/{season}/{week}", parameters) + ); + } + + /// + /// Get Scores by Week + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetScoresByWeek(string season, int week) + { + return this.GetScoresByWeekAsync(season, week).Result; + } + + /// + /// Get Season Current Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Season Current + /// + public int? GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Season Last Completed Asynchronous + /// + public Task GetLastCompletedSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/LastCompletedSeason", parameters) + ); + } + + /// + /// Get Season Last Completed + /// + public int? GetLastCompletedSeason() + { + return this.GetLastCompletedSeasonAsync().Result; + } + + /// + /// Get Season Upcoming Asynchronous + /// + public Task GetUpcomingSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/UpcomingSeason", parameters) + ); + } + + /// + /// Get Season Upcoming + /// + public int? GetUpcomingSeason() + { + return this.GetUpcomingSeasonAsync().Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetTeamGameStatsAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/TeamGameStats/{season}/{week}", parameters) + ); + } + + /// + /// Get Team Game Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetTeamGameStats(string season, int week) + { + return this.GetTeamGameStatsAsync(season, week).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + /// + /// Get Teams by Season Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetTeamsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Teams/{season}", parameters) + ); + } + + /// + /// Get Teams by Season + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetTeams(string season) + { + return this.GetTeamsAsync(season).Result; + } + + /// + /// Get Timeframes Asynchronous + /// + /// The type of timeframes to return. Valid entries are current or upcoming or completed or recent or all. + public Task> GetTimeframesAsync(string type) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("type", type.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Timeframes/{type}", parameters) + ); + } + + /// + /// Get Timeframes + /// + /// The type of timeframes to return. Valid entries are current or upcoming or completed or recent or all. + public List GetTimeframes(string type) + { + return this.GetTimeframesAsync(type).Result; + } + + /// + /// Get Week Current Asynchronous + /// + public Task GetCurrentWeekAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/CurrentWeek", parameters) + ); + } + + /// + /// Get Week Current + /// + public int? GetCurrentWeek() + { + return this.GetCurrentWeekAsync().Result; + } + + /// + /// Get Week Last Completed Asynchronous + /// + public Task GetLastCompletedWeekAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/LastCompletedWeek", parameters) + ); + } + + /// + /// Get Week Last Completed + /// + public int? GetLastCompletedWeek() + { + return this.GetLastCompletedWeekAsync().Result; + } + + /// + /// Get Week Upcoming Asynchronous + /// + public Task GetUpcomingWeekAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nfl/stats/{format}/UpcomingWeek", parameters) + ); + } + + /// + /// Get Week Upcoming + /// + public int? GetUpcomingWeek() + { + return this.GetUpcomingWeekAsync().Result; + } + + /// + /// Get Pro Bowlers Asynchronous + /// + /// Year of the season Examples: 2016, 2017 + public Task> GetProBowlersAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/ProBowlers/{season}", parameters) + ); + } + + /// + /// Get Pro Bowlers + /// + /// Year of the season Examples: 2016, 2017 + public List GetProBowlers(string season) + { + return this.GetProBowlersAsync(season).Result; + } + + /// + /// Get Box Scores V3 Simulation Asynchronous + /// + /// The number of plays to progress in this NFL live game simulation. Example entries are 0, 1, 2, 3, 150, 200, etc. + public Task> GetSimulatedBoxScoresV3Async(string numberofplays) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("numberofplays", numberofplays.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/SimulatedBoxScoresV3/{numberofplays}", parameters) + ); + } + + /// + /// Get Box Scores V3 Simulation + /// + /// The number of plays to progress in this NFL live game simulation. Example entries are 0, 1, 2, 3, 150, 200, etc. + public List GetSimulatedBoxScoresV3(string numberofplays) + { + return this.GetSimulatedBoxScoresV3Async(numberofplays).Result; + } + + /// + /// Get Scores by Week Simulation Asynchronous + /// + /// The number of plays to progress in this NFL live game simulation. Example entries are 0, 1, 2, 3, 150, 200, etc. + public Task> GetSimulatedScoresAsync(string numberofplays) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("numberofplays", numberofplays.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/SimulatedScores/{numberofplays}", parameters) + ); + } + + /// + /// Get Scores by Week Simulation + /// + /// The number of plays to progress in this NFL live game simulation. Example entries are 0, 1, 2, 3, 150, 200, etc. + public List GetSimulatedScores(string numberofplays) + { + return this.GetSimulatedScoresAsync(numberofplays).Result; + } + + /// + /// Get Player Game Red Zone Stats Inside Five Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetPlayerGameRedZoneInsideFiveStatsAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerGameRedZoneInsideFiveStats/{season}/{week}", parameters) + ); + } + + /// + /// Get Player Game Red Zone Stats Inside Five + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetPlayerGameRedZoneInsideFiveStats(string season, int week) + { + return this.GetPlayerGameRedZoneInsideFiveStatsAsync(season, week).Result; + } + + /// + /// Get Player Game Red Zone Stats Inside Ten Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public Task> GetPlayerGameRedZoneInsideTenStatsAsync(string season, int week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("week", week.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerGameRedZoneInsideTenStats/{season}/{week}", parameters) + ); + } + + /// + /// Get Player Game Red Zone Stats Inside Ten + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + /// Week of the season. Valid values are as follows: Preseason 0 to 4, Regular Season 1 to 17, Postseason 1 to 4. Example: 1 + public List GetPlayerGameRedZoneInsideTenStats(string season, int week) + { + return this.GetPlayerGameRedZoneInsideTenStatsAsync(season, week).Result; + } + + /// + /// Get Player Season Red Zone Stats Inside Five Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetPlayerSeasonRedZoneInsideFiveStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerSeasonRedZoneInsideFiveStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Red Zone Stats Inside Five + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetPlayerSeasonRedZoneInsideFiveStats(string season) + { + return this.GetPlayerSeasonRedZoneInsideFiveStatsAsync(season).Result; + } + + /// + /// Get Player Season Red Zone Stats Inside Ten Asynchronous + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public Task> GetPlayerSeasonRedZoneInsideTenStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/PlayerSeasonRedZoneInsideTenStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Red Zone Stats Inside Ten + /// + /// Year of the season and the season type. If no season type is provided, then the default is regular season. Examples: 2015REG, 2015PRE, 2015POST. + public List GetPlayerSeasonRedZoneInsideTenStats(string season) + { + return this.GetPlayerSeasonRedZoneInsideTenStatsAsync(season).Result; + } + + /// + /// Get Player Details by Rookie Draft Year Asynchronous + /// + /// Year of the season. Examples: 2018, 2019, etc. + public Task> GetRookiesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/Rookies/{season}", parameters) + ); + } + + /// + /// Get Player Details by Rookie Draft Year + /// + /// Year of the season. Examples: 2018, 2019, etc. + public List GetRookies(string season) + { + return this.GetRookiesAsync(season).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv2.cs b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv2.cs new file mode 100644 index 0000000..d69ff93 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv2.cs @@ -0,0 +1,622 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NHL; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NHLv2Client : BaseClient + { + public NHLv2Client(string apiKey) : base(apiKey) { } + public NHLv2Client(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/nhl/v2/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/nhl/v2/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/nhl/v2/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2015-JUL-31, 2015-SEP-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agent Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agent + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:30000007. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/nhl/v2/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:30000007. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:30000378. + public Task GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/nhl/v2/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:30000378. + public PlayerGame GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats By Player Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:30000378. + public Task GetPlayerSeasonStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/nhl/v2/{format}/PlayerSeasonStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats By Player + /// + /// Year of the season. Examples: 2015, 2016. + /// Unique FantasyData Player ID. Example:30000378. + public PlayerSeason GetPlayerSeasonStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season. Examples: 2015, 2016. + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, DFS Salaries) + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:30000378. + public Task GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/nhl/v2/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, DFS Salaries) + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + /// Unique FantasyData Player ID. Example:30000378. + public PlayerGameProjection GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season. Examples: 2015, 2016. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season. Examples: 2015, 2016. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2015-JUL-31, 2015-SEP-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2015, 2016. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Team Stats Allowed by Position Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetTeamStatsAllowedByPositionAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/TeamStatsAllowedByPosition/{season}", parameters) + ); + } + + /// + /// Get Team Stats Allowed by Position + /// + /// Year of the season. Examples: 2015, 2016. + public List GetTeamStatsAllowedByPosition(string season) + { + return this.GetTeamStatsAllowedByPositionAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nhl/v2/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Odds.cs b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Odds.cs new file mode 100644 index 0000000..18c1a70 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Odds.cs @@ -0,0 +1,219 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NHL; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NHLv3OddsClient : BaseClient + { + public NHLv3OddsClient(string apiKey) : base(apiKey) { } + public NHLv3OddsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get In-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public Task> GetLiveGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/odds/{format}/LiveGameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get In-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public List GetLiveGameOddsByDate(string date) + { + return this.GetLiveGameOddsByDateAsync(date).Result; + } + + /// + /// Get In-Game Odds Line Movement Asynchronous + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 13096 or 13110 + public Task> GetLiveGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/odds/{format}/LiveGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get In-Game Odds Line Movement + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 13096 or 13110 + public List GetLiveGameOddsLineMovement(int gameid) + { + return this.GetLiveGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get Pre-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public Task> GetGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/odds/{format}/GameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get Pre-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public List GetGameOddsByDate(string date) + { + return this.GetGameOddsByDateAsync(date).Result; + } + + /// + /// Get Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 13096 or 13110 + public Task> GetGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/odds/{format}/GameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Pre-Game Odds Line Movement + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 13096 or 13110 + public List GetGameOddsLineMovement(int gameid) + { + return this.GetGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get Player Props by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public Task> GetPlayerPropsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/odds/{format}/PlayerPropsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Props by Date + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public List GetPlayerPropsByDate(string date) + { + return this.GetPlayerPropsByDateAsync(date).Result; + } + + /// + /// Get Player Props by Player Asynchronous + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + /// Unique FantasyData Player ID. Example:30000378 + public Task> GetPlayerPropsByPlayerIDAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/odds/{format}/PlayerPropsByPlayerID/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Props by Player + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + /// Unique FantasyData Player ID. Example:30000378 + public List GetPlayerPropsByPlayerID(string date, int playerid) + { + return this.GetPlayerPropsByPlayerIDAsync(date, playerid).Result; + } + + /// + /// Get Player Props by Team Asynchronous + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + /// The abbreviation of the requested team. Examples: PHI, MIN, DET, etc. + public Task> GetPlayerPropsByTeamAsync(string date, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/odds/{format}/PlayerPropsByTeam/{date}/{team}", parameters) + ); + } + + /// + /// Get Player Props by Team + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + /// The abbreviation of the requested team. Examples: PHI, MIN, DET, etc. + public List GetPlayerPropsByTeam(string date, string team) + { + return this.GetPlayerPropsByTeamAsync(date, team).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public Task> GetAlternateMarketGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/odds/{format}/AlternateMarketGameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-11-20, 2018-11-23. + public List GetAlternateMarketGameOddsByDate(string date) + { + return this.GetAlternateMarketGameOddsByDateAsync(date).Result; + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 13096 or 13110 + public Task> GetAlternateMarketGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/odds/{format}/AlternateMarketGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Alternate Market Pre-Game Odds Line Movement + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 13096 or 13110 + public List GetAlternateMarketGameOddsLineMovement(int gameid) + { + return this.GetAlternateMarketGameOddsLineMovementAsync(gameid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3PlayByPlay.cs b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3PlayByPlay.cs new file mode 100644 index 0000000..9e74e93 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3PlayByPlay.cs @@ -0,0 +1,62 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NHL; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NHLv3PlayByPlayClient : BaseClient + { + public NHLv3PlayByPlayClient(string apiKey) : base(apiKey) { } + public NHLv3PlayByPlayClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Play By Play Asynchronous + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetPlayByPlayAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/v3/nhl/pbp/{format}/PlayByPlay/{gameid}", parameters) + ); + } + + /// + /// Get Play By Play + /// + /// The GameID of an MLB game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public PlayByPlay GetPlayByPlay(int gameid) + { + return this.GetPlayByPlayAsync(gameid).Result; + } + + /// + /// Get Play By Play Delta Asynchronous + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + /// Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetPlayByPlayDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/pbp/{format}/PlayByPlayDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Play By Play Delta + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + /// Only returns plays that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetPlayByPlayDelta(string date, string minutes) + { + return this.GetPlayByPlayDeltaAsync(date, minutes).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Projections.cs b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Projections.cs new file mode 100644 index 0000000..2b1c8c9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Projections.cs @@ -0,0 +1,84 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NHL; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NHLv3ProjectionsClient : BaseClient + { + public NHLv3ProjectionsClient(string apiKey) : base(apiKey) { } + public NHLv3ProjectionsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-DEC-01, 2018-FEB-15. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/projections/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the game(s). Examples: 2017-DEC-01, 2018-FEB-15. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/projections/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date (w/ Injuries, DFS Salaries) + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + /// Unique FantasyData Player ID. Example:30000378. + public Task GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nhl/projections/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player (w/ Injuries, DFS Salaries) + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + /// Unique FantasyData Player ID. Example:30000378. + public PlayerGameProjection GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Scores.cs b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Scores.cs new file mode 100644 index 0000000..bedc21a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Scores.cs @@ -0,0 +1,365 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NHL; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NHLv3ScoresClient : BaseClient + { + public NHLv3ScoresClient(string apiKey) : base(apiKey) { } + public NHLv3ScoresClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nhl/scores/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nhl/scores/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2018-JAN-31, 2017-OCT-01. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2018-JAN-31, 2017-OCT-01. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agent Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agent + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:30000007. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nhl/scores/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:30000007. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season. Examples: 2016, 2017. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2016, 2017. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/scores/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Stats.cs b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Stats.cs new file mode 100644 index 0000000..e51f2fd --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/NHL/NHLv3Stats.cs @@ -0,0 +1,619 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NHL; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NHLv3StatsClient : BaseClient + { + public NHLv3StatsClient(string apiKey) : base(apiKey) { } + public NHLv3StatsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Are Games In Progress Asynchronous + /// + public Task GetAreAnyGamesInProgressAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nhl/stats/{format}/AreAnyGamesInProgress", parameters) + ); + } + + /// + /// Get Are Games In Progress + /// + public bool GetAreAnyGamesInProgress() + { + return this.GetAreAnyGamesInProgressAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/v3/nhl/stats/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of an NHL game. GameIDs can be found in the Games API. Valid entries are 14620 or 16905 + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-OCT-31, 2018-FEB-15. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2017-OCT-31, 2018-FEB-15. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2017-OCT-31, 2018-FEB-15. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2017-OCT-31, 2018-FEB-15. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1 or 2. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Current Season Asynchronous + /// + public Task GetCurrentSeasonAsync() + { + var parameters = new List>(); + return Task.Run(() => + base.Get("/v3/nhl/stats/{format}/CurrentSeason", parameters) + ); + } + + /// + /// Get Current Season + /// + public Season GetCurrentSeason() + { + return this.GetCurrentSeasonAsync().Result; + } + + /// + /// Get DFS Slates by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-DEC-01, 2018-FEB-15. + public Task> GetDfsSlatesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/DfsSlatesByDate/{date}", parameters) + ); + } + + /// + /// Get DFS Slates by Date + /// + /// The date of the game(s). Examples: 2017-DEC-01, 2018-FEB-15. + public List GetDfsSlatesByDate(string date) + { + return this.GetDfsSlatesByDateAsync(date).Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-OCT-31, 2018-FEB-15. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2017-OCT-31, 2018-FEB-15. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Line Combinations by Season Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + public Task> GetLinesBySeasonAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/LinesBySeason/{season}", parameters) + ); + } + + /// + /// Get Line Combinations by Season + /// + /// Year of the season. Examples: 2016, 2017. + public List GetLinesBySeason(string season) + { + return this.GetLinesBySeasonAsync(season).Result; + } + + /// + /// Get News Asynchronous + /// + public Task> GetNewsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/News", parameters) + ); + } + + /// + /// Get News + /// + public List GetNews() + { + return this.GetNewsAsync().Result; + } + + /// + /// Get News by Date Asynchronous + /// + /// The date of the news. Examples: 2017-OCT-31, 2018-FEB-15. + public Task> GetNewsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/NewsByDate/{date}", parameters) + ); + } + + /// + /// Get News by Date + /// + /// The date of the news. Examples: 2017-OCT-31, 2018-FEB-15. + public List GetNewsByDate(string date) + { + return this.GetNewsByDateAsync(date).Result; + } + + /// + /// Get News by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:10000507. + public Task> GetNewsByPlayerIDAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/NewsByPlayerID/{playerid}", parameters) + ); + } + + /// + /// Get News by Player + /// + /// Unique FantasyData Player ID. Example:10000507. + public List GetNewsByPlayerID(int playerid) + { + return this.GetNewsByPlayerIDAsync(playerid).Result; + } + + /// + /// Get Player Details by Active Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/Players", parameters) + ); + } + + /// + /// Get Player Details by Active + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Player Details by Free Agent Asynchronous + /// + public Task> GetFreeAgentsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/FreeAgents", parameters) + ); + } + + /// + /// Get Player Details by Free Agent + /// + public List GetFreeAgents() + { + return this.GetFreeAgentsAsync().Result; + } + + /// + /// Get Player Details by Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:30000007. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nhl/stats/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player Details by Player + /// + /// Unique FantasyData Player ID. Example:30000007. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-OCT-31, 2018-FEB-15. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2017-OCT-31, 2018-FEB-15. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + /// Unique FantasyData Player ID. Example:30000378. + public Task GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nhl/stats/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + /// Unique FantasyData Player ID. Example:30000378. + public PlayerGame GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + public Task> GetPlayerSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/PlayerSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Year of the season. Examples: 2016, 2017. + public List GetPlayerSeasonStats(string season) + { + return this.GetPlayerSeasonStatsAsync(season).Result; + } + + /// + /// Get Player Season Stats By Player Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + /// Unique FantasyData Player ID. Example:30000378. + public Task GetPlayerSeasonStatsByPlayerAsync(string season, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/nhl/stats/{format}/PlayerSeasonStatsByPlayer/{season}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats By Player + /// + /// Year of the season. Examples: 2016, 2017. + /// Unique FantasyData Player ID. Example:30000378. + public PlayerSeason GetPlayerSeasonStatsByPlayer(string season, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(season, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayerSeasonStatsByTeamAsync(string season, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/PlayerSeasonStatsByTeam/{season}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Year of the season. Examples: 2016, 2017. + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayerSeasonStatsByTeam(string season, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(season, team).Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public Task> GetPlayersAsync(string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/Players/{team}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// The abbreviation of the requested team. Examples: SF, NYY. + public List GetPlayers(string team) + { + return this.GetPlayersAsync(team).Result; + } + + /// + /// Get Schedules Asynchronous + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public Task> GetGamesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/Games/{season}", parameters) + ); + } + + /// + /// Get Schedules + /// + /// Year of the season (with optional season type). Examples: 2018, 2018PRE, 2018POST, 2018STAR, 2019, etc. + public List GetGames(string season) + { + return this.GetGamesAsync(season).Result; + } + + /// + /// Get Stadiums Asynchronous + /// + public Task> GetStadiumsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/Stadiums", parameters) + ); + } + + /// + /// Get Stadiums + /// + public List GetStadiums() + { + return this.GetStadiumsAsync().Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + public Task> GetStandingsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/Standings/{season}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Year of the season. Examples: 2016, 2017. + public List GetStandings(string season) + { + return this.GetStandingsAsync(season).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2018-JAN-31, 2017-OCT-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + public Task> GetTeamSeasonStatsAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/TeamSeasonStats/{season}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Year of the season. Examples: 2016, 2017. + public List GetTeamSeasonStats(string season) + { + return this.GetTeamSeasonStatsAsync(season).Result; + } + + /// + /// Get Team Stats Allowed by Position Asynchronous + /// + /// Year of the season. Examples: 2016, 2017. + public Task> GetTeamStatsAllowedByPositionAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/TeamStatsAllowedByPosition/{season}", parameters) + ); + } + + /// + /// Get Team Stats Allowed by Position + /// + /// Year of the season. Examples: 2016, 2017. + public List GetTeamStatsAllowedByPosition(string season) + { + return this.GetTeamStatsAllowedByPositionAsync(season).Result; + } + + /// + /// Get Teams (Active) Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/teams", parameters) + ); + } + + /// + /// Get Teams (Active) + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Teams (All) Asynchronous + /// + public Task> GetAllTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/nhl/stats/{format}/AllTeams", parameters) + ); + } + + /// + /// Get Teams (All) + /// + public List GetAllTeams() + { + return this.GetAllTeamsAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Nascar/NASCARv2.cs b/FantasyData.Api.Client.NetCore/Clients/Nascar/NASCARv2.cs new file mode 100644 index 0000000..c99512b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Nascar/NASCARv2.cs @@ -0,0 +1,141 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Nascar; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class NASCARv2Client : BaseClient + { + public NASCARv2Client(string apiKey) : base(apiKey) { } + public NASCARv2Client(Guid apiKey) : base(apiKey) { } + + /// + /// Get Driver Details Asynchronous + /// + /// Unique FantasyData Driver ID. Example:80000268. + public Task GetDriverAsync(int driverid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("driverid", driverid.ToString())); + return Task.Run(() => + base.Get("/nascar/v2/{format}/driver/{driverid}", parameters) + ); + } + + /// + /// Get Driver Details + /// + /// Unique FantasyData Driver ID. Example:80000268. + public Driver GetDriver(int driverid) + { + return this.GetDriverAsync(driverid).Result; + } + + /// + /// Get Driver Race Projections (Entry List) Asynchronous + /// + /// Unique FantasyData Race ID. Example:1, 2, etc. + public Task> GetDriverRaceProjectionsAsync(int raceid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("raceid", raceid.ToString())); + return Task.Run>(() => + base.Get>("/nascar/v2/{format}/DriverRaceProjections/{raceid}", parameters) + ); + } + + /// + /// Get Driver Race Projections (Entry List) + /// + /// Unique FantasyData Race ID. Example:1, 2, etc. + public List GetDriverRaceProjections(int raceid) + { + return this.GetDriverRaceProjectionsAsync(raceid).Result; + } + + /// + /// Get Drivers Asynchronous + /// + public Task> GetDriversAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nascar/v2/{format}/drivers", parameters) + ); + } + + /// + /// Get Drivers + /// + public List GetDrivers() + { + return this.GetDriversAsync().Result; + } + + /// + /// Get Race Results Asynchronous + /// + /// Unique FantasyData Race ID. Example:1, 2, etc. + public Task GetRaceresultAsync(int raceid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("raceid", raceid.ToString())); + return Task.Run(() => + base.Get("/nascar/v2/{format}/raceresult/{raceid}", parameters) + ); + } + + /// + /// Get Race Results + /// + /// Unique FantasyData Race ID. Example:1, 2, etc. + public RaceResult GetRaceresult(int raceid) + { + return this.GetRaceresultAsync(raceid).Result; + } + + /// + /// Get Races / Schedule Asynchronous + /// + /// Year of the season. Examples: 2015, 2016. + public Task> GetRacesAsync(string season) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("season", season.ToString())); + return Task.Run>(() => + base.Get>("/nascar/v2/{format}/races/{season}", parameters) + ); + } + + /// + /// Get Races / Schedule + /// + /// Year of the season. Examples: 2015, 2016. + public List GetRaces(string season) + { + return this.GetRacesAsync(season).Result; + } + + /// + /// Get Series Asynchronous + /// + public Task> GetSeriesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/nascar/v2/{format}/series", parameters) + ); + } + + /// + /// Get Series + /// + public List GetSeries() + { + return this.GetSeriesAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/SampleClient.cs b/FantasyData.Api.Client.NetCore/Clients/SampleClient.cs new file mode 100644 index 0000000..3b13f06 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/SampleClient.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.NFLv3; + +namespace FantasyData.Api.Client.NetCore +{ + public class SampleClient : BaseClient + { + public SampleClient(string apiKey) : base(apiKey) { } + public SampleClient(Guid apiKey) : base(apiKey) { } + + public IList GetTeams() + { + return base.Get>("/v3/nfl/stats/json/teams"); + } + + /// + /// Summary description + /// + /// season description 1 + /// week description 2 + public IList GetScoresByWeek(string season, string week) + { + return this.GetScoresByWeekAsync(season, week).Result; + } + + /// + /// Summary description + /// + /// season description 1 + /// week description 2 + public Task> GetScoresByWeekAsync(string season, string week) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("format", "json")); + parameters.Add(new KeyValuePair("season", season)); + parameters.Add(new KeyValuePair("week", week)); + return Task.Run>(() => + base.Get>("/v3/nfl/stats/{format}/ScoresByWeek/{season}/{week}", parameters) + ); + } + + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv2.cs b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv2.cs new file mode 100644 index 0000000..fcee1dc --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv2.cs @@ -0,0 +1,722 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Soccer; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Soccerv2Client : BaseClient + { + public Soccerv2Client(string apiKey) : base(apiKey) { } + public Soccerv2Client(Guid apiKey) : base(apiKey) { } + + /// + /// Get Areas (Countries) Asynchronous + /// + public Task> GetAreasAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/Areas", parameters) + ); + } + + /// + /// Get Areas (Countries) + /// + public List GetAreas() + { + return this.GetAreasAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of a Soccer game. GameIDs can be found in the Games API. Valid entries are 702, 1274, etc. + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/soccer/v2/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of a Soccer game. GameIDs can be found in the Games API. Valid entries are 702, 1274, etc. + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date by Competition Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public Task> GetBoxScoresByCompetitionAsync(string competition, string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/BoxScoresByCompetition/{competition}/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date by Competition + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public List GetBoxScoresByCompetition(string competition, string date) + { + return this.GetBoxScoresByCompetitionAsync(competition, date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Box Scores Delta by Date by Competition Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetBoxScoresDeltaByCompetitionAsync(string competition, string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/BoxScoresDeltaByCompetition/{competition}/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores Delta by Date by Competition + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetBoxScoresDeltaByCompetition(string competition, string date, string minutes) + { + return this.GetBoxScoresDeltaByCompetitionAsync(competition, date, minutes).Result; + } + + /// + /// Get Competition Fixtures (League Details) Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public Task GetCompetitionDetailsAsync(string competition) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + return Task.Run(() => + base.Get("/soccer/v2/{format}/CompetitionDetails/{competition}", parameters) + ); + } + + /// + /// Get Competition Fixtures (League Details) + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public CompetitionDetail GetCompetitionDetails(string competition) + { + return this.GetCompetitionDetailsAsync(competition).Result; + } + + /// + /// Get Competition Hierarchy (League Hierarchy) Asynchronous + /// + public Task> GetCompetitionHierarchyAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/CompetitionHierarchy", parameters) + ); + } + + /// + /// Get Competition Hierarchy (League Hierarchy) + /// + public List GetCompetitionHierarchy() + { + return this.GetCompetitionHierarchyAsync().Result; + } + + /// + /// Get Competitions (Leagues) Asynchronous + /// + public Task> GetCompetitionsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/Competitions", parameters) + ); + } + + /// + /// Get Competitions (Leagues) + /// + public List GetCompetitions() + { + return this.GetCompetitionsAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Memberships (Active) Asynchronous + /// + public Task> GetActiveMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/ActiveMemberships", parameters) + ); + } + + /// + /// Get Memberships (Active) + /// + public List GetActiveMemberships() + { + return this.GetActiveMembershipsAsync().Result; + } + + /// + /// Get Memberships (Historical) Asynchronous + /// + public Task> GetHistoricalMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/HistoricalMemberships", parameters) + ); + } + + /// + /// Get Memberships (Historical) + /// + public List GetHistoricalMemberships() + { + return this.GetHistoricalMembershipsAsync().Result; + } + + /// + /// Get Memberships by Team (Active) Asynchronous + /// + /// Unique FantasyData Team ID. Example:516. + public Task> GetMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/MembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Active) + /// + /// Unique FantasyData Team ID. Example:516. + public List GetMembershipsByTeam(int teamid) + { + return this.GetMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Memberships by Team (Historical) Asynchronous + /// + /// Unique FantasyData Team ID. Example:516. + public Task> GetHistoricalMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/HistoricalMembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Historical) + /// + /// Unique FantasyData Team ID. Example:516. + public List GetHistoricalMembershipsByTeam(int teamid) + { + return this.GetHistoricalMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:90026231. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/soccer/v2/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player + /// + /// Unique FantasyData Player ID. Example:90026231. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + /// Unique FantasyData Player ID. Example:90026231. + public Task> GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + /// Unique FantasyData Player ID. Example:90026231. + public List GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetPlayerSeasonStatsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/PlayerSeasonStats/{roundid}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetPlayerSeasonStats(int roundid) + { + return this.GetPlayerSeasonStatsAsync(roundid).Result; + } + + /// + /// Get Player Season Stats by Player Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + /// Unique FantasyData Player ID. Example:90026231. + public Task> GetPlayerSeasonStatsByPlayerAsync(int roundid, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/PlayerSeasonStatsByPlayer/{roundid}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats by Player + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + /// Unique FantasyData Player ID. Example:90026231. + public List GetPlayerSeasonStatsByPlayer(int roundid, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(roundid, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + /// Unique FantasyData Team ID. Example:516. + public Task> GetPlayerSeasonStatsByTeamAsync(int roundid, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/PlayerSeasonStatsByTeam/{roundid}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + /// Unique FantasyData Team ID. Example:516. + public List GetPlayerSeasonStatsByTeam(int roundid, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(roundid, team).Result; + } + + /// + /// Get Players Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/Players", parameters) + ); + } + + /// + /// Get Players + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// Unique FantasyData Team ID. Example:516. + public Task> GetPlayersByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/PlayersByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// Unique FantasyData Team ID. Example:516. + public List GetPlayersByTeam(int teamid) + { + return this.GetPlayersByTeamAsync(teamid).Result; + } + + /// + /// Get Projected Player Game Stats by Competition (w/ DFS Salaries) Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public Task> GetPlayerGameProjectionStatsByCompetitionAsync(string competition, string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/PlayerGameProjectionStatsByCompetition/{competition}/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Competition (w/ DFS Salaries) + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public List GetPlayerGameProjectionStatsByCompetition(string competition, string date) + { + return this.GetPlayerGameProjectionStatsByCompetitionAsync(competition, date).Result; + } + + /// + /// Get Projected Player Game Stats by Date (w/ DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date (w/ DFS Salaries) + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player (w/ DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + /// Unique FantasyData Player ID. Example:90026231. + public Task> GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player (w/ DFS Salaries) + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + /// Unique FantasyData Player ID. Example:90026231. + public List GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Schedule Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetScheduleAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/Schedule/{roundid}", parameters) + ); + } + + /// + /// Get Schedule + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetSchedule(int roundid) + { + return this.GetScheduleAsync(roundid).Result; + } + + /// + /// Get Season Teams Asynchronous + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetSeasonTeamsAsync(int seasonid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("seasonid", seasonid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/SeasonTeams/{seasonid}", parameters) + ); + } + + /// + /// Get Season Teams + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetSeasonTeams(int seasonid) + { + return this.GetSeasonTeamsAsync(seasonid).Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetStandingsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/Standings/{roundid}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetStandings(int roundid) + { + return this.GetStandingsAsync(roundid).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2016-02-27, 2016-09-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetTeamSeasonStatsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/TeamSeasonStats/{roundid}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetTeamSeasonStats(int roundid) + { + return this.GetTeamSeasonStatsAsync(roundid).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Venues Asynchronous + /// + public Task> GetVenuesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/soccer/v2/{format}/Venues", parameters) + ); + } + + /// + /// Get Venues + /// + public List GetVenues() + { + return this.GetVenuesAsync().Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Odds.cs b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Odds.cs new file mode 100644 index 0000000..2406f9e --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Odds.cs @@ -0,0 +1,103 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Soccer; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Soccerv3OddsClient : BaseClient + { + public Soccerv3OddsClient(string apiKey) : base(apiKey) { } + public Soccerv3OddsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Pre-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/odds/{format}/GameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get Pre-Game Odds by Date + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetGameOddsByDate(string date) + { + return this.GetGameOddsByDateAsync(date).Result; + } + + /// + /// Get Pre-Game Odds Line Movement Asynchronous + /// + /// The GameID of a Soccer game. GameIDs can be found in the Games API. Valid entries are 14060, 14061, etc. + public Task> GetGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/odds/{format}/GameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get Pre-Game Odds Line Movement + /// + /// The GameID of a Soccer game. GameIDs can be found in the Games API. Valid entries are 14060, 14061, etc. + public List GetGameOddsLineMovement(int gameid) + { + return this.GetGameOddsLineMovementAsync(gameid).Result; + } + + /// + /// Get In-Game Odds by Date Asynchronous + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public Task> GetLiveGameOddsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/odds/{format}/LiveGameOddsByDate/{date}", parameters) + ); + } + + /// + /// Get In-Game Odds by Date + /// + /// The date of the game(s). Examples: 2018-06-20, 2018-06-23. + public List GetLiveGameOddsByDate(string date) + { + return this.GetLiveGameOddsByDateAsync(date).Result; + } + + /// + /// Get In-Game Odds Line Movement Asynchronous + /// + /// The GameID of a Soccer game. GameIDs can be found in the Games API. Valid entries are 14060, 14061, etc. + public Task> GetLiveGameOddsLineMovementAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/odds/{format}/LiveGameOddsLineMovement/{gameid}", parameters) + ); + } + + /// + /// Get In-Game Odds Line Movement + /// + /// The GameID of a Soccer game. GameIDs can be found in the Games API. Valid entries are 14060, 14061, etc. + public List GetLiveGameOddsLineMovement(int gameid) + { + return this.GetLiveGameOddsLineMovementAsync(gameid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Projections.cs b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Projections.cs new file mode 100644 index 0000000..2bf2feb --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Projections.cs @@ -0,0 +1,87 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Soccer; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Soccerv3ProjectionsClient : BaseClient + { + public Soccerv3ProjectionsClient(string apiKey) : base(apiKey) { } + public Soccerv3ProjectionsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Projected Player Game Stats by Competition (w/ DFS Salaries) Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetPlayerGameProjectionStatsByCompetitionAsync(string competition, string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/projections/{format}/PlayerGameProjectionStatsByCompetition/{competition}/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Competition (w/ DFS Salaries) + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetPlayerGameProjectionStatsByCompetition(string competition, string date) + { + return this.GetPlayerGameProjectionStatsByCompetitionAsync(competition, date).Result; + } + + /// + /// Get Projected Player Game Stats by Date (w/ DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetPlayerGameProjectionStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/projections/{format}/PlayerGameProjectionStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Date (w/ DFS Salaries) + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetPlayerGameProjectionStatsByDate(string date) + { + return this.GetPlayerGameProjectionStatsByDateAsync(date).Result; + } + + /// + /// Get Projected Player Game Stats by Player (w/ DFS Salaries) Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + /// Unique FantasyData Player ID. Example:90026231. + public Task> GetPlayerGameProjectionStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/projections/{format}/PlayerGameProjectionStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Projected Player Game Stats by Player (w/ DFS Salaries) + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + /// Unique FantasyData Player ID. Example:90026231. + public List GetPlayerGameProjectionStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameProjectionStatsByPlayerAsync(date, playerid).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Scores.cs b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Scores.cs new file mode 100644 index 0000000..c26201f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Scores.cs @@ -0,0 +1,497 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Soccer; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Soccerv3ScoresClient : BaseClient + { + public Soccerv3ScoresClient(string apiKey) : base(apiKey) { } + public Soccerv3ScoresClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Areas (Countries) Asynchronous + /// + public Task> GetAreasAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/Areas", parameters) + ); + } + + /// + /// Get Areas (Countries) + /// + public List GetAreas() + { + return this.GetAreasAsync().Result; + } + + /// + /// Get Competition Fixtures (League Details) Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public Task GetCompetitionDetailsAsync(string competition) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + return Task.Run(() => + base.Get("/v3/soccer/scores/{format}/CompetitionDetails/{competition}", parameters) + ); + } + + /// + /// Get Competition Fixtures (League Details) + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public CompetitionDetail GetCompetitionDetails(string competition) + { + return this.GetCompetitionDetailsAsync(competition).Result; + } + + /// + /// Get Competition Hierarchy (League Hierarchy) Asynchronous + /// + public Task> GetCompetitionHierarchyAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/CompetitionHierarchy", parameters) + ); + } + + /// + /// Get Competition Hierarchy (League Hierarchy) + /// + public List GetCompetitionHierarchy() + { + return this.GetCompetitionHierarchyAsync().Result; + } + + /// + /// Get Competitions (Leagues) Asynchronous + /// + public Task> GetCompetitionsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/Competitions", parameters) + ); + } + + /// + /// Get Competitions (Leagues) + /// + public List GetCompetitions() + { + return this.GetCompetitionsAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Memberships (Active) Asynchronous + /// + public Task> GetActiveMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/ActiveMemberships", parameters) + ); + } + + /// + /// Get Memberships (Active) + /// + public List GetActiveMemberships() + { + return this.GetActiveMembershipsAsync().Result; + } + + /// + /// Get Memberships (Historical) Asynchronous + /// + public Task> GetHistoricalMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/HistoricalMemberships", parameters) + ); + } + + /// + /// Get Memberships (Historical) + /// + public List GetHistoricalMemberships() + { + return this.GetHistoricalMembershipsAsync().Result; + } + + /// + /// Get Memberships by Team (Active) Asynchronous + /// + /// Unique FantasyData Team ID. Example:516. + public Task> GetMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/MembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Active) + /// + /// Unique FantasyData Team ID. Example:516. + public List GetMembershipsByTeam(int teamid) + { + return this.GetMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Memberships by Team (Historical) Asynchronous + /// + /// Unique FantasyData Team ID. Example:516. + public Task> GetHistoricalMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/HistoricalMembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Historical) + /// + /// Unique FantasyData Team ID. Example:516. + public List GetHistoricalMembershipsByTeam(int teamid) + { + return this.GetHistoricalMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:90026231. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/soccer/scores/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player + /// + /// Unique FantasyData Player ID. Example:90026231. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Players Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/Players", parameters) + ); + } + + /// + /// Get Players + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// Unique FantasyData Team ID. Example:516. + public Task> GetPlayersByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/PlayersByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// Unique FantasyData Team ID. Example:516. + public List GetPlayersByTeam(int teamid) + { + return this.GetPlayersByTeamAsync(teamid).Result; + } + + /// + /// Get Schedule Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetScheduleAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/Schedule/{roundid}", parameters) + ); + } + + /// + /// Get Schedule + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetSchedule(int roundid) + { + return this.GetScheduleAsync(roundid).Result; + } + + /// + /// Get Season Teams Asynchronous + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetSeasonTeamsAsync(int seasonid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("seasonid", seasonid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/SeasonTeams/{seasonid}", parameters) + ); + } + + /// + /// Get Season Teams + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetSeasonTeams(int seasonid) + { + return this.GetSeasonTeamsAsync(seasonid).Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetStandingsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/Standings/{roundid}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetStandings(int roundid) + { + return this.GetStandingsAsync(roundid).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetTeamSeasonStatsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/TeamSeasonStats/{roundid}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetTeamSeasonStats(int roundid) + { + return this.GetTeamSeasonStatsAsync(roundid).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Venues Asynchronous + /// + public Task> GetVenuesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/Venues", parameters) + ); + } + + /// + /// Get Venues + /// + public List GetVenues() + { + return this.GetVenuesAsync().Result; + } + + /// + /// Get Upcoming Schedule By Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:90026231. + public Task> GetUpcomingScheduleByPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/UpcomingScheduleByPlayer/{playerid}", parameters) + ); + } + + /// + /// Get Upcoming Schedule By Player + /// + /// Unique FantasyData Player ID. Example:90026231. + public List GetUpcomingScheduleByPlayer(int playerid) + { + return this.GetUpcomingScheduleByPlayerAsync(playerid).Result; + } + + /// + /// Get Memberships (Recently Changed) Asynchronous + /// + /// The number of days since memberships were updated. For example, if you pass 3, you'll receive all memberships that have been updated in the past 3 days. Valid entries are: 1, 2 ... 30 + public Task> GetRecentlyChangedMembershipsAsync(string days) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("days", days.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/RecentlyChangedMemberships/{days}", parameters) + ); + } + + /// + /// Get Memberships (Recently Changed) + /// + /// The number of days since memberships were updated. For example, if you pass 3, you'll receive all memberships that have been updated in the past 3 days. Valid entries are: 1, 2 ... 30 + public List GetRecentlyChangedMemberships(string days) + { + return this.GetRecentlyChangedMembershipsAsync(days).Result; + } + + /// + /// Get Memberships by Competition (Active) Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public Task> GetMembershipsByCompetitionAsync(string competition) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/MembershipsByCompetition/{competition}", parameters) + ); + } + + /// + /// Get Memberships by Competition (Active) + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public List GetMembershipsByCompetition(string competition) + { + return this.GetMembershipsByCompetitionAsync(competition).Result; + } + + /// + /// Get Memberships by Competition (Historical) Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public Task> GetHistoricalMembershipsByCompetitionAsync(string competition) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/scores/{format}/HistoricalMembershipsByCompetition/{competition}", parameters) + ); + } + + /// + /// Get Memberships by Competition (Historical) + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public List GetHistoricalMembershipsByCompetition(string competition) + { + return this.GetHistoricalMembershipsByCompetitionAsync(competition).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Stats.cs b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Stats.cs new file mode 100644 index 0000000..cb3d9bb --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Clients/Soccer/Soccerv3Stats.cs @@ -0,0 +1,738 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; +using FantasyData.Api.Client.NetCore.Model.Soccer; + +namespace FantasyData.Api.Client.NetCore +{ + public partial class Soccerv3StatsClient : BaseClient + { + public Soccerv3StatsClient(string apiKey) : base(apiKey) { } + public Soccerv3StatsClient(Guid apiKey) : base(apiKey) { } + + /// + /// Get Areas (Countries) Asynchronous + /// + public Task> GetAreasAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/Areas", parameters) + ); + } + + /// + /// Get Areas (Countries) + /// + public List GetAreas() + { + return this.GetAreasAsync().Result; + } + + /// + /// Get Box Score Asynchronous + /// + /// The GameID of a Soccer game. GameIDs can be found in the Games API. Valid entries are 702, 1274, etc. + public Task GetBoxScoreAsync(int gameid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("gameid", gameid.ToString())); + return Task.Run(() => + base.Get("/v3/soccer/stats/{format}/BoxScore/{gameid}", parameters) + ); + } + + /// + /// Get Box Score + /// + /// The GameID of a Soccer game. GameIDs can be found in the Games API. Valid entries are 702, 1274, etc. + public BoxScore GetBoxScore(int gameid) + { + return this.GetBoxScoreAsync(gameid).Result; + } + + /// + /// Get Box Scores by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetBoxScoresAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/BoxScores/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetBoxScores(string date) + { + return this.GetBoxScoresAsync(date).Result; + } + + /// + /// Get Box Scores by Date by Competition Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetBoxScoresByCompetitionAsync(string competition, string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/BoxScoresByCompetition/{competition}/{date}", parameters) + ); + } + + /// + /// Get Box Scores by Date by Competition + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetBoxScoresByCompetition(string competition, string date) + { + return this.GetBoxScoresByCompetitionAsync(competition, date).Result; + } + + /// + /// Get Box Scores by Date Delta Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetBoxScoresDeltaAsync(string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/BoxScoresDelta/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores by Date Delta + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetBoxScoresDelta(string date, string minutes) + { + return this.GetBoxScoresDeltaAsync(date, minutes).Result; + } + + /// + /// Get Box Scores Delta by Date by Competition Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public Task> GetBoxScoresDeltaByCompetitionAsync(string competition, string date, string minutes) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("minutes", minutes.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/BoxScoresDeltaByCompetition/{competition}/{date}/{minutes}", parameters) + ); + } + + /// + /// Get Box Scores Delta by Date by Competition + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + /// Only returns player statistics that have changed in the last X minutes. You specify how many minutes in time to go back. Valid entries are: 1, 2 ... all. + public List GetBoxScoresDeltaByCompetition(string competition, string date, string minutes) + { + return this.GetBoxScoresDeltaByCompetitionAsync(competition, date, minutes).Result; + } + + /// + /// Get Competition Fixtures (League Details) Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public Task GetCompetitionDetailsAsync(string competition) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + return Task.Run(() => + base.Get("/v3/soccer/stats/{format}/CompetitionDetails/{competition}", parameters) + ); + } + + /// + /// Get Competition Fixtures (League Details) + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public CompetitionDetail GetCompetitionDetails(string competition) + { + return this.GetCompetitionDetailsAsync(competition).Result; + } + + /// + /// Get Competition Hierarchy (League Hierarchy) Asynchronous + /// + public Task> GetCompetitionHierarchyAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/CompetitionHierarchy", parameters) + ); + } + + /// + /// Get Competition Hierarchy (League Hierarchy) + /// + public List GetCompetitionHierarchy() + { + return this.GetCompetitionHierarchyAsync().Result; + } + + /// + /// Get Competitions (Leagues) Asynchronous + /// + public Task> GetCompetitionsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/Competitions", parameters) + ); + } + + /// + /// Get Competitions (Leagues) + /// + public List GetCompetitions() + { + return this.GetCompetitionsAsync().Result; + } + + /// + /// Get Games by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetGamesByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/GamesByDate/{date}", parameters) + ); + } + + /// + /// Get Games by Date + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetGamesByDate(string date) + { + return this.GetGamesByDateAsync(date).Result; + } + + /// + /// Get Memberships (Active) Asynchronous + /// + public Task> GetActiveMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/ActiveMemberships", parameters) + ); + } + + /// + /// Get Memberships (Active) + /// + public List GetActiveMemberships() + { + return this.GetActiveMembershipsAsync().Result; + } + + /// + /// Get Memberships (Historical) Asynchronous + /// + public Task> GetHistoricalMembershipsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/HistoricalMemberships", parameters) + ); + } + + /// + /// Get Memberships (Historical) + /// + public List GetHistoricalMemberships() + { + return this.GetHistoricalMembershipsAsync().Result; + } + + /// + /// Get Memberships by Team (Active) Asynchronous + /// + /// Unique FantasyData Team ID. Example:516. + public Task> GetMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/MembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Active) + /// + /// Unique FantasyData Team ID. Example:516. + public List GetMembershipsByTeam(int teamid) + { + return this.GetMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Memberships by Team (Historical) Asynchronous + /// + /// Unique FantasyData Team ID. Example:516. + public Task> GetHistoricalMembershipsByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/HistoricalMembershipsByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Memberships by Team (Historical) + /// + /// Unique FantasyData Team ID. Example:516. + public List GetHistoricalMembershipsByTeam(int teamid) + { + return this.GetHistoricalMembershipsByTeamAsync(teamid).Result; + } + + /// + /// Get Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:90026231. + public Task GetPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run(() => + base.Get("/v3/soccer/stats/{format}/Player/{playerid}", parameters) + ); + } + + /// + /// Get Player + /// + /// Unique FantasyData Player ID. Example:90026231. + public Player GetPlayer(int playerid) + { + return this.GetPlayerAsync(playerid).Result; + } + + /// + /// Get Player Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetPlayerGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/PlayerGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Player Game Stats by Date + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetPlayerGameStatsByDate(string date) + { + return this.GetPlayerGameStatsByDateAsync(date).Result; + } + + /// + /// Get Player Game Stats by Player Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + /// Unique FantasyData Player ID. Example:90026231. + public Task> GetPlayerGameStatsByPlayerAsync(string date, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/PlayerGameStatsByPlayer/{date}/{playerid}", parameters) + ); + } + + /// + /// Get Player Game Stats by Player + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + /// Unique FantasyData Player ID. Example:90026231. + public List GetPlayerGameStatsByPlayer(string date, int playerid) + { + return this.GetPlayerGameStatsByPlayerAsync(date, playerid).Result; + } + + /// + /// Get Player Season Stats Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetPlayerSeasonStatsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/PlayerSeasonStats/{roundid}", parameters) + ); + } + + /// + /// Get Player Season Stats + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetPlayerSeasonStats(int roundid) + { + return this.GetPlayerSeasonStatsAsync(roundid).Result; + } + + /// + /// Get Player Season Stats by Player Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + /// Unique FantasyData Player ID. Example:90026231. + public Task> GetPlayerSeasonStatsByPlayerAsync(int roundid, int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/PlayerSeasonStatsByPlayer/{roundid}/{playerid}", parameters) + ); + } + + /// + /// Get Player Season Stats by Player + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + /// Unique FantasyData Player ID. Example:90026231. + public List GetPlayerSeasonStatsByPlayer(int roundid, int playerid) + { + return this.GetPlayerSeasonStatsByPlayerAsync(roundid, playerid).Result; + } + + /// + /// Get Player Season Stats by Team Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + /// Unique FantasyData Team ID. Example:516. + public Task> GetPlayerSeasonStatsByTeamAsync(int roundid, string team) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + parameters.Add(new KeyValuePair("team", team.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/PlayerSeasonStatsByTeam/{roundid}/{team}", parameters) + ); + } + + /// + /// Get Player Season Stats by Team + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + /// Unique FantasyData Team ID. Example:516. + public List GetPlayerSeasonStatsByTeam(int roundid, string team) + { + return this.GetPlayerSeasonStatsByTeamAsync(roundid, team).Result; + } + + /// + /// Get Players Asynchronous + /// + public Task> GetPlayersAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/Players", parameters) + ); + } + + /// + /// Get Players + /// + public List GetPlayers() + { + return this.GetPlayersAsync().Result; + } + + /// + /// Get Players by Team Asynchronous + /// + /// Unique FantasyData Team ID. Example:516. + public Task> GetPlayersByTeamAsync(int teamid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("teamid", teamid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/PlayersByTeam/{teamid}", parameters) + ); + } + + /// + /// Get Players by Team + /// + /// Unique FantasyData Team ID. Example:516. + public List GetPlayersByTeam(int teamid) + { + return this.GetPlayersByTeamAsync(teamid).Result; + } + + /// + /// Get Schedule Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetScheduleAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/Schedule/{roundid}", parameters) + ); + } + + /// + /// Get Schedule + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetSchedule(int roundid) + { + return this.GetScheduleAsync(roundid).Result; + } + + /// + /// Get Season Teams Asynchronous + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetSeasonTeamsAsync(int seasonid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("seasonid", seasonid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/SeasonTeams/{seasonid}", parameters) + ); + } + + /// + /// Get Season Teams + /// + /// Unique FantasyData Season ID. SeasonIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetSeasonTeams(int seasonid) + { + return this.GetSeasonTeamsAsync(seasonid).Result; + } + + /// + /// Get Standings Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetStandingsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/Standings/{roundid}", parameters) + ); + } + + /// + /// Get Standings + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetStandings(int roundid) + { + return this.GetStandingsAsync(roundid).Result; + } + + /// + /// Get Team Game Stats by Date Asynchronous + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public Task> GetTeamGameStatsByDateAsync(string date) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("date", date.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/TeamGameStatsByDate/{date}", parameters) + ); + } + + /// + /// Get Team Game Stats by Date + /// + /// The date of the game(s). Examples: 2017-02-27, 2017-09-01. + public List GetTeamGameStatsByDate(string date) + { + return this.GetTeamGameStatsByDateAsync(date).Result; + } + + /// + /// Get Team Season Stats Asynchronous + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public Task> GetTeamSeasonStatsAsync(int roundid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("roundid", roundid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/TeamSeasonStats/{roundid}", parameters) + ); + } + + /// + /// Get Team Season Stats + /// + /// Unique FantasyData Round ID. RoundIDs can be found in the Competition Hierarchy (League Hierarchy). Examples: 1, 2, 3, etc + public List GetTeamSeasonStats(int roundid) + { + return this.GetTeamSeasonStatsAsync(roundid).Result; + } + + /// + /// Get Teams Asynchronous + /// + public Task> GetTeamsAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/Teams", parameters) + ); + } + + /// + /// Get Teams + /// + public List GetTeams() + { + return this.GetTeamsAsync().Result; + } + + /// + /// Get Venues Asynchronous + /// + public Task> GetVenuesAsync() + { + var parameters = new List>(); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/Venues", parameters) + ); + } + + /// + /// Get Venues + /// + public List GetVenues() + { + return this.GetVenuesAsync().Result; + } + + /// + /// Get Upcoming Schedule By Player Asynchronous + /// + /// Unique FantasyData Player ID. Example:90026231. + public Task> GetUpcomingScheduleByPlayerAsync(int playerid) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("playerid", playerid.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/UpcomingScheduleByPlayer/{playerid}", parameters) + ); + } + + /// + /// Get Upcoming Schedule By Player + /// + /// Unique FantasyData Player ID. Example:90026231. + public List GetUpcomingScheduleByPlayer(int playerid) + { + return this.GetUpcomingScheduleByPlayerAsync(playerid).Result; + } + + /// + /// Get Memberships (Recently Changed) Asynchronous + /// + /// The number of days since memberships were updated. For example, if you pass 3, you'll receive all memberships that have been updated in the past 3 days. Valid entries are: 1, 2 ... 30 + public Task> GetRecentlyChangedMembershipsAsync(string days) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("days", days.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/RecentlyChangedMemberships/{days}", parameters) + ); + } + + /// + /// Get Memberships (Recently Changed) + /// + /// The number of days since memberships were updated. For example, if you pass 3, you'll receive all memberships that have been updated in the past 3 days. Valid entries are: 1, 2 ... 30 + public List GetRecentlyChangedMemberships(string days) + { + return this.GetRecentlyChangedMembershipsAsync(days).Result; + } + + /// + /// Get Memberships by Competition (Active) Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public Task> GetMembershipsByCompetitionAsync(string competition) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/MembershipsByCompetition/{competition}", parameters) + ); + } + + /// + /// Get Memberships by Competition (Active) + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public List GetMembershipsByCompetition(string competition) + { + return this.GetMembershipsByCompetitionAsync(competition).Result; + } + + /// + /// Get Memberships by Competition (Historical) Asynchronous + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public Task> GetHistoricalMembershipsByCompetitionAsync(string competition) + { + var parameters = new List>(); + parameters.Add(new KeyValuePair("competition", competition.ToString())); + return Task.Run>(() => + base.Get>("/v3/soccer/stats/{format}/HistoricalMembershipsByCompetition/{competition}", parameters) + ); + } + + /// + /// Get Memberships by Competition (Historical) + /// + /// An indication of a soccer competition/league. This value can be the CompetitionId or the Competition Key. Possible values include: EPL, 1, MLS, 8, etc. + public List GetHistoricalMembershipsByCompetition(string competition) + { + return this.GetHistoricalMembershipsByCompetitionAsync(competition).Result; + } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/FantasyData.Api.Client.NetCore.csproj b/FantasyData.Api.Client.NetCore/FantasyData.Api.Client.NetCore.csproj new file mode 100644 index 0000000..a20524d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/FantasyData.Api.Client.NetCore.csproj @@ -0,0 +1,11 @@ + + + + netcoreapp3.1 + + + + + + + diff --git a/FantasyData.Api.Client.NetCore/Model/ApiException.cs b/FantasyData.Api.Client.NetCore/Model/ApiException.cs new file mode 100644 index 0000000..1f0c1e6 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/ApiException.cs @@ -0,0 +1,26 @@ +using System; +using System.Net; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model +{ + [DataContract] + public class ApiException : Exception + { + + [DataMember(Order = 1)] + public int HttpStatusCode { get; set; } + + [DataMember(Order = 2)] + public HttpStatusCode Code { get; set; } + + [DataMember(Order = 3)] + public string Description { get; set; } + + [DataMember(Order = 4)] + public string Help { get; set; } + + public bool IsServerError { get { return this.Code == System.Net.HttpStatusCode.InternalServerError; } } + + } +} diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/BoxScore.cs b/FantasyData.Api.Client.NetCore/Model/CBB/BoxScore.cs new file mode 100644 index 0000000..144601f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/BoxScore.cs @@ -0,0 +1,41 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="BoxScore")] + [Serializable] + public partial class BoxScore + { + /// + /// The game details of this box score + /// + [Description("The game details of this box score")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The period details of this box score + /// + [Description("The period details of this box score")] + [DataMember(Name = "Periods", Order = 20002)] + public Period[] Periods { get; set; } + + /// + /// The player game stats of this box score + /// + [Description("The player game stats of this box score")] + [DataMember(Name = "PlayerGames", Order = 20003)] + public PlayerGame[] PlayerGames { get; set; } + + /// + /// The team game stats of this box score + /// + [Description("The team game stats of this box score")] + [DataMember(Name = "TeamGames", Order = 20004)] + public TeamGame[] TeamGames { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Conference.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Conference.cs new file mode 100644 index 0000000..e8f5ca3 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Conference.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Conference")] + [Serializable] + public partial class Conference + { + /// + /// The ID of the team's conference + /// + [Description("The ID of the team's conference")] + [DataMember(Name = "ConferenceID", Order = 1)] + public int ConferenceID { get; set; } + + /// + /// The name of the team's conference + /// + [Description("The name of the team's conference")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The college teams within this conference + /// + [Description("The college teams within this conference")] + [DataMember(Name = "Teams", Order = 20003)] + public Team[] Teams { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Game.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Game.cs new file mode 100644 index 0000000..a0cc949 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Game.cs @@ -0,0 +1,293 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int GameID { get; set; } + + /// + /// The College Basketball season of the game + /// + [Description("The College Basketball season of the game")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 4)] + public string Status { get; set; } + + /// + /// The date of the game + /// + [Description("The date of the game")] + [DataMember(Name = "Day", Order = 5)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime? DateTime { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 7)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 8)] + public string HomeTeam { get; set; } + + /// + /// The unique ID of the away team + /// + [Description("The unique ID of the away team")] + [DataMember(Name = "AwayTeamID", Order = 9)] + public int? AwayTeamID { get; set; } + + /// + /// The unique ID of the home team + /// + [Description("The unique ID of the home team")] + [DataMember(Name = "HomeTeamID", Order = 10)] + public int? HomeTeamID { get; set; } + + /// + /// Total number of points the away team scored in this game + /// + [Description("Total number of points the away team scored in this game")] + [DataMember(Name = "AwayTeamScore", Order = 11)] + public int? AwayTeamScore { get; set; } + + /// + /// Total number of points the home team scored in this game + /// + [Description("Total number of points the home team scored in this game")] + [DataMember(Name = "HomeTeamScore", Order = 12)] + public int? HomeTeamScore { get; set; } + + /// + /// The timestamp of when this game was last updated (in US Eastern Time) + /// + [Description("The timestamp of when this game was last updated (in US Eastern Time)")] + [DataMember(Name = "Updated", Order = 13)] + public DateTime? Updated { get; set; } + + /// + /// The current half of the game (Possible Values: 1, 2, Half, OT, F, F/OT, NULL) + /// + [Description("The current half of the game (Possible Values: 1, 2, Half, OT, F, F/OT, NULL)")] + [DataMember(Name = "Period", Order = 14)] + public string Period { get; set; } + + /// + /// Number of minutes remaining in the half + /// + [Description("Number of minutes remaining in the half")] + [DataMember(Name = "TimeRemainingMinutes", Order = 15)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// Number of seconds remaining in the half + /// + [Description("Number of seconds remaining in the half")] + [DataMember(Name = "TimeRemainingSeconds", Order = 16)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored)")] + [DataMember(Name = "PointSpread", Order = 17)] + public decimal? PointSpread { get; set; } + + /// + /// The oddsmaker Over/Under at game start + /// + [Description("The oddsmaker Over/Under at game start")] + [DataMember(Name = "OverUnder", Order = 18)] + public decimal? OverUnder { get; set; } + + /// + /// Money line from the perspective of the away team + /// + [Description("Money line from the perspective of the away team")] + [DataMember(Name = "AwayTeamMoneyLine", Order = 19)] + public int? AwayTeamMoneyLine { get; set; } + + /// + /// Money line from the perspective of the home team + /// + [Description("Money line from the perspective of the home team")] + [DataMember(Name = "HomeTeamMoneyLine", Order = 20)] + public int? HomeTeamMoneyLine { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 21)] + public int GlobalGameID { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamID", Order = 22)] + public int? GlobalAwayTeamID { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamID", Order = 23)] + public int? GlobalHomeTeamID { get; set; } + + /// + /// The unique ID of the tournament + /// + [Description("The unique ID of the tournament")] + [DataMember(Name = "TournamentID", Order = 24)] + public int? TournamentID { get; set; } + + /// + /// The bracket of the tournament + /// + [Description("The bracket of the tournament")] + [DataMember(Name = "Bracket", Order = 25)] + public string Bracket { get; set; } + + /// + /// The current round of the tournament + /// + [Description("The current round of the tournament")] + [DataMember(Name = "Round", Order = 26)] + public int? Round { get; set; } + + /// + /// The seed of the away team + /// + [Description("The seed of the away team")] + [DataMember(Name = "AwayTeamSeed", Order = 27)] + public int? AwayTeamSeed { get; set; } + + /// + /// The seed of the home team + /// + [Description("The seed of the home team")] + [DataMember(Name = "HomeTeamSeed", Order = 28)] + public int? HomeTeamSeed { get; set; } + + /// + /// The unique ID of the away team's previous game (This gameid will be inaccurate/invalid in free trial as it is scrambled) + /// + [Description("The unique ID of the away team's previous game (This gameid will be inaccurate/invalid in free trial as it is scrambled)")] + [DataMember(Name = "AwayTeamPreviousGameID", Order = 29)] + public int? AwayTeamPreviousGameID { get; set; } + + /// + /// The unique ID of the home team's previous game (This gameid will be inaccurate/invalid in free trial as it is scrambled) + /// + [Description("The unique ID of the home team's previous game (This gameid will be inaccurate/invalid in free trial as it is scrambled)")] + [DataMember(Name = "HomeTeamPreviousGameID", Order = 30)] + public int? HomeTeamPreviousGameID { get; set; } + + /// + /// The unique global ID of the away team's previous game (This gameid will be inaccurate/invalid in free trial as it is scrambled) + /// + [Description("The unique global ID of the away team's previous game (This gameid will be inaccurate/invalid in free trial as it is scrambled)")] + [DataMember(Name = "AwayTeamPreviousGlobalGameID", Order = 31)] + public int? AwayTeamPreviousGlobalGameID { get; set; } + + /// + /// The unique global ID of the away team's previous game (This gameid will be inaccurate/invalid in free trial as it is scrambled) + /// + [Description("The unique global ID of the away team's previous game (This gameid will be inaccurate/invalid in free trial as it is scrambled)")] + [DataMember(Name = "HomeTeamPreviousGlobalGameID", Order = 32)] + public int? HomeTeamPreviousGlobalGameID { get; set; } + + /// + /// The display order of this game. This is used for rendering NCAA Tournament bracket. + /// + [Description("The display order of this game. This is used for rendering NCAA Tournament bracket.")] + [DataMember(Name = "TournamentDisplayOrder", Order = 33)] + public int? TournamentDisplayOrder { get; set; } + + /// + /// The display order of the home team for this game. This is used for rendering the NCAA Tournament bracket, and it indicates whether the home team should be displayed at the top or bottom of the game card. Possible values: Top, Bottom + /// + [Description("The display order of the home team for this game. This is used for rendering the NCAA Tournament bracket, and it indicates whether the home team should be displayed at the top or bottom of the game card. Possible values: Top, Bottom")] + [DataMember(Name = "TournamentDisplayOrderForHomeTeam", Order = 34)] + public string TournamentDisplayOrderForHomeTeam { get; set; } + + /// + /// The details of the periods (halves & overtime) for this game. + /// + [Description("The details of the periods (halves & overtime) for this game.")] + [DataMember(Name = "Periods", Order = 20035)] + public Period[] Periods { get; set; } + + /// + /// Indicates whether the game is over and the final score has been verified and closed out. + /// + [Description("Indicates whether the game is over and the final score has been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 36)] + public bool IsClosed { get; set; } + + /// + /// The date and time that the game ended in US Eastern Time + /// + [Description("The date and time that the game ended in US Eastern Time")] + [DataMember(Name = "GameEndDateTime", Order = 37)] + public DateTime? GameEndDateTime { get; set; } + + /// + /// The stadium details of where this game was played + /// + [Description("The stadium details of where this game was played")] + [DataMember(Name = "Stadium", Order = 10038)] + public Stadium Stadium { get; set; } + + /// + /// Rotation number of home team for this game + /// + [Description("Rotation number of home team for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 39)] + public int? HomeRotationNumber { get; set; } + + /// + /// Rotation number of away team for this game + /// + [Description("Rotation number of away team for this game")] + [DataMember(Name = "AwayRotationNumber", Order = 40)] + public int? AwayRotationNumber { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/GameInfo.cs b/FantasyData.Api.Client.NetCore/Model/CBB/GameInfo.cs new file mode 100644 index 0000000..b0b0973 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/GameInfo.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="GameInfo")] + [Serializable] + public partial class GameInfo + { + /// + /// The unique ID of the game. + /// + [Description("The unique ID of the game.")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The calendar year of the season during which this game occurs. + /// + [Description("The calendar year of the season during which this game occurs.")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC. + /// + [Description("The day that the game is scheduled to be played in UTC.")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC. + /// + [Description("The date/time that the game is scheduled to be played in UTC.")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 6)] + public string Status { get; set; } + + /// + /// The TeamId of the away team. + /// + [Description("The TeamId of the away team.")] + [DataMember(Name = "AwayTeamId", Order = 7)] + public int? AwayTeamId { get; set; } + + /// + /// The TeamId of the home team. + /// + [Description("The TeamId of the home team.")] + [DataMember(Name = "HomeTeamId", Order = 8)] + public int? HomeTeamId { get; set; } + + /// + /// The name of the away team. + /// + [Description("The name of the away team.")] + [DataMember(Name = "AwayTeamName", Order = 9)] + public string AwayTeamName { get; set; } + + /// + /// The name of the home team. + /// + [Description("The name of the home team.")] + [DataMember(Name = "HomeTeamName", Order = 10)] + public string HomeTeamName { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 11)] + public int GlobalGameId { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamId", Order = 12)] + public int? GlobalAwayTeamId { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamId", Order = 13)] + public int? GlobalHomeTeamId { get; set; } + + /// + /// List of Pregame GameOdds from different sportsbooks + /// + [Description("List of Pregame GameOdds from different sportsbooks")] + [DataMember(Name = "PregameOdds", Order = 20014)] + public GameOdd[] PregameOdds { get; set; } + + /// + /// List of Live GameOdds from different sportsbooks + /// + [Description("List of Live GameOdds from different sportsbooks")] + [DataMember(Name = "LiveOdds", Order = 20015)] + public GameOdd[] LiveOdds { get; set; } + + /// + /// Score of the home team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the home team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "HomeTeamScore", Order = 16)] + public int? HomeTeamScore { get; set; } + + /// + /// Score of the away team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the away team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "AwayTeamScore", Order = 17)] + public int? AwayTeamScore { get; set; } + + /// + /// Total scored points in the game (updated after game ends to allow for resolving bets) + /// + [Description("Total scored points in the game (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "TotalScore", Order = 18)] + public int? TotalScore { get; set; } + + /// + /// Rotation number of home team for this game + /// + [Description("Rotation number of home team for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 19)] + public int? HomeRotationNumber { get; set; } + + /// + /// Rotation number of away team for this game + /// + [Description("Rotation number of away team for this game")] + [DataMember(Name = "AwayRotationNumber", Order = 20)] + public int? AwayRotationNumber { get; set; } + + /// + /// List of Alternate Market Pregame GameOdds from different sportsbooks + /// + [Description("List of Alternate Market Pregame GameOdds from different sportsbooks")] + [DataMember(Name = "AlternateMarketPregameOdds", Order = 20021)] + public GameOdd[] AlternateMarketPregameOdds { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/GameOdd.cs b/FantasyData.Api.Client.NetCore/Model/CBB/GameOdd.cs new file mode 100644 index 0000000..f069faa --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/GameOdd.cs @@ -0,0 +1,118 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="GameOdd")] + [Serializable] + public partial class GameOdd + { + /// + /// Unique ID of this odd + /// + [Description("Unique ID of this odd")] + [DataMember(Name = "GameOddId", Order = 1)] + public int GameOddId { get; set; } + + /// + /// Name of sportsbook + /// + [Description("Name of sportsbook")] + [DataMember(Name = "Sportsbook", Order = 2)] + public string Sportsbook { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 3)] + public int GameId { get; set; } + + /// + /// The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT). + /// + [Description("The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT).")] + [DataMember(Name = "Created", Order = 4)] + public DateTime Created { get; set; } + + /// + /// The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook. + /// + [Description("The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook.")] + [DataMember(Name = "Updated", Order = 5)] + public DateTime Updated { get; set; } + + /// + /// The sportsbook's money line for the home team + /// + [Description("The sportsbook's money line for the home team")] + [DataMember(Name = "HomeMoneyLine", Order = 6)] + public int? HomeMoneyLine { get; set; } + + /// + /// The sportsbook's money line for the away team + /// + [Description("The sportsbook's money line for the away team")] + [DataMember(Name = "AwayMoneyLine", Order = 7)] + public int? AwayMoneyLine { get; set; } + + /// + /// The sportsbook's point spread for the home team + /// + [Description("The sportsbook's point spread for the home team")] + [DataMember(Name = "HomePointSpread", Order = 8)] + public decimal? HomePointSpread { get; set; } + + /// + /// The sportsbook's point spread for the away team + /// + [Description("The sportsbook's point spread for the away team")] + [DataMember(Name = "AwayPointSpread", Order = 9)] + public decimal? AwayPointSpread { get; set; } + + /// + /// The sportsbook's point spread payout for the home team + /// + [Description("The sportsbook's point spread payout for the home team")] + [DataMember(Name = "HomePointSpreadPayout", Order = 10)] + public int? HomePointSpreadPayout { get; set; } + + /// + /// The sportsbook's point spread payout for the away team + /// + [Description("The sportsbook's point spread payout for the away team")] + [DataMember(Name = "AwayPointSpreadPayout", Order = 11)] + public int? AwayPointSpreadPayout { get; set; } + + /// + /// The sportsbook's total points scored over under for the game + /// + [Description("The sportsbook's total points scored over under for the game")] + [DataMember(Name = "OverUnder", Order = 12)] + public decimal? OverUnder { get; set; } + + /// + /// The sportsbook's payout for the over + /// + [Description("The sportsbook's payout for the over")] + [DataMember(Name = "OverPayout", Order = 13)] + public int? OverPayout { get; set; } + + /// + /// The sportsbook's payout for the under + /// + [Description("The sportsbook's payout for the under")] + [DataMember(Name = "UnderPayout", Order = 14)] + public int? UnderPayout { get; set; } + + /// + /// The odd type of this specific odd + /// + [Description("The odd type of this specific odd")] + [DataMember(Name = "OddType", Order = 15)] + public string OddType { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/GameStat.cs b/FantasyData.Api.Client.NetCore/Model/CBB/GameStat.cs new file mode 100644 index 0000000..396e0a6 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/GameStat.cs @@ -0,0 +1,356 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="GameStat")] + [Serializable] + public partial class GameStat + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 2)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 3)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 6)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 7)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 8)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team's opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team's opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 9)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 11)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 13)] + public int? Minutes { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 14)] + public int? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 15)] + public int? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 16)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 17)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 18)] + public int? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 19)] + public int? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 20)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 21)] + public int? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 22)] + public int? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 23)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 24)] + public int? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 25)] + public int? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 26)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 27)] + public int? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 28)] + public int? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 29)] + public int? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 30)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 31)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 32)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 33)] + public int? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 34)] + public int? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 35)] + public int? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 36)] + public int? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 37)] + public int? PersonalFouls { get; set; } + + /// + /// Total points + /// + [Description("Total points")] + [DataMember(Name = "Points", Order = 38)] + public int? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 39)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 40)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 41)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 42)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 43)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 44)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 45)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 46)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 47)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 48)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 49)] + public decimal? FantasyPointsYahoo { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Injury.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Injury.cs new file mode 100644 index 0000000..82c63b0 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Injury.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Injury")] + [Serializable] + public partial class Injury + { + /// + /// Unique ID of the injury status + /// + [Description("Unique ID of the injury status")] + [DataMember(Name = "InjuryID", Order = 1)] + public int InjuryID { get; set; } + + /// + /// Whether or not the player is active (true/false) + /// + [Description("Whether or not the player is active (true/false)")] + [DataMember(Name = "Active", Order = 2)] + public bool Active { get; set; } + + /// + /// The PlayerID of the injured player + /// + [Description("The PlayerID of the injured player")] + [DataMember(Name = "PlayerID", Order = 3)] + public int PlayerID { get; set; } + + /// + /// Indicates the start date of the player's injury + /// + [Description("Indicates the start date of the player's injury")] + [DataMember(Name = "StartDate", Order = 4)] + public DateTime StartDate { get; set; } + + /// + /// The full name of the injured player + /// + [Description("The full name of the injured player")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The position of the injured player + /// + [Description("The position of the injured player")] + [DataMember(Name = "Position", Order = 6)] + public string Position { get; set; } + + /// + /// Likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("Likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "Status", Order = 7)] + public string Status { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "BodyPart", Order = 8)] + public string BodyPart { get; set; } + + /// + /// When the player is expected to return + /// + [Description("When the player is expected to return")] + [DataMember(Name = "ExpectedReturn", Order = 9)] + public string ExpectedReturn { get; set; } + + /// + /// Inidcates any notes about the player's injury + /// + [Description("Inidcates any notes about the player's injury")] + [DataMember(Name = "Notes", Order = 10)] + public string Notes { get; set; } + + /// + /// The date/time the injury status was created + /// + [Description("The date/time the injury status was created")] + [DataMember(Name = "Created", Order = 11)] + public DateTime? Created { get; set; } + + /// + /// The date/time the injury status was updated + /// + [Description("The date/time the injury status was updated")] + [DataMember(Name = "Updated", Order = 12)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/News.cs b/FantasyData.Api.Client.NetCore/Model/CBB/News.cs new file mode 100644 index 0000000..cc2c788 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/News.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="News")] + [Serializable] + public partial class News + { + /// + /// Unique ID of the news story + /// + [Description("Unique ID of the news story")] + [DataMember(Name = "NewsID", Order = 1)] + public int NewsID { get; set; } + + /// + /// The title of the news story + /// + [Description("The title of the news story")] + [DataMember(Name = "Title", Order = 2)] + public string Title { get; set; } + + /// + /// The date/time that the content was published + /// + [Description("The date/time that the content was published")] + [DataMember(Name = "Updated", Order = 3)] + public DateTime Updated { get; set; } + + /// + /// The url of the full story + /// + [Description("The url of the full story")] + [DataMember(Name = "Url", Order = 4)] + public string Url { get; set; } + + /// + /// The full body content of the story + /// + [Description("The full body content of the story")] + [DataMember(Name = "Content", Order = 5)] + public string Content { get; set; } + + /// + /// The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.) + /// + [Description("The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.)")] + [DataMember(Name = "Source", Order = 6)] + public string Source { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 7)] + public string TermsOfUse { get; set; } + + /// + /// The PlayerID of the player who relates to this story + /// + [Description("The PlayerID of the player who relates to this story")] + [DataMember(Name = "PlayerID", Order = 8)] + public int? PlayerID { get; set; } + + /// + /// The TeamID of the team that relates to this story + /// + [Description("The TeamID of the team that relates to this story")] + [DataMember(Name = "TeamID", Order = 9)] + public int? TeamID { get; set; } + + /// + /// The team that relates to this story + /// + [Description("The team that relates to this story")] + [DataMember(Name = "Team", Order = 10)] + public string Team { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Period.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Period.cs new file mode 100644 index 0000000..1ae94a8 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Period.cs @@ -0,0 +1,62 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Period")] + [Serializable] + public partial class Period + { + /// + /// The unique ID for the period + /// + [Description("The unique ID for the period")] + [DataMember(Name = "PeriodID", Order = 1)] + public int PeriodID { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The Number (Order) of the Period in the scope of the Game. + /// + [Description("The Number (Order) of the Period in the scope of the Game.")] + [DataMember(Name = "Number", Order = 3)] + public int Number { get; set; } + + /// + /// The Name of the Quarter (possible values: 1, 2, OT, OT2, OT3, etc) + /// + [Description("The Name of the Quarter (possible values: 1, 2, OT, OT2, OT3, etc)")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// Indicates whether this period is the first/second half or overtime (possible values: Half, Overtime) + /// + [Description("Indicates whether this period is the first/second half or overtime (possible values: Half, Overtime)")] + [DataMember(Name = "Type", Order = 5)] + public string Type { get; set; } + + /// + /// The total points scored by the away team in this Period. + /// + [Description("The total points scored by the away team in this Period.")] + [DataMember(Name = "AwayScore", Order = 6)] + public int? AwayScore { get; set; } + + /// + /// The total points scored by the away team in this Period. + /// + [Description("The total points scored by the away team in this Period.")] + [DataMember(Name = "HomeScore", Order = 7)] + public int? HomeScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Player.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Player.cs new file mode 100644 index 0000000..c7cc8fd --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Player.cs @@ -0,0 +1,139 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The player's first name. + /// + [Description("The player's first name.")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The player's last name. + /// + [Description("The player's last name.")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// The TeamID of the team this player is employed by. + /// + [Description("The TeamID of the team this player is employed by.")] + [DataMember(Name = "TeamID", Order = 4)] + public int? TeamID { get; set; } + + /// + /// The key/abbreviation of the team this player is employed by. + /// + [Description("The key/abbreviation of the team this player is employed by.")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The player's jersey number. + /// + [Description("The player's jersey number.")] + [DataMember(Name = "Jersey", Order = 6)] + public int? Jersey { get; set; } + + /// + /// The player's eligible position(s). Possible values: C, F, F-C, G, G-F + /// + [Description("The player's eligible position(s). Possible values: C, F, F-C, G, G-F")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// The class of the year (e.g. Freshman, Sophomore, Junior, or Senior) + /// + [Description("The class of the year (e.g. Freshman, Sophomore, Junior, or Senior)")] + [DataMember(Name = "Class", Order = 8)] + public string Class { get; set; } + + /// + /// The player's height in inches. + /// + [Description("The player's height in inches.")] + [DataMember(Name = "Height", Order = 9)] + public int? Height { get; set; } + + /// + /// The player's weight in pounds (lbs). + /// + [Description("The player's weight in pounds (lbs).")] + [DataMember(Name = "Weight", Order = 10)] + public int? Weight { get; set; } + + /// + /// The city in which the player was born. + /// + [Description("The city in which the player was born.")] + [DataMember(Name = "BirthCity", Order = 11)] + public string BirthCity { get; set; } + + /// + /// The state in which the player was born. + /// + [Description("The state in which the player was born.")] + [DataMember(Name = "BirthState", Order = 12)] + public string BirthState { get; set; } + + /// + /// The high school that the player attended. + /// + [Description("The high school that the player attended.")] + [DataMember(Name = "HighSchool", Order = 13)] + public string HighSchool { get; set; } + + /// + /// The player's cross reference PlayerID to the SportRadar API. + /// + [Description("The player's cross reference PlayerID to the SportRadar API.")] + [DataMember(Name = "SportRadarPlayerID", Order = 14)] + public string SportRadarPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the Rotoworld news feed. + /// + [Description("The player's cross reference PlayerID to the Rotoworld news feed.")] + [DataMember(Name = "RotoworldPlayerID", Order = 15)] + public int? RotoworldPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the RotoWire news feed. + /// + [Description("The player's cross reference PlayerID to the RotoWire news feed.")] + [DataMember(Name = "RotoWirePlayerID", Order = 16)] + public int? RotoWirePlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the FantasyAlarm news feed. + /// + [Description("The player's cross reference PlayerID to the FantasyAlarm news feed.")] + [DataMember(Name = "FantasyAlarmPlayerID", Order = 17)] + public int? FantasyAlarmPlayerID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 18)] + public int? GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/PlayerGame.cs b/FantasyData.Api.Client.NetCore/Model/CBB/PlayerGame.cs new file mode 100644 index 0000000..052ebe2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/PlayerGame.cs @@ -0,0 +1,510 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="PlayerGame")] + [Serializable] + public partial class PlayerGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The college basketball season of the game + /// + [Description("The college basketball season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's position associated with the given game or season. Possible values: C, F, FC, G, GF, PF, PG, SF, SG + /// + [Description("The player's position associated with the given game or season. Possible values: C, F, FC, G, GF, PF, PG, SF, SG")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 9)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 10)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 11)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 12)] + public int? YahooSalary { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out")] + [DataMember(Name = "InjuryStatus", Order = 13)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 14)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 15)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 16)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 17)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 18)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 19)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 20)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 21)] + public int? OpponentPositionRank { get; set; } + + /// + /// A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 22)] + public int? GlobalTeamID { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 23)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 24)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 25)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 26)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 27)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 28)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 29)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 30)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team's opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team's opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 31)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 32)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 33)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 34)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 35)] + public int? Minutes { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 36)] + public int? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 37)] + public int? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 38)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 39)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 40)] + public int? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 41)] + public int? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 42)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 43)] + public int? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 44)] + public int? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 45)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 46)] + public int? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 47)] + public int? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 48)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 49)] + public int? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 50)] + public int? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 51)] + public int? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 52)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 53)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 54)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 55)] + public int? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 56)] + public int? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 57)] + public int? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 58)] + public int? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 59)] + public int? PersonalFouls { get; set; } + + /// + /// Total points + /// + [Description("Total points")] + [DataMember(Name = "Points", Order = 60)] + public int? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 61)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 62)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 63)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 64)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 65)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 66)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 67)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 68)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 69)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 70)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 71)] + public decimal? FantasyPointsYahoo { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/PlayerGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/CBB/PlayerGameProjection.cs new file mode 100644 index 0000000..ef94d1a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/PlayerGameProjection.cs @@ -0,0 +1,510 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="PlayerGameProjection")] + [Serializable] + public partial class PlayerGameProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The college basketball season of the game + /// + [Description("The college basketball season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's position associated with the given game or season. Possible values: C, F, FC, G, GF, PF, PG, SF, SG + /// + [Description("The player's position associated with the given game or season. Possible values: C, F, FC, G, GF, PF, PG, SF, SG")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 9)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 10)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 11)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 12)] + public int? YahooSalary { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out")] + [DataMember(Name = "InjuryStatus", Order = 13)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 14)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 15)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 16)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 17)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 18)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 19)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 20)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 21)] + public int? OpponentPositionRank { get; set; } + + /// + /// A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 22)] + public int? GlobalTeamID { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 23)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 24)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 25)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 26)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 27)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 28)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 29)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 30)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team's opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team's opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 31)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 32)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 33)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 34)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 35)] + public int? Minutes { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 36)] + public int? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 37)] + public int? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 38)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 39)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 40)] + public int? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 41)] + public int? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 42)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 43)] + public int? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 44)] + public int? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 45)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 46)] + public int? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 47)] + public int? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 48)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 49)] + public int? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 50)] + public int? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 51)] + public int? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 52)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 53)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 54)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 55)] + public int? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 56)] + public int? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 57)] + public int? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 58)] + public int? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 59)] + public int? PersonalFouls { get; set; } + + /// + /// Total points + /// + [Description("Total points")] + [DataMember(Name = "Points", Order = 60)] + public int? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 61)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 62)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 63)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 64)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 65)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 66)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 67)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 68)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 69)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 70)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 71)] + public decimal? FantasyPointsYahoo { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/PlayerSeason.cs b/FantasyData.Api.Client.NetCore/Model/CBB/PlayerSeason.cs new file mode 100644 index 0000000..cfe3d1d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/PlayerSeason.cs @@ -0,0 +1,356 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="PlayerSeason")] + [Serializable] + public partial class PlayerSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The college basketball regular season for which these totals apply + /// + [Description("The college basketball regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 9)] + public int? GlobalTeamID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 11)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 13)] + public int? Minutes { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 14)] + public int? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 15)] + public int? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 16)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 17)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 18)] + public int? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 19)] + public int? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 20)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 21)] + public int? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 22)] + public int? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 23)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 24)] + public int? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 25)] + public int? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 26)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 27)] + public int? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 28)] + public int? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 29)] + public int? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 30)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 31)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 32)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 33)] + public int? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 34)] + public int? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 35)] + public int? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 36)] + public int? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 37)] + public int? PersonalFouls { get; set; } + + /// + /// Total points + /// + [Description("Total points")] + [DataMember(Name = "Points", Order = 38)] + public int? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 39)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 40)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 41)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 42)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 43)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 44)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 45)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 46)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 47)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 48)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 49)] + public decimal? FantasyPointsYahoo { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/PlayerSeasonProjection.cs b/FantasyData.Api.Client.NetCore/Model/CBB/PlayerSeasonProjection.cs new file mode 100644 index 0000000..c48ebf9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/PlayerSeasonProjection.cs @@ -0,0 +1,356 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="PlayerSeasonProjection")] + [Serializable] + public partial class PlayerSeasonProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The college basketball regular season for which these totals apply + /// + [Description("The college basketball regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 9)] + public int? GlobalTeamID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 11)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 13)] + public int? Minutes { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 14)] + public int? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 15)] + public int? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 16)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 17)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 18)] + public int? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 19)] + public int? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 20)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 21)] + public int? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 22)] + public int? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 23)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 24)] + public int? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 25)] + public int? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 26)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 27)] + public int? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 28)] + public int? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 29)] + public int? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 30)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 31)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 32)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 33)] + public int? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 34)] + public int? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 35)] + public int? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 36)] + public int? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 37)] + public int? PersonalFouls { get; set; } + + /// + /// Total points + /// + [Description("Total points")] + [DataMember(Name = "Points", Order = 38)] + public int? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 39)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 40)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 41)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 42)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 43)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 44)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 45)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 46)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 47)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 48)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 49)] + public decimal? FantasyPointsYahoo { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Season.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Season.cs new file mode 100644 index 0000000..72f99bf --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Season.cs @@ -0,0 +1,62 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The college basketball season of the game + /// + [Description("The college basketball season of the game")] + [DataMember(Name = "Season", Order = 1)] + public int Year { get; set; } + + /// + /// The year in which the season started + /// + [Description("The year in which the season started")] + [DataMember(Name = "StartYear", Order = 2)] + public int StartYear { get; set; } + + /// + /// The year in which the season ended + /// + [Description("The year in which the season ended")] + [DataMember(Name = "EndYear", Order = 3)] + public int EndYear { get; set; } + + /// + /// The description of this season for display purposes (e.g. 2017-18, 2018-19, etc) + /// + [Description("The description of this season for display purposes (e.g. 2017-18, 2018-19, etc)")] + [DataMember(Name = "Description", Order = 4)] + public string Description { get; set; } + + /// + /// The start date of the regular season + /// + [Description("The start date of the regular season")] + [DataMember(Name = "RegularSeasonStartDate", Order = 5)] + public DateTime? RegularSeasonStartDate { get; set; } + + /// + /// The start date of the postseason + /// + [Description("The start date of the postseason")] + [DataMember(Name = "PostSeasonStartDate", Order = 6)] + public DateTime? PostSeasonStartDate { get; set; } + + /// + /// The string to pass into subsequent API calls in the season parameter + /// + [Description("The string to pass into subsequent API calls in the season parameter")] + [DataMember(Name = "ApiSeason", Order = 7)] + public string ApiSeason { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Stadium.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Stadium.cs new file mode 100644 index 0000000..5b2d1d9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Stadium.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Stadium")] + [Serializable] + public partial class Stadium + { + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 1)] + public int StadiumID { get; set; } + + /// + /// Whether or not this stadium is the home venue for an active team + /// + [Description("Whether or not this stadium is the home venue for an active team")] + [DataMember(Name = "Active", Order = 2)] + public bool Active { get; set; } + + /// + /// The full name of the stadium + /// + [Description("The full name of the stadium")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The address where the stadium is located + /// + [Description("The address where the stadium is located")] + [DataMember(Name = "Address", Order = 4)] + public string Address { get; set; } + + /// + /// The city where the stadium is located + /// + [Description("The city where the stadium is located")] + [DataMember(Name = "City", Order = 5)] + public string City { get; set; } + + /// + /// The US state where the stadium is located (if Stadium is outside US, this value is NULL) + /// + [Description("The US state where the stadium is located (if Stadium is outside US, this value is NULL)")] + [DataMember(Name = "State", Order = 6)] + public string State { get; set; } + + /// + /// The zip code of the stadium + /// + [Description("The zip code of the stadium")] + [DataMember(Name = "Zip", Order = 7)] + public string Zip { get; set; } + + /// + /// The 2-digit country code where the stadium is located + /// + [Description("The 2-digit country code where the stadium is located")] + [DataMember(Name = "Country", Order = 8)] + public string Country { get; set; } + + /// + /// The estimated seating capacity of the stadium + /// + [Description("The estimated seating capacity of the stadium")] + [DataMember(Name = "Capacity", Order = 9)] + public int? Capacity { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Standing.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Standing.cs new file mode 100644 index 0000000..6d1a792 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Standing.cs @@ -0,0 +1,118 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + /// + /// The college basketball regular season for which these totals apply + /// + [Description("The college basketball regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 1)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 3)] + public int TeamID { get; set; } + + /// + /// Whether or not the team is active + /// + [Description("Whether or not the team is active")] + [DataMember(Name = "Key", Order = 4)] + public string Key { get; set; } + + /// + /// The name of the city + /// + [Description("The name of the city")] + [DataMember(Name = "City", Order = 5)] + public string City { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The conference of the team (ACC, Big East, Big Ten, etc.) + /// + [Description("The conference of the team (ACC, Big East, Big Ten, etc.)")] + [DataMember(Name = "Conference", Order = 7)] + public string Conference { get; set; } + + /// + /// The division of the team  + /// + [Description("The division of the team ")] + [DataMember(Name = "Division", Order = 8)] + public string Division { get; set; } + + /// + /// Regular season wins + /// + [Description("Regular season wins")] + [DataMember(Name = "Wins", Order = 9)] + public int? Wins { get; set; } + + /// + /// Regular season losses + /// + [Description("Regular season losses")] + [DataMember(Name = "Losses", Order = 10)] + public int? Losses { get; set; } + + /// + /// Winning percentage + /// + [Description("Winning percentage")] + [DataMember(Name = "Percentage", Order = 11)] + public decimal? Percentage { get; set; } + + /// + /// Regular season conference wins + /// + [Description("Regular season conference wins")] + [DataMember(Name = "ConferenceWins", Order = 12)] + public int? ConferenceWins { get; set; } + + /// + /// Regular season conference losses + /// + [Description("Regular season conference losses")] + [DataMember(Name = "ConferenceLosses", Order = 13)] + public int? ConferenceLosses { get; set; } + + /// + /// Regular season division wins + /// + [Description("Regular season division wins")] + [DataMember(Name = "DivisionWins", Order = 14)] + public int? DivisionWins { get; set; } + + /// + /// Regular season division losses + /// + [Description("Regular season division losses")] + [DataMember(Name = "DivisionLosses", Order = 15)] + public int? DivisionLosses { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Stat.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Stat.cs new file mode 100644 index 0000000..cf6a9e3 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Stat.cs @@ -0,0 +1,293 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Stat")] + [Serializable] + public partial class Stat + { + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 1)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 2)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 3)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 4)] + public int? Minutes { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 5)] + public int? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 6)] + public int? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 7)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 8)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 9)] + public int? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 10)] + public int? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 11)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 12)] + public int? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 13)] + public int? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 14)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 15)] + public int? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 16)] + public int? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 17)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 18)] + public int? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 19)] + public int? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 20)] + public int? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 21)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 22)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 23)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 24)] + public int? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 25)] + public int? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 26)] + public int? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 27)] + public int? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 28)] + public int? PersonalFouls { get; set; } + + /// + /// Total points + /// + [Description("Total points")] + [DataMember(Name = "Points", Order = 29)] + public int? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 30)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 31)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 32)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 33)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 34)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 35)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 36)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 37)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 38)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 39)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 40)] + public decimal? FantasyPointsYahoo { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Team.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Team.cs new file mode 100644 index 0000000..9af4878 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Team.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamID", Order = 1)] + public int TeamID { get; set; } + + /// + /// Abbreviation of the team (e.g. OU, TTU, USC, UK, etc.) + /// + [Description("Abbreviation of the team (e.g. OU, TTU, USC, UK, etc.)")] + [DataMember(Name = "Key", Order = 2)] + public string Key { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 3)] + public bool Active { get; set; } + + /// + /// The school of the team (e.g. Oklahoma University, Texas Tech University, University of Southern California, Kentucky University, etc) + /// + [Description("The school of the team (e.g. Oklahoma University, Texas Tech University, University of Southern California, Kentucky University, etc)")] + [DataMember(Name = "School", Order = 4)] + public string School { get; set; } + + /// + /// The mascot of the team (e.g. Sooners, Red Raiders, Trojans, Wildcats, etc.) + /// + [Description("The mascot of the team (e.g. Sooners, Red Raiders, Trojans, Wildcats, etc.)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The AP Rank of the team  + /// + [Description("The AP Rank of the team ")] + [DataMember(Name = "ApRank", Order = 6)] + public int? ApRank { get; set; } + + /// + /// The total number of wins by the school + /// + [Description("The total number of wins by the school")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// The total number of losses by the school + /// + [Description("The total number of losses by the school")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// The total number of conference wins by the school + /// + [Description("The total number of conference wins by the school")] + [DataMember(Name = "ConferenceWins", Order = 9)] + public int? ConferenceWins { get; set; } + + /// + /// The total number of conference losses by the school + /// + [Description("The total number of conference losses by the school")] + [DataMember(Name = "ConferenceLosses", Order = 10)] + public int? ConferenceLosses { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 11)] + public int GlobalTeamID { get; set; } + + /// + /// The ID of the team's conference + /// + [Description("The ID of the team's conference")] + [DataMember(Name = "ConferenceID", Order = 12)] + public int? ConferenceID { get; set; } + + /// + /// The name of the team's conference + /// + [Description("The name of the team's conference")] + [DataMember(Name = "Conference", Order = 13)] + public string Conference { get; set; } + + /// + /// The url of the team logo image. + /// + [Description("The url of the team logo image.")] + [DataMember(Name = "TeamLogoUrl", Order = 14)] + public string TeamLogoUrl { get; set; } + + /// + /// The short display name of the team + /// + [Description("The short display name of the team")] + [DataMember(Name = "ShortDisplayName", Order = 15)] + public string ShortDisplayName { get; set; } + + /// + /// The home stadium of the team + /// + [Description("The home stadium of the team")] + [DataMember(Name = "Stadium", Order = 10016)] + public Stadium Stadium { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/TeamGame.cs b/FantasyData.Api.Client.NetCore/Model/CBB/TeamGame.cs new file mode 100644 index 0000000..62cbee3 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/TeamGame.cs @@ -0,0 +1,440 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="TeamGame")] + [Serializable] + public partial class TeamGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The college basketball season of the game + /// + [Description("The college basketball season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team's name + /// + [Description("Team's name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// Total number of team wins + /// + [Description("Total number of team wins")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// Total number of team losses + /// + [Description("Total number of team losses")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// Total number of conference wins + /// + [Description("Total number of conference wins")] + [DataMember(Name = "ConferenceWins", Order = 9)] + public int? ConferenceWins { get; set; } + + /// + /// Total number of conference losses + /// + [Description("Total number of conference losses")] + [DataMember(Name = "ConferenceLosses", Order = 10)] + public int? ConferenceLosses { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 11)] + public int? GlobalTeamID { get; set; } + + /// + /// Total number of team possessions as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("Total number of team possessions as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "Possessions", Order = 12)] + public decimal? Possessions { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 13)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 14)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 15)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 16)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 17)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 18)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 19)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 20)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team's opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team's opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 21)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 22)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 23)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 24)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 25)] + public int? Minutes { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 26)] + public int? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 27)] + public int? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 28)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 29)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 30)] + public int? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 31)] + public int? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 32)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 33)] + public int? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 34)] + public int? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 35)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 36)] + public int? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 37)] + public int? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 38)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 39)] + public int? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 40)] + public int? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 41)] + public int? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 42)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 43)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 44)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 45)] + public int? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 46)] + public int? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 47)] + public int? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 48)] + public int? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 49)] + public int? PersonalFouls { get; set; } + + /// + /// Total points + /// + [Description("Total points")] + [DataMember(Name = "Points", Order = 50)] + public int? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 51)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 52)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 53)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 54)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 55)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 56)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 57)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 58)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 59)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 60)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 61)] + public decimal? FantasyPointsYahoo { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/TeamSeason.cs b/FantasyData.Api.Client.NetCore/Model/CBB/TeamSeason.cs new file mode 100644 index 0000000..210b3b4 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/TeamSeason.cs @@ -0,0 +1,377 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="TeamSeason")] + [Serializable] + public partial class TeamSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The college basketball regular season for which these totals apply + /// + [Description("The college basketball regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team name + /// + [Description("Team name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// Total number of wins + /// + [Description("Total number of wins")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// Total number of losses + /// + [Description("Total number of losses")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// Total number of conference wins + /// + [Description("Total number of conference wins")] + [DataMember(Name = "ConferenceWins", Order = 9)] + public int? ConferenceWins { get; set; } + + /// + /// Total number of conference losses + /// + [Description("Total number of conference losses")] + [DataMember(Name = "ConferenceLosses", Order = 10)] + public int? ConferenceLosses { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 11)] + public int? GlobalTeamID { get; set; } + + /// + /// Total number of team possessions as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("Total number of team possessions as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "Possessions", Order = 12)] + public decimal? Possessions { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 13)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 14)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 15)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 16)] + public int? Minutes { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 17)] + public int? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 18)] + public int? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 19)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 20)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 21)] + public int? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 22)] + public int? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 23)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 24)] + public int? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 25)] + public int? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 26)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 27)] + public int? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 28)] + public int? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 29)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 30)] + public int? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 31)] + public int? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 32)] + public int? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 33)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 34)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 35)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 36)] + public int? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 37)] + public int? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 38)] + public int? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 39)] + public int? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 40)] + public int? PersonalFouls { get; set; } + + /// + /// Total points + /// + [Description("Total points")] + [DataMember(Name = "Points", Order = 41)] + public int? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 42)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 43)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 44)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 45)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 46)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 47)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 48)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 49)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 50)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 51)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 52)] + public decimal? FantasyPointsYahoo { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CBB/Tournament.cs b/FantasyData.Api.Client.NetCore/Model/CBB/Tournament.cs new file mode 100644 index 0000000..362de33 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CBB/Tournament.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CBB +{ + [DataContract(Namespace="", Name="Tournament")] + [Serializable] + public partial class Tournament + { + /// + /// The unique ID of the tournament + /// + [Description("The unique ID of the tournament")] + [DataMember(Name = "TournamentID", Order = 1)] + public int TournamentID { get; set; } + + /// + /// The college basketball season of the tournament + /// + [Description("The college basketball season of the tournament")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The name of the tournament + /// + [Description("The name of the tournament")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The location of the tournament + /// + [Description("The location of the tournament")] + [DataMember(Name = "Location", Order = 4)] + public string Location { get; set; } + + /// + /// The games of this tournament + /// + [Description("The games of this tournament")] + [DataMember(Name = "Games", Order = 20005)] + public Game[] Games { get; set; } + + /// + /// The conference that is displayed on the top-left when rendering the tournament bracket. + /// + [Description("The conference that is displayed on the top-left when rendering the tournament bracket.")] + [DataMember(Name = "LeftTopBracketConference", Order = 6)] + public string LeftTopBracketConference { get; set; } + + /// + /// The conference that is displayed on the bottom-left when rendering the tournament bracket. + /// + [Description("The conference that is displayed on the bottom-left when rendering the tournament bracket.")] + [DataMember(Name = "LeftBottomBracketConference", Order = 7)] + public string LeftBottomBracketConference { get; set; } + + /// + /// The conference that is displayed on the top-right when rendering the tournament bracket. + /// + [Description("The conference that is displayed on the top-right when rendering the tournament bracket.")] + [DataMember(Name = "RightTopBracketConference", Order = 8)] + public string RightTopBracketConference { get; set; } + + /// + /// The conference that is displayed on the bottom-right when rendering the tournament bracket. + /// + [Description("The conference that is displayed on the bottom-right when rendering the tournament bracket.")] + [DataMember(Name = "RightBottomBracketConference", Order = 9)] + public string RightBottomBracketConference { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/BoxScore.cs b/FantasyData.Api.Client.NetCore/Model/CFB/BoxScore.cs new file mode 100644 index 0000000..73c20e5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/BoxScore.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="BoxScore")] + [Serializable] + public partial class BoxScore + { + /// + /// The game details of this box score + /// + [Description("The game details of this box score")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The period details of this box score + /// + [Description("The period details of this box score")] + [DataMember(Name = "Periods", Order = 20002)] + public Period[] Periods { get; set; } + + /// + /// The player game stats of this box score + /// + [Description("The player game stats of this box score")] + [DataMember(Name = "PlayerGames", Order = 20003)] + public PlayerGame[] PlayerGames { get; set; } + + /// + /// The team game stats of this box score + /// + [Description("The team game stats of this box score")] + [DataMember(Name = "TeamGames", Order = 20004)] + public TeamGame[] TeamGames { get; set; } + + /// + /// The plays in which either team scoring during the game + /// + [Description("The plays in which either team scoring during the game")] + [DataMember(Name = "ScoringPlays", Order = 20005)] + public ScoringPlay[] ScoringPlays { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Conference.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Conference.cs new file mode 100644 index 0000000..a0beac2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Conference.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Conference")] + [Serializable] + public partial class Conference + { + /// + /// The ID of the team's conference + /// + [Description("The ID of the team's conference")] + [DataMember(Name = "ConferenceID", Order = 1)] + public int ConferenceID { get; set; } + + /// + /// The name of the team's conference + /// + [Description("The name of the team's conference")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The teams that play within this conference + /// + [Description("The teams that play within this conference")] + [DataMember(Name = "Teams", Order = 20003)] + public Team[] Teams { get; set; } + + /// + /// The name of the team's parent conference (e.g. SEC, Big Ten, etc) + /// + [Description("The name of the team's parent conference (e.g. SEC, Big Ten, etc)")] + [DataMember(Name = "ConferenceName", Order = 4)] + public string ConferenceName { get; set; } + + /// + /// The name of the team's division (e.g. East, West, Atlantic, etc) + /// + [Description("The name of the team's division (e.g. East, West, Atlantic, etc)")] + [DataMember(Name = "DivisionName", Order = 5)] + public string DivisionName { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/DfsSlate.cs b/FantasyData.Api.Client.NetCore/Model/CFB/DfsSlate.cs new file mode 100644 index 0000000..7744db9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/DfsSlate.cs @@ -0,0 +1,111 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="DfsSlate")] + [Serializable] + public partial class DfsSlate + { + /// + /// Unique ID of a Slate (assigned by FantasyData). + /// + [Description("Unique ID of a Slate (assigned by FantasyData).")] + [DataMember(Name = "SlateID", Order = 1)] + public int SlateID { get; set; } + + /// + /// The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc. + /// + [Description("The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc.")] + [DataMember(Name = "Operator", Order = 2)] + public string Operator { get; set; } + + /// + /// Unique ID of a slate (assigned by the operator). + /// + [Description("Unique ID of a slate (assigned by the operator).")] + [DataMember(Name = "OperatorSlateID", Order = 3)] + public int? OperatorSlateID { get; set; } + + /// + /// The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc. + /// + [Description("The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc.")] + [DataMember(Name = "OperatorName", Order = 4)] + public string OperatorName { get; set; } + + /// + /// The day (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The day (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorDay", Order = 5)] + public DateTime? OperatorDay { get; set; } + + /// + /// The date/time (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The date/time (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorStartTime", Order = 6)] + public DateTime? OperatorStartTime { get; set; } + + /// + /// The number of actual games that this slate covers. + /// + [Description("The number of actual games that this slate covers.")] + [DataMember(Name = "NumberOfGames", Order = 7)] + public int? NumberOfGames { get; set; } + + /// + /// Whether this slate uses games that take place on different days. + /// + [Description("Whether this slate uses games that take place on different days.")] + [DataMember(Name = "IsMultiDaySlate", Order = 8)] + public bool? IsMultiDaySlate { get; set; } + + /// + /// Indicates whether this slate was removed/deleted by the operator. + /// + [Description("Indicates whether this slate was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 9)] + public bool? RemovedByOperator { get; set; } + + /// + /// The game type of the slate. Will often be null as most operators only have one game type. + /// + [Description("The game type of the slate. Will often be null as most operators only have one game type.")] + [DataMember(Name = "OperatorGameType", Order = 10)] + public string OperatorGameType { get; set; } + + /// + /// The games that are included in this slate + /// + [Description("The games that are included in this slate")] + [DataMember(Name = "DfsSlateGames", Order = 20011)] + public DfsSlateGame[] DfsSlateGames { get; set; } + + /// + /// The players that are included in this slate + /// + [Description("The players that are included in this slate")] + [DataMember(Name = "DfsSlatePlayers", Order = 20012)] + public DfsSlatePlayer[] DfsSlatePlayers { get; set; } + + /// + /// The positions that need to be filled for this particular slate + /// + [Description("The positions that need to be filled for this particular slate")] + [DataMember(Name = "SlateRosterSlots", Order = 10013)] + public string[] SlateRosterSlots { get; set; } + + /// + /// The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes) + /// + [Description("The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes)")] + [DataMember(Name = "SalaryCap", Order = 14)] + public int? SalaryCap { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/DfsSlateGame.cs b/FantasyData.Api.Client.NetCore/Model/CFB/DfsSlateGame.cs new file mode 100644 index 0000000..f955f27 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/DfsSlateGame.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="DfsSlateGame")] + [Serializable] + public partial class DfsSlateGame + { + /// + /// Unique ID of a SlateGame (assigned by FantasyData). + /// + [Description("Unique ID of a SlateGame (assigned by FantasyData).")] + [DataMember(Name = "SlateGameID", Order = 1)] + public int SlateGameID { get; set; } + + /// + /// The SlateID that this SlateGame refers to. + /// + [Description("The SlateID that this SlateGame refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds. + /// + [Description("The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds.")] + [DataMember(Name = "GameID", Order = 3)] + public int? GameID { get; set; } + + /// + /// The details of the Game that this SlateGame refers to. + /// + [Description("The details of the Game that this SlateGame refers to.")] + [DataMember(Name = "Game", Order = 10004)] + public Game Game { get; set; } + + /// + /// Unique ID of a SlateGame (assigned by the operator). + /// + [Description("Unique ID of a SlateGame (assigned by the operator).")] + [DataMember(Name = "OperatorGameID", Order = 5)] + public int? OperatorGameID { get; set; } + + /// + /// Indicates whether this game was removed/deleted by the operator. + /// + [Description("Indicates whether this game was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 6)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/DfsSlatePlayer.cs b/FantasyData.Api.Client.NetCore/Model/CFB/DfsSlatePlayer.cs new file mode 100644 index 0000000..03cba80 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/DfsSlatePlayer.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="DfsSlatePlayer")] + [Serializable] + public partial class DfsSlatePlayer + { + /// + /// Unique ID of a SlatePlayer (assigned by FantasyData). + /// + [Description("Unique ID of a SlatePlayer (assigned by FantasyData).")] + [DataMember(Name = "SlatePlayerID", Order = 1)] + public int SlatePlayerID { get; set; } + + /// + /// The SlateID that this SlatePlayer refers to. + /// + [Description("The SlateID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The SlateGameID that this SlatePlayer refers to. + /// + [Description("The SlateGameID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateGameID", Order = 3)] + public int? SlateGameID { get; set; } + + /// + /// The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds. + /// + [Description("The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds.")] + [DataMember(Name = "PlayerID", Order = 4)] + public int? PlayerID { get; set; } + + /// + /// The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds. + /// + [Description("The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds.")] + [DataMember(Name = "PlayerGameProjectionStatID", Order = 5)] + public int? PlayerGameProjectionStatID { get; set; } + + /// + /// Unique ID of the Player (assigned by the operator). + /// + [Description("Unique ID of the Player (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerID", Order = 6)] + public string OperatorPlayerID { get; set; } + + /// + /// Unique ID of the SlatePlayer (assigned by the operator). + /// + [Description("Unique ID of the SlatePlayer (assigned by the operator).")] + [DataMember(Name = "OperatorSlatePlayerID", Order = 7)] + public string OperatorSlatePlayerID { get; set; } + + /// + /// The player's name (assigned by the operator). + /// + [Description("The player's name (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerName", Order = 8)] + public string OperatorPlayerName { get; set; } + + /// + /// The player's eligible positions for the contest (assigned by the operator). + /// + [Description("The player's eligible positions for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorPosition", Order = 9)] + public string OperatorPosition { get; set; } + + /// + /// The player's salary for the contest (assigned by the operator). + /// + [Description("The player's salary for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorSalary", Order = 10)] + public int? OperatorSalary { get; set; } + + /// + /// The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible. + /// + [Description("The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible.")] + [DataMember(Name = "OperatorRosterSlots", Order = 10011)] + public string[] OperatorRosterSlots { get; set; } + + /// + /// Indicates whether this player was removed/deleted by the operator. + /// + [Description("Indicates whether this player was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 12)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Game.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Game.cs new file mode 100644 index 0000000..1fd30fe --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Game.cs @@ -0,0 +1,293 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int GameID { get; set; } + + /// + /// The College Football season of the game + /// + [Description("The College Football season of the game")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The CFB week of the game (e.g. 1, 2, 3, etc.) + /// + [Description("The CFB week of the game (e.g. 1, 2, 3, etc.)")] + [DataMember(Name = "Week", Order = 4)] + public int? Week { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 5)] + public string Status { get; set; } + + /// + /// The date of the game + /// + [Description("The date of the game")] + [DataMember(Name = "Day", Order = 6)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 7)] + public DateTime? DateTime { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 8)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 9)] + public string HomeTeam { get; set; } + + /// + /// The unique ID of the away team + /// + [Description("The unique ID of the away team")] + [DataMember(Name = "AwayTeamID", Order = 10)] + public int AwayTeamID { get; set; } + + /// + /// The unique ID of the home team + /// + [Description("The unique ID of the home team")] + [DataMember(Name = "HomeTeamID", Order = 11)] + public int HomeTeamID { get; set; } + + /// + /// The name of the away team + /// + [Description("The name of the away team")] + [DataMember(Name = "AwayTeamName", Order = 12)] + public string AwayTeamName { get; set; } + + /// + /// The name of the home team + /// + [Description("The name of the home team")] + [DataMember(Name = "HomeTeamName", Order = 13)] + public string HomeTeamName { get; set; } + + /// + /// Total number of points the away team scored in this game + /// + [Description("Total number of points the away team scored in this game")] + [DataMember(Name = "AwayTeamScore", Order = 14)] + public int? AwayTeamScore { get; set; } + + /// + /// Total number of points the home team scored in this game + /// + [Description("Total number of points the home team scored in this game")] + [DataMember(Name = "HomeTeamScore", Order = 15)] + public int? HomeTeamScore { get; set; } + + /// + /// The current quarter in the game (Possible Values: 1, 2, 3, 4, Half, OT, F, F/OT, NULL) + /// + [Description("The current quarter in the game (Possible Values: 1, 2, 3, 4, Half, OT, F, F/OT, NULL)")] + [DataMember(Name = "Period", Order = 16)] + public string Period { get; set; } + + /// + /// Number of minutes remaining in the quarter + /// + [Description("Number of minutes remaining in the quarter")] + [DataMember(Name = "TimeRemainingMinutes", Order = 17)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// Number of seconds remaining in the quarter + /// + [Description("Number of seconds remaining in the quarter")] + [DataMember(Name = "TimeRemainingSeconds", Order = 18)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored)")] + [DataMember(Name = "PointSpread", Order = 19)] + public decimal? PointSpread { get; set; } + + /// + /// The oddsmaker Over/Under at game start + /// + [Description("The oddsmaker Over/Under at game start")] + [DataMember(Name = "OverUnder", Order = 20)] + public decimal? OverUnder { get; set; } + + /// + /// Money line from the perspective of the away team + /// + [Description("Money line from the perspective of the away team")] + [DataMember(Name = "AwayTeamMoneyLine", Order = 21)] + public int? AwayTeamMoneyLine { get; set; } + + /// + /// Money line from the perspective of the home team + /// + [Description("Money line from the perspective of the home team")] + [DataMember(Name = "HomeTeamMoneyLine", Order = 22)] + public int? HomeTeamMoneyLine { get; set; } + + /// + /// The timestamp of when this game was last updated (US Eastern Time) + /// + [Description("The timestamp of when this game was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 23)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when this game was first created (US Eastern Time) + /// + [Description("The timestamp of when this game was first created (US Eastern Time)")] + [DataMember(Name = "Created", Order = 24)] + public DateTime? Created { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 25)] + public int GlobalGameID { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamID", Order = 26)] + public int GlobalAwayTeamID { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamID", Order = 27)] + public int GlobalHomeTeamID { get; set; } + + /// + /// The unique ID of the stadium/venue where this game was played. + /// + [Description("The unique ID of the stadium/venue where this game was played.")] + [DataMember(Name = "StadiumID", Order = 28)] + public int? StadiumID { get; set; } + + /// + /// The details of the stadium where this game is played + /// + [Description("The details of the stadium where this game is played")] + [DataMember(Name = "Stadium", Order = 10029)] + public Stadium Stadium { get; set; } + + /// + /// The yard line the ball is on + /// + [Description("The yard line the ball is on")] + [DataMember(Name = "YardLine", Order = 30)] + public int? YardLine { get; set; } + + /// + /// Which team's side of the field the ball is on + /// + [Description("Which team's side of the field the ball is on")] + [DataMember(Name = "YardLineTerritory", Order = 31)] + public string YardLineTerritory { get; set; } + + /// + /// The current down + /// + [Description("The current down")] + [DataMember(Name = "Down", Order = 32)] + public int? Down { get; set; } + + /// + /// The current distance to a first down + /// + [Description("The current distance to a first down")] + [DataMember(Name = "Distance", Order = 33)] + public int? Distance { get; set; } + + /// + /// Which team currently has possession of the ball + /// + [Description("Which team currently has possession of the ball")] + [DataMember(Name = "Possession", Order = 34)] + public string Possession { get; set; } + + /// + /// The details of the periods (quarters & overtime) for this game + /// + [Description("The details of the periods (quarters & overtime) for this game")] + [DataMember(Name = "Periods", Order = 20035)] + public Period[] Periods { get; set; } + + /// + /// Indicates whether the game is over and the final score has been verified and closed out + /// + [Description("Indicates whether the game is over and the final score has been verified and closed out")] + [DataMember(Name = "IsClosed", Order = 36)] + public bool IsClosed { get; set; } + + /// + /// The date and time that the game ended in US Eastern Time + /// + [Description("The date and time that the game ended in US Eastern Time")] + [DataMember(Name = "GameEndDateTime", Order = 37)] + public DateTime? GameEndDateTime { get; set; } + + /// + /// The title of the game (e.g. Rose Bowl, Citrus Bowl, etc) + /// + [Description("The title of the game (e.g. Rose Bowl, Citrus Bowl, etc)")] + [DataMember(Name = "Title", Order = 38)] + public string Title { get; set; } + + /// + /// Rotation number of home team for this game + /// + [Description("Rotation number of home team for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 39)] + public int? HomeRotationNumber { get; set; } + + /// + /// Rotation number of away team for this game + /// + [Description("Rotation number of away team for this game")] + [DataMember(Name = "AwayRotationNumber", Order = 40)] + public int? AwayRotationNumber { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/GameInfo.cs b/FantasyData.Api.Client.NetCore/Model/CFB/GameInfo.cs new file mode 100644 index 0000000..fd91389 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/GameInfo.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="GameInfo")] + [Serializable] + public partial class GameInfo + { + /// + /// Unique ID of the Game. + /// + [Description("Unique ID of the Game.")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The calendar year of the season during which this game occurs. + /// + [Description("The calendar year of the season during which this game occurs.")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The week during the season/round in which this game occurs. + /// + [Description("The week during the season/round in which this game occurs.")] + [DataMember(Name = "Week", Order = 4)] + public int? Week { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC. + /// + [Description("The day that the game is scheduled to be played in UTC.")] + [DataMember(Name = "Day", Order = 5)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC. + /// + [Description("The date/time that the game is scheduled to be played in UTC.")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 7)] + public string Status { get; set; } + + /// + /// The TeamId of the away team. + /// + [Description("The TeamId of the away team.")] + [DataMember(Name = "AwayTeamId", Order = 8)] + public int? AwayTeamId { get; set; } + + /// + /// The TeamId of the home team. + /// + [Description("The TeamId of the home team.")] + [DataMember(Name = "HomeTeamId", Order = 9)] + public int? HomeTeamId { get; set; } + + /// + /// The name of the away team. + /// + [Description("The name of the away team.")] + [DataMember(Name = "AwayTeamName", Order = 10)] + public string AwayTeamName { get; set; } + + /// + /// The name of the home team. + /// + [Description("The name of the home team.")] + [DataMember(Name = "HomeTeamName", Order = 11)] + public string HomeTeamName { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 12)] + public int GlobalGameId { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamId", Order = 13)] + public int? GlobalAwayTeamId { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamId", Order = 14)] + public int? GlobalHomeTeamId { get; set; } + + /// + /// List of Pregame Odds from different sportsbooks + /// + [Description("List of Pregame Odds from different sportsbooks")] + [DataMember(Name = "PregameOdds", Order = 20015)] + public GameOdd[] PregameOdds { get; set; } + + /// + /// List of Live Odds from different sportsbooks + /// + [Description("List of Live Odds from different sportsbooks")] + [DataMember(Name = "LiveOdds", Order = 20016)] + public GameOdd[] LiveOdds { get; set; } + + /// + /// Score of the home team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the home team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "HomeTeamScore", Order = 17)] + public int? HomeTeamScore { get; set; } + + /// + /// Score of the away team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the away team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "AwayTeamScore", Order = 18)] + public int? AwayTeamScore { get; set; } + + /// + /// Total scored points in the game (updated after game ends to allow for resolving bets) + /// + [Description("Total scored points in the game (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "TotalScore", Order = 19)] + public int? TotalScore { get; set; } + + /// + /// Rotation number of home team for this game + /// + [Description("Rotation number of home team for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 20)] + public int? HomeRotationNumber { get; set; } + + /// + /// Rotation number of away team for this game + /// + [Description("Rotation number of away team for this game")] + [DataMember(Name = "AwayRotationNUmber", Order = 21)] + public int? AwayRotationNUmber { get; set; } + + /// + /// List of Alternate Market Pregame Odds from different sportsbooks + /// + [Description("List of Alternate Market Pregame Odds from different sportsbooks")] + [DataMember(Name = "AlternateMarketPregameOdds", Order = 20022)] + public GameOdd[] AlternateMarketPregameOdds { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/GameOdd.cs b/FantasyData.Api.Client.NetCore/Model/CFB/GameOdd.cs new file mode 100644 index 0000000..7321275 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/GameOdd.cs @@ -0,0 +1,132 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="GameOdd")] + [Serializable] + public partial class GameOdd + { + /// + /// Unique ID of this odd + /// + [Description("Unique ID of this odd")] + [DataMember(Name = "GameOddId", Order = 1)] + public int GameOddId { get; set; } + + /// + /// Name of sportsbook + /// + [Description("Name of sportsbook")] + [DataMember(Name = "Sportsbook", Order = 2)] + public string Sportsbook { get; set; } + + /// + /// Unique ID of the Game. + /// + [Description("Unique ID of the Game.")] + [DataMember(Name = "GameId", Order = 3)] + public int GameId { get; set; } + + /// + /// The timestamp of when these odds were first created, based on US Eastern Time (EST/EDT) + /// + [Description("The timestamp of when these odds were first created, based on US Eastern Time (EST/EDT)")] + [DataMember(Name = "Created", Order = 4)] + public DateTime Created { get; set; } + + /// + /// The timestamp of when these odds were last updated, based on US Eastern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook + /// + [Description("The timestamp of when these odds were last updated, based on US Eastern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook")] + [DataMember(Name = "Updated", Order = 5)] + public DateTime Updated { get; set; } + + /// + /// The sportsbook's money line for the home team + /// + [Description("The sportsbook's money line for the home team")] + [DataMember(Name = "HomeMoneyLine", Order = 6)] + public int? HomeMoneyLine { get; set; } + + /// + /// The sportsbook's money line for the away team + /// + [Description("The sportsbook's money line for the away team")] + [DataMember(Name = "AwayMoneyLine", Order = 7)] + public int? AwayMoneyLine { get; set; } + + /// + /// The sportsbook's money line for a draw + /// + [Description("The sportsbook's money line for a draw")] + [DataMember(Name = "DrawMoneyLine", Order = 8)] + public int? DrawMoneyLine { get; set; } + + /// + /// The sportsbook's point spread for the home team + /// + [Description("The sportsbook's point spread for the home team")] + [DataMember(Name = "HomePointSpread", Order = 9)] + public decimal? HomePointSpread { get; set; } + + /// + /// The sportsbook's point spread for the away team + /// + [Description("The sportsbook's point spread for the away team")] + [DataMember(Name = "AwayPointSpread", Order = 10)] + public decimal? AwayPointSpread { get; set; } + + /// + /// The sportsbook's point spread payout for the home team + /// + [Description("The sportsbook's point spread payout for the home team")] + [DataMember(Name = "HomePointSpreadPayout", Order = 11)] + public int? HomePointSpreadPayout { get; set; } + + /// + /// The sportsbook's point spread payout for the away team + /// + [Description("The sportsbook's point spread payout for the away team")] + [DataMember(Name = "AwayPointSpreadPayout", Order = 12)] + public int? AwayPointSpreadPayout { get; set; } + + /// + /// The sportsbook's total points scored over under for the game + /// + [Description("The sportsbook's total points scored over under for the game")] + [DataMember(Name = "OverUnder", Order = 13)] + public decimal? OverUnder { get; set; } + + /// + /// The sportsbook's payout for the over + /// + [Description("The sportsbook's payout for the over")] + [DataMember(Name = "OverPayout", Order = 14)] + public int? OverPayout { get; set; } + + /// + /// The sportsbook's payout for the under + /// + [Description("The sportsbook's payout for the under")] + [DataMember(Name = "UnderPayout", Order = 15)] + public int? UnderPayout { get; set; } + + /// + /// Unique ID of the sportsbook + /// + [Description("Unique ID of the sportsbook")] + [DataMember(Name = "SportsbookId", Order = 16)] + public int? SportsbookId { get; set; } + + /// + /// The odd type of this odd + /// + [Description("The odd type of this odd")] + [DataMember(Name = "OddType", Order = 17)] + public string OddType { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/GameStat.cs b/FantasyData.Api.Client.NetCore/Model/CFB/GameStat.cs new file mode 100644 index 0000000..552e159 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/GameStat.cs @@ -0,0 +1,475 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="GameStat")] + [Serializable] + public partial class GameStat + { + /// + /// The NFL week of the game (weeks 18-21 denote playoff games) + /// + [Description("The NFL week of the game (weeks 18-21 denote playoff games)")] + [DataMember(Name = "Week", Order = 1)] + public int? Week { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 2)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 3)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 4)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 5)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 7)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 8)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 9)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 10)] + public int? GlobalOpponentID { get; set; } + + /// + /// The updated date and time of the stat. + /// + [Description("The updated date and time of the stat.")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// The date and time of the created stat. + /// + [Description("The date and time of the created stat.")] + [DataMember(Name = "Created", Order = 12)] + public DateTime? Created { get; set; } + + /// + /// Total games + /// + [Description("Total games")] + [DataMember(Name = "Games", Order = 13)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 14)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total passing attempts + /// + [Description("Total passing attempts")] + [DataMember(Name = "PassingAttempts", Order = 15)] + public decimal? PassingAttempts { get; set; } + + /// + /// Total passing completions + /// + [Description("Total passing completions")] + [DataMember(Name = "PassingCompletions", Order = 16)] + public decimal? PassingCompletions { get; set; } + + /// + /// Total passing yards + /// + [Description("Total passing yards")] + [DataMember(Name = "PassingYards", Order = 17)] + public decimal? PassingYards { get; set; } + + /// + /// Total passing completion percentage + /// + [Description("Total passing completion percentage")] + [DataMember(Name = "PassingCompletionPercentage", Order = 18)] + public decimal? PassingCompletionPercentage { get; set; } + + /// + /// Total passing yards per attempts + /// + [Description("Total passing yards per attempts")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 19)] + public decimal? PassingYardsPerAttempt { get; set; } + + /// + /// Total passing yards per completion + /// + [Description("Total passing yards per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 20)] + public decimal? PassingYardsPerCompletion { get; set; } + + /// + /// Total passing touchdowns + /// + [Description("Total passing touchdowns")] + [DataMember(Name = "PassingTouchdowns", Order = 21)] + public decimal? PassingTouchdowns { get; set; } + + /// + /// Total passing interceptions + /// + [Description("Total passing interceptions")] + [DataMember(Name = "PassingInterceptions", Order = 22)] + public decimal? PassingInterceptions { get; set; } + + /// + /// Total passing rating + /// + [Description("Total passing rating")] + [DataMember(Name = "PassingRating", Order = 23)] + public decimal? PassingRating { get; set; } + + /// + /// Total rushing attempts + /// + [Description("Total rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 24)] + public decimal? RushingAttempts { get; set; } + + /// + /// Total rushing yards + /// + [Description("Total rushing yards")] + [DataMember(Name = "RushingYards", Order = 25)] + public decimal? RushingYards { get; set; } + + /// + /// Total rushing yards per attempt + /// + [Description("Total rushing yards per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 26)] + public decimal? RushingYardsPerAttempt { get; set; } + + /// + /// Total rushing touchdowns + /// + [Description("Total rushing touchdowns")] + [DataMember(Name = "RushingTouchdowns", Order = 27)] + public decimal? RushingTouchdowns { get; set; } + + /// + /// Longest rushing attempt + /// + [Description("Longest rushing attempt")] + [DataMember(Name = "RushingLong", Order = 28)] + public decimal? RushingLong { get; set; } + + /// + /// Total receptions + /// + [Description("Total receptions")] + [DataMember(Name = "Receptions", Order = 29)] + public decimal? Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 30)] + public decimal? ReceivingYards { get; set; } + + /// + /// Total receiving yards per reception + /// + [Description("Total receiving yards per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 31)] + public decimal? ReceivingYardsPerReception { get; set; } + + /// + /// Total receiving touchdowns + /// + [Description("Total receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 32)] + public decimal? ReceivingTouchdowns { get; set; } + + /// + /// Long receiving reception + /// + [Description("Long receiving reception")] + [DataMember(Name = "ReceivingLong", Order = 33)] + public decimal? ReceivingLong { get; set; } + + /// + /// Total punt returns + /// + [Description("Total punt returns")] + [DataMember(Name = "PuntReturns", Order = 34)] + public decimal? PuntReturns { get; set; } + + /// + /// Total punt return yards + /// + [Description("Total punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 35)] + public decimal? PuntReturnYards { get; set; } + + /// + /// Total punt return yards per attempt + /// + [Description("Total punt return yards per attempt")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 36)] + public decimal? PuntReturnYardsPerAttempt { get; set; } + + /// + /// Total punt return touchdowns + /// + [Description("Total punt return touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 37)] + public decimal? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 38)] + public decimal? PuntReturnLong { get; set; } + + /// + /// Total kick returns + /// + [Description("Total kick returns")] + [DataMember(Name = "KickReturns", Order = 39)] + public decimal? KickReturns { get; set; } + + /// + /// Total kick return yards + /// + [Description("Total kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 40)] + public decimal? KickReturnYards { get; set; } + + /// + /// Total kick return yards per attempt + /// + [Description("Total kick return yards per attempt")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 41)] + public decimal? KickReturnYardsPerAttempt { get; set; } + + /// + /// Total kick return touchdowns + /// + [Description("Total kick return touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 42)] + public decimal? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return  + /// + [Description("Longest kick return ")] + [DataMember(Name = "KickReturnLong", Order = 43)] + public decimal? KickReturnLong { get; set; } + + /// + /// Total punts + /// + [Description("Total punts")] + [DataMember(Name = "Punts", Order = 44)] + public decimal? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 45)] + public decimal? PuntYards { get; set; } + + /// + /// Total punt average + /// + [Description("Total punt average")] + [DataMember(Name = "PuntAverage", Order = 46)] + public decimal? PuntAverage { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 47)] + public decimal? PuntLong { get; set; } + + /// + /// Total field goals attempted + /// + [Description("Total field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 48)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goals made + /// + [Description("Total field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 49)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalPercentage", Order = 50)] + public decimal? FieldGoalPercentage { get; set; } + + /// + /// Longest field goal made + /// + [Description("Longest field goal made")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 51)] + public decimal? FieldGoalsLongestMade { get; set; } + + /// + /// Total extra points attempted + /// + [Description("Total extra points attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 52)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Total extra points made + /// + [Description("Total extra points made")] + [DataMember(Name = "ExtraPointsMade", Order = 53)] + public decimal? ExtraPointsMade { get; set; } + + /// + /// Total interceptions + /// + [Description("Total interceptions")] + [DataMember(Name = "Interceptions", Order = 54)] + public decimal? Interceptions { get; set; } + + /// + /// Total interception return yards + /// + [Description("Total interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 55)] + public decimal? InterceptionReturnYards { get; set; } + + /// + /// Total interception return touchdowns + /// + [Description("Total interception return touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 56)] + public decimal? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total Solo Tackles + /// + [Description("Total Solo Tackles")] + [DataMember(Name = "SoloTackles", Order = 57)] + public decimal? SoloTackles { get; set; } + + /// + /// Total Assisted Tackles + /// + [Description("Total Assisted Tackles")] + [DataMember(Name = "AssistedTackles", Order = 58)] + public decimal? AssistedTackles { get; set; } + + /// + /// Total Tackles for a loss of yardage + /// + [Description("Total Tackles for a loss of yardage")] + [DataMember(Name = "TacklesForLoss", Order = 59)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total Quarterback Sacks + /// + [Description("Total Quarterback Sacks")] + [DataMember(Name = "Sacks", Order = 60)] + public decimal? Sacks { get; set; } + + /// + /// Total Passes Defended + /// + [Description("Total Passes Defended")] + [DataMember(Name = "PassesDefended", Order = 61)] + public decimal? PassesDefended { get; set; } + + /// + /// Total Fumble Recoveries + /// + [Description("Total Fumble Recoveries")] + [DataMember(Name = "FumblesRecovered", Order = 62)] + public decimal? FumblesRecovered { get; set; } + + /// + /// Total Fumbles Recovered and returned for a touchdown + /// + [Description("Total Fumbles Recovered and returned for a touchdown")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 63)] + public decimal? FumbleReturnTouchdowns { get; set; } + + /// + /// Total Quarterback Hurries + /// + [Description("Total Quarterback Hurries")] + [DataMember(Name = "QuarterbackHurries", Order = 64)] + public decimal? QuarterbackHurries { get; set; } + + /// + /// Total Fumbles + /// + [Description("Total Fumbles")] + [DataMember(Name = "Fumbles", Order = 65)] + public decimal? Fumbles { get; set; } + + /// + /// Total Fumbles Lost + /// + [Description("Total Fumbles Lost")] + [DataMember(Name = "FumblesLost", Order = 66)] + public decimal? FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Injury.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Injury.cs new file mode 100644 index 0000000..d6ee195 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Injury.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Injury")] + [Serializable] + public partial class Injury + { + /// + /// Unique ID of the injury status + /// + [Description("Unique ID of the injury status")] + [DataMember(Name = "InjuryID", Order = 1)] + public int InjuryID { get; set; } + + /// + /// Whether or not the player is active (true/false) + /// + [Description("Whether or not the player is active (true/false)")] + [DataMember(Name = "Active", Order = 2)] + public bool Active { get; set; } + + /// + /// The PlayerID of the injured player + /// + [Description("The PlayerID of the injured player")] + [DataMember(Name = "PlayerID", Order = 3)] + public int PlayerID { get; set; } + + /// + /// Indicates the start date of the player's injury + /// + [Description("Indicates the start date of the player's injury")] + [DataMember(Name = "StartDate", Order = 4)] + public DateTime StartDate { get; set; } + + /// + /// The full name of the injured player + /// + [Description("The full name of the injured player")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The position of the injured player + /// + [Description("The position of the injured player")] + [DataMember(Name = "Position", Order = 6)] + public string Position { get; set; } + + /// + /// Likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("Likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "Status", Order = 7)] + public string Status { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "BodyPart", Order = 8)] + public string BodyPart { get; set; } + + /// + /// When the player is expected to return + /// + [Description("When the player is expected to return")] + [DataMember(Name = "ExpectedReturn", Order = 9)] + public string ExpectedReturn { get; set; } + + /// + /// Inidcates any notes about the player's injury + /// + [Description("Inidcates any notes about the player's injury")] + [DataMember(Name = "Notes", Order = 10)] + public string Notes { get; set; } + + /// + /// The date/time the injury status was created + /// + [Description("The date/time the injury status was created")] + [DataMember(Name = "Created", Order = 11)] + public DateTime? Created { get; set; } + + /// + /// The timestamp of when this injury was last updated (US Eastern Time) + /// + [Description("The timestamp of when this injury was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 12)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/News.cs b/FantasyData.Api.Client.NetCore/Model/CFB/News.cs new file mode 100644 index 0000000..1b7ea15 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/News.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="News")] + [Serializable] + public partial class News + { + /// + /// Unique ID of news story + /// + [Description("Unique ID of news story")] + [DataMember(Name = "NewsID", Order = 1)] + public int NewsID { get; set; } + + /// + /// The brief title of the news (typically less than 100 characters) + /// + [Description("The brief title of the news (typically less than 100 characters)")] + [DataMember(Name = "Title", Order = 2)] + public string Title { get; set; } + + /// + /// The date/time that the content was published + /// + [Description("The date/time that the content was published")] + [DataMember(Name = "Updated", Order = 3)] + public DateTime Updated { get; set; } + + /// + /// The url of the full story + /// + [Description("The url of the full story")] + [DataMember(Name = "Url", Order = 4)] + public string Url { get; set; } + + /// + /// The full body content of the story + /// + [Description("The full body content of the story")] + [DataMember(Name = "Content", Order = 5)] + public string Content { get; set; } + + /// + /// The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.) + /// + [Description("The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.)")] + [DataMember(Name = "Source", Order = 6)] + public string Source { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 7)] + public string TermsOfUse { get; set; } + + /// + /// The PlayerID of the player who relates to this story + /// + [Description("The PlayerID of the player who relates to this story")] + [DataMember(Name = "PlayerID", Order = 8)] + public int? PlayerID { get; set; } + + /// + /// The TeamID of the team that relates to this story + /// + [Description("The TeamID of the team that relates to this story")] + [DataMember(Name = "TeamID", Order = 9)] + public int? TeamID { get; set; } + + /// + /// The team that relates to this story + /// + [Description("The team that relates to this story")] + [DataMember(Name = "Team", Order = 10)] + public string Team { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Period.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Period.cs new file mode 100644 index 0000000..4fd9b70 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Period.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Period")] + [Serializable] + public partial class Period + { + /// + /// Unique identifier for each period. + /// + [Description("Unique identifier for each period.")] + [DataMember(Name = "PeriodID", Order = 1)] + public int PeriodID { get; set; } + + /// + /// The unique ID for this game. + /// + [Description("The unique ID for this game.")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The Number (Order) of the Period in the scope of the Game. + /// + [Description("The Number (Order) of the Period in the scope of the Game.")] + [DataMember(Name = "Number", Order = 3)] + public int Number { get; set; } + + /// + /// The Name of the Period (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc) + /// + [Description("The Name of the Period (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc)")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The total points scored by the away team in this Period. + /// + [Description("The total points scored by the away team in this Period.")] + [DataMember(Name = "AwayScore", Order = 5)] + public int? AwayScore { get; set; } + + /// + /// The total points scored by the home team in this Period. + /// + [Description("The total points scored by the home team in this Period.")] + [DataMember(Name = "HomeScore", Order = 6)] + public int? HomeScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Player.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Player.cs new file mode 100644 index 0000000..268814b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Player.cs @@ -0,0 +1,153 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The player's first name. + /// + [Description("The player's first name.")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The player's last name. + /// + [Description("The player's last name.")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// The TeamID of the team this player is employed by. + /// + [Description("The TeamID of the team this player is employed by.")] + [DataMember(Name = "TeamID", Order = 4)] + public int? TeamID { get; set; } + + /// + /// The key/abbreviation of the team this player is employed by. + /// + [Description("The key/abbreviation of the team this player is employed by.")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The player's jersey number. + /// + [Description("The player's jersey number.")] + [DataMember(Name = "Jersey", Order = 6)] + public int? Jersey { get; set; } + + /// + /// The player's primary position. Possible values: QB, RB, WR, TE + /// + [Description("The player's primary position. Possible values: QB, RB, WR, TE")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST) + /// + [Description("The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// The class of the player. Possible values: Freshman, Sophomore, Junior, Senior + /// + [Description("The class of the player. Possible values: Freshman, Sophomore, Junior, Senior")] + [DataMember(Name = "Class", Order = 9)] + public string Class { get; set; } + + /// + /// The player's height in inches. + /// + [Description("The player's height in inches.")] + [DataMember(Name = "Height", Order = 10)] + public int? Height { get; set; } + + /// + /// The player's weight in pounds (lbs). + /// + [Description("The player's weight in pounds (lbs).")] + [DataMember(Name = "Weight", Order = 11)] + public int? Weight { get; set; } + + /// + /// The city in which the player was born. + /// + [Description("The city in which the player was born.")] + [DataMember(Name = "BirthCity", Order = 12)] + public string BirthCity { get; set; } + + /// + /// The state in which the player was born. + /// + [Description("The state in which the player was born.")] + [DataMember(Name = "BirthState", Order = 13)] + public string BirthState { get; set; } + + /// + /// The date and time the player was created + /// + [Description("The date and time the player was created")] + [DataMember(Name = "Updated", Order = 14)] + public DateTime? Updated { get; set; } + + /// + /// The updated date and time of the player + /// + [Description("The updated date and time of the player")] + [DataMember(Name = "Created", Order = 15)] + public DateTime? Created { get; set; } + + /// + /// A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 16)] + public int? GlobalTeamID { get; set; } + + /// + /// Indicates the player's injury status (possible values include: Probable, Questionable, Doubtful, Out) + /// + [Description("Indicates the player's injury status (possible values include: Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "InjuryStatus", Order = 17)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 18)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 19)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 20)] + public string InjuryNotes { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/PlayerGame.cs b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerGame.cs new file mode 100644 index 0000000..22f23de --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerGame.cs @@ -0,0 +1,587 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="PlayerGame")] + [Serializable] + public partial class PlayerGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The college football season of the game + /// + [Description("The college football season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's primary position. Possible values: QB, RB, WR, TE + /// + [Description("The player's primary position. Possible values: QB, RB, WR, TE")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST) + /// + [Description("The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 9)] + public string PositionCategory { get; set; } + + /// + /// Indicates the player's injury status (possible values include: Probable, Questionable, Doubtful, Out) + /// + [Description("Indicates the player's injury status (possible values include: Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "InjuryStatus", Order = 10)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 11)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 12)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 13)] + public string InjuryNotes { get; set; } + + /// + /// A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 14)] + public int? GlobalTeamID { get; set; } + + /// + /// The Draft Kings player position for this game. + /// + [Description("The Draft Kings player position for this game.")] + [DataMember(Name = "DraftKingsPosition", Order = 15)] + public string DraftKingsPosition { get; set; } + + /// + /// A DraftKings salary for the next "standard" draft kings slate this game is in. (this may change as slates start & this value changes to the next slate's salary). + /// + [Description("A DraftKings salary for the next \"standard\" draft kings slate this game is in. (this may change as slates start & this value changes to the next slate's salary).")] + [DataMember(Name = "DraftKingsSalary", Order = 16)] + public int? DraftKingsSalary { get; set; } + + /// + /// The NFL week of the game (weeks 18-21 denote playoff games) + /// + [Description("The NFL week of the game (weeks 18-21 denote playoff games)")] + [DataMember(Name = "Week", Order = 17)] + public int? Week { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 18)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 19)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 20)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 21)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 22)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 23)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 24)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 25)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 26)] + public int? GlobalOpponentID { get; set; } + + /// + /// The updated date and time of the stat. + /// + [Description("The updated date and time of the stat.")] + [DataMember(Name = "Updated", Order = 27)] + public DateTime? Updated { get; set; } + + /// + /// The date and time of the created stat. + /// + [Description("The date and time of the created stat.")] + [DataMember(Name = "Created", Order = 28)] + public DateTime? Created { get; set; } + + /// + /// Total games + /// + [Description("Total games")] + [DataMember(Name = "Games", Order = 29)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 30)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total passing attempts + /// + [Description("Total passing attempts")] + [DataMember(Name = "PassingAttempts", Order = 31)] + public decimal? PassingAttempts { get; set; } + + /// + /// Total passing completions + /// + [Description("Total passing completions")] + [DataMember(Name = "PassingCompletions", Order = 32)] + public decimal? PassingCompletions { get; set; } + + /// + /// Total passing yards + /// + [Description("Total passing yards")] + [DataMember(Name = "PassingYards", Order = 33)] + public decimal? PassingYards { get; set; } + + /// + /// Total passing completion percentage + /// + [Description("Total passing completion percentage")] + [DataMember(Name = "PassingCompletionPercentage", Order = 34)] + public decimal? PassingCompletionPercentage { get; set; } + + /// + /// Total passing yards per attempts + /// + [Description("Total passing yards per attempts")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 35)] + public decimal? PassingYardsPerAttempt { get; set; } + + /// + /// Total passing yards per completion + /// + [Description("Total passing yards per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 36)] + public decimal? PassingYardsPerCompletion { get; set; } + + /// + /// Total passing touchdowns + /// + [Description("Total passing touchdowns")] + [DataMember(Name = "PassingTouchdowns", Order = 37)] + public decimal? PassingTouchdowns { get; set; } + + /// + /// Total passing interceptions + /// + [Description("Total passing interceptions")] + [DataMember(Name = "PassingInterceptions", Order = 38)] + public decimal? PassingInterceptions { get; set; } + + /// + /// Total passing rating + /// + [Description("Total passing rating")] + [DataMember(Name = "PassingRating", Order = 39)] + public decimal? PassingRating { get; set; } + + /// + /// Total rushing attempts + /// + [Description("Total rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 40)] + public decimal? RushingAttempts { get; set; } + + /// + /// Total rushing yards + /// + [Description("Total rushing yards")] + [DataMember(Name = "RushingYards", Order = 41)] + public decimal? RushingYards { get; set; } + + /// + /// Total rushing yards per attempt + /// + [Description("Total rushing yards per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 42)] + public decimal? RushingYardsPerAttempt { get; set; } + + /// + /// Total rushing touchdowns + /// + [Description("Total rushing touchdowns")] + [DataMember(Name = "RushingTouchdowns", Order = 43)] + public decimal? RushingTouchdowns { get; set; } + + /// + /// Longest rushing attempt + /// + [Description("Longest rushing attempt")] + [DataMember(Name = "RushingLong", Order = 44)] + public decimal? RushingLong { get; set; } + + /// + /// Total receptions + /// + [Description("Total receptions")] + [DataMember(Name = "Receptions", Order = 45)] + public decimal? Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 46)] + public decimal? ReceivingYards { get; set; } + + /// + /// Total receiving yards per reception + /// + [Description("Total receiving yards per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 47)] + public decimal? ReceivingYardsPerReception { get; set; } + + /// + /// Total receiving touchdowns + /// + [Description("Total receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 48)] + public decimal? ReceivingTouchdowns { get; set; } + + /// + /// Long receiving reception + /// + [Description("Long receiving reception")] + [DataMember(Name = "ReceivingLong", Order = 49)] + public decimal? ReceivingLong { get; set; } + + /// + /// Total punt returns + /// + [Description("Total punt returns")] + [DataMember(Name = "PuntReturns", Order = 50)] + public decimal? PuntReturns { get; set; } + + /// + /// Total punt return yards + /// + [Description("Total punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 51)] + public decimal? PuntReturnYards { get; set; } + + /// + /// Total punt return yards per attempt + /// + [Description("Total punt return yards per attempt")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 52)] + public decimal? PuntReturnYardsPerAttempt { get; set; } + + /// + /// Total punt return touchdowns + /// + [Description("Total punt return touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 53)] + public decimal? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 54)] + public decimal? PuntReturnLong { get; set; } + + /// + /// Total kick returns + /// + [Description("Total kick returns")] + [DataMember(Name = "KickReturns", Order = 55)] + public decimal? KickReturns { get; set; } + + /// + /// Total kick return yards + /// + [Description("Total kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 56)] + public decimal? KickReturnYards { get; set; } + + /// + /// Total kick return yards per attempt + /// + [Description("Total kick return yards per attempt")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 57)] + public decimal? KickReturnYardsPerAttempt { get; set; } + + /// + /// Total kick return touchdowns + /// + [Description("Total kick return touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 58)] + public decimal? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return  + /// + [Description("Longest kick return ")] + [DataMember(Name = "KickReturnLong", Order = 59)] + public decimal? KickReturnLong { get; set; } + + /// + /// Total punts + /// + [Description("Total punts")] + [DataMember(Name = "Punts", Order = 60)] + public decimal? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 61)] + public decimal? PuntYards { get; set; } + + /// + /// Total punt average + /// + [Description("Total punt average")] + [DataMember(Name = "PuntAverage", Order = 62)] + public decimal? PuntAverage { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 63)] + public decimal? PuntLong { get; set; } + + /// + /// Total field goals attempted + /// + [Description("Total field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 64)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goals made + /// + [Description("Total field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 65)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalPercentage", Order = 66)] + public decimal? FieldGoalPercentage { get; set; } + + /// + /// Longest field goal made + /// + [Description("Longest field goal made")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 67)] + public decimal? FieldGoalsLongestMade { get; set; } + + /// + /// Total extra points attempted + /// + [Description("Total extra points attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 68)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Total extra points made + /// + [Description("Total extra points made")] + [DataMember(Name = "ExtraPointsMade", Order = 69)] + public decimal? ExtraPointsMade { get; set; } + + /// + /// Total interceptions + /// + [Description("Total interceptions")] + [DataMember(Name = "Interceptions", Order = 70)] + public decimal? Interceptions { get; set; } + + /// + /// Total interception return yards + /// + [Description("Total interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 71)] + public decimal? InterceptionReturnYards { get; set; } + + /// + /// Total interception return touchdowns + /// + [Description("Total interception return touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 72)] + public decimal? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total Solo Tackles + /// + [Description("Total Solo Tackles")] + [DataMember(Name = "SoloTackles", Order = 73)] + public decimal? SoloTackles { get; set; } + + /// + /// Total Assisted Tackles + /// + [Description("Total Assisted Tackles")] + [DataMember(Name = "AssistedTackles", Order = 74)] + public decimal? AssistedTackles { get; set; } + + /// + /// Total Tackles for a loss of yardage + /// + [Description("Total Tackles for a loss of yardage")] + [DataMember(Name = "TacklesForLoss", Order = 75)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total Quarterback Sacks + /// + [Description("Total Quarterback Sacks")] + [DataMember(Name = "Sacks", Order = 76)] + public decimal? Sacks { get; set; } + + /// + /// Total Passes Defended + /// + [Description("Total Passes Defended")] + [DataMember(Name = "PassesDefended", Order = 77)] + public decimal? PassesDefended { get; set; } + + /// + /// Total Fumble Recoveries + /// + [Description("Total Fumble Recoveries")] + [DataMember(Name = "FumblesRecovered", Order = 78)] + public decimal? FumblesRecovered { get; set; } + + /// + /// Total Fumbles Recovered and returned for a touchdown + /// + [Description("Total Fumbles Recovered and returned for a touchdown")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 79)] + public decimal? FumbleReturnTouchdowns { get; set; } + + /// + /// Total Quarterback Hurries + /// + [Description("Total Quarterback Hurries")] + [DataMember(Name = "QuarterbackHurries", Order = 80)] + public decimal? QuarterbackHurries { get; set; } + + /// + /// Total Fumbles + /// + [Description("Total Fumbles")] + [DataMember(Name = "Fumbles", Order = 81)] + public decimal? Fumbles { get; set; } + + /// + /// Total Fumbles Lost + /// + [Description("Total Fumbles Lost")] + [DataMember(Name = "FumblesLost", Order = 82)] + public decimal? FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/PlayerGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerGameProjection.cs new file mode 100644 index 0000000..3451941 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerGameProjection.cs @@ -0,0 +1,587 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="PlayerGameProjection")] + [Serializable] + public partial class PlayerGameProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The college football season of the game + /// + [Description("The college football season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's primary position. Possible values: QB, RB, WR, TE + /// + [Description("The player's primary position. Possible values: QB, RB, WR, TE")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST) + /// + [Description("The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 9)] + public string PositionCategory { get; set; } + + /// + /// Indicates the player's injury status (possible values include: Probable, Questionable, Doubtful, Out) + /// + [Description("Indicates the player's injury status (possible values include: Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "InjuryStatus", Order = 10)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 11)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 12)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 13)] + public string InjuryNotes { get; set; } + + /// + /// A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 14)] + public int? GlobalTeamID { get; set; } + + /// + /// The Draft Kings player position for this game. + /// + [Description("The Draft Kings player position for this game.")] + [DataMember(Name = "DraftKingsPosition", Order = 15)] + public string DraftKingsPosition { get; set; } + + /// + /// A DraftKings salary for the next "standard" draft kings slate this game is in. (this may change as slates start & this value changes to the next slate's salary). + /// + [Description("A DraftKings salary for the next \"standard\" draft kings slate this game is in. (this may change as slates start & this value changes to the next slate's salary).")] + [DataMember(Name = "DraftKingsSalary", Order = 16)] + public int? DraftKingsSalary { get; set; } + + /// + /// The NFL week of the game (weeks 18-21 denote playoff games) + /// + [Description("The NFL week of the game (weeks 18-21 denote playoff games)")] + [DataMember(Name = "Week", Order = 17)] + public int? Week { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 18)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 19)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 20)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 21)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 22)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 23)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 24)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 25)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 26)] + public int? GlobalOpponentID { get; set; } + + /// + /// The updated date and time of the stat. + /// + [Description("The updated date and time of the stat.")] + [DataMember(Name = "Updated", Order = 27)] + public DateTime? Updated { get; set; } + + /// + /// The date and time of the created stat. + /// + [Description("The date and time of the created stat.")] + [DataMember(Name = "Created", Order = 28)] + public DateTime? Created { get; set; } + + /// + /// Total games + /// + [Description("Total games")] + [DataMember(Name = "Games", Order = 29)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 30)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total passing attempts + /// + [Description("Total passing attempts")] + [DataMember(Name = "PassingAttempts", Order = 31)] + public decimal? PassingAttempts { get; set; } + + /// + /// Total passing completions + /// + [Description("Total passing completions")] + [DataMember(Name = "PassingCompletions", Order = 32)] + public decimal? PassingCompletions { get; set; } + + /// + /// Total passing yards + /// + [Description("Total passing yards")] + [DataMember(Name = "PassingYards", Order = 33)] + public decimal? PassingYards { get; set; } + + /// + /// Total passing completion percentage + /// + [Description("Total passing completion percentage")] + [DataMember(Name = "PassingCompletionPercentage", Order = 34)] + public decimal? PassingCompletionPercentage { get; set; } + + /// + /// Total passing yards per attempts + /// + [Description("Total passing yards per attempts")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 35)] + public decimal? PassingYardsPerAttempt { get; set; } + + /// + /// Total passing yards per completion + /// + [Description("Total passing yards per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 36)] + public decimal? PassingYardsPerCompletion { get; set; } + + /// + /// Total passing touchdowns + /// + [Description("Total passing touchdowns")] + [DataMember(Name = "PassingTouchdowns", Order = 37)] + public decimal? PassingTouchdowns { get; set; } + + /// + /// Total passing interceptions + /// + [Description("Total passing interceptions")] + [DataMember(Name = "PassingInterceptions", Order = 38)] + public decimal? PassingInterceptions { get; set; } + + /// + /// Total passing rating + /// + [Description("Total passing rating")] + [DataMember(Name = "PassingRating", Order = 39)] + public decimal? PassingRating { get; set; } + + /// + /// Total rushing attempts + /// + [Description("Total rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 40)] + public decimal? RushingAttempts { get; set; } + + /// + /// Total rushing yards + /// + [Description("Total rushing yards")] + [DataMember(Name = "RushingYards", Order = 41)] + public decimal? RushingYards { get; set; } + + /// + /// Total rushing yards per attempt + /// + [Description("Total rushing yards per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 42)] + public decimal? RushingYardsPerAttempt { get; set; } + + /// + /// Total rushing touchdowns + /// + [Description("Total rushing touchdowns")] + [DataMember(Name = "RushingTouchdowns", Order = 43)] + public decimal? RushingTouchdowns { get; set; } + + /// + /// Longest rushing attempt + /// + [Description("Longest rushing attempt")] + [DataMember(Name = "RushingLong", Order = 44)] + public decimal? RushingLong { get; set; } + + /// + /// Total receptions + /// + [Description("Total receptions")] + [DataMember(Name = "Receptions", Order = 45)] + public decimal? Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 46)] + public decimal? ReceivingYards { get; set; } + + /// + /// Total receiving yards per reception + /// + [Description("Total receiving yards per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 47)] + public decimal? ReceivingYardsPerReception { get; set; } + + /// + /// Total receiving touchdowns + /// + [Description("Total receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 48)] + public decimal? ReceivingTouchdowns { get; set; } + + /// + /// Long receiving reception + /// + [Description("Long receiving reception")] + [DataMember(Name = "ReceivingLong", Order = 49)] + public decimal? ReceivingLong { get; set; } + + /// + /// Total punt returns + /// + [Description("Total punt returns")] + [DataMember(Name = "PuntReturns", Order = 50)] + public decimal? PuntReturns { get; set; } + + /// + /// Total punt return yards + /// + [Description("Total punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 51)] + public decimal? PuntReturnYards { get; set; } + + /// + /// Total punt return yards per attempt + /// + [Description("Total punt return yards per attempt")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 52)] + public decimal? PuntReturnYardsPerAttempt { get; set; } + + /// + /// Total punt return touchdowns + /// + [Description("Total punt return touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 53)] + public decimal? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 54)] + public decimal? PuntReturnLong { get; set; } + + /// + /// Total kick returns + /// + [Description("Total kick returns")] + [DataMember(Name = "KickReturns", Order = 55)] + public decimal? KickReturns { get; set; } + + /// + /// Total kick return yards + /// + [Description("Total kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 56)] + public decimal? KickReturnYards { get; set; } + + /// + /// Total kick return yards per attempt + /// + [Description("Total kick return yards per attempt")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 57)] + public decimal? KickReturnYardsPerAttempt { get; set; } + + /// + /// Total kick return touchdowns + /// + [Description("Total kick return touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 58)] + public decimal? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return  + /// + [Description("Longest kick return ")] + [DataMember(Name = "KickReturnLong", Order = 59)] + public decimal? KickReturnLong { get; set; } + + /// + /// Total punts + /// + [Description("Total punts")] + [DataMember(Name = "Punts", Order = 60)] + public decimal? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 61)] + public decimal? PuntYards { get; set; } + + /// + /// Total punt average + /// + [Description("Total punt average")] + [DataMember(Name = "PuntAverage", Order = 62)] + public decimal? PuntAverage { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 63)] + public decimal? PuntLong { get; set; } + + /// + /// Total field goals attempted + /// + [Description("Total field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 64)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goals made + /// + [Description("Total field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 65)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalPercentage", Order = 66)] + public decimal? FieldGoalPercentage { get; set; } + + /// + /// Longest field goal made + /// + [Description("Longest field goal made")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 67)] + public decimal? FieldGoalsLongestMade { get; set; } + + /// + /// Total extra points attempted + /// + [Description("Total extra points attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 68)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Total extra points made + /// + [Description("Total extra points made")] + [DataMember(Name = "ExtraPointsMade", Order = 69)] + public decimal? ExtraPointsMade { get; set; } + + /// + /// Total interceptions + /// + [Description("Total interceptions")] + [DataMember(Name = "Interceptions", Order = 70)] + public decimal? Interceptions { get; set; } + + /// + /// Total interception return yards + /// + [Description("Total interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 71)] + public decimal? InterceptionReturnYards { get; set; } + + /// + /// Total interception return touchdowns + /// + [Description("Total interception return touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 72)] + public decimal? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total Solo Tackles + /// + [Description("Total Solo Tackles")] + [DataMember(Name = "SoloTackles", Order = 73)] + public decimal? SoloTackles { get; set; } + + /// + /// Total Assisted Tackles + /// + [Description("Total Assisted Tackles")] + [DataMember(Name = "AssistedTackles", Order = 74)] + public decimal? AssistedTackles { get; set; } + + /// + /// Total Tackles for a loss of yardage + /// + [Description("Total Tackles for a loss of yardage")] + [DataMember(Name = "TacklesForLoss", Order = 75)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total Quarterback Sacks + /// + [Description("Total Quarterback Sacks")] + [DataMember(Name = "Sacks", Order = 76)] + public decimal? Sacks { get; set; } + + /// + /// Total Passes Defended + /// + [Description("Total Passes Defended")] + [DataMember(Name = "PassesDefended", Order = 77)] + public decimal? PassesDefended { get; set; } + + /// + /// Total Fumble Recoveries + /// + [Description("Total Fumble Recoveries")] + [DataMember(Name = "FumblesRecovered", Order = 78)] + public decimal? FumblesRecovered { get; set; } + + /// + /// Total Fumbles Recovered and returned for a touchdown + /// + [Description("Total Fumbles Recovered and returned for a touchdown")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 79)] + public decimal? FumbleReturnTouchdowns { get; set; } + + /// + /// Total Quarterback Hurries + /// + [Description("Total Quarterback Hurries")] + [DataMember(Name = "QuarterbackHurries", Order = 80)] + public decimal? QuarterbackHurries { get; set; } + + /// + /// Total Fumbles + /// + [Description("Total Fumbles")] + [DataMember(Name = "Fumbles", Order = 81)] + public decimal? Fumbles { get; set; } + + /// + /// Total Fumbles Lost + /// + [Description("Total Fumbles Lost")] + [DataMember(Name = "FumblesLost", Order = 82)] + public decimal? FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/PlayerProp.cs b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerProp.cs new file mode 100644 index 0000000..8f9500e --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerProp.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="PlayerProp")] + [Serializable] + public partial class PlayerProp + { + /// + /// The PlayerID of the player + /// + [Description("The PlayerID of the player")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The GameID of the game + /// + [Description("The GameID of the game")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The full name of the player + /// + [Description("The full name of the player")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The TeamKey of the opponent in the game + /// + [Description("The TeamKey of the opponent in the game")] + [DataMember(Name = "Opponent", Order = 4)] + public string Opponent { get; set; } + + /// + /// The TeamKey of the player's team in the game + /// + [Description("The TeamKey of the player's team in the game")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The start time of the game (to give an idea of when prop should close) + /// + [Description("The start time of the game (to give an idea of when prop should close)")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime DateTime { get; set; } + + /// + /// A description of the stat the over/under is referring to (ex: Three Pointers Made) + /// + [Description("A description of the stat the over/under is referring to (ex: Three Pointers Made)")] + [DataMember(Name = "Description", Order = 7)] + public string Description { get; set; } + + /// + /// The over under value in question (ex: 1.5) + /// + [Description("The over under value in question (ex: 1.5)")] + [DataMember(Name = "OverUnder", Order = 8)] + public decimal OverUnder { get; set; } + + /// + /// The (american styled) payout for a successful over bet. + /// + [Description("The (american styled) payout for a successful over bet.")] + [DataMember(Name = "OverPayout", Order = 9)] + public int OverPayout { get; set; } + + /// + /// The (american styled) payout for a successful under bet. + /// + [Description("The (american styled) payout for a successful under bet.")] + [DataMember(Name = "UnderPayout", Order = 10)] + public int UnderPayout { get; set; } + + /// + /// A description of the result (Over, Under, or Push) + /// + [Description("A description of the result (Over, Under, or Push)")] + [DataMember(Name = "BetResult", Order = 11)] + public string BetResult { get; set; } + + /// + /// The final total from the game of the stat in question + /// + [Description("The final total from the game of the stat in question ")] + [DataMember(Name = "StatResult", Order = 12)] + public decimal? StatResult { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/PlayerSeason.cs b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerSeason.cs new file mode 100644 index 0000000..ac63316 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerSeason.cs @@ -0,0 +1,475 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="PlayerSeason")] + [Serializable] + public partial class PlayerSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The college football regular season for which these totals apply + /// + [Description("The college football regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST) + /// + [Description("The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 9)] + public string PositionCategory { get; set; } + + /// + /// A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 10)] + public int? GlobalTeamID { get; set; } + + /// + /// The updated date and time of the stat. + /// + [Description("The updated date and time of the stat.")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// The date and time of the created stat. + /// + [Description("The date and time of the created stat.")] + [DataMember(Name = "Created", Order = 12)] + public DateTime? Created { get; set; } + + /// + /// Total games + /// + [Description("Total games")] + [DataMember(Name = "Games", Order = 13)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 14)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total passing attempts + /// + [Description("Total passing attempts")] + [DataMember(Name = "PassingAttempts", Order = 15)] + public decimal? PassingAttempts { get; set; } + + /// + /// Total passing completions + /// + [Description("Total passing completions")] + [DataMember(Name = "PassingCompletions", Order = 16)] + public decimal? PassingCompletions { get; set; } + + /// + /// Total passing yards + /// + [Description("Total passing yards")] + [DataMember(Name = "PassingYards", Order = 17)] + public decimal? PassingYards { get; set; } + + /// + /// Total passing completion percentage + /// + [Description("Total passing completion percentage")] + [DataMember(Name = "PassingCompletionPercentage", Order = 18)] + public decimal? PassingCompletionPercentage { get; set; } + + /// + /// Total passing yards per attempts + /// + [Description("Total passing yards per attempts")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 19)] + public decimal? PassingYardsPerAttempt { get; set; } + + /// + /// Total passing yards per completion + /// + [Description("Total passing yards per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 20)] + public decimal? PassingYardsPerCompletion { get; set; } + + /// + /// Total passing touchdowns + /// + [Description("Total passing touchdowns")] + [DataMember(Name = "PassingTouchdowns", Order = 21)] + public decimal? PassingTouchdowns { get; set; } + + /// + /// Total passing interceptions + /// + [Description("Total passing interceptions")] + [DataMember(Name = "PassingInterceptions", Order = 22)] + public decimal? PassingInterceptions { get; set; } + + /// + /// Total passing rating + /// + [Description("Total passing rating")] + [DataMember(Name = "PassingRating", Order = 23)] + public decimal? PassingRating { get; set; } + + /// + /// Total rushing attempts + /// + [Description("Total rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 24)] + public decimal? RushingAttempts { get; set; } + + /// + /// Total rushing yards + /// + [Description("Total rushing yards")] + [DataMember(Name = "RushingYards", Order = 25)] + public decimal? RushingYards { get; set; } + + /// + /// Total rushing yards per attempt + /// + [Description("Total rushing yards per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 26)] + public decimal? RushingYardsPerAttempt { get; set; } + + /// + /// Total rushing touchdowns + /// + [Description("Total rushing touchdowns")] + [DataMember(Name = "RushingTouchdowns", Order = 27)] + public decimal? RushingTouchdowns { get; set; } + + /// + /// Longest rushing attempt + /// + [Description("Longest rushing attempt")] + [DataMember(Name = "RushingLong", Order = 28)] + public decimal? RushingLong { get; set; } + + /// + /// Total receptions + /// + [Description("Total receptions")] + [DataMember(Name = "Receptions", Order = 29)] + public decimal? Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 30)] + public decimal? ReceivingYards { get; set; } + + /// + /// Total receiving yards per reception + /// + [Description("Total receiving yards per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 31)] + public decimal? ReceivingYardsPerReception { get; set; } + + /// + /// Total receiving touchdowns + /// + [Description("Total receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 32)] + public decimal? ReceivingTouchdowns { get; set; } + + /// + /// Long receiving reception + /// + [Description("Long receiving reception")] + [DataMember(Name = "ReceivingLong", Order = 33)] + public decimal? ReceivingLong { get; set; } + + /// + /// Total punt returns + /// + [Description("Total punt returns")] + [DataMember(Name = "PuntReturns", Order = 34)] + public decimal? PuntReturns { get; set; } + + /// + /// Total punt return yards + /// + [Description("Total punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 35)] + public decimal? PuntReturnYards { get; set; } + + /// + /// Total punt return yards per attempt + /// + [Description("Total punt return yards per attempt")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 36)] + public decimal? PuntReturnYardsPerAttempt { get; set; } + + /// + /// Total punt return touchdowns + /// + [Description("Total punt return touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 37)] + public decimal? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 38)] + public decimal? PuntReturnLong { get; set; } + + /// + /// Total kick returns + /// + [Description("Total kick returns")] + [DataMember(Name = "KickReturns", Order = 39)] + public decimal? KickReturns { get; set; } + + /// + /// Total kick return yards + /// + [Description("Total kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 40)] + public decimal? KickReturnYards { get; set; } + + /// + /// Total kick return yards per attempt + /// + [Description("Total kick return yards per attempt")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 41)] + public decimal? KickReturnYardsPerAttempt { get; set; } + + /// + /// Total kick return touchdowns + /// + [Description("Total kick return touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 42)] + public decimal? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return  + /// + [Description("Longest kick return ")] + [DataMember(Name = "KickReturnLong", Order = 43)] + public decimal? KickReturnLong { get; set; } + + /// + /// Total punts + /// + [Description("Total punts")] + [DataMember(Name = "Punts", Order = 44)] + public decimal? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 45)] + public decimal? PuntYards { get; set; } + + /// + /// Total punt average + /// + [Description("Total punt average")] + [DataMember(Name = "PuntAverage", Order = 46)] + public decimal? PuntAverage { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 47)] + public decimal? PuntLong { get; set; } + + /// + /// Total field goals attempted + /// + [Description("Total field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 48)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goals made + /// + [Description("Total field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 49)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalPercentage", Order = 50)] + public decimal? FieldGoalPercentage { get; set; } + + /// + /// Longest field goal made + /// + [Description("Longest field goal made")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 51)] + public decimal? FieldGoalsLongestMade { get; set; } + + /// + /// Total extra points attempted + /// + [Description("Total extra points attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 52)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Total extra points made + /// + [Description("Total extra points made")] + [DataMember(Name = "ExtraPointsMade", Order = 53)] + public decimal? ExtraPointsMade { get; set; } + + /// + /// Total interceptions + /// + [Description("Total interceptions")] + [DataMember(Name = "Interceptions", Order = 54)] + public decimal? Interceptions { get; set; } + + /// + /// Total interception return yards + /// + [Description("Total interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 55)] + public decimal? InterceptionReturnYards { get; set; } + + /// + /// Total interception return touchdowns + /// + [Description("Total interception return touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 56)] + public decimal? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total Solo Tackles + /// + [Description("Total Solo Tackles")] + [DataMember(Name = "SoloTackles", Order = 57)] + public decimal? SoloTackles { get; set; } + + /// + /// Total Assisted Tackles + /// + [Description("Total Assisted Tackles")] + [DataMember(Name = "AssistedTackles", Order = 58)] + public decimal? AssistedTackles { get; set; } + + /// + /// Total Tackles for a loss of yardage + /// + [Description("Total Tackles for a loss of yardage")] + [DataMember(Name = "TacklesForLoss", Order = 59)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total Quarterback Sacks + /// + [Description("Total Quarterback Sacks")] + [DataMember(Name = "Sacks", Order = 60)] + public decimal? Sacks { get; set; } + + /// + /// Total Passes Defended + /// + [Description("Total Passes Defended")] + [DataMember(Name = "PassesDefended", Order = 61)] + public decimal? PassesDefended { get; set; } + + /// + /// Total Fumble Recoveries + /// + [Description("Total Fumble Recoveries")] + [DataMember(Name = "FumblesRecovered", Order = 62)] + public decimal? FumblesRecovered { get; set; } + + /// + /// Total Fumbles Recovered and returned for a touchdown + /// + [Description("Total Fumbles Recovered and returned for a touchdown")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 63)] + public decimal? FumbleReturnTouchdowns { get; set; } + + /// + /// Total Quarterback Hurries + /// + [Description("Total Quarterback Hurries")] + [DataMember(Name = "QuarterbackHurries", Order = 64)] + public decimal? QuarterbackHurries { get; set; } + + /// + /// Total Fumbles + /// + [Description("Total Fumbles")] + [DataMember(Name = "Fumbles", Order = 65)] + public decimal? Fumbles { get; set; } + + /// + /// Total Fumbles Lost + /// + [Description("Total Fumbles Lost")] + [DataMember(Name = "FumblesLost", Order = 66)] + public decimal? FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/PlayerSeasonProjection.cs b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerSeasonProjection.cs new file mode 100644 index 0000000..78694ea --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/PlayerSeasonProjection.cs @@ -0,0 +1,475 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="PlayerSeasonProjection")] + [Serializable] + public partial class PlayerSeasonProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The college football regular season for which these totals apply + /// + [Description("The college football regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST) + /// + [Description("The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 9)] + public string PositionCategory { get; set; } + + /// + /// A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player's team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 10)] + public int? GlobalTeamID { get; set; } + + /// + /// The updated date and time of the stat. + /// + [Description("The updated date and time of the stat.")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// The date and time of the created stat. + /// + [Description("The date and time of the created stat.")] + [DataMember(Name = "Created", Order = 12)] + public DateTime? Created { get; set; } + + /// + /// Total games + /// + [Description("Total games")] + [DataMember(Name = "Games", Order = 13)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 14)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total passing attempts + /// + [Description("Total passing attempts")] + [DataMember(Name = "PassingAttempts", Order = 15)] + public decimal? PassingAttempts { get; set; } + + /// + /// Total passing completions + /// + [Description("Total passing completions")] + [DataMember(Name = "PassingCompletions", Order = 16)] + public decimal? PassingCompletions { get; set; } + + /// + /// Total passing yards + /// + [Description("Total passing yards")] + [DataMember(Name = "PassingYards", Order = 17)] + public decimal? PassingYards { get; set; } + + /// + /// Total passing completion percentage + /// + [Description("Total passing completion percentage")] + [DataMember(Name = "PassingCompletionPercentage", Order = 18)] + public decimal? PassingCompletionPercentage { get; set; } + + /// + /// Total passing yards per attempts + /// + [Description("Total passing yards per attempts")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 19)] + public decimal? PassingYardsPerAttempt { get; set; } + + /// + /// Total passing yards per completion + /// + [Description("Total passing yards per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 20)] + public decimal? PassingYardsPerCompletion { get; set; } + + /// + /// Total passing touchdowns + /// + [Description("Total passing touchdowns")] + [DataMember(Name = "PassingTouchdowns", Order = 21)] + public decimal? PassingTouchdowns { get; set; } + + /// + /// Total passing interceptions + /// + [Description("Total passing interceptions")] + [DataMember(Name = "PassingInterceptions", Order = 22)] + public decimal? PassingInterceptions { get; set; } + + /// + /// Total passing rating + /// + [Description("Total passing rating")] + [DataMember(Name = "PassingRating", Order = 23)] + public decimal? PassingRating { get; set; } + + /// + /// Total rushing attempts + /// + [Description("Total rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 24)] + public decimal? RushingAttempts { get; set; } + + /// + /// Total rushing yards + /// + [Description("Total rushing yards")] + [DataMember(Name = "RushingYards", Order = 25)] + public decimal? RushingYards { get; set; } + + /// + /// Total rushing yards per attempt + /// + [Description("Total rushing yards per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 26)] + public decimal? RushingYardsPerAttempt { get; set; } + + /// + /// Total rushing touchdowns + /// + [Description("Total rushing touchdowns")] + [DataMember(Name = "RushingTouchdowns", Order = 27)] + public decimal? RushingTouchdowns { get; set; } + + /// + /// Longest rushing attempt + /// + [Description("Longest rushing attempt")] + [DataMember(Name = "RushingLong", Order = 28)] + public decimal? RushingLong { get; set; } + + /// + /// Total receptions + /// + [Description("Total receptions")] + [DataMember(Name = "Receptions", Order = 29)] + public decimal? Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 30)] + public decimal? ReceivingYards { get; set; } + + /// + /// Total receiving yards per reception + /// + [Description("Total receiving yards per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 31)] + public decimal? ReceivingYardsPerReception { get; set; } + + /// + /// Total receiving touchdowns + /// + [Description("Total receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 32)] + public decimal? ReceivingTouchdowns { get; set; } + + /// + /// Long receiving reception + /// + [Description("Long receiving reception")] + [DataMember(Name = "ReceivingLong", Order = 33)] + public decimal? ReceivingLong { get; set; } + + /// + /// Total punt returns + /// + [Description("Total punt returns")] + [DataMember(Name = "PuntReturns", Order = 34)] + public decimal? PuntReturns { get; set; } + + /// + /// Total punt return yards + /// + [Description("Total punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 35)] + public decimal? PuntReturnYards { get; set; } + + /// + /// Total punt return yards per attempt + /// + [Description("Total punt return yards per attempt")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 36)] + public decimal? PuntReturnYardsPerAttempt { get; set; } + + /// + /// Total punt return touchdowns + /// + [Description("Total punt return touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 37)] + public decimal? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 38)] + public decimal? PuntReturnLong { get; set; } + + /// + /// Total kick returns + /// + [Description("Total kick returns")] + [DataMember(Name = "KickReturns", Order = 39)] + public decimal? KickReturns { get; set; } + + /// + /// Total kick return yards + /// + [Description("Total kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 40)] + public decimal? KickReturnYards { get; set; } + + /// + /// Total kick return yards per attempt + /// + [Description("Total kick return yards per attempt")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 41)] + public decimal? KickReturnYardsPerAttempt { get; set; } + + /// + /// Total kick return touchdowns + /// + [Description("Total kick return touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 42)] + public decimal? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return  + /// + [Description("Longest kick return ")] + [DataMember(Name = "KickReturnLong", Order = 43)] + public decimal? KickReturnLong { get; set; } + + /// + /// Total punts + /// + [Description("Total punts")] + [DataMember(Name = "Punts", Order = 44)] + public decimal? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 45)] + public decimal? PuntYards { get; set; } + + /// + /// Total punt average + /// + [Description("Total punt average")] + [DataMember(Name = "PuntAverage", Order = 46)] + public decimal? PuntAverage { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 47)] + public decimal? PuntLong { get; set; } + + /// + /// Total field goals attempted + /// + [Description("Total field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 48)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goals made + /// + [Description("Total field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 49)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalPercentage", Order = 50)] + public decimal? FieldGoalPercentage { get; set; } + + /// + /// Longest field goal made + /// + [Description("Longest field goal made")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 51)] + public decimal? FieldGoalsLongestMade { get; set; } + + /// + /// Total extra points attempted + /// + [Description("Total extra points attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 52)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Total extra points made + /// + [Description("Total extra points made")] + [DataMember(Name = "ExtraPointsMade", Order = 53)] + public decimal? ExtraPointsMade { get; set; } + + /// + /// Total interceptions + /// + [Description("Total interceptions")] + [DataMember(Name = "Interceptions", Order = 54)] + public decimal? Interceptions { get; set; } + + /// + /// Total interception return yards + /// + [Description("Total interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 55)] + public decimal? InterceptionReturnYards { get; set; } + + /// + /// Total interception return touchdowns + /// + [Description("Total interception return touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 56)] + public decimal? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total Solo Tackles + /// + [Description("Total Solo Tackles")] + [DataMember(Name = "SoloTackles", Order = 57)] + public decimal? SoloTackles { get; set; } + + /// + /// Total Assisted Tackles + /// + [Description("Total Assisted Tackles")] + [DataMember(Name = "AssistedTackles", Order = 58)] + public decimal? AssistedTackles { get; set; } + + /// + /// Total Tackles for a loss of yardage + /// + [Description("Total Tackles for a loss of yardage")] + [DataMember(Name = "TacklesForLoss", Order = 59)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total Quarterback Sacks + /// + [Description("Total Quarterback Sacks")] + [DataMember(Name = "Sacks", Order = 60)] + public decimal? Sacks { get; set; } + + /// + /// Total Passes Defended + /// + [Description("Total Passes Defended")] + [DataMember(Name = "PassesDefended", Order = 61)] + public decimal? PassesDefended { get; set; } + + /// + /// Total Fumble Recoveries + /// + [Description("Total Fumble Recoveries")] + [DataMember(Name = "FumblesRecovered", Order = 62)] + public decimal? FumblesRecovered { get; set; } + + /// + /// Total Fumbles Recovered and returned for a touchdown + /// + [Description("Total Fumbles Recovered and returned for a touchdown")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 63)] + public decimal? FumbleReturnTouchdowns { get; set; } + + /// + /// Total Quarterback Hurries + /// + [Description("Total Quarterback Hurries")] + [DataMember(Name = "QuarterbackHurries", Order = 64)] + public decimal? QuarterbackHurries { get; set; } + + /// + /// Total Fumbles + /// + [Description("Total Fumbles")] + [DataMember(Name = "Fumbles", Order = 65)] + public decimal? Fumbles { get; set; } + + /// + /// Total Fumbles Lost + /// + [Description("Total Fumbles Lost")] + [DataMember(Name = "FumblesLost", Order = 66)] + public decimal? FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/ScoringPlay.cs b/FantasyData.Api.Client.NetCore/Model/CFB/ScoringPlay.cs new file mode 100644 index 0000000..c5a2828 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/ScoringPlay.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="ScoringPlay")] + [Serializable] + public partial class ScoringPlay + { + /// + /// The unique id of the scoring play + /// + [Description("The unique id of the scoring play")] + [DataMember(Name = "ScoringPlayID", Order = 1)] + public int ScoringPlayID { get; set; } + + /// + /// The unique id of the game + /// + [Description("The unique id of the game")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The period of the score + /// + [Description("The period of the score")] + [DataMember(Name = "Period", Order = 3)] + public string Period { get; set; } + + /// + /// The time remaining in minutes of the given period. Will be empty in OTs. + /// + [Description("The time remaining in minutes of the given period. Will be empty in OTs.")] + [DataMember(Name = "TimeRemainingMinutes", Order = 4)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// The time remaining in seconds of the given period. Will be empty in OTs. + /// + [Description("The time remaining in seconds of the given period. Will be empty in OTs.")] + [DataMember(Name = "TimeRemainingSeconds", Order = 5)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// The description of the play. + /// + [Description("The description of the play.")] + [DataMember(Name = "Description", Order = 6)] + public string Description { get; set; } + + /// + /// The summary of the drive in plays, yards and time taken + /// + [Description("The summary of the drive in plays, yards and time taken")] + [DataMember(Name = "DriveSummary", Order = 7)] + public string DriveSummary { get; set; } + + /// + /// The score of the home team after the play + /// + [Description("The score of the home team after the play")] + [DataMember(Name = "HomeTeamScore", Order = 8)] + public int? HomeTeamScore { get; set; } + + /// + /// The score of the away team after the play + /// + [Description("The score of the away team after the play")] + [DataMember(Name = "AwayTeamScore", Order = 9)] + public int? AwayTeamScore { get; set; } + + /// + /// The id of the team who scored + /// + [Description("The id of the team who scored")] + [DataMember(Name = "ScoringTeamID", Order = 10)] + public int? ScoringTeamID { get; set; } + + /// + /// The type of score (ex TD, FG, SF, D2P for Touchdown, Field Goal, Safety, Defensive 2pt conversion respectively) + /// + [Description("The type of score (ex TD, FG, SF, D2P for Touchdown, Field Goal, Safety, Defensive 2pt conversion respectively)")] + [DataMember(Name = "ScoringType", Order = 11)] + public string ScoringType { get; set; } + + /// + /// The order in which the scoring plays happened. + /// + [Description("The order in which the scoring plays happened.")] + [DataMember(Name = "Sequence", Order = 12)] + public int Sequence { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Season.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Season.cs new file mode 100644 index 0000000..22f53b1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Season.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The NCAA football season + /// + [Description("The NCAA football season")] + [DataMember(Name = "Season", Order = 1)] + public int Year { get; set; } + + /// + /// The year in which the season started + /// + [Description("The year in which the season started")] + [DataMember(Name = "StartYear", Order = 2)] + public int StartYear { get; set; } + + /// + /// The year in which the season ended + /// + [Description("The year in which the season ended")] + [DataMember(Name = "EndYear", Order = 3)] + public int EndYear { get; set; } + + /// + /// The description of this season for display purposes + /// + [Description("The description of this season for display purposes")] + [DataMember(Name = "Description", Order = 4)] + public string Description { get; set; } + + /// + /// The string to pass into subsequent API calls in the season parameter + /// + [Description("The string to pass into subsequent API calls in the season parameter")] + [DataMember(Name = "ApiSeason", Order = 5)] + public string ApiSeason { get; set; } + + /// + /// The current week which can be passed into subsequent API calls in the week parameter + /// + [Description("The current week which can be passed into subsequent API calls in the week parameter")] + [DataMember(Name = "ApiWeek", Order = 6)] + public int? ApiWeek { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Stadium.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Stadium.cs new file mode 100644 index 0000000..7fa8be6 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Stadium.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Stadium")] + [Serializable] + public partial class Stadium + { + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 1)] + public int StadiumID { get; set; } + + /// + /// Whether or not this stadium is the home venue for an active team + /// + [Description("Whether or not this stadium is the home venue for an active team")] + [DataMember(Name = "Active", Order = 2)] + public bool Active { get; set; } + + /// + /// The full name of the stadium + /// + [Description("The full name of the stadium")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// Indicates whether this stadium is a dome + /// + [Description("Indicates whether this stadium is a dome")] + [DataMember(Name = "Dome", Order = 4)] + public bool Dome { get; set; } + + /// + /// The city where the stadium is located + /// + [Description("The city where the stadium is located")] + [DataMember(Name = "City", Order = 5)] + public string City { get; set; } + + /// + /// The US state where the stadium is located (if Stadium is outside US, this value is NULL) + /// + [Description("The US state where the stadium is located (if Stadium is outside US, this value is NULL)")] + [DataMember(Name = "State", Order = 6)] + public string State { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Standing.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Standing.cs new file mode 100644 index 0000000..5fc8b82 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Standing.cs @@ -0,0 +1,118 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + /// + /// The college football regular season for which these totals apply + /// + [Description("The college football regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 1)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The unique ID for the team + /// + [Description("The unique ID for the team")] + [DataMember(Name = "TeamID", Order = 3)] + public int TeamID { get; set; } + + /// + /// Whether or not the team is active + /// + [Description("Whether or not the team is active")] + [DataMember(Name = "Key", Order = 4)] + public string Key { get; set; } + + /// + /// The name of the city + /// + [Description("The name of the city")] + [DataMember(Name = "City", Order = 5)] + public string City { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The conference of the team (ACC, Big Ten, Pac 12, etc.) + /// + [Description("The conference of the team (ACC, Big Ten, Pac 12, etc.)")] + [DataMember(Name = "Conference", Order = 7)] + public string Conference { get; set; } + + /// + /// The division of the team (e.g. East, Wes) + /// + [Description("The division of the team (e.g. East, Wes)")] + [DataMember(Name = "Division", Order = 8)] + public string Division { get; set; } + + /// + /// Regular season wins + /// + [Description("Regular season wins")] + [DataMember(Name = "Wins", Order = 9)] + public int? Wins { get; set; } + + /// + /// Regular season losses + /// + [Description("Regular season losses")] + [DataMember(Name = "Losses", Order = 10)] + public int? Losses { get; set; } + + /// + /// Winning percentage + /// + [Description("Winning percentage")] + [DataMember(Name = "Percentage", Order = 11)] + public decimal? Percentage { get; set; } + + /// + /// Regular season conference wins + /// + [Description("Regular season conference wins")] + [DataMember(Name = "ConferenceWins", Order = 12)] + public int? ConferenceWins { get; set; } + + /// + /// Regular season conference losses + /// + [Description("Regular season conference losses")] + [DataMember(Name = "ConferenceLosses", Order = 13)] + public int? ConferenceLosses { get; set; } + + /// + /// Regular season division wins + /// + [Description("Regular season division wins")] + [DataMember(Name = "DivisionWins", Order = 14)] + public int? DivisionWins { get; set; } + + /// + /// Regular season division losses + /// + [Description("Regular season division losses")] + [DataMember(Name = "DivisionLosses", Order = 15)] + public int? DivisionLosses { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Stat.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Stat.cs new file mode 100644 index 0000000..da842ed --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Stat.cs @@ -0,0 +1,405 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Stat")] + [Serializable] + public partial class Stat + { + /// + /// The updated date and time of the stat. + /// + [Description("The updated date and time of the stat.")] + [DataMember(Name = "Updated", Order = 1)] + public DateTime? Updated { get; set; } + + /// + /// The date and time of the created stat. + /// + [Description("The date and time of the created stat.")] + [DataMember(Name = "Created", Order = 2)] + public DateTime? Created { get; set; } + + /// + /// Total games + /// + [Description("Total games")] + [DataMember(Name = "Games", Order = 3)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 4)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total passing attempts + /// + [Description("Total passing attempts")] + [DataMember(Name = "PassingAttempts", Order = 5)] + public decimal? PassingAttempts { get; set; } + + /// + /// Total passing completions + /// + [Description("Total passing completions")] + [DataMember(Name = "PassingCompletions", Order = 6)] + public decimal? PassingCompletions { get; set; } + + /// + /// Total passing yards + /// + [Description("Total passing yards")] + [DataMember(Name = "PassingYards", Order = 7)] + public decimal? PassingYards { get; set; } + + /// + /// Total passing completion percentage + /// + [Description("Total passing completion percentage")] + [DataMember(Name = "PassingCompletionPercentage", Order = 8)] + public decimal? PassingCompletionPercentage { get; set; } + + /// + /// Total passing yards per attempts + /// + [Description("Total passing yards per attempts")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 9)] + public decimal? PassingYardsPerAttempt { get; set; } + + /// + /// Total passing yards per completion + /// + [Description("Total passing yards per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 10)] + public decimal? PassingYardsPerCompletion { get; set; } + + /// + /// Total passing touchdowns + /// + [Description("Total passing touchdowns")] + [DataMember(Name = "PassingTouchdowns", Order = 11)] + public decimal? PassingTouchdowns { get; set; } + + /// + /// Total passing interceptions + /// + [Description("Total passing interceptions")] + [DataMember(Name = "PassingInterceptions", Order = 12)] + public decimal? PassingInterceptions { get; set; } + + /// + /// Total passing rating + /// + [Description("Total passing rating")] + [DataMember(Name = "PassingRating", Order = 13)] + public decimal? PassingRating { get; set; } + + /// + /// Total rushing attempts + /// + [Description("Total rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 14)] + public decimal? RushingAttempts { get; set; } + + /// + /// Total rushing yards + /// + [Description("Total rushing yards")] + [DataMember(Name = "RushingYards", Order = 15)] + public decimal? RushingYards { get; set; } + + /// + /// Total rushing yards per attempt + /// + [Description("Total rushing yards per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 16)] + public decimal? RushingYardsPerAttempt { get; set; } + + /// + /// Total rushing touchdowns + /// + [Description("Total rushing touchdowns")] + [DataMember(Name = "RushingTouchdowns", Order = 17)] + public decimal? RushingTouchdowns { get; set; } + + /// + /// Longest rushing attempt + /// + [Description("Longest rushing attempt")] + [DataMember(Name = "RushingLong", Order = 18)] + public decimal? RushingLong { get; set; } + + /// + /// Total receptions + /// + [Description("Total receptions")] + [DataMember(Name = "Receptions", Order = 19)] + public decimal? Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 20)] + public decimal? ReceivingYards { get; set; } + + /// + /// Total receiving yards per reception + /// + [Description("Total receiving yards per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 21)] + public decimal? ReceivingYardsPerReception { get; set; } + + /// + /// Total receiving touchdowns + /// + [Description("Total receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 22)] + public decimal? ReceivingTouchdowns { get; set; } + + /// + /// Long receiving reception + /// + [Description("Long receiving reception")] + [DataMember(Name = "ReceivingLong", Order = 23)] + public decimal? ReceivingLong { get; set; } + + /// + /// Total punt returns + /// + [Description("Total punt returns")] + [DataMember(Name = "PuntReturns", Order = 24)] + public decimal? PuntReturns { get; set; } + + /// + /// Total punt return yards + /// + [Description("Total punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 25)] + public decimal? PuntReturnYards { get; set; } + + /// + /// Total punt return yards per attempt + /// + [Description("Total punt return yards per attempt")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 26)] + public decimal? PuntReturnYardsPerAttempt { get; set; } + + /// + /// Total punt return touchdowns + /// + [Description("Total punt return touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 27)] + public decimal? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 28)] + public decimal? PuntReturnLong { get; set; } + + /// + /// Total kick returns + /// + [Description("Total kick returns")] + [DataMember(Name = "KickReturns", Order = 29)] + public decimal? KickReturns { get; set; } + + /// + /// Total kick return yards + /// + [Description("Total kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 30)] + public decimal? KickReturnYards { get; set; } + + /// + /// Total kick return yards per attempt + /// + [Description("Total kick return yards per attempt")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 31)] + public decimal? KickReturnYardsPerAttempt { get; set; } + + /// + /// Total kick return touchdowns + /// + [Description("Total kick return touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 32)] + public decimal? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return  + /// + [Description("Longest kick return ")] + [DataMember(Name = "KickReturnLong", Order = 33)] + public decimal? KickReturnLong { get; set; } + + /// + /// Total punts + /// + [Description("Total punts")] + [DataMember(Name = "Punts", Order = 34)] + public decimal? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 35)] + public decimal? PuntYards { get; set; } + + /// + /// Total punt average + /// + [Description("Total punt average")] + [DataMember(Name = "PuntAverage", Order = 36)] + public decimal? PuntAverage { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 37)] + public decimal? PuntLong { get; set; } + + /// + /// Total field goals attempted + /// + [Description("Total field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 38)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goals made + /// + [Description("Total field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 39)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalPercentage", Order = 40)] + public decimal? FieldGoalPercentage { get; set; } + + /// + /// Longest field goal made + /// + [Description("Longest field goal made")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 41)] + public decimal? FieldGoalsLongestMade { get; set; } + + /// + /// Total extra points attempted + /// + [Description("Total extra points attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 42)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Total extra points made + /// + [Description("Total extra points made")] + [DataMember(Name = "ExtraPointsMade", Order = 43)] + public decimal? ExtraPointsMade { get; set; } + + /// + /// Total interceptions + /// + [Description("Total interceptions")] + [DataMember(Name = "Interceptions", Order = 44)] + public decimal? Interceptions { get; set; } + + /// + /// Total interception return yards + /// + [Description("Total interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 45)] + public decimal? InterceptionReturnYards { get; set; } + + /// + /// Total interception return touchdowns + /// + [Description("Total interception return touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 46)] + public decimal? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total Solo Tackles + /// + [Description("Total Solo Tackles")] + [DataMember(Name = "SoloTackles", Order = 47)] + public decimal? SoloTackles { get; set; } + + /// + /// Total Assisted Tackles + /// + [Description("Total Assisted Tackles")] + [DataMember(Name = "AssistedTackles", Order = 48)] + public decimal? AssistedTackles { get; set; } + + /// + /// Total Tackles for a loss of yardage + /// + [Description("Total Tackles for a loss of yardage")] + [DataMember(Name = "TacklesForLoss", Order = 49)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total Quarterback Sacks + /// + [Description("Total Quarterback Sacks")] + [DataMember(Name = "Sacks", Order = 50)] + public decimal? Sacks { get; set; } + + /// + /// Total Passes Defended + /// + [Description("Total Passes Defended")] + [DataMember(Name = "PassesDefended", Order = 51)] + public decimal? PassesDefended { get; set; } + + /// + /// Total Fumble Recoveries + /// + [Description("Total Fumble Recoveries")] + [DataMember(Name = "FumblesRecovered", Order = 52)] + public decimal? FumblesRecovered { get; set; } + + /// + /// Total Fumbles Recovered and returned for a touchdown + /// + [Description("Total Fumbles Recovered and returned for a touchdown")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 53)] + public decimal? FumbleReturnTouchdowns { get; set; } + + /// + /// Total Quarterback Hurries + /// + [Description("Total Quarterback Hurries")] + [DataMember(Name = "QuarterbackHurries", Order = 54)] + public decimal? QuarterbackHurries { get; set; } + + /// + /// Total Fumbles + /// + [Description("Total Fumbles")] + [DataMember(Name = "Fumbles", Order = 55)] + public decimal? Fumbles { get; set; } + + /// + /// Total Fumbles Lost + /// + [Description("Total Fumbles Lost")] + [DataMember(Name = "FumblesLost", Order = 56)] + public decimal? FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/Team.cs b/FantasyData.Api.Client.NetCore/Model/CFB/Team.cs new file mode 100644 index 0000000..7e6eae4 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/Team.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamID", Order = 1)] + public int TeamID { get; set; } + + /// + /// Abbreviation of the team (e.g. OU, TTU, USC, UK, etc.) + /// + [Description("Abbreviation of the team (e.g. OU, TTU, USC, UK, etc.)")] + [DataMember(Name = "Key", Order = 2)] + public string Key { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 3)] + public bool Active { get; set; } + + /// + /// The school of the team (e.g. Oklahoma University, Texas Tech University, University of Southern California, University of Kentucky, etc) + /// + [Description("The school of the team (e.g. Oklahoma University, Texas Tech University, University of Southern California, University of Kentucky, etc)")] + [DataMember(Name = "School", Order = 4)] + public string School { get; set; } + + /// + /// The mascot of the team (e.g. Sooners, Red Raiders, Trojans, Wildcats, etc.) + /// + [Description("The mascot of the team (e.g. Sooners, Red Raiders, Trojans, Wildcats, etc.)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 6)] + public int StadiumID { get; set; } + + /// + /// The AP Rank of the team  + /// + [Description("The AP Rank of the team ")] + [DataMember(Name = "ApRank", Order = 7)] + public int? ApRank { get; set; } + + /// + /// The total number of wins by the school + /// + [Description("The total number of wins by the school")] + [DataMember(Name = "Wins", Order = 8)] + public int? Wins { get; set; } + + /// + /// The total number of losses by the school + /// + [Description("The total number of losses by the school")] + [DataMember(Name = "Losses", Order = 9)] + public int? Losses { get; set; } + + /// + /// The total number of conference wins by the school + /// + [Description("The total number of conference wins by the school")] + [DataMember(Name = "ConferenceWins", Order = 10)] + public int? ConferenceWins { get; set; } + + /// + /// The total number of conference losses by the school + /// + [Description("The total number of conference losses by the school")] + [DataMember(Name = "ConferenceLosses", Order = 11)] + public int? ConferenceLosses { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 12)] + public int GlobalTeamID { get; set; } + + /// + /// The Coaches Rank of the team  + /// + [Description("The Coaches Rank of the team ")] + [DataMember(Name = "CoachesRank", Order = 13)] + public int? CoachesRank { get; set; } + + /// + /// The Playoff Rank of the team  + /// + [Description("The Playoff Rank of the team ")] + [DataMember(Name = "PlayoffRank", Order = 14)] + public int? PlayoffRank { get; set; } + + /// + /// The url of the team logo image. + /// + [Description("The url of the team logo image.")] + [DataMember(Name = "TeamLogoUrl", Order = 15)] + public string TeamLogoUrl { get; set; } + + /// + /// The ID of the team's conference + /// + [Description("The ID of the team's conference")] + [DataMember(Name = "ConferenceID", Order = 16)] + public int? ConferenceID { get; set; } + + /// + /// The name of the team's conference + /// + [Description("The name of the team's conference")] + [DataMember(Name = "Conference", Order = 17)] + public string Conference { get; set; } + + /// + /// The short display name of the team + /// + [Description("The short display name of the team")] + [DataMember(Name = "ShortDisplayName", Order = 18)] + public string ShortDisplayName { get; set; } + + /// + /// The week that the ApRank/CoachesRank was last updated + /// + [Description("The week that the ApRank/CoachesRank was last updated")] + [DataMember(Name = "RankWeek", Order = 19)] + public int? RankWeek { get; set; } + + /// + /// The season that the ApRank/CoachesRank was last updated + /// + [Description("The season that the ApRank/CoachesRank was last updated")] + [DataMember(Name = "RankSeason", Order = 20)] + public int? RankSeason { get; set; } + + /// + /// The season type that the ApRank/CoachesRank was last updated + /// + [Description("The season type that the ApRank/CoachesRank was last updated")] + [DataMember(Name = "RankSeasonType", Order = 21)] + public int? RankSeasonType { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/TeamGame.cs b/FantasyData.Api.Client.NetCore/Model/CFB/TeamGame.cs new file mode 100644 index 0000000..70c98a0 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/TeamGame.cs @@ -0,0 +1,601 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="TeamGame")] + [Serializable] + public partial class TeamGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The college basketball season of the game + /// + [Description("The college basketball season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team's name + /// + [Description("Team's name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// The final score of the Team + /// + [Description("The final score of the Team")] + [DataMember(Name = "Score", Order = 7)] + public int? Score { get; set; } + + /// + /// The final score of the Opponent + /// + [Description("The final score of the Opponent")] + [DataMember(Name = "OpponentScore", Order = 8)] + public int? OpponentScore { get; set; } + + /// + /// Total first downs + /// + [Description("Total first downs")] + [DataMember(Name = "FirstDowns", Order = 9)] + public int? FirstDowns { get; set; } + + /// + /// Third down conversions + /// + [Description("Third down conversions")] + [DataMember(Name = "ThirdDownConversions", Order = 10)] + public int? ThirdDownConversions { get; set; } + + /// + /// Third down attempts + /// + [Description("Third down attempts")] + [DataMember(Name = "ThirdDownAttempts", Order = 11)] + public int? ThirdDownAttempts { get; set; } + + /// + /// Fourth down conversions + /// + [Description("Fourth down conversions")] + [DataMember(Name = "FourthDownConversions", Order = 12)] + public int? FourthDownConversions { get; set; } + + /// + /// Fourth down attempts + /// + [Description("Fourth down attempts")] + [DataMember(Name = "FourthDownAttempts", Order = 13)] + public int? FourthDownAttempts { get; set; } + + /// + /// Penalties committed + /// + [Description("Penalties committed")] + [DataMember(Name = "Penalties", Order = 14)] + public int? Penalties { get; set; } + + /// + /// Penalty yards enforced against team + /// + [Description("Penalty yards enforced against team")] + [DataMember(Name = "PenaltyYards", Order = 15)] + public int? PenaltyYards { get; set; } + + /// + /// Time of possession minutes + /// + [Description("Time of possession minutes")] + [DataMember(Name = "TimeOfPossessionMinutes", Order = 16)] + public int? TimeOfPossessionMinutes { get; set; } + + /// + /// Time of possession seconds + /// + [Description("Time of possession seconds")] + [DataMember(Name = "TimeOfPossessionSeconds", Order = 17)] + public int? TimeOfPossessionSeconds { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 18)] + public int? GlobalTeamID { get; set; } + + /// + /// The NFL week of the game (weeks 18-21 denote playoff games) + /// + [Description("The NFL week of the game (weeks 18-21 denote playoff games)")] + [DataMember(Name = "Week", Order = 19)] + public int? Week { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 20)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 21)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 22)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 23)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 24)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 25)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 26)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 27)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 28)] + public int? GlobalOpponentID { get; set; } + + /// + /// The updated date and time of the stat. + /// + [Description("The updated date and time of the stat.")] + [DataMember(Name = "Updated", Order = 29)] + public DateTime? Updated { get; set; } + + /// + /// The date and time of the created stat. + /// + [Description("The date and time of the created stat.")] + [DataMember(Name = "Created", Order = 30)] + public DateTime? Created { get; set; } + + /// + /// Total games + /// + [Description("Total games")] + [DataMember(Name = "Games", Order = 31)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 32)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total passing attempts + /// + [Description("Total passing attempts")] + [DataMember(Name = "PassingAttempts", Order = 33)] + public decimal? PassingAttempts { get; set; } + + /// + /// Total passing completions + /// + [Description("Total passing completions")] + [DataMember(Name = "PassingCompletions", Order = 34)] + public decimal? PassingCompletions { get; set; } + + /// + /// Total passing yards + /// + [Description("Total passing yards")] + [DataMember(Name = "PassingYards", Order = 35)] + public decimal? PassingYards { get; set; } + + /// + /// Total passing completion percentage + /// + [Description("Total passing completion percentage")] + [DataMember(Name = "PassingCompletionPercentage", Order = 36)] + public decimal? PassingCompletionPercentage { get; set; } + + /// + /// Total passing yards per attempts + /// + [Description("Total passing yards per attempts")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 37)] + public decimal? PassingYardsPerAttempt { get; set; } + + /// + /// Total passing yards per completion + /// + [Description("Total passing yards per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 38)] + public decimal? PassingYardsPerCompletion { get; set; } + + /// + /// Total passing touchdowns + /// + [Description("Total passing touchdowns")] + [DataMember(Name = "PassingTouchdowns", Order = 39)] + public decimal? PassingTouchdowns { get; set; } + + /// + /// Total passing interceptions + /// + [Description("Total passing interceptions")] + [DataMember(Name = "PassingInterceptions", Order = 40)] + public decimal? PassingInterceptions { get; set; } + + /// + /// Total passing rating + /// + [Description("Total passing rating")] + [DataMember(Name = "PassingRating", Order = 41)] + public decimal? PassingRating { get; set; } + + /// + /// Total rushing attempts + /// + [Description("Total rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 42)] + public decimal? RushingAttempts { get; set; } + + /// + /// Total rushing yards + /// + [Description("Total rushing yards")] + [DataMember(Name = "RushingYards", Order = 43)] + public decimal? RushingYards { get; set; } + + /// + /// Total rushing yards per attempt + /// + [Description("Total rushing yards per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 44)] + public decimal? RushingYardsPerAttempt { get; set; } + + /// + /// Total rushing touchdowns + /// + [Description("Total rushing touchdowns")] + [DataMember(Name = "RushingTouchdowns", Order = 45)] + public decimal? RushingTouchdowns { get; set; } + + /// + /// Longest rushing attempt + /// + [Description("Longest rushing attempt")] + [DataMember(Name = "RushingLong", Order = 46)] + public decimal? RushingLong { get; set; } + + /// + /// Total receptions + /// + [Description("Total receptions")] + [DataMember(Name = "Receptions", Order = 47)] + public decimal? Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 48)] + public decimal? ReceivingYards { get; set; } + + /// + /// Total receiving yards per reception + /// + [Description("Total receiving yards per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 49)] + public decimal? ReceivingYardsPerReception { get; set; } + + /// + /// Total receiving touchdowns + /// + [Description("Total receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 50)] + public decimal? ReceivingTouchdowns { get; set; } + + /// + /// Long receiving reception + /// + [Description("Long receiving reception")] + [DataMember(Name = "ReceivingLong", Order = 51)] + public decimal? ReceivingLong { get; set; } + + /// + /// Total punt returns + /// + [Description("Total punt returns")] + [DataMember(Name = "PuntReturns", Order = 52)] + public decimal? PuntReturns { get; set; } + + /// + /// Total punt return yards + /// + [Description("Total punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 53)] + public decimal? PuntReturnYards { get; set; } + + /// + /// Total punt return yards per attempt + /// + [Description("Total punt return yards per attempt")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 54)] + public decimal? PuntReturnYardsPerAttempt { get; set; } + + /// + /// Total punt return touchdowns + /// + [Description("Total punt return touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 55)] + public decimal? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 56)] + public decimal? PuntReturnLong { get; set; } + + /// + /// Total kick returns + /// + [Description("Total kick returns")] + [DataMember(Name = "KickReturns", Order = 57)] + public decimal? KickReturns { get; set; } + + /// + /// Total kick return yards + /// + [Description("Total kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 58)] + public decimal? KickReturnYards { get; set; } + + /// + /// Total kick return yards per attempt + /// + [Description("Total kick return yards per attempt")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 59)] + public decimal? KickReturnYardsPerAttempt { get; set; } + + /// + /// Total kick return touchdowns + /// + [Description("Total kick return touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 60)] + public decimal? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return  + /// + [Description("Longest kick return ")] + [DataMember(Name = "KickReturnLong", Order = 61)] + public decimal? KickReturnLong { get; set; } + + /// + /// Total punts + /// + [Description("Total punts")] + [DataMember(Name = "Punts", Order = 62)] + public decimal? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 63)] + public decimal? PuntYards { get; set; } + + /// + /// Total punt average + /// + [Description("Total punt average")] + [DataMember(Name = "PuntAverage", Order = 64)] + public decimal? PuntAverage { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 65)] + public decimal? PuntLong { get; set; } + + /// + /// Total field goals attempted + /// + [Description("Total field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 66)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goals made + /// + [Description("Total field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 67)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalPercentage", Order = 68)] + public decimal? FieldGoalPercentage { get; set; } + + /// + /// Longest field goal made + /// + [Description("Longest field goal made")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 69)] + public decimal? FieldGoalsLongestMade { get; set; } + + /// + /// Total extra points attempted + /// + [Description("Total extra points attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 70)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Total extra points made + /// + [Description("Total extra points made")] + [DataMember(Name = "ExtraPointsMade", Order = 71)] + public decimal? ExtraPointsMade { get; set; } + + /// + /// Total interceptions + /// + [Description("Total interceptions")] + [DataMember(Name = "Interceptions", Order = 72)] + public decimal? Interceptions { get; set; } + + /// + /// Total interception return yards + /// + [Description("Total interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 73)] + public decimal? InterceptionReturnYards { get; set; } + + /// + /// Total interception return touchdowns + /// + [Description("Total interception return touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 74)] + public decimal? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total Solo Tackles + /// + [Description("Total Solo Tackles")] + [DataMember(Name = "SoloTackles", Order = 75)] + public decimal? SoloTackles { get; set; } + + /// + /// Total Assisted Tackles + /// + [Description("Total Assisted Tackles")] + [DataMember(Name = "AssistedTackles", Order = 76)] + public decimal? AssistedTackles { get; set; } + + /// + /// Total Tackles for a loss of yardage + /// + [Description("Total Tackles for a loss of yardage")] + [DataMember(Name = "TacklesForLoss", Order = 77)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total Quarterback Sacks + /// + [Description("Total Quarterback Sacks")] + [DataMember(Name = "Sacks", Order = 78)] + public decimal? Sacks { get; set; } + + /// + /// Total Passes Defended + /// + [Description("Total Passes Defended")] + [DataMember(Name = "PassesDefended", Order = 79)] + public decimal? PassesDefended { get; set; } + + /// + /// Total Fumble Recoveries + /// + [Description("Total Fumble Recoveries")] + [DataMember(Name = "FumblesRecovered", Order = 80)] + public decimal? FumblesRecovered { get; set; } + + /// + /// Total Fumbles Recovered and returned for a touchdown + /// + [Description("Total Fumbles Recovered and returned for a touchdown")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 81)] + public decimal? FumbleReturnTouchdowns { get; set; } + + /// + /// Total Quarterback Hurries + /// + [Description("Total Quarterback Hurries")] + [DataMember(Name = "QuarterbackHurries", Order = 82)] + public decimal? QuarterbackHurries { get; set; } + + /// + /// Total Fumbles + /// + [Description("Total Fumbles")] + [DataMember(Name = "Fumbles", Order = 83)] + public decimal? Fumbles { get; set; } + + /// + /// Total Fumbles Lost + /// + [Description("Total Fumbles Lost")] + [DataMember(Name = "FumblesLost", Order = 84)] + public decimal? FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CFB/TeamSeason.cs b/FantasyData.Api.Client.NetCore/Model/CFB/TeamSeason.cs new file mode 100644 index 0000000..6c8d059 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CFB/TeamSeason.cs @@ -0,0 +1,622 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CFB +{ + [DataContract(Namespace="", Name="TeamSeason")] + [Serializable] + public partial class TeamSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The college football regular season for which these totals apply + /// + [Description("The college football regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team name + /// + [Description("Team name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// Total number of wins + /// + [Description("Total number of wins")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// Total number of losses + /// + [Description("Total number of losses")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// Total team points for + /// + [Description("Total team points for")] + [DataMember(Name = "PointsFor", Order = 9)] + public int? PointsFor { get; set; } + + /// + /// Total team points against + /// + [Description("Total team points against")] + [DataMember(Name = "PointsAgainst", Order = 10)] + public int? PointsAgainst { get; set; } + + /// + /// Total team conference wins + /// + [Description("Total team conference wins")] + [DataMember(Name = "ConferenceWins", Order = 11)] + public int? ConferenceWins { get; set; } + + /// + /// Total team conference losses + /// + [Description("Total team conference losses")] + [DataMember(Name = "ConferenceLosses", Order = 12)] + public int? ConferenceLosses { get; set; } + + /// + /// Total team conference points for + /// + [Description("Total team conference points for")] + [DataMember(Name = "ConferencePointsFor", Order = 13)] + public int? ConferencePointsFor { get; set; } + + /// + /// Total team conference points against + /// + [Description("Total team conference points against")] + [DataMember(Name = "ConferencePointsAgainst", Order = 14)] + public int? ConferencePointsAgainst { get; set; } + + /// + /// Total team home wins + /// + [Description("Total team home wins")] + [DataMember(Name = "HomeWins", Order = 15)] + public int? HomeWins { get; set; } + + /// + /// Total team home losses + /// + [Description("Total team home losses")] + [DataMember(Name = "HomeLosses", Order = 16)] + public int? HomeLosses { get; set; } + + /// + /// Total team road wins + /// + [Description("Total team road wins")] + [DataMember(Name = "RoadWins", Order = 17)] + public int? RoadWins { get; set; } + + /// + /// Total team road losses + /// + [Description("Total team road losses")] + [DataMember(Name = "RoadLosses", Order = 18)] + public int? RoadLosses { get; set; } + + /// + /// Win/Loss streak of the team + /// + [Description("Win/Loss streak of the team")] + [DataMember(Name = "Streak", Order = 19)] + public int? Streak { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Score", Order = 20)] + public int? Score { get; set; } + + /// + /// Total opponent points scored + /// + [Description("Total opponent points scored")] + [DataMember(Name = "OpponentScore", Order = 21)] + public int? OpponentScore { get; set; } + + /// + /// Total first downs + /// + [Description("Total first downs")] + [DataMember(Name = "FirstDowns", Order = 22)] + public int? FirstDowns { get; set; } + + /// + /// Third down conversions + /// + [Description("Third down conversions")] + [DataMember(Name = "ThirdDownConversions", Order = 23)] + public int? ThirdDownConversions { get; set; } + + /// + /// Third down attempts + /// + [Description("Third down attempts")] + [DataMember(Name = "ThirdDownAttempts", Order = 24)] + public int? ThirdDownAttempts { get; set; } + + /// + /// Fourth down conversions + /// + [Description("Fourth down conversions")] + [DataMember(Name = "FourthDownConversions", Order = 25)] + public int? FourthDownConversions { get; set; } + + /// + /// Fourth down attempts + /// + [Description("Fourth down attempts")] + [DataMember(Name = "FourthDownAttempts", Order = 26)] + public int? FourthDownAttempts { get; set; } + + /// + /// Penalties committed + /// + [Description("Penalties committed")] + [DataMember(Name = "Penalties", Order = 27)] + public int? Penalties { get; set; } + + /// + /// Penalty yards enforced against the Team + /// + [Description("Penalty yards enforced against the Team")] + [DataMember(Name = "PenaltyYards", Order = 28)] + public int? PenaltyYards { get; set; } + + /// + /// Time of possesion minutes + /// + [Description("Time of possesion minutes")] + [DataMember(Name = "TimeOfPossessionMinutes", Order = 29)] + public int? TimeOfPossessionMinutes { get; set; } + + /// + /// Time of possession seconds + /// + [Description("Time of possession seconds")] + [DataMember(Name = "TimeOfPossessionSeconds", Order = 30)] + public int? TimeOfPossessionSeconds { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 31)] + public int? GlobalTeamID { get; set; } + + /// + /// The updated date and time of the stat. + /// + [Description("The updated date and time of the stat.")] + [DataMember(Name = "Updated", Order = 32)] + public DateTime? Updated { get; set; } + + /// + /// The date and time of the created stat. + /// + [Description("The date and time of the created stat.")] + [DataMember(Name = "Created", Order = 33)] + public DateTime? Created { get; set; } + + /// + /// Total games + /// + [Description("Total games")] + [DataMember(Name = "Games", Order = 34)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 35)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total passing attempts + /// + [Description("Total passing attempts")] + [DataMember(Name = "PassingAttempts", Order = 36)] + public decimal? PassingAttempts { get; set; } + + /// + /// Total passing completions + /// + [Description("Total passing completions")] + [DataMember(Name = "PassingCompletions", Order = 37)] + public decimal? PassingCompletions { get; set; } + + /// + /// Total passing yards + /// + [Description("Total passing yards")] + [DataMember(Name = "PassingYards", Order = 38)] + public decimal? PassingYards { get; set; } + + /// + /// Total passing completion percentage + /// + [Description("Total passing completion percentage")] + [DataMember(Name = "PassingCompletionPercentage", Order = 39)] + public decimal? PassingCompletionPercentage { get; set; } + + /// + /// Total passing yards per attempts + /// + [Description("Total passing yards per attempts")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 40)] + public decimal? PassingYardsPerAttempt { get; set; } + + /// + /// Total passing yards per completion + /// + [Description("Total passing yards per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 41)] + public decimal? PassingYardsPerCompletion { get; set; } + + /// + /// Total passing touchdowns + /// + [Description("Total passing touchdowns")] + [DataMember(Name = "PassingTouchdowns", Order = 42)] + public decimal? PassingTouchdowns { get; set; } + + /// + /// Total passing interceptions + /// + [Description("Total passing interceptions")] + [DataMember(Name = "PassingInterceptions", Order = 43)] + public decimal? PassingInterceptions { get; set; } + + /// + /// Total passing rating + /// + [Description("Total passing rating")] + [DataMember(Name = "PassingRating", Order = 44)] + public decimal? PassingRating { get; set; } + + /// + /// Total rushing attempts + /// + [Description("Total rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 45)] + public decimal? RushingAttempts { get; set; } + + /// + /// Total rushing yards + /// + [Description("Total rushing yards")] + [DataMember(Name = "RushingYards", Order = 46)] + public decimal? RushingYards { get; set; } + + /// + /// Total rushing yards per attempt + /// + [Description("Total rushing yards per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 47)] + public decimal? RushingYardsPerAttempt { get; set; } + + /// + /// Total rushing touchdowns + /// + [Description("Total rushing touchdowns")] + [DataMember(Name = "RushingTouchdowns", Order = 48)] + public decimal? RushingTouchdowns { get; set; } + + /// + /// Longest rushing attempt + /// + [Description("Longest rushing attempt")] + [DataMember(Name = "RushingLong", Order = 49)] + public decimal? RushingLong { get; set; } + + /// + /// Total receptions + /// + [Description("Total receptions")] + [DataMember(Name = "Receptions", Order = 50)] + public decimal? Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 51)] + public decimal? ReceivingYards { get; set; } + + /// + /// Total receiving yards per reception + /// + [Description("Total receiving yards per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 52)] + public decimal? ReceivingYardsPerReception { get; set; } + + /// + /// Total receiving touchdowns + /// + [Description("Total receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 53)] + public decimal? ReceivingTouchdowns { get; set; } + + /// + /// Long receiving reception + /// + [Description("Long receiving reception")] + [DataMember(Name = "ReceivingLong", Order = 54)] + public decimal? ReceivingLong { get; set; } + + /// + /// Total punt returns + /// + [Description("Total punt returns")] + [DataMember(Name = "PuntReturns", Order = 55)] + public decimal? PuntReturns { get; set; } + + /// + /// Total punt return yards + /// + [Description("Total punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 56)] + public decimal? PuntReturnYards { get; set; } + + /// + /// Total punt return yards per attempt + /// + [Description("Total punt return yards per attempt")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 57)] + public decimal? PuntReturnYardsPerAttempt { get; set; } + + /// + /// Total punt return touchdowns + /// + [Description("Total punt return touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 58)] + public decimal? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 59)] + public decimal? PuntReturnLong { get; set; } + + /// + /// Total kick returns + /// + [Description("Total kick returns")] + [DataMember(Name = "KickReturns", Order = 60)] + public decimal? KickReturns { get; set; } + + /// + /// Total kick return yards + /// + [Description("Total kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 61)] + public decimal? KickReturnYards { get; set; } + + /// + /// Total kick return yards per attempt + /// + [Description("Total kick return yards per attempt")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 62)] + public decimal? KickReturnYardsPerAttempt { get; set; } + + /// + /// Total kick return touchdowns + /// + [Description("Total kick return touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 63)] + public decimal? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return  + /// + [Description("Longest kick return ")] + [DataMember(Name = "KickReturnLong", Order = 64)] + public decimal? KickReturnLong { get; set; } + + /// + /// Total punts + /// + [Description("Total punts")] + [DataMember(Name = "Punts", Order = 65)] + public decimal? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 66)] + public decimal? PuntYards { get; set; } + + /// + /// Total punt average + /// + [Description("Total punt average")] + [DataMember(Name = "PuntAverage", Order = 67)] + public decimal? PuntAverage { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 68)] + public decimal? PuntLong { get; set; } + + /// + /// Total field goals attempted + /// + [Description("Total field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 69)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goals made + /// + [Description("Total field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 70)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalPercentage", Order = 71)] + public decimal? FieldGoalPercentage { get; set; } + + /// + /// Longest field goal made + /// + [Description("Longest field goal made")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 72)] + public decimal? FieldGoalsLongestMade { get; set; } + + /// + /// Total extra points attempted + /// + [Description("Total extra points attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 73)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Total extra points made + /// + [Description("Total extra points made")] + [DataMember(Name = "ExtraPointsMade", Order = 74)] + public decimal? ExtraPointsMade { get; set; } + + /// + /// Total interceptions + /// + [Description("Total interceptions")] + [DataMember(Name = "Interceptions", Order = 75)] + public decimal? Interceptions { get; set; } + + /// + /// Total interception return yards + /// + [Description("Total interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 76)] + public decimal? InterceptionReturnYards { get; set; } + + /// + /// Total interception return touchdowns + /// + [Description("Total interception return touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 77)] + public decimal? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total Solo Tackles + /// + [Description("Total Solo Tackles")] + [DataMember(Name = "SoloTackles", Order = 78)] + public decimal? SoloTackles { get; set; } + + /// + /// Total Assisted Tackles + /// + [Description("Total Assisted Tackles")] + [DataMember(Name = "AssistedTackles", Order = 79)] + public decimal? AssistedTackles { get; set; } + + /// + /// Total Tackles for a loss of yardage + /// + [Description("Total Tackles for a loss of yardage")] + [DataMember(Name = "TacklesForLoss", Order = 80)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total Quarterback Sacks + /// + [Description("Total Quarterback Sacks")] + [DataMember(Name = "Sacks", Order = 81)] + public decimal? Sacks { get; set; } + + /// + /// Total Passes Defended + /// + [Description("Total Passes Defended")] + [DataMember(Name = "PassesDefended", Order = 82)] + public decimal? PassesDefended { get; set; } + + /// + /// Total Fumble Recoveries + /// + [Description("Total Fumble Recoveries")] + [DataMember(Name = "FumblesRecovered", Order = 83)] + public decimal? FumblesRecovered { get; set; } + + /// + /// Total Fumbles Recovered and returned for a touchdown + /// + [Description("Total Fumbles Recovered and returned for a touchdown")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 84)] + public decimal? FumbleReturnTouchdowns { get; set; } + + /// + /// Total Quarterback Hurries + /// + [Description("Total Quarterback Hurries")] + [DataMember(Name = "QuarterbackHurries", Order = 85)] + public decimal? QuarterbackHurries { get; set; } + + /// + /// Total Fumbles + /// + [Description("Total Fumbles")] + [DataMember(Name = "Fumbles", Order = 86)] + public decimal? Fumbles { get; set; } + + /// + /// Total Fumbles Lost + /// + [Description("Total Fumbles Lost")] + [DataMember(Name = "FumblesLost", Order = 87)] + public decimal? FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CWBB/Conference.cs b/FantasyData.Api.Client.NetCore/Model/CWBB/Conference.cs new file mode 100644 index 0000000..b8a6ecf --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CWBB/Conference.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CWBB +{ + [DataContract(Namespace="", Name="Conference")] + [Serializable] + public partial class Conference + { + /// + /// The ID of the team's conference + /// + [Description("The ID of the team's conference")] + [DataMember(Name = "ConferenceID", Order = 1)] + public int ConferenceID { get; set; } + + /// + /// The name of the team's conference + /// + [Description("The name of the team's conference")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The college teams within this conference + /// + [Description("The college teams within this conference")] + [DataMember(Name = "Teams", Order = 20003)] + public Team[] Teams { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CWBB/Game.cs b/FantasyData.Api.Client.NetCore/Model/CWBB/Game.cs new file mode 100644 index 0000000..0468d6d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CWBB/Game.cs @@ -0,0 +1,153 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CWBB +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int GameID { get; set; } + + /// + /// The College Basketball season of the game + /// + [Description("The College Basketball season of the game")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 4)] + public string Status { get; set; } + + /// + /// The date of the game + /// + [Description("The date of the game")] + [DataMember(Name = "Day", Order = 5)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime? DateTime { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 7)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 8)] + public string HomeTeam { get; set; } + + /// + /// The unique ID of the away team + /// + [Description("The unique ID of the away team")] + [DataMember(Name = "AwayTeamID", Order = 9)] + public int? AwayTeamID { get; set; } + + /// + /// The unique ID of the home team + /// + [Description("The unique ID of the home team")] + [DataMember(Name = "HomeTeamID", Order = 10)] + public int? HomeTeamID { get; set; } + + /// + /// Total number of points the away team scored in this game + /// + [Description("Total number of points the away team scored in this game")] + [DataMember(Name = "AwayTeamScore", Order = 11)] + public int? AwayTeamScore { get; set; } + + /// + /// Total number of points the home team scored in this game + /// + [Description("Total number of points the home team scored in this game")] + [DataMember(Name = "HomeTeamScore", Order = 12)] + public int? HomeTeamScore { get; set; } + + /// + /// The timestamp of when this game was last updated (in US Eastern Time) + /// + [Description("The timestamp of when this game was last updated (in US Eastern Time)")] + [DataMember(Name = "Updated", Order = 13)] + public DateTime? Updated { get; set; } + + /// + /// The current quarter of the game (Possible Values: 1, 2, 3, 4, OT, F, F/OT, NULL) + /// + [Description("The current quarter of the game (Possible Values: 1, 2, 3, 4, OT, F, F/OT, NULL)")] + [DataMember(Name = "Period", Order = 14)] + public string Period { get; set; } + + /// + /// Number of minutes remaining in the quarter + /// + [Description("Number of minutes remaining in the quarter")] + [DataMember(Name = "TimeRemainingMinutes", Order = 15)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// Number of seconds remaining in the quarter + /// + [Description("Number of seconds remaining in the quarter")] + [DataMember(Name = "TimeRemainingSeconds", Order = 16)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 17)] + public int GlobalGameID { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamID", Order = 18)] + public int? GlobalAwayTeamID { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamID", Order = 19)] + public int? GlobalHomeTeamID { get; set; } + + /// + /// The details of the periods (quarters & overtime) for this game. + /// + [Description("The details of the periods (quarters & overtime) for this game.")] + [DataMember(Name = "Periods", Order = 20020)] + public Period[] Periods { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CWBB/Period.cs b/FantasyData.Api.Client.NetCore/Model/CWBB/Period.cs new file mode 100644 index 0000000..711e084 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CWBB/Period.cs @@ -0,0 +1,62 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CWBB +{ + [DataContract(Namespace="", Name="Period")] + [Serializable] + public partial class Period + { + /// + /// The unique ID for the period + /// + [Description("The unique ID for the period")] + [DataMember(Name = "PeriodID", Order = 1)] + public int PeriodID { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The Number (Order) of the Period in the scope of the Game + /// + [Description("The Number (Order) of the Period in the scope of the Game")] + [DataMember(Name = "Number", Order = 3)] + public int Number { get; set; } + + /// + /// The Name of the Quarter (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc) + /// + [Description("The Name of the Quarter (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc)")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// Indicates whether this period is a regulation quarter or overtime (possible values: Quarter, Overtime) + /// + [Description("Indicates whether this period is a regulation quarter or overtime (possible values: Quarter, Overtime)")] + [DataMember(Name = "Type", Order = 5)] + public string Type { get; set; } + + /// + /// The total points scored by the away team in this Period + /// + [Description("The total points scored by the away team in this Period")] + [DataMember(Name = "AwayScore", Order = 6)] + public int? AwayScore { get; set; } + + /// + /// The total points scored by the home team in this Period + /// + [Description("The total points scored by the home team in this Period")] + [DataMember(Name = "HomeScore", Order = 7)] + public int? HomeScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CWBB/Season.cs b/FantasyData.Api.Client.NetCore/Model/CWBB/Season.cs new file mode 100644 index 0000000..fc01874 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CWBB/Season.cs @@ -0,0 +1,62 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CWBB +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The college basketball season of the game + /// + [Description("The college basketball season of the game")] + [DataMember(Name = "CurrentSeason", Order = 1)] + public int CurrentSeason { get; set; } + + /// + /// The year in which the season started + /// + [Description("The year in which the season started")] + [DataMember(Name = "StartYear", Order = 2)] + public int StartYear { get; set; } + + /// + /// The year in which the season ended + /// + [Description("The year in which the season ended")] + [DataMember(Name = "EndYear", Order = 3)] + public int EndYear { get; set; } + + /// + /// The description of this season for display purposes (e.g. 2017-18, 2018-19, etc) + /// + [Description("The description of this season for display purposes (e.g. 2017-18, 2018-19, etc)")] + [DataMember(Name = "Description", Order = 4)] + public string Description { get; set; } + + /// + /// The start date of the regular season + /// + [Description("The start date of the regular season")] + [DataMember(Name = "RegularSeasonStartDate", Order = 5)] + public DateTime? RegularSeasonStartDate { get; set; } + + /// + /// The start date of the postseason + /// + [Description("The start date of the postseason")] + [DataMember(Name = "PostSeasonStartDate", Order = 6)] + public DateTime? PostSeasonStartDate { get; set; } + + /// + /// The string to pass into subsequent API calls in the season parameter + /// + [Description("The string to pass into subsequent API calls in the season parameter")] + [DataMember(Name = "ApiSeason", Order = 7)] + public string ApiSeason { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CWBB/Stadium.cs b/FantasyData.Api.Client.NetCore/Model/CWBB/Stadium.cs new file mode 100644 index 0000000..f66d0c6 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CWBB/Stadium.cs @@ -0,0 +1,13 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CWBB +{ + [DataContract(Namespace="", Name="Stadium")] + [Serializable] + public partial class Stadium + { + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CWBB/Standing.cs b/FantasyData.Api.Client.NetCore/Model/CWBB/Standing.cs new file mode 100644 index 0000000..c27480f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CWBB/Standing.cs @@ -0,0 +1,13 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CWBB +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/CWBB/Team.cs b/FantasyData.Api.Client.NetCore/Model/CWBB/Team.cs new file mode 100644 index 0000000..a854bb9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/CWBB/Team.cs @@ -0,0 +1,118 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.CWBB +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamID", Order = 1)] + public int TeamID { get; set; } + + /// + /// Abbreviation of the team (e.g. OU, TTU, USC, UK, etc.) + /// + [Description("Abbreviation of the team (e.g. OU, TTU, USC, UK, etc.)")] + [DataMember(Name = "Key", Order = 2)] + public string Key { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 3)] + public bool Active { get; set; } + + /// + /// The school of the team (e.g. Oklahoma University, Texas Tech University, University of Southern California, Kentucky University, etc) + /// + [Description("The school of the team (e.g. Oklahoma University, Texas Tech University, University of Southern California, Kentucky University, etc)")] + [DataMember(Name = "School", Order = 4)] + public string School { get; set; } + + /// + /// The mascot of the team (e.g. Sooners, Red Raiders, Trojans, Wildcats, etc.) + /// + [Description("The mascot of the team (e.g. Sooners, Red Raiders, Trojans, Wildcats, etc.)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The AP Rank of the team  + /// + [Description("The AP Rank of the team ")] + [DataMember(Name = "ApRank", Order = 6)] + public int? ApRank { get; set; } + + /// + /// The total number of wins by the school + /// + [Description("The total number of wins by the school")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// The total number of losses by the school + /// + [Description("The total number of losses by the school")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// The total number of conference wins by the school + /// + [Description("The total number of conference wins by the school")] + [DataMember(Name = "ConferenceWins", Order = 9)] + public int? ConferenceWins { get; set; } + + /// + /// The total number of conference losses by the school + /// + [Description("The total number of conference losses by the school")] + [DataMember(Name = "ConferenceLosses", Order = 10)] + public int? ConferenceLosses { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 11)] + public int GlobalTeamID { get; set; } + + /// + /// The ID of the team's conference + /// + [Description("The ID of the team's conference")] + [DataMember(Name = "ConferenceID", Order = 12)] + public int? ConferenceID { get; set; } + + /// + /// The name of the team's conference + /// + [Description("The name of the team's conference")] + [DataMember(Name = "Conference", Order = 13)] + public string Conference { get; set; } + + /// + /// The url of the team logo image. + /// + [Description("The url of the team logo image.")] + [DataMember(Name = "TeamLogoUrl", Order = 14)] + public string TeamLogoUrl { get; set; } + + /// + /// The short display name of the team + /// + [Description("The short display name of the team")] + [DataMember(Name = "ShortDisplayName", Order = 15)] + public string ShortDisplayName { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Area.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Area.cs new file mode 100644 index 0000000..c0f7f41 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Area.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Area")] + [Serializable] + public partial class Area + { + /// + /// The unique ID of the area + /// + [Description("The unique ID of the area")] + [DataMember(Name = "AreaId", Order = 1)] + public int AreaId { get; set; } + + /// + /// The country code of the area + /// + [Description("The country code of the area")] + [DataMember(Name = "CountryCode", Order = 2)] + public string CountryCode { get; set; } + + /// + /// The display name of the area + /// + [Description("The display name of the area")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/BoxScore.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/BoxScore.cs new file mode 100644 index 0000000..993ae69 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/BoxScore.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="BoxScore")] + [Serializable] + public partial class BoxScore + { + /// + /// The details of the game + /// + [Description("The details of the game")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The details of the maps (best of matches) + /// + [Description("The details of the maps (best of matches)")] + [DataMember(Name = "Maps", Order = 20002)] + public Map[] Maps { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Competition.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Competition.cs new file mode 100644 index 0000000..78e995b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Competition.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Competition")] + [Serializable] + public partial class Competition + { + /// + /// The unique ID of the competition/league + /// + [Description("The unique ID of the competition/league")] + [DataMember(Name = "CompetitionId", Order = 1)] + public int CompetitionId { get; set; } + + /// + /// The unique ID of the area where this competition/league is played + /// + [Description("The unique ID of the area where this competition/league is played")] + [DataMember(Name = "AreaId", Order = 2)] + public int AreaId { get; set; } + + /// + /// The display name of the area where this competition/league is played + /// + [Description("The display name of the area where this competition/league is played")] + [DataMember(Name = "AreaName", Order = 3)] + public string AreaName { get; set; } + + /// + /// The display name of the competition/league + /// + [Description("The display name of the competition/league")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 5)] + public string Gender { get; set; } + + /// + /// The type of this competition/league (possible values: Club, International) + /// + [Description("The type of this competition/league (possible values: Club, International)")] + [DataMember(Name = "Type", Order = 6)] + public string Type { get; set; } + + /// + /// The format of the competition/league (possible values: Domestic League, International Cup) + /// + [Description("The format of the competition/league (possible values: Domestic League, International Cup)")] + [DataMember(Name = "Format", Order = 7)] + public string Format { get; set; } + + /// + /// The seasons associated with this competition/league + /// + [Description("The seasons associated with this competition/league")] + [DataMember(Name = "Seasons", Order = 20008)] + public Season[] Seasons { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/CompetitionDetail.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/CompetitionDetail.cs new file mode 100644 index 0000000..e769628 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/CompetitionDetail.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="CompetitionDetail")] + [Serializable] + public partial class CompetitionDetail + { + /// + /// The current active season for this competition/league + /// + [Description("The current active season for this competition/league")] + [DataMember(Name = "CurrentSeason", Order = 10001)] + public Season CurrentSeason { get; set; } + + /// + /// The active teams associated with this competition/league + /// + [Description("The active teams associated with this competition/league")] + [DataMember(Name = "Teams", Order = 20002)] + public TeamDetail[] Teams { get; set; } + + /// + /// The complete schedule for the current season of this competition/league + /// + [Description("The complete schedule for the current season of this competition/league")] + [DataMember(Name = "Games", Order = 20003)] + public Game[] Games { get; set; } + + /// + /// The unique ID of the competition/league + /// + [Description("The unique ID of the competition/league")] + [DataMember(Name = "CompetitionId", Order = 4)] + public int CompetitionId { get; set; } + + /// + /// The unique ID of the area where this competition/league is played + /// + [Description("The unique ID of the area where this competition/league is played")] + [DataMember(Name = "AreaId", Order = 5)] + public int AreaId { get; set; } + + /// + /// The display name of the area where this competition/league is played + /// + [Description("The display name of the area where this competition/league is played")] + [DataMember(Name = "AreaName", Order = 6)] + public string AreaName { get; set; } + + /// + /// The display name of the competition/league + /// + [Description("The display name of the competition/league")] + [DataMember(Name = "Name", Order = 7)] + public string Name { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 8)] + public string Gender { get; set; } + + /// + /// The type of this competition/league (possible values: Club, International) + /// + [Description("The type of this competition/league (possible values: Club, International)")] + [DataMember(Name = "Type", Order = 9)] + public string Type { get; set; } + + /// + /// The format of the competition/league (possible values: Domestic League, International Cup) + /// + [Description("The format of the competition/league (possible values: Domestic League, International Cup)")] + [DataMember(Name = "Format", Order = 10)] + public string Format { get; set; } + + /// + /// The seasons associated with this competition/league + /// + [Description("The seasons associated with this competition/league")] + [DataMember(Name = "Seasons", Order = 20011)] + public Season[] Seasons { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Game.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Game.cs new file mode 100644 index 0000000..5d90e24 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Game.cs @@ -0,0 +1,216 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The RoundId of the round that this game is associated with + /// + [Description("The RoundId of the round that this game is associated with")] + [DataMember(Name = "RoundId", Order = 2)] + public int RoundId { get; set; } + + /// + /// The calendar year of the season during which this game occurs + /// + [Description("The calendar year of the season during which this game occurs")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar) + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar)")] + [DataMember(Name = "SeasonType", Order = 4)] + public int SeasonType { get; set; } + + /// + /// The name of the group in which this game occurs. This is used in tournaments / cups. + /// + [Description("The name of the group in which this game occurs. This is used in tournaments / cups.")] + [DataMember(Name = "Group", Order = 5)] + public string Group { get; set; } + + /// + /// The TeamId of team A + /// + [Description("The TeamId of team A")] + [DataMember(Name = "TeamAId", Order = 6)] + public int? TeamAId { get; set; } + + /// + /// The TeamId of team B + /// + [Description("The TeamId of team B")] + [DataMember(Name = "TeamBId", Order = 7)] + public int? TeamBId { get; set; } + + /// + /// The VenueId of the venue + /// + [Description("The VenueId of the venue")] + [DataMember(Name = "VenueId", Order = 8)] + public int? VenueId { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC + /// + [Description("The day that the game is scheduled to be played in UTC")] + [DataMember(Name = "Day", Order = 9)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC + /// + [Description("The date/time that the game is scheduled to be played in UTC")] + [DataMember(Name = "DateTime", Order = 10)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Break, Final, Awarded, Postponed, Canceled, Suspended. If a game is called off before it starts, the Status is set to Postponed, until a new date/time is scheduled, at which point, the DateTime is updated, and the Status is set back to Scheduled. If a game has already started, and temporarily interrupted, it's Status is set to Suspended, until it either resumes, or gets postponed and replayed at a later date. If the game is on break, then the Status will be Break. Awarded is used in cases where a game is decided without completing. That means that a game was decided by the Federation/League to one team for a reason. This can include situations like riots, where the opponent team gets 3:0 win awarded as punishment. Awarded is also used when a club withdraws during the season from the competition then all the remaining matches getting awarded 3:0. + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Break, Final, Awarded, Postponed, Canceled, Suspended. If a game is called off before it starts, the Status is set to Postponed, until a new date/time is scheduled, at which point, the DateTime is updated, and the Status is set back to Scheduled. If a game has already started, and temporarily interrupted, it's Status is set to Suspended, until it either resumes, or gets postponed and replayed at a later date. If the game is on break, then the Status will be Break. Awarded is used in cases where a game is decided without completing. That means that a game was decided by the Federation/League to one team for a reason. This can include situations like riots, where the opponent team gets 3:0 win awarded as punishment. Awarded is also used when a club withdraws during the season from the competition then all the remaining matches getting awarded 3:0.")] + [DataMember(Name = "Status", Order = 11)] + public string Status { get; set; } + + /// + /// The week during the season/round in which this game occurs + /// + [Description("The week during the season/round in which this game occurs")] + [DataMember(Name = "Week", Order = 12)] + public int? Week { get; set; } + + /// + /// How many matches/rounds are played if this game is a best of series + /// + [Description("How many matches/rounds are played if this game is a best of series")] + [DataMember(Name = "BestOf", Order = 13)] + public string BestOf { get; set; } + + /// + /// The winner of the game. Possible values include: TeamA, TeamB, Draw, NULL + /// + [Description("The winner of the game. Possible values include: TeamA, TeamB, Draw, NULL")] + [DataMember(Name = "Winner", Order = 14)] + public string Winner { get; set; } + + /// + /// Indicates home venue advantage. Possible values include: Home Away, Neutral + /// + [Description("Indicates home venue advantage. Possible values include: Home Away, Neutral")] + [DataMember(Name = "VenueType", Order = 15)] + public string VenueType { get; set; } + + /// + /// The abbreviation of team A + /// + [Description("The abbreviation of team A")] + [DataMember(Name = "TeamAKey", Order = 16)] + public string TeamAKey { get; set; } + + /// + /// The name of team A + /// + [Description("The name of team A")] + [DataMember(Name = "TeamAName", Order = 17)] + public string TeamAName { get; set; } + + /// + /// The final score of team A + /// + [Description("The final score of team A")] + [DataMember(Name = "TeamAScore", Order = 18)] + public int? TeamAScore { get; set; } + + /// + /// The abbreviation of team B + /// + [Description("The abbreviation of team B")] + [DataMember(Name = "TeamBKey", Order = 19)] + public string TeamBKey { get; set; } + + /// + /// The name of team B + /// + [Description("The name of team B")] + [DataMember(Name = "TeamBName", Order = 20)] + public string TeamBName { get; set; } + + /// + /// The final score of team B + /// + [Description("The final score of team B")] + [DataMember(Name = "TeamBScore", Order = 21)] + public int? TeamBScore { get; set; } + + /// + /// Payout on a bet that the team A wins + /// + [Description("Payout on a bet that the team A wins")] + [DataMember(Name = "TeamAMoneyLine", Order = 22)] + public int? TeamAMoneyLine { get; set; } + + /// + /// Payout on a bet that the team B wins + /// + [Description("Payout on a bet that the team B wins")] + [DataMember(Name = "TeamBMoneyLine", Order = 23)] + public int? TeamBMoneyLine { get; set; } + + /// + /// Payout on a bet that the game is a draw + /// + [Description("Payout on a bet that the game is a draw")] + [DataMember(Name = "DrawMoneyLine", Order = 24)] + public int? DrawMoneyLine { get; set; } + + /// + /// Point spread for team A + /// + [Description("Point spread for team A")] + [DataMember(Name = "PointSpread", Order = 25)] + public decimal? PointSpread { get; set; } + + /// + /// Payout if team A beats the spread + /// + [Description("Payout if team A beats the spread")] + [DataMember(Name = "TeamAPointSpreadPayout", Order = 26)] + public int? TeamAPointSpreadPayout { get; set; } + + /// + /// Payout if team B beats the spread + /// + [Description("Payout if team B beats the spread")] + [DataMember(Name = "TeamBPointSpreadPayout", Order = 27)] + public int? TeamBPointSpreadPayout { get; set; } + + /// + /// The timestamp of when this record was updated, based on US Eatern Time (EST/EDT) + /// + [Description("The timestamp of when this record was updated, based on US Eatern Time (EST/EDT)")] + [DataMember(Name = "Updated", Order = 28)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when this record was updated, based on Universal Coordinated Time (UTC) + /// + [Description("The timestamp of when this record was updated, based on Universal Coordinated Time (UTC)")] + [DataMember(Name = "UpdatedUtc", Order = 29)] + public DateTime? UpdatedUtc { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/GameStat.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/GameStat.cs new file mode 100644 index 0000000..d53d022 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/GameStat.cs @@ -0,0 +1,132 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="GameStat")] + [Serializable] + public partial class GameStat + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameId", Order = 1)] + public int? GameId { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentId", Order = 2)] + public int? OpponentId { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 3)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game (UTC) + /// + [Description("The date and time of the game (UTC)")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 6)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 7)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 8)] + public int? Games { get; set; } + + /// + /// The number of maps played + /// + [Description("The number of maps played")] + [DataMember(Name = "Maps", Order = 9)] + public decimal? Maps { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total kills + /// + [Description("Total kills")] + [DataMember(Name = "Kills", Order = 11)] + public decimal? Kills { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 12)] + public decimal? Assists { get; set; } + + /// + /// Total deaths + /// + [Description("Total deaths")] + [DataMember(Name = "Deaths", Order = 13)] + public decimal? Deaths { get; set; } + + /// + /// Total headshots + /// + [Description("Total headshots")] + [DataMember(Name = "Headshots", Order = 14)] + public decimal? Headshots { get; set; } + + /// + /// Average damage per round + /// + [Description("Average damage per round")] + [DataMember(Name = "AverageDamagePerRound", Order = 15)] + public decimal? AverageDamagePerRound { get; set; } + + /// + /// Percentage of rounds in which the player either had a kill, assist, survived or was traded + /// + [Description("Percentage of rounds in which the player either had a kill, assist, survived or was traded")] + [DataMember(Name = "Kast", Order = 16)] + public decimal? Kast { get; set; } + + /// + /// A rating of the player's total effectiveness, based on Rating 2.0 (https://www.hltv.org/news/20695/introducing-rating-20) + /// + [Description("A rating of the player's total effectiveness, based on Rating 2.0 (https://www.hltv.org/news/20695/introducing-rating-20)")] + [DataMember(Name = "Rating", Order = 17)] + public decimal? Rating { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Leaderboard.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Leaderboard.cs new file mode 100644 index 0000000..bed217d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Leaderboard.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Leaderboard")] + [Serializable] + public partial class Leaderboard + { + /// + /// The unique ID of this player + /// + [Description("The unique ID of this player")] + [DataMember(Name = "PlayerId", Order = 1)] + public int? PlayerId { get; set; } + + /// + /// The unique ID of this player's team + /// + [Description("The unique ID of this player's team")] + [DataMember(Name = "TeamId", Order = 2)] + public int? TeamId { get; set; } + + /// + /// The name of this player + /// + [Description("The name of this player")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The match name of this player + /// + [Description("The match name of this player")] + [DataMember(Name = "MatchName", Order = 4)] + public string MatchName { get; set; } + + /// + /// The team name of this player + /// + [Description("The team name of this player")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameId", Order = 6)] + public int? GameId { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentId", Order = 7)] + public int? OpponentId { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 8)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 9)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game (UTC) + /// + [Description("The date and time of the game (UTC)")] + [DataMember(Name = "DateTime", Order = 10)] + public DateTime? DateTime { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 12)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 13)] + public int? Games { get; set; } + + /// + /// The number of maps played + /// + [Description("The number of maps played")] + [DataMember(Name = "Maps", Order = 14)] + public decimal? Maps { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 15)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total kills + /// + [Description("Total kills")] + [DataMember(Name = "Kills", Order = 16)] + public decimal? Kills { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 17)] + public decimal? Assists { get; set; } + + /// + /// Total deaths + /// + [Description("Total deaths")] + [DataMember(Name = "Deaths", Order = 18)] + public decimal? Deaths { get; set; } + + /// + /// Total headshots + /// + [Description("Total headshots")] + [DataMember(Name = "Headshots", Order = 19)] + public decimal? Headshots { get; set; } + + /// + /// Average damage per round + /// + [Description("Average damage per round")] + [DataMember(Name = "AverageDamagePerRound", Order = 20)] + public decimal? AverageDamagePerRound { get; set; } + + /// + /// Percentage of rounds in which the player either had a kill, assist, survived or was traded + /// + [Description("Percentage of rounds in which the player either had a kill, assist, survived or was traded")] + [DataMember(Name = "Kast", Order = 21)] + public decimal? Kast { get; set; } + + /// + /// A rating of the player's total effectiveness, based on Rating 2.0 (https://www.hltv.org/news/20695/introducing-rating-20) + /// + [Description("A rating of the player's total effectiveness, based on Rating 2.0 (https://www.hltv.org/news/20695/introducing-rating-20)")] + [DataMember(Name = "Rating", Order = 22)] + public decimal? Rating { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Map.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Map.cs new file mode 100644 index 0000000..5806da2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Map.cs @@ -0,0 +1,62 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Map")] + [Serializable] + public partial class Map + { + /// + /// The number of this map in the order it was played + /// + [Description("The number of this map in the order it was played")] + [DataMember(Name = "Number", Order = 1)] + public int? Number { get; set; } + + /// + /// The name of this map + /// + [Description("The name of this map")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The current status of the round being played on this map. Possible values include: Scheduled, InProgress, Final + /// + [Description("The current status of the round being played on this map. Possible values include: Scheduled, InProgress, Final")] + [DataMember(Name = "Status", Order = 3)] + public string Status { get; set; } + + /// + /// The current round of this map + /// + [Description("The current round of this map")] + [DataMember(Name = "CurrentRound", Order = 4)] + public int? CurrentRound { get; set; } + + /// + /// The score of team A for this map + /// + [Description("The score of team A for this map")] + [DataMember(Name = "TeamAScore", Order = 5)] + public int? TeamAScore { get; set; } + + /// + /// The score of team B for this map + /// + [Description("The score of team B for this map")] + [DataMember(Name = "TeamBScore", Order = 6)] + public int? TeamBScore { get; set; } + + /// + /// The leaderboard for this map + /// + [Description("The leaderboard for this map")] + [DataMember(Name = "Leaderboards", Order = 20007)] + public Leaderboard[] Leaderboards { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Membership.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Membership.cs new file mode 100644 index 0000000..e49d085 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Membership.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Membership")] + [Serializable] + public partial class Membership + { + /// + /// The unique ID for the membership + /// + [Description("The unique ID for the membership")] + [DataMember(Name = "MembershipId", Order = 1)] + public int MembershipId { get; set; } + + /// + /// The unique ID for the team + /// + [Description("The unique ID for the team")] + [DataMember(Name = "TeamId", Order = 2)] + public int TeamId { get; set; } + + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerId", Order = 3)] + public int PlayerId { get; set; } + + /// + /// The full name of the player. + /// + [Description("The full name of the player.")] + [DataMember(Name = "PlayerName", Order = 4)] + public string PlayerName { get; set; } + + /// + /// Name of the team + /// + [Description("Name of the team")] + [DataMember(Name = "TeamName", Order = 5)] + public string TeamName { get; set; } + + /// + /// Area of the team + /// + [Description("Area of the team")] + [DataMember(Name = "TeamArea", Order = 6)] + public string TeamArea { get; set; } + + /// + /// Whether the membership is active (true/false) + /// + [Description("Whether the membership is active (true/false)")] + [DataMember(Name = "Active", Order = 7)] + public bool Active { get; set; } + + /// + /// The start date of the membership (UTC) + /// + [Description("The start date of the membership (UTC)")] + [DataMember(Name = "StartDate", Order = 8)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of the membership (UTC) + /// + [Description("The end date of the membership (UTC)")] + [DataMember(Name = "EndDate", Order = 9)] + public DateTime? EndDate { get; set; } + + /// + /// The updated date and time of the membership (EST/EDT) + /// + [Description("The updated date and time of the membership (EST/EDT)")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Player.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Player.cs new file mode 100644 index 0000000..8217e2a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Player.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerId", Order = 1)] + public int PlayerId { get; set; } + + /// + /// The player's first name. + /// + [Description("The player's first name.")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The player's last name. + /// + [Description("The player's last name.")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// The player's common name. + /// + [Description("The player's common name.")] + [DataMember(Name = "CommonName", Order = 4)] + public string CommonName { get; set; } + + /// + /// The player's short name. + /// + [Description("The player's short name.")] + [DataMember(Name = "MatchName", Order = 5)] + public string MatchName { get; set; } + + /// + /// The position of the player. Possible values include: ADC, Jungle, Mid, Support, Top + /// + [Description("The position of the player. Possible values include: ADC, Jungle, Mid, Support, Top")] + [DataMember(Name = "Position", Order = 6)] + public string Position { get; set; } + + /// + /// The gender of the player. + /// + [Description("The gender of the player.")] + [DataMember(Name = "Gender", Order = 7)] + public string Gender { get; set; } + + /// + /// The player's date of birth. + /// + [Description("The player's date of birth.")] + [DataMember(Name = "BirthDate", Order = 8)] + public DateTime? BirthDate { get; set; } + + /// + /// The city in which the player was born. + /// + [Description("The city in which the player was born.")] + [DataMember(Name = "BirthCity", Order = 9)] + public string BirthCity { get; set; } + + /// + /// The country in which the player was born. + /// + [Description("The country in which the player was born.")] + [DataMember(Name = "BirthCountry", Order = 10)] + public string BirthCountry { get; set; } + + /// + /// The nationality of the player. + /// + [Description("The nationality of the player.")] + [DataMember(Name = "Nationality", Order = 11)] + public string Nationality { get; set; } + + /// + /// The date and time the player's status was updated. (EST/EDT) + /// + [Description("The date and time the player's status was updated. (EST/EDT)")] + [DataMember(Name = "Updated", Order = 12)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/PlayerGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/PlayerGameProjection.cs new file mode 100644 index 0000000..3bc0f3b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/PlayerGameProjection.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="PlayerGameProjection")] + [Serializable] + public partial class PlayerGameProjection + { + /// + /// The unique ID of this player + /// + [Description("The unique ID of this player")] + [DataMember(Name = "PlayerId", Order = 1)] + public int? PlayerId { get; set; } + + /// + /// The unique ID of this player's team + /// + [Description("The unique ID of this player's team")] + [DataMember(Name = "TeamId", Order = 2)] + public int? TeamId { get; set; } + + /// + /// The name of this player + /// + [Description("The name of this player")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The match name of this player + /// + [Description("The match name of this player")] + [DataMember(Name = "MatchName", Order = 4)] + public string MatchName { get; set; } + + /// + /// The team name of this player + /// + [Description("The team name of this player")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameId", Order = 6)] + public int? GameId { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentId", Order = 7)] + public int? OpponentId { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 8)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 9)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game (UTC) + /// + [Description("The date and time of the game (UTC)")] + [DataMember(Name = "DateTime", Order = 10)] + public DateTime? DateTime { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 12)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 13)] + public int? Games { get; set; } + + /// + /// The number of maps played + /// + [Description("The number of maps played")] + [DataMember(Name = "Maps", Order = 14)] + public decimal? Maps { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 15)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total kills + /// + [Description("Total kills")] + [DataMember(Name = "Kills", Order = 16)] + public decimal? Kills { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 17)] + public decimal? Assists { get; set; } + + /// + /// Total deaths + /// + [Description("Total deaths")] + [DataMember(Name = "Deaths", Order = 18)] + public decimal? Deaths { get; set; } + + /// + /// Total headshots + /// + [Description("Total headshots")] + [DataMember(Name = "Headshots", Order = 19)] + public decimal? Headshots { get; set; } + + /// + /// Average damage per round + /// + [Description("Average damage per round")] + [DataMember(Name = "AverageDamagePerRound", Order = 20)] + public decimal? AverageDamagePerRound { get; set; } + + /// + /// Percentage of rounds in which the player either had a kill, assist, survived or was traded + /// + [Description("Percentage of rounds in which the player either had a kill, assist, survived or was traded")] + [DataMember(Name = "Kast", Order = 21)] + public decimal? Kast { get; set; } + + /// + /// A rating of the player's total effectiveness, based on Rating 2.0 (https://www.hltv.org/news/20695/introducing-rating-20) + /// + [Description("A rating of the player's total effectiveness, based on Rating 2.0 (https://www.hltv.org/news/20695/introducing-rating-20)")] + [DataMember(Name = "Rating", Order = 22)] + public decimal? Rating { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Round.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Round.cs new file mode 100644 index 0000000..3c2e83a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Round.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Round")] + [Serializable] + public partial class Round + { + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 1)] + public int RoundId { get; set; } + + /// + /// The unique ID of the season this round is associated with + /// + [Description("The unique ID of the season this round is associated with")] + [DataMember(Name = "SeasonId", Order = 2)] + public int SeasonId { get; set; } + + /// + /// The soccer season for which these totals apply + /// + [Description("The soccer season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int SeasonType { get; set; } + + /// + /// The display name of the round (examples: Regular Season, Semi-finals, Final, etc) + /// + [Description("The display name of the round (examples: Regular Season, Semi-finals, Final, etc)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The type of this round. Possible values include: Cup, Table + /// + [Description("The type of this round. Possible values include: Cup, Table")] + [DataMember(Name = "Type", Order = 6)] + public string Type { get; set; } + + /// + /// The start date of the round (UTC) + /// + [Description("The start date of the round (UTC)")] + [DataMember(Name = "StartDate", Order = 7)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of the round (UTC) + /// + [Description("The end date of the round (UTC)")] + [DataMember(Name = "EndDate", Order = 8)] + public DateTime? EndDate { get; set; } + + /// + /// The current week that this round is in + /// + [Description("The current week that this round is in")] + [DataMember(Name = "CurrentWeek", Order = 9)] + public int? CurrentWeek { get; set; } + + /// + /// Indicates whether or not this round is the current round of the competition/season + /// + [Description("Indicates whether or not this round is the current round of the competition/season")] + [DataMember(Name = "CurrentRound", Order = 10)] + public bool CurrentRound { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Season.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Season.cs new file mode 100644 index 0000000..1c29041 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Season.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The unique ID of the season + /// + [Description("The unique ID of the season")] + [DataMember(Name = "SeasonId", Order = 1)] + public int SeasonId { get; set; } + + /// + /// The unique ID of the competition + /// + [Description("The unique ID of the competition")] + [DataMember(Name = "CompetitionId", Order = 2)] + public int CompetitionId { get; set; } + + /// + /// The soccer regular season for which these totals apply + /// + [Description("The soccer regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Year { get; set; } + + /// + /// The display name of the season (example: 2017/2018, 2018-19, etc) + /// + [Description("The display name of the season (example: 2017/2018, 2018-19, etc)")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The display name of the competition associated with this season + /// + [Description("The display name of the competition associated with this season")] + [DataMember(Name = "CompetitionName", Order = 5)] + public string CompetitionName { get; set; } + + /// + /// The start date of the season (UTC) + /// + [Description("The start date of the season (UTC)")] + [DataMember(Name = "StartDate", Order = 6)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of the season (UTC) + /// + [Description("The end date of the season (UTC)")] + [DataMember(Name = "EndDate", Order = 7)] + public DateTime? EndDate { get; set; } + + /// + /// Indicates whether or not this season is the current season of the competition + /// + [Description("Indicates whether or not this season is the current season of the competition")] + [DataMember(Name = "CurrentSeason", Order = 8)] + public bool CurrentSeason { get; set; } + + /// + /// The rounds associated with this season + /// + [Description("The rounds associated with this season")] + [DataMember(Name = "Rounds", Order = 20009)] + public Round[] Rounds { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/SeasonTeam.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/SeasonTeam.cs new file mode 100644 index 0000000..26180e4 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/SeasonTeam.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="SeasonTeam")] + [Serializable] + public partial class SeasonTeam + { + /// + /// Unique ID of this season/team combination + /// + [Description("Unique ID of this season/team combination")] + [DataMember(Name = "SeasonTeamId", Order = 1)] + public int SeasonTeamId { get; set; } + + /// + /// Unique ID of the season associated with this record + /// + [Description("Unique ID of the season associated with this record")] + [DataMember(Name = "SeasonId", Order = 2)] + public int SeasonId { get; set; } + + /// + /// Unique ID of the team associated with this record + /// + [Description("Unique ID of the team associated with this record")] + [DataMember(Name = "TeamId", Order = 3)] + public int TeamId { get; set; } + + /// + /// The name of the team associated with this record + /// + [Description("The name of the team associated with this record")] + [DataMember(Name = "TeamName", Order = 4)] + public string TeamName { get; set; } + + /// + /// Whether this team is actively associated with this season + /// + [Description("Whether this team is actively associated with this season")] + [DataMember(Name = "Active", Order = 5)] + public bool Active { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 6)] + public string Gender { get; set; } + + /// + /// The type of this season/team (possible values: Club, National) + /// + [Description("The type of this season/team (possible values: Club, National)")] + [DataMember(Name = "Type", Order = 7)] + public string Type { get; set; } + + /// + /// The team details of this season/team association + /// + [Description("The team details of this season/team association")] + [DataMember(Name = "Team", Order = 10008)] + public Team Team { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Standing.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Standing.cs new file mode 100644 index 0000000..e885256 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Standing.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + /// + /// The unique ID of the standing + /// + [Description("The unique ID of the standing")] + [DataMember(Name = "StandingId", Order = 1)] + public int StandingId { get; set; } + + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 2)] + public int RoundId { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 3)] + public int TeamId { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The order of the teams in the standings + /// + [Description("The order of the teams in the standings")] + [DataMember(Name = "Order", Order = 5)] + public int? Order { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 6)] + public int Games { get; set; } + + /// + /// The number of wins + /// + [Description("The number of wins")] + [DataMember(Name = "Wins", Order = 7)] + public int Wins { get; set; } + + /// + /// The number of losses + /// + [Description("The number of losses")] + [DataMember(Name = "Losses", Order = 8)] + public int Losses { get; set; } + + /// + /// Total points accumulated + /// + [Description("Total points accumulated")] + [DataMember(Name = "Points", Order = 9)] + public int Points { get; set; } + + /// + /// The total score for the team + /// + [Description("The total score for the team")] + [DataMember(Name = "ScoreFor", Order = 10)] + public int ScoreFor { get; set; } + + /// + /// The total score against the team + /// + [Description("The total score against the team")] + [DataMember(Name = "ScoreAgainst", Order = 11)] + public int ScoreAgainst { get; set; } + + /// + /// Total score differential + /// + [Description("Total score differential")] + [DataMember(Name = "ScoreDifference", Order = 12)] + public int ScoreDifference { get; set; } + + /// + /// The name of the group (when applicable) + /// + [Description("The name of the group (when applicable)")] + [DataMember(Name = "Group", Order = 13)] + public string Group { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Stat.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Stat.cs new file mode 100644 index 0000000..800b734 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Stat.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Stat")] + [Serializable] + public partial class Stat + { + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 1)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 2)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 3)] + public int? Games { get; set; } + + /// + /// The number of maps played + /// + [Description("The number of maps played")] + [DataMember(Name = "Maps", Order = 4)] + public decimal? Maps { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 5)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total kills + /// + [Description("Total kills")] + [DataMember(Name = "Kills", Order = 6)] + public decimal? Kills { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 7)] + public decimal? Assists { get; set; } + + /// + /// Total deaths + /// + [Description("Total deaths")] + [DataMember(Name = "Deaths", Order = 8)] + public decimal? Deaths { get; set; } + + /// + /// Total headshots + /// + [Description("Total headshots")] + [DataMember(Name = "Headshots", Order = 9)] + public decimal? Headshots { get; set; } + + /// + /// Average damage per round + /// + [Description("Average damage per round")] + [DataMember(Name = "AverageDamagePerRound", Order = 10)] + public decimal? AverageDamagePerRound { get; set; } + + /// + /// Percentage of rounds in which the player either had a kill, assist, survived or was traded + /// + [Description("Percentage of rounds in which the player either had a kill, assist, survived or was traded")] + [DataMember(Name = "Kast", Order = 11)] + public decimal? Kast { get; set; } + + /// + /// A rating of the player's total effectiveness, based on Rating 2.0 (https://www.hltv.org/news/20695/introducing-rating-20) + /// + [Description("A rating of the player's total effectiveness, based on Rating 2.0 (https://www.hltv.org/news/20695/introducing-rating-20)")] + [DataMember(Name = "Rating", Order = 12)] + public decimal? Rating { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Team.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Team.cs new file mode 100644 index 0000000..7f28de1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Team.cs @@ -0,0 +1,153 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamId", Order = 1)] + public int TeamId { get; set; } + + /// + /// The unique ID of the team's area + /// + [Description("The unique ID of the team's area")] + [DataMember(Name = "AreaId", Order = 2)] + public int? AreaId { get; set; } + + /// + /// The area name of the team + /// + [Description("The area name of the team")] + [DataMember(Name = "AreaName", Order = 3)] + public string AreaName { get; set; } + + /// + /// Abbreviation of the team + /// + [Description("Abbreviation of the team")] + [DataMember(Name = "Key", Order = 4)] + public string Key { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The short name of the team + /// + [Description("The short name of the team")] + [DataMember(Name = "ShortName", Order = 6)] + public string ShortName { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 7)] + public bool Active { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 8)] + public string Gender { get; set; } + + /// + /// The type of this team (possible values: Club, National) + /// + [Description("The type of this team (possible values: Club, National)")] + [DataMember(Name = "Type", Order = 9)] + public string Type { get; set; } + + /// + /// The URL of the website of this team + /// + [Description("The URL of the website of this team")] + [DataMember(Name = "Website", Order = 10)] + public string Website { get; set; } + + /// + /// The email address of this team + /// + [Description("The email address of this team")] + [DataMember(Name = "Email", Order = 11)] + public string Email { get; set; } + + /// + /// The year the team was founded + /// + [Description("The year the team was founded")] + [DataMember(Name = "Founded", Order = 12)] + public int? Founded { get; set; } + + /// + /// The primary color of this team's logo/branding + /// + [Description("The primary color of this team's logo/branding")] + [DataMember(Name = "PrimaryColor", Order = 13)] + public string PrimaryColor { get; set; } + + /// + /// The secondary color of this team's logo/branding + /// + [Description("The secondary color of this team's logo/branding")] + [DataMember(Name = "SecondaryColor", Order = 14)] + public string SecondaryColor { get; set; } + + /// + /// The tertiary color of this team's logo/branding + /// + [Description("The tertiary color of this team's logo/branding")] + [DataMember(Name = "TertiaryColor", Order = 15)] + public string TertiaryColor { get; set; } + + /// + /// The quaternary color of this team's logo/branding + /// + [Description("The quaternary color of this team's logo/branding")] + [DataMember(Name = "QuaternaryColor", Order = 16)] + public string QuaternaryColor { get; set; } + + /// + /// The URL of this team's Facebook page + /// + [Description("The URL of this team's Facebook page")] + [DataMember(Name = "Facebook", Order = 17)] + public string Facebook { get; set; } + + /// + /// The URL of this team's Twitter page + /// + [Description("The URL of this team's Twitter page")] + [DataMember(Name = "Twitter", Order = 18)] + public string Twitter { get; set; } + + /// + /// The URL of this team's YouTube page + /// + [Description("The URL of this team's YouTube page")] + [DataMember(Name = "YouTube", Order = 19)] + public string YouTube { get; set; } + + /// + /// The URL of this team's Instagram page + /// + [Description("The URL of this team's Instagram page")] + [DataMember(Name = "Instagram", Order = 20)] + public string Instagram { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/TeamDetail.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/TeamDetail.cs new file mode 100644 index 0000000..6f2bbd5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/TeamDetail.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="TeamDetail")] + [Serializable] + public partial class TeamDetail + { + /// + /// The players who are current on this team's active roster/squad + /// + [Description("The players who are current on this team's active roster/squad")] + [DataMember(Name = "Players", Order = 20001)] + public Player[] Players { get; set; } + + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamId", Order = 2)] + public int TeamId { get; set; } + + /// + /// The unique ID of the team's area + /// + [Description("The unique ID of the team's area")] + [DataMember(Name = "AreaId", Order = 3)] + public int? AreaId { get; set; } + + /// + /// The area name of the team + /// + [Description("The area name of the team")] + [DataMember(Name = "AreaName", Order = 4)] + public string AreaName { get; set; } + + /// + /// Abbreviation of the team + /// + [Description("Abbreviation of the team")] + [DataMember(Name = "Key", Order = 5)] + public string Key { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The short name of the team + /// + [Description("The short name of the team")] + [DataMember(Name = "ShortName", Order = 7)] + public string ShortName { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 8)] + public bool Active { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 9)] + public string Gender { get; set; } + + /// + /// The type of this team (possible values: Club, National) + /// + [Description("The type of this team (possible values: Club, National)")] + [DataMember(Name = "Type", Order = 10)] + public string Type { get; set; } + + /// + /// The URL of the website of this team + /// + [Description("The URL of the website of this team")] + [DataMember(Name = "Website", Order = 11)] + public string Website { get; set; } + + /// + /// The email address of this team + /// + [Description("The email address of this team")] + [DataMember(Name = "Email", Order = 12)] + public string Email { get; set; } + + /// + /// The year the team was founded + /// + [Description("The year the team was founded")] + [DataMember(Name = "Founded", Order = 13)] + public int? Founded { get; set; } + + /// + /// The primary color of this team's logo/branding + /// + [Description("The primary color of this team's logo/branding")] + [DataMember(Name = "PrimaryColor", Order = 14)] + public string PrimaryColor { get; set; } + + /// + /// The secondary color of this team's logo/branding + /// + [Description("The secondary color of this team's logo/branding")] + [DataMember(Name = "SecondaryColor", Order = 15)] + public string SecondaryColor { get; set; } + + /// + /// The tertiary color of this team's logo/branding + /// + [Description("The tertiary color of this team's logo/branding")] + [DataMember(Name = "TertiaryColor", Order = 16)] + public string TertiaryColor { get; set; } + + /// + /// The quaternary color of this team's logo/branding + /// + [Description("The quaternary color of this team's logo/branding")] + [DataMember(Name = "QuaternaryColor", Order = 17)] + public string QuaternaryColor { get; set; } + + /// + /// The URL of this team's Facebook page + /// + [Description("The URL of this team's Facebook page")] + [DataMember(Name = "Facebook", Order = 18)] + public string Facebook { get; set; } + + /// + /// The URL of this team's Twitter page + /// + [Description("The URL of this team's Twitter page")] + [DataMember(Name = "Twitter", Order = 19)] + public string Twitter { get; set; } + + /// + /// The URL of this team's YouTube page + /// + [Description("The URL of this team's YouTube page")] + [DataMember(Name = "YouTube", Order = 20)] + public string YouTube { get; set; } + + /// + /// The URL of this team's Instagram page + /// + [Description("The URL of this team's Instagram page")] + [DataMember(Name = "Instagram", Order = 21)] + public string Instagram { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Csgo/Venue.cs b/FantasyData.Api.Client.NetCore/Model/Csgo/Venue.cs new file mode 100644 index 0000000..f0b9f5c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Csgo/Venue.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Csgo +{ + [DataContract(Namespace="", Name="Venue")] + [Serializable] + public partial class Venue + { + /// + /// The unique ID of the venue + /// + [Description("The unique ID of the venue")] + [DataMember(Name = "VenueId", Order = 1)] + public int VenueId { get; set; } + + /// + /// The full name of the venue + /// + [Description("The full name of the venue")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The address where the venue is located + /// + [Description("The address where the venue is located")] + [DataMember(Name = "Address", Order = 3)] + public string Address { get; set; } + + /// + /// The city where the venue is located + /// + [Description("The city where the venue is located")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The zip code of the venue + /// + [Description("The zip code of the venue")] + [DataMember(Name = "Zip", Order = 5)] + public string Zip { get; set; } + + /// + /// The 2-digit country code where the venue is located + /// + [Description("The 2-digit country code where the venue is located")] + [DataMember(Name = "Country", Order = 6)] + public string Country { get; set; } + + /// + /// Indicates whether this venue is actively used + /// + [Description("Indicates whether this venue is actively used")] + [DataMember(Name = "Open", Order = 7)] + public bool Open { get; set; } + + /// + /// The year the venue opened + /// + [Description("The year the venue opened")] + [DataMember(Name = "Opened", Order = 8)] + public int? Opened { get; set; } + + /// + /// A nickname for this venue + /// + [Description("A nickname for this venue")] + [DataMember(Name = "Nickname1", Order = 9)] + public string Nickname1 { get; set; } + + /// + /// A nickname for this venue + /// + [Description("A nickname for this venue")] + [DataMember(Name = "Nickname2", Order = 10)] + public string Nickname2 { get; set; } + + /// + /// The estimated seating capacity of the venue + /// + [Description("The estimated seating capacity of the venue")] + [DataMember(Name = "Capacity", Order = 11)] + public int? Capacity { get; set; } + + /// + /// The geographic latitude coordinate of this venue. + /// + [Description("The geographic latitude coordinate of this venue.")] + [DataMember(Name = "GeoLat", Order = 12)] + public decimal? GeoLat { get; set; } + + /// + /// The geographic longitude coordinate of this venue. + /// + [Description("The geographic longitude coordinate of this venue.")] + [DataMember(Name = "GeoLong", Order = 13)] + public decimal? GeoLong { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/DfsSlate.cs b/FantasyData.Api.Client.NetCore/Model/Golf/DfsSlate.cs new file mode 100644 index 0000000..aa349e5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/DfsSlate.cs @@ -0,0 +1,111 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="DfsSlate")] + [Serializable] + public partial class DfsSlate + { + /// + /// Unique ID of a Slate (assigned by FantasyData). + /// + [Description("Unique ID of a Slate (assigned by FantasyData).")] + [DataMember(Name = "SlateID", Order = 1)] + public int SlateID { get; set; } + + /// + /// The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc. + /// + [Description("The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc.")] + [DataMember(Name = "Operator", Order = 2)] + public string Operator { get; set; } + + /// + /// Unique ID of a slate (assigned by the operator). + /// + [Description("Unique ID of a slate (assigned by the operator).")] + [DataMember(Name = "OperatorSlateID", Order = 3)] + public int? OperatorSlateID { get; set; } + + /// + /// The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc. + /// + [Description("The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc.")] + [DataMember(Name = "OperatorName", Order = 4)] + public string OperatorName { get; set; } + + /// + /// The day (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The day (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorDay", Order = 5)] + public DateTime? OperatorDay { get; set; } + + /// + /// The date/time (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The date/time (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorStartTime", Order = 6)] + public DateTime? OperatorStartTime { get; set; } + + /// + /// The number of actual tournaments that this slate covers. + /// + [Description("The number of actual tournaments that this slate covers.")] + [DataMember(Name = "NumberOfTournaments", Order = 7)] + public int? NumberOfTournaments { get; set; } + + /// + /// Whether this slate uses tournaments that take place on different days. + /// + [Description("Whether this slate uses tournaments that take place on different days.")] + [DataMember(Name = "IsMultiDaySlate", Order = 8)] + public bool? IsMultiDaySlate { get; set; } + + /// + /// Indicates whether this slate was removed/deleted by the operator. + /// + [Description("Indicates whether this slate was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 9)] + public bool? RemovedByOperator { get; set; } + + /// + /// The game type of the slate. Will often be null as most operators only have one game type. + /// + [Description("The game type of the slate. Will often be null as most operators only have one game type.")] + [DataMember(Name = "OperatorGameType", Order = 10)] + public string OperatorGameType { get; set; } + + /// + /// The tournament(s) that are included in this slate + /// + [Description("The tournament(s) that are included in this slate")] + [DataMember(Name = "DfsSlateTournaments", Order = 20011)] + public DfsSlateTournament[] DfsSlateTournaments { get; set; } + + /// + /// The players that are included in this slate + /// + [Description("The players that are included in this slate")] + [DataMember(Name = "DfsSlatePlayers", Order = 20012)] + public DfsSlatePlayer[] DfsSlatePlayers { get; set; } + + /// + /// The positions that need to be filled for this particular slate + /// + [Description("The positions that need to be filled for this particular slate")] + [DataMember(Name = "SlateRosterSlots", Order = 10013)] + public string[] SlateRosterSlots { get; set; } + + /// + /// The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes) + /// + [Description("The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes)")] + [DataMember(Name = "SalaryCap", Order = 14)] + public int? SalaryCap { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/DfsSlatePlayer.cs b/FantasyData.Api.Client.NetCore/Model/Golf/DfsSlatePlayer.cs new file mode 100644 index 0000000..f666feb --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/DfsSlatePlayer.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="DfsSlatePlayer")] + [Serializable] + public partial class DfsSlatePlayer + { + /// + /// Unique ID of a SlatePlayer (assigned by FantasyData). + /// + [Description("Unique ID of a SlatePlayer (assigned by FantasyData).")] + [DataMember(Name = "SlatePlayerID", Order = 1)] + public int SlatePlayerID { get; set; } + + /// + /// The SlateID that this SlatePlayer refers to. + /// + [Description("The SlateID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The SlateTournamentID that this SlatePlayer refers to. + /// + [Description("The SlateTournamentID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateTournamentID", Order = 3)] + public int? SlateTournamentID { get; set; } + + /// + /// The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds. + /// + [Description("The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds.")] + [DataMember(Name = "PlayerID", Order = 4)] + public int? PlayerID { get; set; } + + /// + /// The FantasyData PlayerTournamentProjectionID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds. + /// + [Description("The FantasyData PlayerTournamentProjectionID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds.")] + [DataMember(Name = "PlayerTournamentProjectionID", Order = 5)] + public int? PlayerTournamentProjectionID { get; set; } + + /// + /// Unique ID of the Player (assigned by the operator). + /// + [Description("Unique ID of the Player (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerID", Order = 6)] + public string OperatorPlayerID { get; set; } + + /// + /// Unique ID of the SlatePlayer (assigned by the operator). + /// + [Description("Unique ID of the SlatePlayer (assigned by the operator).")] + [DataMember(Name = "OperatorSlatePlayerID", Order = 7)] + public string OperatorSlatePlayerID { get; set; } + + /// + /// The player's name (assigned by the operator). + /// + [Description("The player's name (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerName", Order = 8)] + public string OperatorPlayerName { get; set; } + + /// + /// The player's eligible positions for the contest (assigned by the operator). + /// + [Description("The player's eligible positions for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorPosition", Order = 9)] + public string OperatorPosition { get; set; } + + /// + /// The player's salary for the contest (assigned by the operator). + /// + [Description("The player's salary for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorSalary", Order = 10)] + public int? OperatorSalary { get; set; } + + /// + /// The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible. + /// + [Description("The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible.")] + [DataMember(Name = "OperatorRosterSlots", Order = 10011)] + public string[] OperatorRosterSlots { get; set; } + + /// + /// Indicates whether this player was removed/deleted by the operator. + /// + [Description("Indicates whether this player was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 12)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/DfsSlateTournament.cs b/FantasyData.Api.Client.NetCore/Model/Golf/DfsSlateTournament.cs new file mode 100644 index 0000000..0a263d3 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/DfsSlateTournament.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="DfsSlateTournament")] + [Serializable] + public partial class DfsSlateTournament + { + /// + /// Unique ID of a SlateTournament (assigned by FantasyData). + /// + [Description("Unique ID of a SlateTournament (assigned by FantasyData).")] + [DataMember(Name = "SlateTournamentID", Order = 1)] + public int SlateTournamentID { get; set; } + + /// + /// The SlateID that this SlateTournament refers to. + /// + [Description("The SlateID that this SlateTournament refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The FantasyData TournamentID that this SlateTournament refers to. This points to data in the respective sports' schedule/game/box score feeds. + /// + [Description("The FantasyData TournamentID that this SlateTournament refers to. This points to data in the respective sports' schedule/game/box score feeds.")] + [DataMember(Name = "TournamentID", Order = 3)] + public int? TournamentID { get; set; } + + /// + /// The details of the Tournament that this SlateTournament refers to. + /// + [Description("The details of the Tournament that this SlateTournament refers to.")] + [DataMember(Name = "Tournament", Order = 10004)] + public Tournament Tournament { get; set; } + + /// + /// Unique ID of a SlateTournament (assigned by the operator). + /// + [Description("Unique ID of a SlateTournament (assigned by the operator).")] + [DataMember(Name = "OperatorTournamentID", Order = 5)] + public int? OperatorTournamentID { get; set; } + + /// + /// Indicates whether this tournament was removed/deleted by the operator. + /// + [Description("Indicates whether this tournament was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 6)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/Headshot.cs b/FantasyData.Api.Client.NetCore/Model/Golf/Headshot.cs new file mode 100644 index 0000000..605f7d5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/Headshot.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="Headshot")] + [Serializable] + public partial class Headshot + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Name of Player. + /// + [Description("Name of Player.")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available. + /// + [Description("The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available.")] + [DataMember(Name = "PreferredHostedHeadshotUrl", Order = 3)] + public string PreferredHostedHeadshotUrl { get; set; } + + /// + /// The last updated date of the player's preferred hosted headshot. + /// + [Description("The last updated date of the player's preferred hosted headshot.")] + [DataMember(Name = "PreferredHostedHeadshotUpdated", Order = 4)] + public DateTime? PreferredHostedHeadshotUpdated { get; set; } + + /// + /// The player's hosted headshot URL. + /// + [Description("The player's hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUrl", Order = 5)] + public string HostedHeadshotWithBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's hosted headshot. + /// + [Description("The last updated date of the player's hosted headshot.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUpdated", Order = 6)] + public DateTime? HostedHeadshotWithBackgroundUpdated { get; set; } + + /// + /// The player's transparent background hosted headshot URL. + /// + [Description("The player's transparent background hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUrl", Order = 7)] + public string HostedHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's transparent background hosted headshot. + /// + [Description("The last updated date of the player's transparent background hosted headshot.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUpdated", Order = 8)] + public DateTime? HostedHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/Injury.cs b/FantasyData.Api.Client.NetCore/Model/Golf/Injury.cs new file mode 100644 index 0000000..8886e97 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/Injury.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="Injury")] + [Serializable] + public partial class Injury + { + /// + /// Unique ID of the injury status + /// + [Description("Unique ID of the injury status")] + [DataMember(Name = "InjuryID", Order = 1)] + public int InjuryID { get; set; } + + /// + /// The PlayerID of the injured player + /// + [Description("The PlayerID of the injured player")] + [DataMember(Name = "PlayerID", Order = 2)] + public int PlayerID { get; set; } + + /// + /// The full name of the injured player + /// + [Description("The full name of the injured player")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// Whether or not the player is active (true/false) + /// + [Description("Whether or not the player is active (true/false)")] + [DataMember(Name = "Active", Order = 4)] + public bool Active { get; set; } + + /// + /// Indicates the start date of the player's injury + /// + [Description("Indicates the start date of the player's injury")] + [DataMember(Name = "StartDate", Order = 5)] + public DateTime? StartDate { get; set; } + + /// + /// Likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("Likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "Status", Order = 6)] + public string Status { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "BodyPart", Order = 7)] + public string BodyPart { get; set; } + + /// + /// When the player is expected to return + /// + [Description("When the player is expected to return")] + [DataMember(Name = "ExpectedReturn", Order = 8)] + public string ExpectedReturn { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/Leaderboard.cs b/FantasyData.Api.Client.NetCore/Model/Golf/Leaderboard.cs new file mode 100644 index 0000000..d288dc3 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/Leaderboard.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="Leaderboard")] + [Serializable] + public partial class Leaderboard + { + /// + /// The details of the tournament for this leaderboard + /// + [Description("The details of the tournament for this leaderboard")] + [DataMember(Name = "Tournament", Order = 10001)] + public Tournament Tournament { get; set; } + + /// + /// The details of the players who competed in this tournament + /// + [Description("The details of the players who competed in this tournament")] + [DataMember(Name = "Players", Order = 20002)] + public PlayerTournament[] Players { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/News.cs b/FantasyData.Api.Client.NetCore/Model/Golf/News.cs new file mode 100644 index 0000000..ad1b677 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/News.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="News")] + [Serializable] + public partial class News + { + /// + /// Unique ID of news story + /// + [Description("Unique ID of news story")] + [DataMember(Name = "NewsID", Order = 1)] + public int NewsID { get; set; } + + /// + /// The PlayerID of the player who relates to this story + /// + [Description("The PlayerID of the player who relates to this story")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// The brief title of the news (typically less than 100 characters) + /// + [Description("The brief title of the news (typically less than 100 characters)")] + [DataMember(Name = "Title", Order = 3)] + public string Title { get; set; } + + /// + /// The full body content of the story + /// + [Description("The full body content of the story")] + [DataMember(Name = "Content", Order = 4)] + public string Content { get; set; } + + /// + /// The url of the full story + /// + [Description("The url of the full story")] + [DataMember(Name = "Url", Order = 5)] + public string Url { get; set; } + + /// + /// The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.) + /// + [Description("The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.)")] + [DataMember(Name = "Source", Order = 6)] + public string Source { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 7)] + public string TermsOfUse { get; set; } + + /// + /// The date/time that the content was published + /// + [Description("The date/time that the content was published")] + [DataMember(Name = "Updated", Order = 8)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/Player.cs b/FantasyData.Api.Client.NetCore/Model/Golf/Player.cs new file mode 100644 index 0000000..dafea07 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/Player.cs @@ -0,0 +1,181 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// The unique ID of this golfer + /// + [Description("The unique ID of this golfer")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The first name of this golfer + /// + [Description("The first name of this golfer")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The last name of this golfer + /// + [Description("The last name of this golfer")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// The golfer's weight (in pounds) + /// + [Description("The golfer's weight (in pounds)")] + [DataMember(Name = "Weight", Order = 4)] + public int? Weight { get; set; } + + /// + /// Indicates whether this golfer is right-handed or left-handed (Possible values: R, L) + /// + [Description("Indicates whether this golfer is right-handed or left-handed (Possible values: R, L)")] + [DataMember(Name = "Swings", Order = 5)] + public string Swings { get; set; } + + /// + /// The year that this golfer made his PGA debut + /// + [Description("The year that this golfer made his PGA debut")] + [DataMember(Name = "PgaDebut", Order = 6)] + public int? PgaDebut { get; set; } + + /// + /// The country where this golfer is from + /// + [Description("The country where this golfer is from")] + [DataMember(Name = "Country", Order = 7)] + public string Country { get; set; } + + /// + /// The birthday of this golfer + /// + [Description("The birthday of this golfer")] + [DataMember(Name = "BirthDate", Order = 8)] + public DateTime? BirthDate { get; set; } + + /// + /// The city where this golfer was born + /// + [Description("The city where this golfer was born")] + [DataMember(Name = "BirthCity", Order = 9)] + public string BirthCity { get; set; } + + /// + /// The state where this golfer was born + /// + [Description("The state where this golfer was born")] + [DataMember(Name = "BirthState", Order = 10)] + public string BirthState { get; set; } + + /// + /// The college that this golfer attended + /// + [Description("The college that this golfer attended")] + [DataMember(Name = "College", Order = 11)] + public string College { get; set; } + + /// + /// The URL of this golfer's headshot photo + /// + [Description("The URL of this golfer's headshot photo")] + [DataMember(Name = "PhotoUrl", Order = 12)] + public string PhotoUrl { get; set; } + + /// + /// The unique ID of this golfer in the SportRadar API + /// + [Description("The unique ID of this golfer in the SportRadar API")] + [DataMember(Name = "SportRadarPlayerID", Order = 13)] + public string SportRadarPlayerID { get; set; } + + /// + /// The unique ID of this golfer on PGATour.com + /// + [Description("The unique ID of this golfer on PGATour.com")] + [DataMember(Name = "PgaTourPlayerID", Order = 14)] + public int? PgaTourPlayerID { get; set; } + + /// + /// The unique ID of this golfer on Rotoworld + /// + [Description("The unique ID of this golfer on Rotoworld")] + [DataMember(Name = "RotoworldPlayerID", Order = 15)] + public int? RotoworldPlayerID { get; set; } + + /// + /// The unique ID of this golfer on RotoWire + /// + [Description("The unique ID of this golfer on RotoWire")] + [DataMember(Name = "RotoWirePlayerID", Order = 16)] + public int? RotoWirePlayerID { get; set; } + + /// + /// The unique ID of this golfer on FantasyAlarm + /// + [Description("The unique ID of this golfer on FantasyAlarm")] + [DataMember(Name = "FantasyAlarmPlayerID", Order = 17)] + public int? FantasyAlarmPlayerID { get; set; } + + /// + /// The name of this golfer on DraftKings + /// + [Description("The name of this golfer on DraftKings")] + [DataMember(Name = "DraftKingsName", Order = 18)] + public string DraftKingsName { get; set; } + + /// + /// The name of this golfer on FantasyDraft + /// + [Description("The name of this golfer on FantasyDraft")] + [DataMember(Name = "FantasyDraftName", Order = 19)] + public string FantasyDraftName { get; set; } + + /// + /// The name of this golfer on FanDuel + /// + [Description("The name of this golfer on FanDuel")] + [DataMember(Name = "FanDuelName", Order = 20)] + public string FanDuelName { get; set; } + + /// + /// The unique ID of this golfer on FantasyDraft + /// + [Description("The unique ID of this golfer on FantasyDraft")] + [DataMember(Name = "FantasyDraftPlayerID", Order = 21)] + public int? FantasyDraftPlayerID { get; set; } + + /// + /// The unique ID of this golfer on DraftKings + /// + [Description("The unique ID of this golfer on DraftKings")] + [DataMember(Name = "DraftKingsPlayerID", Order = 22)] + public int? DraftKingsPlayerID { get; set; } + + /// + /// The unique ID of this golfer on FanDuel + /// + [Description("The unique ID of this golfer on FanDuel")] + [DataMember(Name = "FanDuelPlayerID", Order = 23)] + public int? FanDuelPlayerID { get; set; } + + /// + /// The unique ID of this golfer on Yahoo + /// + [Description("The unique ID of this golfer on Yahoo")] + [DataMember(Name = "YahooPlayerID", Order = 24)] + public int? YahooPlayerID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/PlayerHole.cs b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerHole.cs new file mode 100644 index 0000000..d5a0684 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerHole.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="PlayerHole")] + [Serializable] + public partial class PlayerHole + { + /// + /// The unique ID of this player/round combination + /// + [Description("The unique ID of this player/round combination")] + [DataMember(Name = "PlayerRoundID", Order = 1)] + public int PlayerRoundID { get; set; } + + /// + /// The hole number on this round + /// + [Description("The hole number on this round")] + [DataMember(Name = "Number", Order = 2)] + public int? Number { get; set; } + + /// + /// The par of this hole + /// + [Description("The par of this hole")] + [DataMember(Name = "Par", Order = 3)] + public int? Par { get; set; } + + /// + /// The player's score on this hole (total strokes) + /// + [Description("The player's score on this hole (total strokes)")] + [DataMember(Name = "Score", Order = 4)] + public int? Score { get; set; } + + /// + /// The player's score on this hole (+/- par) + /// + [Description("The player's score on this hole (+/- par)")] + [DataMember(Name = "ToPar", Order = 5)] + public int? ToPar { get; set; } + + /// + /// Indicates whether this player shot a hole-in-one on this hole + /// + [Description("Indicates whether this player shot a hole-in-one on this hole")] + [DataMember(Name = "HoleInOne", Order = 6)] + public bool HoleInOne { get; set; } + + /// + /// Indicates whether this player shot a double eagle on this hole + /// + [Description("Indicates whether this player shot a double eagle on this hole")] + [DataMember(Name = "DoubleEagle", Order = 7)] + public bool DoubleEagle { get; set; } + + /// + /// Indicates whether this player shot an eagle on this hole + /// + [Description("Indicates whether this player shot an eagle on this hole")] + [DataMember(Name = "Eagle", Order = 8)] + public bool Eagle { get; set; } + + /// + /// Indicates whether this player shot a birdie on this hole + /// + [Description("Indicates whether this player shot a birdie on this hole")] + [DataMember(Name = "Birdie", Order = 9)] + public bool Birdie { get; set; } + + /// + /// Indicates whether this player shot par on this hole + /// + [Description("Indicates whether this player shot par on this hole")] + [DataMember(Name = "IsPar", Order = 10)] + public bool IsPar { get; set; } + + /// + /// Indicates whether this player shot a bogey on this hole + /// + [Description("Indicates whether this player shot a bogey on this hole")] + [DataMember(Name = "Bogey", Order = 11)] + public bool Bogey { get; set; } + + /// + /// Indicates whether this player shot a double bogey on this hole + /// + [Description("Indicates whether this player shot a double bogey on this hole")] + [DataMember(Name = "DoubleBogey", Order = 12)] + public bool DoubleBogey { get; set; } + + /// + /// Indicates whether this player shot worse than a double bogey on this hole + /// + [Description("Indicates whether this player shot worse than a double bogey on this hole")] + [DataMember(Name = "WorseThanDoubleBogey", Order = 13)] + public bool WorseThanDoubleBogey { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/PlayerRound.cs b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerRound.cs new file mode 100644 index 0000000..2e1d6a1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerRound.cs @@ -0,0 +1,195 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="PlayerRound")] + [Serializable] + public partial class PlayerRound + { + /// + /// The unique ID of this player/round combination + /// + [Description("The unique ID of this player/round combination")] + [DataMember(Name = "PlayerRoundID", Order = 1)] + public int PlayerRoundID { get; set; } + + /// + /// The unique ID of this player/tournament combination + /// + [Description("The unique ID of this player/tournament combination")] + [DataMember(Name = "PlayerTournamentID", Order = 2)] + public int PlayerTournamentID { get; set; } + + /// + /// The round number of this round + /// + [Description("The round number of this round")] + [DataMember(Name = "Number", Order = 3)] + public int? Number { get; set; } + + /// + /// The day that this round is played on + /// + [Description("The day that this round is played on")] + [DataMember(Name = "Day", Order = 4)] + public DateTime Day { get; set; } + + /// + /// The par of the course this round is played on + /// + [Description("The par of the course this round is played on")] + [DataMember(Name = "Par", Order = 5)] + public int? Par { get; set; } + + /// + /// The player's score (+/- par) on this round + /// + [Description("The player's score (+/- par) on this round")] + [DataMember(Name = "Score", Order = 6)] + public int? Score { get; set; } + + /// + /// Indicates whether the player shot bogey-free during this round + /// + [Description("Indicates whether the player shot bogey-free during this round")] + [DataMember(Name = "BogeyFree", Order = 7)] + public bool BogeyFree { get; set; } + + /// + /// Indicates whether the player got a streak of three birdies (or better) on this round + /// + [Description("Indicates whether the player got a streak of three birdies (or better) on this round")] + [DataMember(Name = "IncludesStreakOfThreeBirdiesOrBetter", Order = 8)] + public bool IncludesStreakOfThreeBirdiesOrBetter { get; set; } + + /// + /// Total number of double eagles shot by this player on this round + /// + [Description("Total number of double eagles shot by this player on this round")] + [DataMember(Name = "DoubleEagles", Order = 9)] + public int? DoubleEagles { get; set; } + + /// + /// Total number of eagles shot by this player on this round + /// + [Description("Total number of eagles shot by this player on this round")] + [DataMember(Name = "Eagles", Order = 10)] + public int? Eagles { get; set; } + + /// + /// Total number of birdies shot by this player on this round + /// + [Description("Total number of birdies shot by this player on this round")] + [DataMember(Name = "Birdies", Order = 11)] + public int? Birdies { get; set; } + + /// + /// Total number of pars shot by this player on this round + /// + [Description("Total number of pars shot by this player on this round")] + [DataMember(Name = "Pars", Order = 12)] + public int? Pars { get; set; } + + /// + /// Total number of bogeys shot by this player on this round + /// + [Description("Total number of bogeys shot by this player on this round")] + [DataMember(Name = "Bogeys", Order = 13)] + public int? Bogeys { get; set; } + + /// + /// Total number of double bogeys shot by this player on this round + /// + [Description("Total number of double bogeys shot by this player on this round")] + [DataMember(Name = "DoubleBogeys", Order = 14)] + public int? DoubleBogeys { get; set; } + + /// + /// Total number of worse than double bogeys shot by this player on this round + /// + [Description("Total number of worse than double bogeys shot by this player on this round")] + [DataMember(Name = "WorseThanDoubleBogey", Order = 15)] + public int? WorseThanDoubleBogey { get; set; } + + /// + /// Total number of holes in one shot by this player on this round + /// + [Description("Total number of holes in one shot by this player on this round")] + [DataMember(Name = "HoleInOnes", Order = 16)] + public int? HoleInOnes { get; set; } + + /// + /// Total number of triple bogeys shot by this player on this round + /// + [Description("Total number of triple bogeys shot by this player on this round")] + [DataMember(Name = "TripleBogeys", Order = 17)] + public int? TripleBogeys { get; set; } + + /// + /// Total number of worse than triple bogeys shot by this player on this round + /// + [Description("Total number of worse than triple bogeys shot by this player on this round")] + [DataMember(Name = "WorseThanTripleBogey", Order = 18)] + public int? WorseThanTripleBogey { get; set; } + + /// + /// The hole-by-hole results of this player on this round + /// + [Description("The hole-by-hole results of this player on this round")] + [DataMember(Name = "Holes", Order = 20019)] + public PlayerHole[] Holes { get; set; } + + /// + /// The longest streak of birdies (or better) + /// + [Description("The longest streak of birdies (or better)")] + [DataMember(Name = "LongestBirdieOrBetterStreak", Order = 20)] + public decimal? LongestBirdieOrBetterStreak { get; set; } + + /// + /// The longest streak of consecutive birdies (or better) + /// + [Description("The longest streak of consecutive birdies (or better)")] + [DataMember(Name = "ConsecutiveBirdieOrBetterCount", Order = 21)] + public decimal? ConsecutiveBirdieOrBetterCount { get; set; } + + /// + /// The total bouncebacks this player had on this round + /// + [Description("The total bouncebacks this player had on this round")] + [DataMember(Name = "BounceBackCount", Order = 22)] + public decimal? BounceBackCount { get; set; } + + /// + /// Indicates whether the player shot a streak of four birdies or better on this round + /// + [Description("Indicates whether the player shot a streak of four birdies or better on this round")] + [DataMember(Name = "IncludesStreakOfFourBirdiesOrBetter", Order = 23)] + public bool IncludesStreakOfFourBirdiesOrBetter { get; set; } + + /// + /// Indicates whether the player shot a streak of five birdies or better on this round + /// + [Description("Indicates whether the player shot a streak of five birdies or better on this round")] + [DataMember(Name = "IncludesStreakOfFiveBirdiesOrBetter", Order = 24)] + public bool IncludesStreakOfFiveBirdiesOrBetter { get; set; } + + /// + /// Indicates whether the player shot a streak of five (or more) birdies or better on this round + /// + [Description("Indicates whether the player shot a streak of five (or more) birdies or better on this round")] + [DataMember(Name = "IncludesFiveOrMoreBirdiesOrBetter", Order = 25)] + public bool IncludesFiveOrMoreBirdiesOrBetter { get; set; } + + /// + /// Indicates whether the player shot a six of five birdies or better on this round + /// + [Description("Indicates whether the player shot a six of five birdies or better on this round")] + [DataMember(Name = "IncludesStreakOfSixBirdiesOrBetter", Order = 26)] + public bool IncludesStreakOfSixBirdiesOrBetter { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/PlayerSeason.cs b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerSeason.cs new file mode 100644 index 0000000..1321fbe --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerSeason.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="PlayerSeason")] + [Serializable] + public partial class PlayerSeason + { + /// + /// The unique ID of the player season record + /// + [Description("The unique ID of the player season record")] + [DataMember(Name = "PlayerSeasonID", Order = 1)] + public int PlayerSeasonID { get; set; } + + /// + /// The PGA season for which this record applies + /// + [Description("The PGA season for which this record applies")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int PlayerID { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The player's latest world golf ranking + /// + [Description("The player's latest world golf ranking")] + [DataMember(Name = "WorldGolfRank", Order = 5)] + public int? WorldGolfRank { get; set; } + + /// + /// The player's world golf ranking from the previous week + /// + [Description("The player's world golf ranking from the previous week")] + [DataMember(Name = "WorldGolfRankLastWeek", Order = 6)] + public int? WorldGolfRankLastWeek { get; set; } + + /// + /// The total number of tournaments this player competed in during this season + /// + [Description("The total number of tournaments this player competed in during this season")] + [DataMember(Name = "Events", Order = 7)] + public int? Events { get; set; } + + /// + /// Average points scored on tournaments during this season + /// + [Description("Average points scored on tournaments during this season")] + [DataMember(Name = "AveragePoints", Order = 8)] + public decimal? AveragePoints { get; set; } + + /// + /// Total points scored on tournaments during this season + /// + [Description("Total points scored on tournaments during this season")] + [DataMember(Name = "TotalPoints", Order = 9)] + public decimal? TotalPoints { get; set; } + + /// + /// Total points lost + /// + [Description("Total points lost")] + [DataMember(Name = "PointsLost", Order = 10)] + public decimal? PointsLost { get; set; } + + /// + /// Total points gained + /// + [Description("Total points gained")] + [DataMember(Name = "PointsGained", Order = 11)] + public decimal? PointsGained { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/PlayerTournament.cs b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerTournament.cs new file mode 100644 index 0000000..0e8a1e1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerTournament.cs @@ -0,0 +1,345 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="PlayerTournament")] + [Serializable] + public partial class PlayerTournament + { + /// + /// The unique ID of this player/tournament combination + /// + [Description("The unique ID of this player/tournament combination")] + [DataMember(Name = "PlayerTournamentID", Order = 1)] + public int PlayerTournamentID { get; set; } + + /// + /// The PlayerID of the golfer + /// + [Description("The PlayerID of the golfer")] + [DataMember(Name = "PlayerID", Order = 2)] + public int PlayerID { get; set; } + + /// + /// The TournamentID of the tournament + /// + [Description("The TournamentID of the tournament")] + [DataMember(Name = "TournamentID", Order = 3)] + public int TournamentID { get; set; } + + /// + /// The name of the golfer + /// + [Description("The name of the golfer")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The rank of this golfer in the tournament + /// + [Description("The rank of this golfer in the tournament")] + [DataMember(Name = "Rank", Order = 5)] + public int? Rank { get; set; } + + /// + /// The country where this golfer is from + /// + [Description("The country where this golfer is from")] + [DataMember(Name = "Country", Order = 6)] + public string Country { get; set; } + + /// + /// The total score of the golfer for this tournament as compared to par + /// + [Description("The total score of the golfer for this tournament as compared to par")] + [DataMember(Name = "TotalScore", Order = 7)] + public decimal? TotalScore { get; set; } + + /// + /// The total strokes this golfer has for this tournament + /// + [Description("The total strokes this golfer has for this tournament")] + [DataMember(Name = "TotalStrokes", Order = 8)] + public decimal? TotalStrokes { get; set; } + + /// + /// The current hole of this golfer for the current round + /// + [Description("The current hole of this golfer for the current round")] + [DataMember(Name = "TotalThrough", Order = 9)] + public int? TotalThrough { get; set; } + + /// + /// The money earned by this golfer for this tournament + /// + [Description("The money earned by this golfer for this tournament")] + [DataMember(Name = "Earnings", Order = 10)] + public decimal? Earnings { get; set; } + + /// + /// The FedEx points scored by this golfer + /// + [Description("The FedEx points scored by this golfer")] + [DataMember(Name = "FedExPoints", Order = 11)] + public int? FedExPoints { get; set; } + + /// + /// The fantasy points this golfer scored using the FantasyData scoring system + /// + [Description("The fantasy points this golfer scored using the FantasyData scoring system")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// The fantasy points this golfer scored using the DraftKings scoring system + /// + [Description("The fantasy points this golfer scored using the DraftKings scoring system")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 13)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The salary of this golfer on DraftKings + /// + [Description("The salary of this golfer on DraftKings")] + [DataMember(Name = "DraftKingsSalary", Order = 14)] + public int? DraftKingsSalary { get; set; } + + /// + /// Total double eagles this golfer scored for this tournament + /// + [Description("Total double eagles this golfer scored for this tournament")] + [DataMember(Name = "DoubleEagles", Order = 15)] + public decimal? DoubleEagles { get; set; } + + /// + /// Total eagles this golfer scored for this tournament + /// + [Description("Total eagles this golfer scored for this tournament")] + [DataMember(Name = "Eagles", Order = 16)] + public decimal? Eagles { get; set; } + + /// + /// Total birdies this golfer scored for this tournament + /// + [Description("Total birdies this golfer scored for this tournament")] + [DataMember(Name = "Birdies", Order = 17)] + public decimal? Birdies { get; set; } + + /// + /// Total pars this golfer scored for this tournament + /// + [Description("Total pars this golfer scored for this tournament")] + [DataMember(Name = "Pars", Order = 18)] + public decimal? Pars { get; set; } + + /// + /// Total bogeys this golfer scored for this tournament + /// + [Description("Total bogeys this golfer scored for this tournament")] + [DataMember(Name = "Bogeys", Order = 19)] + public decimal? Bogeys { get; set; } + + /// + /// Total double bogeys this golfer scored for this tournament + /// + [Description("Total double bogeys this golfer scored for this tournament")] + [DataMember(Name = "DoubleBogeys", Order = 20)] + public decimal? DoubleBogeys { get; set; } + + /// + /// Total triple bogeys (or worse) this golfer scored for this tournament + /// + [Description("Total triple bogeys (or worse) this golfer scored for this tournament")] + [DataMember(Name = "WorseThanDoubleBogey", Order = 21)] + public decimal? WorseThanDoubleBogey { get; set; } + + /// + /// Total holes-in-one this golfer scored for this tournament + /// + [Description("Total holes-in-one this golfer scored for this tournament")] + [DataMember(Name = "HoleInOnes", Order = 22)] + public decimal? HoleInOnes { get; set; } + + /// + /// Total streaks of three birdies (or better) this golfer scored (maximum one per round) + /// + [Description("Total streaks of three birdies (or better) this golfer scored (maximum one per round)")] + [DataMember(Name = "StreaksOfThreeBirdiesOrBetter", Order = 23)] + public decimal? StreaksOfThreeBirdiesOrBetter { get; set; } + + /// + /// Total bogey-free rounds this golfer scored + /// + [Description("Total bogey-free rounds this golfer scored")] + [DataMember(Name = "BogeyFreeRounds", Order = 24)] + public decimal? BogeyFreeRounds { get; set; } + + /// + /// Total rounds this golfer finished scoring under 70 strokes + /// + [Description("Total rounds this golfer finished scoring under 70 strokes")] + [DataMember(Name = "RoundsUnderSeventy", Order = 25)] + public decimal? RoundsUnderSeventy { get; set; } + + /// + /// Total triple bogeys this golfer scored for this tournament + /// + [Description("Total triple bogeys this golfer scored for this tournament")] + [DataMember(Name = "TripleBogeys", Order = 26)] + public decimal? TripleBogeys { get; set; } + + /// + /// Total quadruple bogeys (or worse) this golfer scored for this tournament + /// + [Description("Total quadruple bogeys (or worse) this golfer scored for this tournament")] + [DataMember(Name = "WorseThanTripleBogey", Order = 27)] + public decimal? WorseThanTripleBogey { get; set; } + + /// + /// The time that this golfer tees off for the upcoming round + /// + [Description("The time that this golfer tees off for the upcoming round")] + [DataMember(Name = "TeeTime", Order = 28)] + public DateTime? TeeTime { get; set; } + + /// + /// Indicates whether this golfer made the cut (for tournament projections, this value will be a decimal between 0 and 1 of the likelihood that this golfer makes the cut) + /// + [Description("Indicates whether this golfer made the cut (for tournament projections, this value will be a decimal between 0 and 1 of the likelihood that this golfer makes the cut)")] + [DataMember(Name = "MadeCut", Order = 29)] + public decimal? MadeCut { get; set; } + + /// + /// Indicates whether this golfer won the tournament (for tournament projections, this value will be a decimal between 0 and 1 of the likelihood that the golfer wins the tournament) + /// + [Description("Indicates whether this golfer won the tournament (for tournament projections, this value will be a decimal between 0 and 1 of the likelihood that the golfer wins the tournament)")] + [DataMember(Name = "Win", Order = 30)] + public decimal? Win { get; set; } + + /// + /// Indicates whether a golfer is not playing in this tournament (if golfer is not playing, this will be Out) + /// + [Description("Indicates whether a golfer is not playing in this tournament (if golfer is not playing, this will be Out)")] + [DataMember(Name = "TournamentStatus", Order = 31)] + public string TournamentStatus { get; set; } + + [DataMember(Name = "IsAlternate", Order = 32)] + public bool? IsAlternate { get; set; } + + /// + /// The salary of this golfer on FanDuel + /// + [Description("The salary of this golfer on FanDuel")] + [DataMember(Name = "FanDuelSalary", Order = 33)] + public int? FanDuelSalary { get; set; } + + /// + /// The salary of this golfer on FantasyDraft + /// + [Description("The salary of this golfer on FantasyDraft")] + [DataMember(Name = "FantasyDraftSalary", Order = 34)] + public int? FantasyDraftSalary { get; set; } + + /// + /// Indicates whether this golfer made the cut, but did not finish the tournament + /// + [Description("Indicates whether this golfer made the cut, but did not finish the tournament")] + [DataMember(Name = "MadeCutDidNotFinish", Order = 35)] + public bool? MadeCutDidNotFinish { get; set; } + + /// + /// The details of the rounds this golfer played + /// + [Description("The details of the rounds this golfer played")] + [DataMember(Name = "Rounds", Order = 20036)] + public PlayerRound[] Rounds { get; set; } + + /// + /// Odds to win the tournament displayed as a decimal (assumed over 1, ex. 9/2 = 4.5). This is the payout from the sports book for each dollar wagered. + /// + [Description("Odds to win the tournament displayed as a decimal (assumed over 1, ex. 9/2 = 4.5). This is the payout from the sports book for each dollar wagered.")] + [DataMember(Name = "OddsToWin", Order = 37)] + public decimal? OddsToWin { get; set; } + + /// + /// Odds to win the tournament displayed as text (ex. 9/2). This is the payout from the sports book for each dollar wagered. + /// + [Description("Odds to win the tournament displayed as text (ex. 9/2). This is the payout from the sports book for each dollar wagered.")] + [DataMember(Name = "OddsToWinDescription", Order = 38)] + public string OddsToWinDescription { get; set; } + + /// + /// The fantasy points this golfer scored using the FanDuel scoring system + /// + [Description("The fantasy points this golfer scored using the FanDuel scoring system")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 39)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// The fantasy points this golfer scored using the FantasyDraft scoring system + /// + [Description("The fantasy points this golfer scored using the FantasyDraft scoring system")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 40)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Total streaks of four birdies (or better) this golfer scored (maximum one per round) + /// + [Description("Total streaks of four birdies (or better) this golfer scored (maximum one per round)")] + [DataMember(Name = "StreaksOfFourBirdiesOrBetter", Order = 41)] + public decimal? StreaksOfFourBirdiesOrBetter { get; set; } + + /// + /// Total streaks of five birdies (or better) this golfer scored (maximum one per round) + /// + [Description("Total streaks of five birdies (or better) this golfer scored (maximum one per round)")] + [DataMember(Name = "StreaksOfFiveBirdiesOrBetter", Order = 42)] + public decimal? StreaksOfFiveBirdiesOrBetter { get; set; } + + /// + /// The sum of all back to back birdies (or better) across all rounds + /// + [Description("The sum of all back to back birdies (or better) across all rounds")] + [DataMember(Name = "ConsecutiveBirdieOrBetterCount", Order = 43)] + public decimal? ConsecutiveBirdieOrBetterCount { get; set; } + + /// + /// The sum of all bounce back holes across all rounds. A bounce back hole is an under par hole following an over par hole + /// + [Description("The sum of all bounce back holes across all rounds. A bounce back hole is an under par hole following an over par hole")] + [DataMember(Name = "BounceBackCount", Order = 44)] + public decimal? BounceBackCount { get; set; } + + /// + /// Number of rounds that contained five or more birdies (or better) + /// + [Description("Number of rounds that contained five or more birdies (or better)")] + [DataMember(Name = "RoundsWithFiveOrMoreBirdiesOrBetter", Order = 45)] + public decimal? RoundsWithFiveOrMoreBirdiesOrBetter { get; set; } + + /// + /// Indicates whether the player has withdrawn from the tournament + /// + [Description("Indicates whether the player has withdrawn from the tournament")] + [DataMember(Name = "IsWithdrawn", Order = 46)] + public bool IsWithdrawn { get; set; } + + /// + /// The fantasy points this golfer scored using the Yahoo scoring system + /// + [Description("The fantasy points this golfer scored using the Yahoo scoring system")] + [DataMember(Name = "FantasyPointsYahoo", Order = 47)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total streaks of six birdies (or better) this golfer scored (maximum one per round) + /// + [Description("Total streaks of six birdies (or better) this golfer scored (maximum one per round)")] + [DataMember(Name = "StreaksOfSixBirdiesOrBetter", Order = 48)] + public decimal? StreaksOfSixBirdiesOrBetter { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/PlayerTournamentProjection.cs b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerTournamentProjection.cs new file mode 100644 index 0000000..dc904bb --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/PlayerTournamentProjection.cs @@ -0,0 +1,345 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="PlayerTournamentProjection")] + [Serializable] + public partial class PlayerTournamentProjection + { + /// + /// The unique ID of this player/tournament combination + /// + [Description("The unique ID of this player/tournament combination")] + [DataMember(Name = "PlayerTournamentID", Order = 1)] + public int PlayerTournamentID { get; set; } + + /// + /// The PlayerID of the golfer + /// + [Description("The PlayerID of the golfer")] + [DataMember(Name = "PlayerID", Order = 2)] + public int PlayerID { get; set; } + + /// + /// The TournamentID of the tournament + /// + [Description("The TournamentID of the tournament")] + [DataMember(Name = "TournamentID", Order = 3)] + public int TournamentID { get; set; } + + /// + /// The name of the golfer + /// + [Description("The name of the golfer")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The rank of this golfer in the tournament + /// + [Description("The rank of this golfer in the tournament")] + [DataMember(Name = "Rank", Order = 5)] + public int? Rank { get; set; } + + /// + /// The country where this golfer is from + /// + [Description("The country where this golfer is from")] + [DataMember(Name = "Country", Order = 6)] + public string Country { get; set; } + + /// + /// The total score of the golfer for this tournament as compared to par + /// + [Description("The total score of the golfer for this tournament as compared to par")] + [DataMember(Name = "TotalScore", Order = 7)] + public decimal? TotalScore { get; set; } + + /// + /// The total strokes this golfer has for this tournament + /// + [Description("The total strokes this golfer has for this tournament")] + [DataMember(Name = "TotalStrokes", Order = 8)] + public decimal? TotalStrokes { get; set; } + + /// + /// The current hole of this golfer for the current round + /// + [Description("The current hole of this golfer for the current round")] + [DataMember(Name = "TotalThrough", Order = 9)] + public int? TotalThrough { get; set; } + + /// + /// The money earned by this golfer for this tournament + /// + [Description("The money earned by this golfer for this tournament")] + [DataMember(Name = "Earnings", Order = 10)] + public decimal? Earnings { get; set; } + + /// + /// The FedEx points scored by this golfer + /// + [Description("The FedEx points scored by this golfer")] + [DataMember(Name = "FedExPoints", Order = 11)] + public int? FedExPoints { get; set; } + + /// + /// The fantasy points this golfer scored using the FantasyData scoring system + /// + [Description("The fantasy points this golfer scored using the FantasyData scoring system")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// The fantasy points this golfer scored using the DraftKings scoring system + /// + [Description("The fantasy points this golfer scored using the DraftKings scoring system")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 13)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The salary of this golfer on DraftKings + /// + [Description("The salary of this golfer on DraftKings")] + [DataMember(Name = "DraftKingsSalary", Order = 14)] + public int? DraftKingsSalary { get; set; } + + /// + /// Total double eagles this golfer scored for this tournament + /// + [Description("Total double eagles this golfer scored for this tournament")] + [DataMember(Name = "DoubleEagles", Order = 15)] + public decimal? DoubleEagles { get; set; } + + /// + /// Total eagles this golfer scored for this tournament + /// + [Description("Total eagles this golfer scored for this tournament")] + [DataMember(Name = "Eagles", Order = 16)] + public decimal? Eagles { get; set; } + + /// + /// Total birdies this golfer scored for this tournament + /// + [Description("Total birdies this golfer scored for this tournament")] + [DataMember(Name = "Birdies", Order = 17)] + public decimal? Birdies { get; set; } + + /// + /// Total pars this golfer scored for this tournament + /// + [Description("Total pars this golfer scored for this tournament")] + [DataMember(Name = "Pars", Order = 18)] + public decimal? Pars { get; set; } + + /// + /// Total bogeys this golfer scored for this tournament + /// + [Description("Total bogeys this golfer scored for this tournament")] + [DataMember(Name = "Bogeys", Order = 19)] + public decimal? Bogeys { get; set; } + + /// + /// Total double bogeys this golfer scored for this tournament + /// + [Description("Total double bogeys this golfer scored for this tournament")] + [DataMember(Name = "DoubleBogeys", Order = 20)] + public decimal? DoubleBogeys { get; set; } + + /// + /// Total triple bogeys (or worse) this golfer scored for this tournament + /// + [Description("Total triple bogeys (or worse) this golfer scored for this tournament")] + [DataMember(Name = "WorseThanDoubleBogey", Order = 21)] + public decimal? WorseThanDoubleBogey { get; set; } + + /// + /// Total holes-in-one this golfer scored for this tournament + /// + [Description("Total holes-in-one this golfer scored for this tournament")] + [DataMember(Name = "HoleInOnes", Order = 22)] + public decimal? HoleInOnes { get; set; } + + /// + /// Total streaks of three birdies (or better) this golfer scored (maximum one per round) + /// + [Description("Total streaks of three birdies (or better) this golfer scored (maximum one per round)")] + [DataMember(Name = "StreaksOfThreeBirdiesOrBetter", Order = 23)] + public decimal? StreaksOfThreeBirdiesOrBetter { get; set; } + + /// + /// Total bogey-free rounds this golfer scored + /// + [Description("Total bogey-free rounds this golfer scored")] + [DataMember(Name = "BogeyFreeRounds", Order = 24)] + public decimal? BogeyFreeRounds { get; set; } + + /// + /// Total rounds this golfer finished scoring under 70 strokes + /// + [Description("Total rounds this golfer finished scoring under 70 strokes")] + [DataMember(Name = "RoundsUnderSeventy", Order = 25)] + public decimal? RoundsUnderSeventy { get; set; } + + /// + /// Total triple bogeys this golfer scored for this tournament + /// + [Description("Total triple bogeys this golfer scored for this tournament")] + [DataMember(Name = "TripleBogeys", Order = 26)] + public decimal? TripleBogeys { get; set; } + + /// + /// Total quadruple bogeys (or worse) this golfer scored for this tournament + /// + [Description("Total quadruple bogeys (or worse) this golfer scored for this tournament")] + [DataMember(Name = "WorseThanTripleBogey", Order = 27)] + public decimal? WorseThanTripleBogey { get; set; } + + /// + /// The time that this golfer tees off for the upcoming round + /// + [Description("The time that this golfer tees off for the upcoming round")] + [DataMember(Name = "TeeTime", Order = 28)] + public DateTime? TeeTime { get; set; } + + /// + /// Indicates whether this golfer made the cut (for tournament projections, this value will be a decimal between 0 and 1 of the likelihood that this golfer makes the cut) + /// + [Description("Indicates whether this golfer made the cut (for tournament projections, this value will be a decimal between 0 and 1 of the likelihood that this golfer makes the cut)")] + [DataMember(Name = "MadeCut", Order = 29)] + public decimal? MadeCut { get; set; } + + /// + /// Indicates whether this golfer won the tournament (for tournament projections, this value will be a decimal between 0 and 1 of the likelihood that the golfer wins the tournament) + /// + [Description("Indicates whether this golfer won the tournament (for tournament projections, this value will be a decimal between 0 and 1 of the likelihood that the golfer wins the tournament)")] + [DataMember(Name = "Win", Order = 30)] + public decimal? Win { get; set; } + + /// + /// Indicates whether a golfer is not playing in this tournament (if golfer is not playing, this will be Out) + /// + [Description("Indicates whether a golfer is not playing in this tournament (if golfer is not playing, this will be Out)")] + [DataMember(Name = "TournamentStatus", Order = 31)] + public string TournamentStatus { get; set; } + + [DataMember(Name = "IsAlternate", Order = 32)] + public bool? IsAlternate { get; set; } + + /// + /// The salary of this golfer on FanDuel + /// + [Description("The salary of this golfer on FanDuel")] + [DataMember(Name = "FanDuelSalary", Order = 33)] + public int? FanDuelSalary { get; set; } + + /// + /// The salary of this golfer on FantasyDraft + /// + [Description("The salary of this golfer on FantasyDraft")] + [DataMember(Name = "FantasyDraftSalary", Order = 34)] + public int? FantasyDraftSalary { get; set; } + + /// + /// Indicates whether this golfer made the cut, but did not finish the tournament + /// + [Description("Indicates whether this golfer made the cut, but did not finish the tournament")] + [DataMember(Name = "MadeCutDidNotFinish", Order = 35)] + public bool? MadeCutDidNotFinish { get; set; } + + /// + /// The details of the rounds this golfer played + /// + [Description("The details of the rounds this golfer played")] + [DataMember(Name = "Rounds", Order = 20036)] + public PlayerRound[] Rounds { get; set; } + + /// + /// Odds to win the tournament displayed as a decimal (assumed over 1, ex. 9/2 = 4.5). This is the payout from the sports book for each dollar wagered. + /// + [Description("Odds to win the tournament displayed as a decimal (assumed over 1, ex. 9/2 = 4.5). This is the payout from the sports book for each dollar wagered.")] + [DataMember(Name = "OddsToWin", Order = 37)] + public decimal? OddsToWin { get; set; } + + /// + /// Odds to win the tournament displayed as text (ex. 9/2). This is the payout from the sports book for each dollar wagered. + /// + [Description("Odds to win the tournament displayed as text (ex. 9/2). This is the payout from the sports book for each dollar wagered.")] + [DataMember(Name = "OddsToWinDescription", Order = 38)] + public string OddsToWinDescription { get; set; } + + /// + /// The fantasy points this golfer scored using the FanDuel scoring system + /// + [Description("The fantasy points this golfer scored using the FanDuel scoring system")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 39)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// The fantasy points this golfer scored using the FantasyDraft scoring system + /// + [Description("The fantasy points this golfer scored using the FantasyDraft scoring system")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 40)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Total streaks of four birdies (or better) this golfer scored (maximum one per round) + /// + [Description("Total streaks of four birdies (or better) this golfer scored (maximum one per round)")] + [DataMember(Name = "StreaksOfFourBirdiesOrBetter", Order = 41)] + public decimal? StreaksOfFourBirdiesOrBetter { get; set; } + + /// + /// Total streaks of five birdies (or better) this golfer scored (maximum one per round) + /// + [Description("Total streaks of five birdies (or better) this golfer scored (maximum one per round)")] + [DataMember(Name = "StreaksOfFiveBirdiesOrBetter", Order = 42)] + public decimal? StreaksOfFiveBirdiesOrBetter { get; set; } + + /// + /// The sum of all back to back birdies (or better) across all rounds + /// + [Description("The sum of all back to back birdies (or better) across all rounds")] + [DataMember(Name = "ConsecutiveBirdieOrBetterCount", Order = 43)] + public decimal? ConsecutiveBirdieOrBetterCount { get; set; } + + /// + /// The sum of all bounce back holes across all rounds. A bounce back hole is an under par hole following an over par hole + /// + [Description("The sum of all bounce back holes across all rounds. A bounce back hole is an under par hole following an over par hole")] + [DataMember(Name = "BounceBackCount", Order = 44)] + public decimal? BounceBackCount { get; set; } + + /// + /// Number of rounds that contained five or more birdies (or better) + /// + [Description("Number of rounds that contained five or more birdies (or better)")] + [DataMember(Name = "RoundsWithFiveOrMoreBirdiesOrBetter", Order = 45)] + public decimal? RoundsWithFiveOrMoreBirdiesOrBetter { get; set; } + + /// + /// Indicates whether the player has withdrawn from the tournament + /// + [Description("Indicates whether the player has withdrawn from the tournament")] + [DataMember(Name = "IsWithdrawn", Order = 46)] + public bool IsWithdrawn { get; set; } + + /// + /// The fantasy points this golfer scored using the Yahoo scoring system + /// + [Description("The fantasy points this golfer scored using the Yahoo scoring system")] + [DataMember(Name = "FantasyPointsYahoo", Order = 47)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total streaks of six birdies (or better) this golfer scored (maximum one per round) + /// + [Description("Total streaks of six birdies (or better) this golfer scored (maximum one per round)")] + [DataMember(Name = "StreaksOfSixBirdiesOrBetter", Order = 48)] + public decimal? StreaksOfSixBirdiesOrBetter { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/Round.cs b/FantasyData.Api.Client.NetCore/Model/Golf/Round.cs new file mode 100644 index 0000000..e9c6d12 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/Round.cs @@ -0,0 +1,41 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="Round")] + [Serializable] + public partial class Round + { + /// + /// The TournamentID of the tournament + /// + [Description("The TournamentID of the tournament")] + [DataMember(Name = "TournamentID", Order = 1)] + public int TournamentID { get; set; } + + /// + /// The unique ID of the round of this tournament + /// + [Description("The unique ID of the round of this tournament")] + [DataMember(Name = "RoundID", Order = 2)] + public int RoundID { get; set; } + + /// + /// The round number of this round + /// + [Description("The round number of this round")] + [DataMember(Name = "Number", Order = 3)] + public int? Number { get; set; } + + /// + /// The date that this round is played + /// + [Description("The date that this round is played")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Golf/Tournament.cs b/FantasyData.Api.Client.NetCore/Model/Golf/Tournament.cs new file mode 100644 index 0000000..8f1374e --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Golf/Tournament.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Golf +{ + [DataContract(Namespace="", Name="Tournament")] + [Serializable] + public partial class Tournament + { + /// + /// The unique ID of this tournament + /// + [Description("The unique ID of this tournament")] + [DataMember(Name = "TournamentID", Order = 1)] + public int TournamentID { get; set; } + + /// + /// The name of this tournament + /// + [Description("The name of this tournament")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The start date of this tournament + /// + [Description("The start date of this tournament")] + [DataMember(Name = "StartDate", Order = 3)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of this tournament + /// + [Description("The end date of this tournament")] + [DataMember(Name = "EndDate", Order = 4)] + public DateTime? EndDate { get; set; } + + /// + /// Indicates whether this tournament is over + /// + [Description("Indicates whether this tournament is over")] + [DataMember(Name = "IsOver", Order = 5)] + public bool IsOver { get; set; } + + /// + /// Indicates whether this tournament is in progress + /// + [Description("Indicates whether this tournament is in progress")] + [DataMember(Name = "IsInProgress", Order = 6)] + public bool IsInProgress { get; set; } + + /// + /// The name of the venue where this tournament takes place + /// + [Description("The name of the venue where this tournament takes place")] + [DataMember(Name = "Venue", Order = 7)] + public string Venue { get; set; } + + /// + /// The physical location of this tournament + /// + [Description("The physical location of this tournament")] + [DataMember(Name = "Location", Order = 8)] + public string Location { get; set; } + + /// + /// The 18-hole par of this course + /// + [Description("The 18-hole par of this course")] + [DataMember(Name = "Par", Order = 9)] + public int? Par { get; set; } + + /// + /// The total yards of all 18 holes of this course + /// + [Description("The total yards of all 18 holes of this course")] + [DataMember(Name = "Yards", Order = 10)] + public int? Yards { get; set; } + + /// + /// The total prize money of this tournament + /// + [Description("The total prize money of this tournament")] + [DataMember(Name = "Purse", Order = 11)] + public decimal? Purse { get; set; } + + /// + /// The first tee time of the upcoming round of this tournament + /// + [Description("The first tee time of the upcoming round of this tournament")] + [DataMember(Name = "StartDateTime", Order = 12)] + public DateTime? StartDateTime { get; set; } + + /// + /// Indicates whether this tournament is canceled + /// + [Description("Indicates whether this tournament is canceled")] + [DataMember(Name = "Canceled", Order = 13)] + public bool? Canceled { get; set; } + + /// + /// Indicates whether this tournament is covered (only stroke format tournaments are covered) + /// + [Description("Indicates whether this tournament is covered (only stroke format tournaments are covered)")] + [DataMember(Name = "Covered", Order = 14)] + public bool? Covered { get; set; } + + /// + /// The city where this course is located + /// + [Description("The city where this course is located")] + [DataMember(Name = "City", Order = 15)] + public string City { get; set; } + + /// + /// The state where this course is located + /// + [Description("The state where this course is located")] + [DataMember(Name = "State", Order = 16)] + public string State { get; set; } + + /// + /// The zip code where this course is located + /// + [Description("The zip code where this course is located")] + [DataMember(Name = "ZipCode", Order = 17)] + public string ZipCode { get; set; } + + /// + /// The country where this course is located + /// + [Description("The country where this course is located")] + [DataMember(Name = "Country", Order = 18)] + public string Country { get; set; } + + /// + /// The description of the time zone in which the course is located + /// + [Description("The description of the time zone in which the course is located")] + [DataMember(Name = "TimeZone", Order = 19)] + public string TimeZone { get; set; } + + /// + /// The format of the tournament (possible values: Stroke, Match, Team, Stableford) + /// + [Description("The format of the tournament (possible values: Stroke, Match, Team, Stableford)")] + [DataMember(Name = "Format", Order = 20)] + public string Format { get; set; } + + /// + /// The details of the rounds of this tournament + /// + [Description("The details of the rounds of this tournament")] + [DataMember(Name = "Rounds", Order = 20021)] + public Round[] Rounds { get; set; } + + /// + /// The unique ID of this tournament in the SportRadar API + /// + [Description("The unique ID of this tournament in the SportRadar API")] + [DataMember(Name = "SportRadarTournamentID", Order = 22)] + public string SportRadarTournamentID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Area.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Area.cs new file mode 100644 index 0000000..bedafc8 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Area.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Area")] + [Serializable] + public partial class Area + { + /// + /// The unique ID of the area + /// + [Description("The unique ID of the area")] + [DataMember(Name = "AreaId", Order = 1)] + public int AreaId { get; set; } + + /// + /// The country code of the area + /// + [Description("The country code of the area")] + [DataMember(Name = "CountryCode", Order = 2)] + public string CountryCode { get; set; } + + /// + /// The display name of the area + /// + [Description("The display name of the area")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/BoxScore.cs b/FantasyData.Api.Client.NetCore/Model/Lol/BoxScore.cs new file mode 100644 index 0000000..a34dba7 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/BoxScore.cs @@ -0,0 +1,41 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="BoxScore")] + [Serializable] + public partial class BoxScore + { + /// + /// The information on the entire game + /// + [Description("The information on the entire game ")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The information on the individual matches + /// + [Description("The information on the individual matches ")] + [DataMember(Name = "Matches", Order = 20002)] + public Match[] Matches { get; set; } + + /// + /// The stats for players across all matches + /// + [Description("The stats for players across all matches")] + [DataMember(Name = "PlayerGames", Order = 20003)] + public PlayerGame[] PlayerGames { get; set; } + + /// + /// The stats for teams across all matches + /// + [Description("The stats for teams across all matches")] + [DataMember(Name = "TeamGames", Order = 20004)] + public TeamGame[] TeamGames { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Champion.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Champion.cs new file mode 100644 index 0000000..0e56355 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Champion.cs @@ -0,0 +1,181 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Champion")] + [Serializable] + public partial class Champion + { + /// + /// The attack of the champion + /// + [Description("The attack of the champion")] + [DataMember(Name = "Attack", Order = 1)] + public decimal Attack { get; set; } + + /// + /// The defense of the champion + /// + [Description("The defense of the champion")] + [DataMember(Name = "Defense", Order = 2)] + public decimal Defense { get; set; } + + /// + /// The magic of the champion + /// + [Description("The magic of the champion")] + [DataMember(Name = "Magic", Order = 3)] + public decimal Magic { get; set; } + + /// + /// The difficulty of the champion + /// + [Description("The difficulty of the champion")] + [DataMember(Name = "Difficulty", Order = 4)] + public decimal Difficulty { get; set; } + + /// + /// The health points of the champion + /// + [Description("The health points of the champion")] + [DataMember(Name = "Hp", Order = 5)] + public decimal Hp { get; set; } + + /// + /// The health points gained per level of the champion + /// + [Description("The health points gained per level of the champion")] + [DataMember(Name = "HpUpPerLevel", Order = 6)] + public decimal HpUpPerLevel { get; set; } + + /// + /// The magic points of the champion + /// + [Description("The magic points of the champion")] + [DataMember(Name = "Mp", Order = 7)] + public decimal Mp { get; set; } + + /// + /// The magic points gained per level of the champion + /// + [Description("The magic points gained per level of the champion")] + [DataMember(Name = "MpUpPerLevel", Order = 8)] + public decimal MpUpPerLevel { get; set; } + + /// + /// The move speed of the champion + /// + [Description("The move speed of the champion")] + [DataMember(Name = "MoveSpeed", Order = 9)] + public decimal MoveSpeed { get; set; } + + /// + /// The armor of the champion + /// + [Description("The armor of the champion")] + [DataMember(Name = "Armor", Order = 10)] + public decimal Armor { get; set; } + + /// + /// The armor gained per level of the champion + /// + [Description("The armor gained per level of the champion")] + [DataMember(Name = "ArmorPerLevel", Order = 11)] + public decimal ArmorPerLevel { get; set; } + + /// + /// The spell blocking power of the champion + /// + [Description("The spell blocking power of the champion")] + [DataMember(Name = "SpellBlock", Order = 12)] + public decimal SpellBlock { get; set; } + + /// + /// The spell blocking power gained per level of the champion + /// + [Description("The spell blocking power gained per level of the champion")] + [DataMember(Name = "SpellBlockPerLevel", Order = 13)] + public decimal SpellBlockPerLevel { get; set; } + + /// + /// The attack range of the champion + /// + [Description("The attack range of the champion")] + [DataMember(Name = "AttackRange", Order = 14)] + public decimal AttackRange { get; set; } + + /// + /// The health regeneration of the champion + /// + [Description("The health regeneration of the champion")] + [DataMember(Name = "HpRegen", Order = 15)] + public decimal HpRegen { get; set; } + + /// + /// The health regeneration gained per level of the champion + /// + [Description("The health regeneration gained per level of the champion")] + [DataMember(Name = "HpRegenPerLevel", Order = 16)] + public decimal HpRegenPerLevel { get; set; } + + /// + /// The magic regeneration of the champion + /// + [Description("The magic regeneration of the champion")] + [DataMember(Name = "MpRegen", Order = 17)] + public decimal MpRegen { get; set; } + + /// + /// The magic regeneration gained per level of the champion + /// + [Description("The magic regeneration gained per level of the champion")] + [DataMember(Name = "MpRegenPerLevel", Order = 18)] + public decimal MpRegenPerLevel { get; set; } + + /// + /// The attack damage of the champion + /// + [Description("The attack damage of the champion")] + [DataMember(Name = "AttackDamage", Order = 19)] + public decimal AttackDamage { get; set; } + + /// + /// The attack damage gained per level of the champion + /// + [Description("The attack damage gained per level of the champion")] + [DataMember(Name = "AttackDamagePerLevel", Order = 20)] + public decimal AttackDamagePerLevel { get; set; } + + /// + /// The attack speed of the champion + /// + [Description("The attack speed of the champion")] + [DataMember(Name = "AttackSpeedOffset", Order = 21)] + public decimal AttackSpeedOffset { get; set; } + + /// + /// The unique id of the champion + /// + [Description("The unique id of the champion")] + [DataMember(Name = "ChampionId", Order = 22)] + public int ChampionId { get; set; } + + /// + /// The name of the champion + /// + [Description("The name of the champion")] + [DataMember(Name = "Name", Order = 23)] + public string Name { get; set; } + + /// + /// The title of the champion + /// + [Description("The title of the champion")] + [DataMember(Name = "Title", Order = 24)] + public string Title { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/ChampionInfo.cs b/FantasyData.Api.Client.NetCore/Model/Lol/ChampionInfo.cs new file mode 100644 index 0000000..427659b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/ChampionInfo.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="ChampionInfo")] + [Serializable] + public partial class ChampionInfo + { + /// + /// The unique id of the champion + /// + [Description("The unique id of the champion")] + [DataMember(Name = "ChampionId", Order = 1)] + public int ChampionId { get; set; } + + /// + /// The name of the champion + /// + [Description("The name of the champion")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The title of the champion + /// + [Description("The title of the champion")] + [DataMember(Name = "Title", Order = 3)] + public string Title { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Competition.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Competition.cs new file mode 100644 index 0000000..a0c6dd2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Competition.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Competition")] + [Serializable] + public partial class Competition + { + /// + /// The unique ID of the competition/league + /// + [Description("The unique ID of the competition/league")] + [DataMember(Name = "CompetitionId", Order = 1)] + public int CompetitionId { get; set; } + + /// + /// The unique ID of the area where this competition/league is played + /// + [Description("The unique ID of the area where this competition/league is played")] + [DataMember(Name = "AreaId", Order = 2)] + public int AreaId { get; set; } + + /// + /// The display name of the area where this competition/league is played + /// + [Description("The display name of the area where this competition/league is played")] + [DataMember(Name = "AreaName", Order = 3)] + public string AreaName { get; set; } + + /// + /// The display name of the competition/league + /// + [Description("The display name of the competition/league")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 5)] + public string Gender { get; set; } + + /// + /// The type of this competition/league (possible values: Club, International) + /// + [Description("The type of this competition/league (possible values: Club, International)")] + [DataMember(Name = "Type", Order = 6)] + public string Type { get; set; } + + /// + /// The format of the competition/league (possible values: Domestic League, International Cup) + /// + [Description("The format of the competition/league (possible values: Domestic League, International Cup)")] + [DataMember(Name = "Format", Order = 7)] + public string Format { get; set; } + + /// + /// The seasons associated with this competition/league + /// + [Description("The seasons associated with this competition/league")] + [DataMember(Name = "Seasons", Order = 20008)] + public Season[] Seasons { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/CompetitionDetail.cs b/FantasyData.Api.Client.NetCore/Model/Lol/CompetitionDetail.cs new file mode 100644 index 0000000..44a7053 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/CompetitionDetail.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="CompetitionDetail")] + [Serializable] + public partial class CompetitionDetail + { + /// + /// The current active season for this competition/league + /// + [Description("The current active season for this competition/league")] + [DataMember(Name = "CurrentSeason", Order = 10001)] + public Season CurrentSeason { get; set; } + + /// + /// The active teams associated with this competition/league + /// + [Description("The active teams associated with this competition/league")] + [DataMember(Name = "Teams", Order = 20002)] + public TeamDetail[] Teams { get; set; } + + /// + /// The complete schedule for the current season of this competition/league + /// + [Description("The complete schedule for the current season of this competition/league")] + [DataMember(Name = "Games", Order = 20003)] + public Game[] Games { get; set; } + + /// + /// The unique ID of the competition/league + /// + [Description("The unique ID of the competition/league")] + [DataMember(Name = "CompetitionId", Order = 4)] + public int CompetitionId { get; set; } + + /// + /// The unique ID of the area where this competition/league is played + /// + [Description("The unique ID of the area where this competition/league is played")] + [DataMember(Name = "AreaId", Order = 5)] + public int AreaId { get; set; } + + /// + /// The display name of the area where this competition/league is played + /// + [Description("The display name of the area where this competition/league is played")] + [DataMember(Name = "AreaName", Order = 6)] + public string AreaName { get; set; } + + /// + /// The display name of the competition/league + /// + [Description("The display name of the competition/league")] + [DataMember(Name = "Name", Order = 7)] + public string Name { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 8)] + public string Gender { get; set; } + + /// + /// The type of this competition/league (possible values: Club, International) + /// + [Description("The type of this competition/league (possible values: Club, International)")] + [DataMember(Name = "Type", Order = 9)] + public string Type { get; set; } + + /// + /// The format of the competition/league (possible values: Domestic League, International Cup) + /// + [Description("The format of the competition/league (possible values: Domestic League, International Cup)")] + [DataMember(Name = "Format", Order = 10)] + public string Format { get; set; } + + /// + /// The seasons associated with this competition/league + /// + [Description("The seasons associated with this competition/league")] + [DataMember(Name = "Seasons", Order = 20011)] + public Season[] Seasons { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Game.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Game.cs new file mode 100644 index 0000000..12bafdf --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Game.cs @@ -0,0 +1,216 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The RoundId of the round that this game is associated with + /// + [Description("The RoundId of the round that this game is associated with")] + [DataMember(Name = "RoundId", Order = 2)] + public int RoundId { get; set; } + + /// + /// The calendar year of the season during which this game occurs + /// + [Description("The calendar year of the season during which this game occurs")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar) + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar)")] + [DataMember(Name = "SeasonType", Order = 4)] + public int SeasonType { get; set; } + + /// + /// The name of the group in which this game occurs. This is used in tournaments / cups. + /// + [Description("The name of the group in which this game occurs. This is used in tournaments / cups.")] + [DataMember(Name = "Group", Order = 5)] + public string Group { get; set; } + + /// + /// The TeamId of team A + /// + [Description("The TeamId of team A")] + [DataMember(Name = "TeamAId", Order = 6)] + public int? TeamAId { get; set; } + + /// + /// The TeamId of team B + /// + [Description("The TeamId of team B")] + [DataMember(Name = "TeamBId", Order = 7)] + public int? TeamBId { get; set; } + + /// + /// The VenueId of the venue + /// + [Description("The VenueId of the venue")] + [DataMember(Name = "VenueId", Order = 8)] + public int? VenueId { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC + /// + [Description("The day that the game is scheduled to be played in UTC")] + [DataMember(Name = "Day", Order = 9)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC + /// + [Description("The date/time that the game is scheduled to be played in UTC")] + [DataMember(Name = "DateTime", Order = 10)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Break, Final, Awarded, Postponed, Canceled, Suspended. If a game is called off before it starts, the Status is set to Postponed, until a new date/time is scheduled, at which point, the DateTime is updated, and the Status is set back to Scheduled. If a game has already started, and temporarily interrupted, it's Status is set to Suspended, until it either resumes, or gets postponed and replayed at a later date. If the game is on break, then the Status will be Break. Awarded is used in cases where a game is decided without completing. That means that a game was decided by the Federation/League to one team for a reason. This can include situations like riots, where the opponent team gets 3:0 win awarded as punishment. Awarded is also used when a club withdraws during the season from the competition then all the remaining matches getting awarded 3:0. + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Break, Final, Awarded, Postponed, Canceled, Suspended. If a game is called off before it starts, the Status is set to Postponed, until a new date/time is scheduled, at which point, the DateTime is updated, and the Status is set back to Scheduled. If a game has already started, and temporarily interrupted, it's Status is set to Suspended, until it either resumes, or gets postponed and replayed at a later date. If the game is on break, then the Status will be Break. Awarded is used in cases where a game is decided without completing. That means that a game was decided by the Federation/League to one team for a reason. This can include situations like riots, where the opponent team gets 3:0 win awarded as punishment. Awarded is also used when a club withdraws during the season from the competition then all the remaining matches getting awarded 3:0.")] + [DataMember(Name = "Status", Order = 11)] + public string Status { get; set; } + + /// + /// The week during the season/round in which this game occurs + /// + [Description("The week during the season/round in which this game occurs")] + [DataMember(Name = "Week", Order = 12)] + public int? Week { get; set; } + + /// + /// How many matches/rounds are played if this game is a best of series + /// + [Description("How many matches/rounds are played if this game is a best of series")] + [DataMember(Name = "BestOf", Order = 13)] + public string BestOf { get; set; } + + /// + /// The winner of the game. Possible values include: TeamA, TeamB, Draw, NULL + /// + [Description("The winner of the game. Possible values include: TeamA, TeamB, Draw, NULL")] + [DataMember(Name = "Winner", Order = 14)] + public string Winner { get; set; } + + /// + /// Indicates home venue advantage. Possible values include: Home Away, Neutral + /// + [Description("Indicates home venue advantage. Possible values include: Home Away, Neutral")] + [DataMember(Name = "VenueType", Order = 15)] + public string VenueType { get; set; } + + /// + /// The abbreviation of team A + /// + [Description("The abbreviation of team A")] + [DataMember(Name = "TeamAKey", Order = 16)] + public string TeamAKey { get; set; } + + /// + /// The name of team A + /// + [Description("The name of team A")] + [DataMember(Name = "TeamAName", Order = 17)] + public string TeamAName { get; set; } + + /// + /// The final score of team A + /// + [Description("The final score of team A")] + [DataMember(Name = "TeamAScore", Order = 18)] + public int? TeamAScore { get; set; } + + /// + /// The abbreviation of team B + /// + [Description("The abbreviation of team B")] + [DataMember(Name = "TeamBKey", Order = 19)] + public string TeamBKey { get; set; } + + /// + /// The name of team B + /// + [Description("The name of team B")] + [DataMember(Name = "TeamBName", Order = 20)] + public string TeamBName { get; set; } + + /// + /// The final score of team B + /// + [Description("The final score of team B")] + [DataMember(Name = "TeamBScore", Order = 21)] + public int? TeamBScore { get; set; } + + /// + /// Payout on a bet that the team A wins + /// + [Description("Payout on a bet that the team A wins")] + [DataMember(Name = "TeamAMoneyLine", Order = 22)] + public int? TeamAMoneyLine { get; set; } + + /// + /// Payout on a bet that the team B wins + /// + [Description("Payout on a bet that the team B wins")] + [DataMember(Name = "TeamBMoneyLine", Order = 23)] + public int? TeamBMoneyLine { get; set; } + + /// + /// Payout on a bet that the game is a draw + /// + [Description("Payout on a bet that the game is a draw")] + [DataMember(Name = "DrawMoneyLine", Order = 24)] + public int? DrawMoneyLine { get; set; } + + /// + /// Point spread for team A + /// + [Description("Point spread for team A")] + [DataMember(Name = "PointSpread", Order = 25)] + public decimal? PointSpread { get; set; } + + /// + /// Payout if team A beats the spread + /// + [Description("Payout if team A beats the spread")] + [DataMember(Name = "TeamAPointSpreadPayout", Order = 26)] + public int? TeamAPointSpreadPayout { get; set; } + + /// + /// Payout if team B beats the spread + /// + [Description("Payout if team B beats the spread")] + [DataMember(Name = "TeamBPointSpreadPayout", Order = 27)] + public int? TeamBPointSpreadPayout { get; set; } + + /// + /// The timestamp of when this record was updated, based on US Eatern Time (EST/EDT) + /// + [Description("The timestamp of when this record was updated, based on US Eatern Time (EST/EDT)")] + [DataMember(Name = "Updated", Order = 28)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when this record was updated, based on Universal Coordinated Time (UTC) + /// + [Description("The timestamp of when this record was updated, based on Universal Coordinated Time (UTC)")] + [DataMember(Name = "UpdatedUtc", Order = 29)] + public DateTime? UpdatedUtc { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Item.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Item.cs new file mode 100644 index 0000000..354e6fc --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Item.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Item")] + [Serializable] + public partial class Item + { + /// + /// The unique id of the item + /// + [Description("The unique id of the item")] + [DataMember(Name = "ItemId", Order = 1)] + public int ItemId { get; set; } + + /// + /// The name of the item + /// + [Description("The name of the item")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The base gold of the item + /// + [Description("The base gold of the item")] + [DataMember(Name = "GoldBase", Order = 3)] + public int GoldBase { get; set; } + + /// + /// The total gold of the item + /// + [Description("The total gold of the item")] + [DataMember(Name = "GoldTotal", Order = 4)] + public int GoldTotal { get; set; } + + /// + /// The sell price in gold of the item + /// + [Description("The sell price in gold of the item")] + [DataMember(Name = "GoldSell", Order = 5)] + public int GoldSell { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Match.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Match.cs new file mode 100644 index 0000000..63fb29d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Match.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Match")] + [Serializable] + public partial class Match + { + /// + /// The Unique ID of the Game the match is from. + /// + [Description("The Unique ID of the Game the match is from.")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The match number (starts from 1) + /// + [Description("The match number (starts from 1)")] + [DataMember(Name = "Number", Order = 2)] + public int Number { get; set; } + + /// + /// The name of the league of legends map + /// + [Description("The name of the league of legends map")] + [DataMember(Name = "MapName", Order = 3)] + public string MapName { get; set; } + + /// + /// The TeamId of the winning Team (once a winner is found) + /// + [Description("The TeamId of the winning Team (once a winner is found)")] + [DataMember(Name = "WinningTeamId", Order = 4)] + public int? WinningTeamId { get; set; } + + /// + /// The LoL version number as of the playing of this match + /// + [Description("The LoL version number as of the playing of this match")] + [DataMember(Name = "GameVersion", Order = 5)] + public string GameVersion { get; set; } + + /// + /// The list of banned champions for each team (if shows champion x banned by team y then their opponent cannot select that champion) + /// + [Description("The list of banned champions for each team (if shows champion x banned by team y then their opponent cannot select that champion)")] + [DataMember(Name = "MatchBans", Order = 20006)] + public MatchBan[] MatchBans { get; set; } + + /// + /// The list of player match stats for the given match + /// + [Description("The list of player match stats for the given match")] + [DataMember(Name = "PlayerMatches", Order = 20007)] + public PlayerMatch[] PlayerMatches { get; set; } + + /// + /// The list of team match stats for the given match + /// + [Description("The list of team match stats for the given match")] + [DataMember(Name = "TeamMatches", Order = 20008)] + public TeamMatch[] TeamMatches { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/MatchBan.cs b/FantasyData.Api.Client.NetCore/Model/Lol/MatchBan.cs new file mode 100644 index 0000000..f431355 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/MatchBan.cs @@ -0,0 +1,41 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="MatchBan")] + [Serializable] + public partial class MatchBan + { + /// + /// The unique id of the match + /// + [Description("The unique id of the match")] + [DataMember(Name = "MatchId", Order = 1)] + public int MatchId { get; set; } + + /// + /// The unique id of the team doing the banning + /// + [Description("The unique id of the team doing the banning")] + [DataMember(Name = "TeamId", Order = 2)] + public int TeamId { get; set; } + + /// + /// The unique id of the champion who is banned + /// + [Description("The unique id of the champion who is banned")] + [DataMember(Name = "ChampionId", Order = 3)] + public int? ChampionId { get; set; } + + /// + /// The basic info of the champion who is banned + /// + [Description("The basic info of the champion who is banned")] + [DataMember(Name = "Champion", Order = 10004)] + public ChampionInfo Champion { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Membership.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Membership.cs new file mode 100644 index 0000000..eeaf124 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Membership.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Membership")] + [Serializable] + public partial class Membership + { + /// + /// The unique ID for the membership + /// + [Description("The unique ID for the membership")] + [DataMember(Name = "MembershipId", Order = 1)] + public int MembershipId { get; set; } + + /// + /// The unique ID for the team + /// + [Description("The unique ID for the team")] + [DataMember(Name = "TeamId", Order = 2)] + public int TeamId { get; set; } + + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerId", Order = 3)] + public int PlayerId { get; set; } + + /// + /// The full name of the player. + /// + [Description("The full name of the player.")] + [DataMember(Name = "PlayerName", Order = 4)] + public string PlayerName { get; set; } + + /// + /// Name of the team + /// + [Description("Name of the team")] + [DataMember(Name = "TeamName", Order = 5)] + public string TeamName { get; set; } + + /// + /// Area of the team + /// + [Description("Area of the team")] + [DataMember(Name = "TeamArea", Order = 6)] + public string TeamArea { get; set; } + + /// + /// Whether the membership is active (true/false) + /// + [Description("Whether the membership is active (true/false)")] + [DataMember(Name = "Active", Order = 7)] + public bool Active { get; set; } + + /// + /// The start date of the membership (UTC) + /// + [Description("The start date of the membership (UTC)")] + [DataMember(Name = "StartDate", Order = 8)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of the membership (UTC) + /// + [Description("The end date of the membership (UTC)")] + [DataMember(Name = "EndDate", Order = 9)] + public DateTime? EndDate { get; set; } + + /// + /// The updated date and time of the membership (EST/EDT) + /// + [Description("The updated date and time of the membership (EST/EDT)")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Player.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Player.cs new file mode 100644 index 0000000..76086e6 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Player.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerId", Order = 1)] + public int PlayerId { get; set; } + + /// + /// The player's first name. + /// + [Description("The player's first name.")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The player's last name. + /// + [Description("The player's last name.")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// The player's common name. + /// + [Description("The player's common name.")] + [DataMember(Name = "CommonName", Order = 4)] + public string CommonName { get; set; } + + /// + /// The player's match name. + /// + [Description("The player's match name.")] + [DataMember(Name = "MatchName", Order = 5)] + public string MatchName { get; set; } + + /// + /// The position of the player. Possible values include: ADC, Jungle, Mid, Support, Top + /// + [Description("The position of the player. Possible values include: ADC, Jungle, Mid, Support, Top")] + [DataMember(Name = "Position", Order = 6)] + public string Position { get; set; } + + /// + /// The gender of the player. + /// + [Description("The gender of the player.")] + [DataMember(Name = "Gender", Order = 7)] + public string Gender { get; set; } + + /// + /// The player's date of birth. + /// + [Description("The player's date of birth.")] + [DataMember(Name = "BirthDate", Order = 8)] + public DateTime? BirthDate { get; set; } + + /// + /// The city in which the player was born. + /// + [Description("The city in which the player was born.")] + [DataMember(Name = "BirthCity", Order = 9)] + public string BirthCity { get; set; } + + /// + /// The country in which the player was born. + /// + [Description("The country in which the player was born.")] + [DataMember(Name = "BirthCountry", Order = 10)] + public string BirthCountry { get; set; } + + /// + /// The nationality of the player. + /// + [Description("The nationality of the player.")] + [DataMember(Name = "Nationality", Order = 11)] + public string Nationality { get; set; } + + /// + /// The date and time the player's status was updated. (EST/EDT) + /// + [Description("The date and time the player's status was updated. (EST/EDT)")] + [DataMember(Name = "Updated", Order = 12)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/PlayerGame.cs b/FantasyData.Api.Client.NetCore/Model/Lol/PlayerGame.cs new file mode 100644 index 0000000..4f51dcb --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/PlayerGame.cs @@ -0,0 +1,412 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="PlayerGame")] + [Serializable] + public partial class PlayerGame + { + /// + /// The Unique ID of the Game + /// + [Description("The Unique ID of the Game")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The Unique ID of the opposing team + /// + [Description("The Unique ID of the opposing team")] + [DataMember(Name = "OpponentId", Order = 2)] + public int OpponentId { get; set; } + + /// + /// The team key of the opposing team + /// + [Description("The team key of the opposing team")] + [DataMember(Name = "Opponent", Order = 3)] + public string Opponent { get; set; } + + /// + /// The date of the event + /// + [Description("The date of the event")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the event + /// + [Description("The date and time of the event")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// The Unique Id of the player + /// + [Description("The Unique Id of the player")] + [DataMember(Name = "PlayerId", Order = 6)] + public int PlayerId { get; set; } + + /// + /// The unique Id of the team the player played for this match + /// + [Description("The unique Id of the team the player played for this match")] + [DataMember(Name = "TeamId", Order = 7)] + public int? TeamId { get; set; } + + /// + /// The team key of the team the player played for this match + /// + [Description("The team key of the team the player played for this match")] + [DataMember(Name = "Team", Order = 8)] + public string Team { get; set; } + + /// + /// The player's name + /// + [Description("The player's name")] + [DataMember(Name = "Name", Order = 9)] + public string Name { get; set; } + + /// + /// The player's match name. + /// + [Description("The player's match name.")] + [DataMember(Name = "MatchName", Order = 10)] + public string MatchName { get; set; } + + /// + /// The total number of Kills by the player + /// + [Description("The total number of Kills by the player")] + [DataMember(Name = "Kills", Order = 11)] + public decimal? Kills { get; set; } + + /// + /// The total number of Assists by the player + /// + [Description("The total number of Assists by the player")] + [DataMember(Name = "Assists", Order = 12)] + public decimal? Assists { get; set; } + + /// + /// The total number of Deaths by the player + /// + [Description("The total number of Deaths by the player")] + [DataMember(Name = "Deaths", Order = 13)] + public decimal? Deaths { get; set; } + + /// + /// The longest killing spree achieved by the player + /// + [Description("The longest killing spree achieved by the player")] + [DataMember(Name = "LargestKillingSpree", Order = 14)] + public decimal? LargestKillingSpree { get; set; } + + /// + /// The largest multikill achieved by the player + /// + [Description("The largest multikill achieved by the player")] + [DataMember(Name = "LargestMultiKill", Order = 15)] + public decimal? LargestMultiKill { get; set; } + + /// + /// The current killing spree the player is on by the player + /// + [Description("The current killing spree the player is on by the player")] + [DataMember(Name = "KillingSpree", Order = 16)] + public decimal? KillingSpree { get; set; } + + /// + /// The longest time spent alive by the player + /// + [Description("The longest time spent alive by the player")] + [DataMember(Name = "LongestTimeSpentLiving", Order = 17)] + public decimal? LongestTimeSpentLiving { get; set; } + + /// + /// The total number of Double Kills by the player + /// + [Description("The total number of Double Kills by the player")] + [DataMember(Name = "DoubleKills", Order = 18)] + public decimal? DoubleKills { get; set; } + + /// + /// The total number of Triple Kills by the player + /// + [Description("The total number of Triple Kills by the player")] + [DataMember(Name = "TripleKills", Order = 19)] + public decimal? TripleKills { get; set; } + + /// + /// The total number of Quadra Kills by the player + /// + [Description("The total number of Quadra Kills by the player")] + [DataMember(Name = "QuadraKills", Order = 20)] + public decimal? QuadraKills { get; set; } + + /// + /// The total number of Penta Kills by the player + /// + [Description("The total number of Penta Kills by the player")] + [DataMember(Name = "PentaKills", Order = 21)] + public decimal? PentaKills { get; set; } + + /// + /// The total number of Unreal Kills by the player + /// + [Description("The total number of Unreal Kills by the player")] + [DataMember(Name = "UnrealKills", Order = 22)] + public decimal? UnrealKills { get; set; } + + /// + /// The total damage dealt by the player + /// + [Description("The total damage dealt by the player")] + [DataMember(Name = "TotalDamageDealt", Order = 23)] + public decimal? TotalDamageDealt { get; set; } + + /// + /// The total magical damage dealt by the player + /// + [Description("The total magical damage dealt by the player")] + [DataMember(Name = "MagicDamageDealt", Order = 24)] + public decimal? MagicDamageDealt { get; set; } + + /// + /// The total physical damage dealt by the player + /// + [Description("The total physical damage dealt by the player")] + [DataMember(Name = "PhysicalDamageDealt", Order = 25)] + public decimal? PhysicalDamageDealt { get; set; } + + /// + /// The total true damage dealt by the player + /// + [Description("The total true damage dealt by the player")] + [DataMember(Name = "TrueDamageDealt", Order = 26)] + public decimal? TrueDamageDealt { get; set; } + + /// + /// The largest single critical strike damage by the player + /// + [Description("The largest single critical strike damage by the player")] + [DataMember(Name = "LargestCriticalStrike", Order = 27)] + public decimal? LargestCriticalStrike { get; set; } + + /// + /// The total damage dealt to opposing champions by the player + /// + [Description("The total damage dealt to opposing champions by the player")] + [DataMember(Name = "TotalDamageDealtToChampions", Order = 28)] + public decimal? TotalDamageDealtToChampions { get; set; } + + /// + /// The total magical damage dealt to opposing champions by the player + /// + [Description("The total magical damage dealt to opposing champions by the player")] + [DataMember(Name = "MagicDamageDealtToChampions", Order = 29)] + public decimal? MagicDamageDealtToChampions { get; set; } + + /// + /// The total physical damage dealt to opposing champions by the player + /// + [Description("The total physical damage dealt to opposing champions by the player")] + [DataMember(Name = "PhysicalDamageDealtToChampions", Order = 30)] + public decimal? PhysicalDamageDealtToChampions { get; set; } + + /// + /// The total true damage dealt to opposing champions by the player + /// + [Description("The total true damage dealt to opposing champions by the player")] + [DataMember(Name = "TrueDamageDealtToChampions", Order = 31)] + public decimal? TrueDamageDealtToChampions { get; set; } + + /// + /// The total amount of heal by the player + /// + [Description("The total amount of heal by the player")] + [DataMember(Name = "TotalHeal", Order = 32)] + public decimal? TotalHeal { get; set; } + + /// + /// The total number of units healed by the player + /// + [Description("The total number of units healed by the player")] + [DataMember(Name = "TotalUnitsHealed", Order = 33)] + public decimal? TotalUnitsHealed { get; set; } + + /// + /// The total amount of damage taken by the player + /// + [Description("The total amount of damage taken by the player")] + [DataMember(Name = "TotalDamageTaken", Order = 34)] + public decimal? TotalDamageTaken { get; set; } + + /// + /// The total amount of magical damage taken by the player + /// + [Description("The total amount of magical damage taken by the player")] + [DataMember(Name = "MagicDamageTaken", Order = 35)] + public decimal? MagicDamageTaken { get; set; } + + /// + /// The total amount of physical damage taken by the player + /// + [Description("The total amount of physical damage taken by the player")] + [DataMember(Name = "PhysicalDamageTaken", Order = 36)] + public decimal? PhysicalDamageTaken { get; set; } + + /// + /// The total amount of true damage taken by the player + /// + [Description("The total amount of true damage taken by the player")] + [DataMember(Name = "TrueDamageTaken", Order = 37)] + public decimal? TrueDamageTaken { get; set; } + + /// + /// The total gold earned by the player + /// + [Description("The total gold earned by the player")] + [DataMember(Name = "GoldEarned", Order = 38)] + public decimal? GoldEarned { get; set; } + + /// + /// The total gold spent by the player + /// + [Description("The total gold spent by the player")] + [DataMember(Name = "GoldSpent", Order = 39)] + public decimal? GoldSpent { get; set; } + + /// + /// The total number of turrets killed by the player + /// + [Description("The total number of turrets killed by the player")] + [DataMember(Name = "TurretKills", Order = 40)] + public decimal? TurretKills { get; set; } + + /// + /// The total number of inhibitors killed by the player + /// + [Description("The total number of inhibitors killed by the player")] + [DataMember(Name = "InhibitorKills", Order = 41)] + public decimal? InhibitorKills { get; set; } + + /// + /// The total number of minions killed by the player + /// + [Description("The total number of minions killed by the player")] + [DataMember(Name = "TotalMinionsKilled", Order = 42)] + public decimal? TotalMinionsKilled { get; set; } + + /// + /// The total number of neutral minions killed by the player + /// + [Description("The total number of neutral minions killed by the player")] + [DataMember(Name = "NeutralMinionsKIlled", Order = 43)] + public decimal? NeutralMinionsKIlled { get; set; } + + /// + /// The total number of neutral minions killed by the player in their own jungle + /// + [Description("The total number of neutral minions killed by the player in their own jungle")] + [DataMember(Name = "NeutralMinionsKIlledTeamJungle", Order = 44)] + public decimal? NeutralMinionsKIlledTeamJungle { get; set; } + + /// + /// The total number of neutral minions killed by the player in the enemy jungle + /// + [Description("The total number of neutral minions killed by the player in the enemy jungle")] + [DataMember(Name = "NeutralMinionsKilledEnemyJungle", Order = 45)] + public decimal? NeutralMinionsKilledEnemyJungle { get; set; } + + /// + /// The total time enemies were crowd controlled by the player + /// + [Description("The total time enemies were crowd controlled by the player")] + [DataMember(Name = "TotalTimeCrowdControlDealt", Order = 46)] + public decimal? TotalTimeCrowdControlDealt { get; set; } + + /// + /// The total number of vision wards bought by the player + /// + [Description("The total number of vision wards bought by the player")] + [DataMember(Name = "VisionWardsBoughtInGame", Order = 47)] + public decimal? VisionWardsBoughtInGame { get; set; } + + /// + /// The total number of sight wards bought by the player + /// + [Description("The total number of sight wards bought by the player")] + [DataMember(Name = "SightWardsBoughtInGame", Order = 48)] + public decimal? SightWardsBoughtInGame { get; set; } + + /// + /// The total number of wards placed by the player + /// + [Description("The total number of wards placed by the player")] + [DataMember(Name = "WardsPlaced", Order = 49)] + public decimal? WardsPlaced { get; set; } + + /// + /// The total number of wards killed by the player + /// + [Description("The total number of wards killed by the player")] + [DataMember(Name = "WardsKilled", Order = 50)] + public decimal? WardsKilled { get; set; } + + /// + /// The player's combat player score + /// + [Description("The player's combat player score")] + [DataMember(Name = "CombatPlayerScore", Order = 51)] + public decimal? CombatPlayerScore { get; set; } + + /// + /// The player's objective player score + /// + [Description("The player's objective player score")] + [DataMember(Name = "ObjectivePlayerScore", Order = 52)] + public decimal? ObjectivePlayerScore { get; set; } + + /// + /// The player's total player score + /// + [Description("The player's total player score")] + [DataMember(Name = "TotalPlayerScore", Order = 53)] + public decimal? TotalPlayerScore { get; set; } + + /// + /// Did player reach either 10 kills or 10 assists in a single match + /// + [Description("Did player reach either 10 kills or 10 assists in a single match")] + [DataMember(Name = "TenKillsOrAssists", Order = 54)] + public decimal? TenKillsOrAssists { get; set; } + + /// + /// The last update time of the record + /// + [Description("The last update time of the record")] + [DataMember(Name = "Updated", Order = 55)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 56)] + public int Games { get; set; } + + /// + /// The number of matches played + /// + [Description("The number of matches played")] + [DataMember(Name = "Matches", Order = 57)] + public int Matches { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/PlayerGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/Lol/PlayerGameProjection.cs new file mode 100644 index 0000000..097cfbd --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/PlayerGameProjection.cs @@ -0,0 +1,412 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="PlayerGameProjection")] + [Serializable] + public partial class PlayerGameProjection + { + /// + /// The Unique ID of the Game + /// + [Description("The Unique ID of the Game")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The Unique ID of the opposing team + /// + [Description("The Unique ID of the opposing team")] + [DataMember(Name = "OpponentId", Order = 2)] + public int OpponentId { get; set; } + + /// + /// The team key of the opposing team + /// + [Description("The team key of the opposing team")] + [DataMember(Name = "Opponent", Order = 3)] + public string Opponent { get; set; } + + /// + /// The date of the event + /// + [Description("The date of the event")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the event + /// + [Description("The date and time of the event")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// The Unique Id of the player + /// + [Description("The Unique Id of the player")] + [DataMember(Name = "PlayerId", Order = 6)] + public int PlayerId { get; set; } + + /// + /// The unique Id of the team the player played for this match + /// + [Description("The unique Id of the team the player played for this match")] + [DataMember(Name = "TeamId", Order = 7)] + public int? TeamId { get; set; } + + /// + /// The team key of the team the player played for this match + /// + [Description("The team key of the team the player played for this match")] + [DataMember(Name = "Team", Order = 8)] + public string Team { get; set; } + + /// + /// The player's name + /// + [Description("The player's name")] + [DataMember(Name = "Name", Order = 9)] + public string Name { get; set; } + + /// + /// The player's match name. + /// + [Description("The player's match name.")] + [DataMember(Name = "MatchName", Order = 10)] + public string MatchName { get; set; } + + /// + /// The total number of Kills by the player + /// + [Description("The total number of Kills by the player")] + [DataMember(Name = "Kills", Order = 11)] + public decimal? Kills { get; set; } + + /// + /// The total number of Assists by the player + /// + [Description("The total number of Assists by the player")] + [DataMember(Name = "Assists", Order = 12)] + public decimal? Assists { get; set; } + + /// + /// The total number of Deaths by the player + /// + [Description("The total number of Deaths by the player")] + [DataMember(Name = "Deaths", Order = 13)] + public decimal? Deaths { get; set; } + + /// + /// The longest killing spree achieved by the player + /// + [Description("The longest killing spree achieved by the player")] + [DataMember(Name = "LargestKillingSpree", Order = 14)] + public decimal? LargestKillingSpree { get; set; } + + /// + /// The largest multikill achieved by the player + /// + [Description("The largest multikill achieved by the player")] + [DataMember(Name = "LargestMultiKill", Order = 15)] + public decimal? LargestMultiKill { get; set; } + + /// + /// The current killing spree the player is on by the player + /// + [Description("The current killing spree the player is on by the player")] + [DataMember(Name = "KillingSpree", Order = 16)] + public decimal? KillingSpree { get; set; } + + /// + /// The longest time spent alive by the player + /// + [Description("The longest time spent alive by the player")] + [DataMember(Name = "LongestTimeSpentLiving", Order = 17)] + public decimal? LongestTimeSpentLiving { get; set; } + + /// + /// The total number of Double Kills by the player + /// + [Description("The total number of Double Kills by the player")] + [DataMember(Name = "DoubleKills", Order = 18)] + public decimal? DoubleKills { get; set; } + + /// + /// The total number of Triple Kills by the player + /// + [Description("The total number of Triple Kills by the player")] + [DataMember(Name = "TripleKills", Order = 19)] + public decimal? TripleKills { get; set; } + + /// + /// The total number of Quadra Kills by the player + /// + [Description("The total number of Quadra Kills by the player")] + [DataMember(Name = "QuadraKills", Order = 20)] + public decimal? QuadraKills { get; set; } + + /// + /// The total number of Penta Kills by the player + /// + [Description("The total number of Penta Kills by the player")] + [DataMember(Name = "PentaKills", Order = 21)] + public decimal? PentaKills { get; set; } + + /// + /// The total number of Unreal Kills by the player + /// + [Description("The total number of Unreal Kills by the player")] + [DataMember(Name = "UnrealKills", Order = 22)] + public decimal? UnrealKills { get; set; } + + /// + /// The total damage dealt by the player + /// + [Description("The total damage dealt by the player")] + [DataMember(Name = "TotalDamageDealt", Order = 23)] + public decimal? TotalDamageDealt { get; set; } + + /// + /// The total magical damage dealt by the player + /// + [Description("The total magical damage dealt by the player")] + [DataMember(Name = "MagicDamageDealt", Order = 24)] + public decimal? MagicDamageDealt { get; set; } + + /// + /// The total physical damage dealt by the player + /// + [Description("The total physical damage dealt by the player")] + [DataMember(Name = "PhysicalDamageDealt", Order = 25)] + public decimal? PhysicalDamageDealt { get; set; } + + /// + /// The total true damage dealt by the player + /// + [Description("The total true damage dealt by the player")] + [DataMember(Name = "TrueDamageDealt", Order = 26)] + public decimal? TrueDamageDealt { get; set; } + + /// + /// The largest single critical strike damage by the player + /// + [Description("The largest single critical strike damage by the player")] + [DataMember(Name = "LargestCriticalStrike", Order = 27)] + public decimal? LargestCriticalStrike { get; set; } + + /// + /// The total damage dealt to opposing champions by the player + /// + [Description("The total damage dealt to opposing champions by the player")] + [DataMember(Name = "TotalDamageDealtToChampions", Order = 28)] + public decimal? TotalDamageDealtToChampions { get; set; } + + /// + /// The total magical damage dealt to opposing champions by the player + /// + [Description("The total magical damage dealt to opposing champions by the player")] + [DataMember(Name = "MagicDamageDealtToChampions", Order = 29)] + public decimal? MagicDamageDealtToChampions { get; set; } + + /// + /// The total physical damage dealt to opposing champions by the player + /// + [Description("The total physical damage dealt to opposing champions by the player")] + [DataMember(Name = "PhysicalDamageDealtToChampions", Order = 30)] + public decimal? PhysicalDamageDealtToChampions { get; set; } + + /// + /// The total true damage dealt to opposing champions by the player + /// + [Description("The total true damage dealt to opposing champions by the player")] + [DataMember(Name = "TrueDamageDealtToChampions", Order = 31)] + public decimal? TrueDamageDealtToChampions { get; set; } + + /// + /// The total amount of heal by the player + /// + [Description("The total amount of heal by the player")] + [DataMember(Name = "TotalHeal", Order = 32)] + public decimal? TotalHeal { get; set; } + + /// + /// The total number of units healed by the player + /// + [Description("The total number of units healed by the player")] + [DataMember(Name = "TotalUnitsHealed", Order = 33)] + public decimal? TotalUnitsHealed { get; set; } + + /// + /// The total amount of damage taken by the player + /// + [Description("The total amount of damage taken by the player")] + [DataMember(Name = "TotalDamageTaken", Order = 34)] + public decimal? TotalDamageTaken { get; set; } + + /// + /// The total amount of magical damage taken by the player + /// + [Description("The total amount of magical damage taken by the player")] + [DataMember(Name = "MagicDamageTaken", Order = 35)] + public decimal? MagicDamageTaken { get; set; } + + /// + /// The total amount of physical damage taken by the player + /// + [Description("The total amount of physical damage taken by the player")] + [DataMember(Name = "PhysicalDamageTaken", Order = 36)] + public decimal? PhysicalDamageTaken { get; set; } + + /// + /// The total amount of true damage taken by the player + /// + [Description("The total amount of true damage taken by the player")] + [DataMember(Name = "TrueDamageTaken", Order = 37)] + public decimal? TrueDamageTaken { get; set; } + + /// + /// The total gold earned by the player + /// + [Description("The total gold earned by the player")] + [DataMember(Name = "GoldEarned", Order = 38)] + public decimal? GoldEarned { get; set; } + + /// + /// The total gold spent by the player + /// + [Description("The total gold spent by the player")] + [DataMember(Name = "GoldSpent", Order = 39)] + public decimal? GoldSpent { get; set; } + + /// + /// The total number of turrets killed by the player + /// + [Description("The total number of turrets killed by the player")] + [DataMember(Name = "TurretKills", Order = 40)] + public decimal? TurretKills { get; set; } + + /// + /// The total number of inhibitors killed by the player + /// + [Description("The total number of inhibitors killed by the player")] + [DataMember(Name = "InhibitorKills", Order = 41)] + public decimal? InhibitorKills { get; set; } + + /// + /// The total number of minions killed by the player + /// + [Description("The total number of minions killed by the player")] + [DataMember(Name = "TotalMinionsKilled", Order = 42)] + public decimal? TotalMinionsKilled { get; set; } + + /// + /// The total number of neutral minions killed by the player + /// + [Description("The total number of neutral minions killed by the player")] + [DataMember(Name = "NeutralMinionsKIlled", Order = 43)] + public decimal? NeutralMinionsKIlled { get; set; } + + /// + /// The total number of neutral minions killed by the player in their own jungle + /// + [Description("The total number of neutral minions killed by the player in their own jungle")] + [DataMember(Name = "NeutralMinionsKIlledTeamJungle", Order = 44)] + public decimal? NeutralMinionsKIlledTeamJungle { get; set; } + + /// + /// The total number of neutral minions killed by the player in the enemy jungle + /// + [Description("The total number of neutral minions killed by the player in the enemy jungle")] + [DataMember(Name = "NeutralMinionsKilledEnemyJungle", Order = 45)] + public decimal? NeutralMinionsKilledEnemyJungle { get; set; } + + /// + /// The total time enemies were crowd controlled by the player + /// + [Description("The total time enemies were crowd controlled by the player")] + [DataMember(Name = "TotalTimeCrowdControlDealt", Order = 46)] + public decimal? TotalTimeCrowdControlDealt { get; set; } + + /// + /// The total number of vision wards bought by the player + /// + [Description("The total number of vision wards bought by the player")] + [DataMember(Name = "VisionWardsBoughtInGame", Order = 47)] + public decimal? VisionWardsBoughtInGame { get; set; } + + /// + /// The total number of sight wards bought by the player + /// + [Description("The total number of sight wards bought by the player")] + [DataMember(Name = "SightWardsBoughtInGame", Order = 48)] + public decimal? SightWardsBoughtInGame { get; set; } + + /// + /// The total number of wards placed by the player + /// + [Description("The total number of wards placed by the player")] + [DataMember(Name = "WardsPlaced", Order = 49)] + public decimal? WardsPlaced { get; set; } + + /// + /// The total number of wards killed by the player + /// + [Description("The total number of wards killed by the player")] + [DataMember(Name = "WardsKilled", Order = 50)] + public decimal? WardsKilled { get; set; } + + /// + /// The player's combat player score + /// + [Description("The player's combat player score")] + [DataMember(Name = "CombatPlayerScore", Order = 51)] + public decimal? CombatPlayerScore { get; set; } + + /// + /// The player's objective player score + /// + [Description("The player's objective player score")] + [DataMember(Name = "ObjectivePlayerScore", Order = 52)] + public decimal? ObjectivePlayerScore { get; set; } + + /// + /// The player's total player score + /// + [Description("The player's total player score")] + [DataMember(Name = "TotalPlayerScore", Order = 53)] + public decimal? TotalPlayerScore { get; set; } + + /// + /// Did player reach either 10 kills or 10 assists in a single match + /// + [Description("Did player reach either 10 kills or 10 assists in a single match")] + [DataMember(Name = "TenKillsOrAssists", Order = 54)] + public decimal? TenKillsOrAssists { get; set; } + + /// + /// The last update time of the record + /// + [Description("The last update time of the record")] + [DataMember(Name = "Updated", Order = 55)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 56)] + public int Games { get; set; } + + /// + /// The number of matches played + /// + [Description("The number of matches played")] + [DataMember(Name = "Matches", Order = 57)] + public int Matches { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/PlayerMatch.cs b/FantasyData.Api.Client.NetCore/Model/Lol/PlayerMatch.cs new file mode 100644 index 0000000..9539805 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/PlayerMatch.cs @@ -0,0 +1,461 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="PlayerMatch")] + [Serializable] + public partial class PlayerMatch + { + /// + /// The Unique Id of the match + /// + [Description("The Unique Id of the match")] + [DataMember(Name = "MatchId", Order = 1)] + public int MatchId { get; set; } + + /// + /// The position or role the player played + /// + [Description("The position or role the player played ")] + [DataMember(Name = "Position", Order = 2)] + public string Position { get; set; } + + /// + /// The Id of the champion used + /// + [Description("The Id of the champion used")] + [DataMember(Name = "ChampionId", Order = 3)] + public int? ChampionId { get; set; } + + /// + /// The level of the champion + /// + [Description("The level of the champion")] + [DataMember(Name = "ChampionLevel", Order = 4)] + public int? ChampionLevel { get; set; } + + /// + /// The name and basic information of the champion + /// + [Description("The name and basic information of the champion")] + [DataMember(Name = "Champion", Order = 10005)] + public ChampionInfo Champion { get; set; } + + /// + /// The list of items held by the player + /// + [Description("The list of items held by the player")] + [DataMember(Name = "Items", Order = 20006)] + public Item[] Items { get; set; } + + /// + /// The list of spells of the player + /// + [Description("The list of spells of the player")] + [DataMember(Name = "Spells", Order = 20007)] + public Spell[] Spells { get; set; } + + /// + /// The Unique ID of the Game + /// + [Description("The Unique ID of the Game")] + [DataMember(Name = "GameId", Order = 8)] + public int GameId { get; set; } + + /// + /// The Unique ID of the opposing team + /// + [Description("The Unique ID of the opposing team")] + [DataMember(Name = "OpponentId", Order = 9)] + public int OpponentId { get; set; } + + /// + /// The team key of the opposing team + /// + [Description("The team key of the opposing team")] + [DataMember(Name = "Opponent", Order = 10)] + public string Opponent { get; set; } + + /// + /// The date of the event + /// + [Description("The date of the event")] + [DataMember(Name = "Day", Order = 11)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the event + /// + [Description("The date and time of the event")] + [DataMember(Name = "DateTime", Order = 12)] + public DateTime? DateTime { get; set; } + + /// + /// The Unique Id of the player + /// + [Description("The Unique Id of the player")] + [DataMember(Name = "PlayerId", Order = 13)] + public int PlayerId { get; set; } + + /// + /// The unique Id of the team the player played for this match + /// + [Description("The unique Id of the team the player played for this match")] + [DataMember(Name = "TeamId", Order = 14)] + public int? TeamId { get; set; } + + /// + /// The team key of the team the player played for this match + /// + [Description("The team key of the team the player played for this match")] + [DataMember(Name = "Team", Order = 15)] + public string Team { get; set; } + + /// + /// The player's name + /// + [Description("The player's name")] + [DataMember(Name = "Name", Order = 16)] + public string Name { get; set; } + + /// + /// The player's match name. + /// + [Description("The player's match name.")] + [DataMember(Name = "MatchName", Order = 17)] + public string MatchName { get; set; } + + /// + /// The total number of Kills by the player + /// + [Description("The total number of Kills by the player")] + [DataMember(Name = "Kills", Order = 18)] + public decimal? Kills { get; set; } + + /// + /// The total number of Assists by the player + /// + [Description("The total number of Assists by the player")] + [DataMember(Name = "Assists", Order = 19)] + public decimal? Assists { get; set; } + + /// + /// The total number of Deaths by the player + /// + [Description("The total number of Deaths by the player")] + [DataMember(Name = "Deaths", Order = 20)] + public decimal? Deaths { get; set; } + + /// + /// The longest killing spree achieved by the player + /// + [Description("The longest killing spree achieved by the player")] + [DataMember(Name = "LargestKillingSpree", Order = 21)] + public decimal? LargestKillingSpree { get; set; } + + /// + /// The largest multikill achieved by the player + /// + [Description("The largest multikill achieved by the player")] + [DataMember(Name = "LargestMultiKill", Order = 22)] + public decimal? LargestMultiKill { get; set; } + + /// + /// The current killing spree the player is on by the player + /// + [Description("The current killing spree the player is on by the player")] + [DataMember(Name = "KillingSpree", Order = 23)] + public decimal? KillingSpree { get; set; } + + /// + /// The longest time spent alive by the player + /// + [Description("The longest time spent alive by the player")] + [DataMember(Name = "LongestTimeSpentLiving", Order = 24)] + public decimal? LongestTimeSpentLiving { get; set; } + + /// + /// The total number of Double Kills by the player + /// + [Description("The total number of Double Kills by the player")] + [DataMember(Name = "DoubleKills", Order = 25)] + public decimal? DoubleKills { get; set; } + + /// + /// The total number of Triple Kills by the player + /// + [Description("The total number of Triple Kills by the player")] + [DataMember(Name = "TripleKills", Order = 26)] + public decimal? TripleKills { get; set; } + + /// + /// The total number of Quadra Kills by the player + /// + [Description("The total number of Quadra Kills by the player")] + [DataMember(Name = "QuadraKills", Order = 27)] + public decimal? QuadraKills { get; set; } + + /// + /// The total number of Penta Kills by the player + /// + [Description("The total number of Penta Kills by the player")] + [DataMember(Name = "PentaKills", Order = 28)] + public decimal? PentaKills { get; set; } + + /// + /// The total number of Unreal Kills by the player + /// + [Description("The total number of Unreal Kills by the player")] + [DataMember(Name = "UnrealKills", Order = 29)] + public decimal? UnrealKills { get; set; } + + /// + /// The total damage dealt by the player + /// + [Description("The total damage dealt by the player")] + [DataMember(Name = "TotalDamageDealt", Order = 30)] + public decimal? TotalDamageDealt { get; set; } + + /// + /// The total magical damage dealt by the player + /// + [Description("The total magical damage dealt by the player")] + [DataMember(Name = "MagicDamageDealt", Order = 31)] + public decimal? MagicDamageDealt { get; set; } + + /// + /// The total physical damage dealt by the player + /// + [Description("The total physical damage dealt by the player")] + [DataMember(Name = "PhysicalDamageDealt", Order = 32)] + public decimal? PhysicalDamageDealt { get; set; } + + /// + /// The total true damage dealt by the player + /// + [Description("The total true damage dealt by the player")] + [DataMember(Name = "TrueDamageDealt", Order = 33)] + public decimal? TrueDamageDealt { get; set; } + + /// + /// The largest single critical strike damage by the player + /// + [Description("The largest single critical strike damage by the player")] + [DataMember(Name = "LargestCriticalStrike", Order = 34)] + public decimal? LargestCriticalStrike { get; set; } + + /// + /// The total damage dealt to opposing champions by the player + /// + [Description("The total damage dealt to opposing champions by the player")] + [DataMember(Name = "TotalDamageDealtToChampions", Order = 35)] + public decimal? TotalDamageDealtToChampions { get; set; } + + /// + /// The total magical damage dealt to opposing champions by the player + /// + [Description("The total magical damage dealt to opposing champions by the player")] + [DataMember(Name = "MagicDamageDealtToChampions", Order = 36)] + public decimal? MagicDamageDealtToChampions { get; set; } + + /// + /// The total physical damage dealt to opposing champions by the player + /// + [Description("The total physical damage dealt to opposing champions by the player")] + [DataMember(Name = "PhysicalDamageDealtToChampions", Order = 37)] + public decimal? PhysicalDamageDealtToChampions { get; set; } + + /// + /// The total true damage dealt to opposing champions by the player + /// + [Description("The total true damage dealt to opposing champions by the player")] + [DataMember(Name = "TrueDamageDealtToChampions", Order = 38)] + public decimal? TrueDamageDealtToChampions { get; set; } + + /// + /// The total amount of heal by the player + /// + [Description("The total amount of heal by the player")] + [DataMember(Name = "TotalHeal", Order = 39)] + public decimal? TotalHeal { get; set; } + + /// + /// The total number of units healed by the player + /// + [Description("The total number of units healed by the player")] + [DataMember(Name = "TotalUnitsHealed", Order = 40)] + public decimal? TotalUnitsHealed { get; set; } + + /// + /// The total amount of damage taken by the player + /// + [Description("The total amount of damage taken by the player")] + [DataMember(Name = "TotalDamageTaken", Order = 41)] + public decimal? TotalDamageTaken { get; set; } + + /// + /// The total amount of magical damage taken by the player + /// + [Description("The total amount of magical damage taken by the player")] + [DataMember(Name = "MagicDamageTaken", Order = 42)] + public decimal? MagicDamageTaken { get; set; } + + /// + /// The total amount of physical damage taken by the player + /// + [Description("The total amount of physical damage taken by the player")] + [DataMember(Name = "PhysicalDamageTaken", Order = 43)] + public decimal? PhysicalDamageTaken { get; set; } + + /// + /// The total amount of true damage taken by the player + /// + [Description("The total amount of true damage taken by the player")] + [DataMember(Name = "TrueDamageTaken", Order = 44)] + public decimal? TrueDamageTaken { get; set; } + + /// + /// The total gold earned by the player + /// + [Description("The total gold earned by the player")] + [DataMember(Name = "GoldEarned", Order = 45)] + public decimal? GoldEarned { get; set; } + + /// + /// The total gold spent by the player + /// + [Description("The total gold spent by the player")] + [DataMember(Name = "GoldSpent", Order = 46)] + public decimal? GoldSpent { get; set; } + + /// + /// The total number of turrets killed by the player + /// + [Description("The total number of turrets killed by the player")] + [DataMember(Name = "TurretKills", Order = 47)] + public decimal? TurretKills { get; set; } + + /// + /// The total number of inhibitors killed by the player + /// + [Description("The total number of inhibitors killed by the player")] + [DataMember(Name = "InhibitorKills", Order = 48)] + public decimal? InhibitorKills { get; set; } + + /// + /// The total number of minions killed by the player + /// + [Description("The total number of minions killed by the player")] + [DataMember(Name = "TotalMinionsKilled", Order = 49)] + public decimal? TotalMinionsKilled { get; set; } + + /// + /// The total number of neutral minions killed by the player + /// + [Description("The total number of neutral minions killed by the player")] + [DataMember(Name = "NeutralMinionsKIlled", Order = 50)] + public decimal? NeutralMinionsKIlled { get; set; } + + /// + /// The total number of neutral minions killed by the player in their own jungle + /// + [Description("The total number of neutral minions killed by the player in their own jungle")] + [DataMember(Name = "NeutralMinionsKIlledTeamJungle", Order = 51)] + public decimal? NeutralMinionsKIlledTeamJungle { get; set; } + + /// + /// The total number of neutral minions killed by the player in the enemy jungle + /// + [Description("The total number of neutral minions killed by the player in the enemy jungle")] + [DataMember(Name = "NeutralMinionsKilledEnemyJungle", Order = 52)] + public decimal? NeutralMinionsKilledEnemyJungle { get; set; } + + /// + /// The total time enemies were crowd controlled by the player + /// + [Description("The total time enemies were crowd controlled by the player")] + [DataMember(Name = "TotalTimeCrowdControlDealt", Order = 53)] + public decimal? TotalTimeCrowdControlDealt { get; set; } + + /// + /// The total number of vision wards bought by the player + /// + [Description("The total number of vision wards bought by the player")] + [DataMember(Name = "VisionWardsBoughtInGame", Order = 54)] + public decimal? VisionWardsBoughtInGame { get; set; } + + /// + /// The total number of sight wards bought by the player + /// + [Description("The total number of sight wards bought by the player")] + [DataMember(Name = "SightWardsBoughtInGame", Order = 55)] + public decimal? SightWardsBoughtInGame { get; set; } + + /// + /// The total number of wards placed by the player + /// + [Description("The total number of wards placed by the player")] + [DataMember(Name = "WardsPlaced", Order = 56)] + public decimal? WardsPlaced { get; set; } + + /// + /// The total number of wards killed by the player + /// + [Description("The total number of wards killed by the player")] + [DataMember(Name = "WardsKilled", Order = 57)] + public decimal? WardsKilled { get; set; } + + /// + /// The player's combat player score + /// + [Description("The player's combat player score")] + [DataMember(Name = "CombatPlayerScore", Order = 58)] + public decimal? CombatPlayerScore { get; set; } + + /// + /// The player's objective player score + /// + [Description("The player's objective player score")] + [DataMember(Name = "ObjectivePlayerScore", Order = 59)] + public decimal? ObjectivePlayerScore { get; set; } + + /// + /// The player's total player score + /// + [Description("The player's total player score")] + [DataMember(Name = "TotalPlayerScore", Order = 60)] + public decimal? TotalPlayerScore { get; set; } + + /// + /// Did player reach either 10 kills or 10 assists in a single match + /// + [Description("Did player reach either 10 kills or 10 assists in a single match")] + [DataMember(Name = "TenKillsOrAssists", Order = 61)] + public decimal? TenKillsOrAssists { get; set; } + + /// + /// The last update time of the record + /// + [Description("The last update time of the record")] + [DataMember(Name = "Updated", Order = 62)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 63)] + public int Games { get; set; } + + /// + /// The number of matches played + /// + [Description("The number of matches played")] + [DataMember(Name = "Matches", Order = 64)] + public int Matches { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/PlayerStat.cs b/FantasyData.Api.Client.NetCore/Model/Lol/PlayerStat.cs new file mode 100644 index 0000000..50ff689 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/PlayerStat.cs @@ -0,0 +1,377 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="PlayerStat")] + [Serializable] + public partial class PlayerStat + { + /// + /// The Unique Id of the player + /// + [Description("The Unique Id of the player")] + [DataMember(Name = "PlayerId", Order = 1)] + public int PlayerId { get; set; } + + /// + /// The unique Id of the team the player played for this match + /// + [Description("The unique Id of the team the player played for this match")] + [DataMember(Name = "TeamId", Order = 2)] + public int? TeamId { get; set; } + + /// + /// The team key of the team the player played for this match + /// + [Description("The team key of the team the player played for this match")] + [DataMember(Name = "Team", Order = 3)] + public string Team { get; set; } + + /// + /// The player's name + /// + [Description("The player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The player's match name. + /// + [Description("The player's match name.")] + [DataMember(Name = "MatchName", Order = 5)] + public string MatchName { get; set; } + + /// + /// The total number of Kills by the player + /// + [Description("The total number of Kills by the player")] + [DataMember(Name = "Kills", Order = 6)] + public decimal? Kills { get; set; } + + /// + /// The total number of Assists by the player + /// + [Description("The total number of Assists by the player")] + [DataMember(Name = "Assists", Order = 7)] + public decimal? Assists { get; set; } + + /// + /// The total number of Deaths by the player + /// + [Description("The total number of Deaths by the player")] + [DataMember(Name = "Deaths", Order = 8)] + public decimal? Deaths { get; set; } + + /// + /// The longest killing spree achieved by the player + /// + [Description("The longest killing spree achieved by the player")] + [DataMember(Name = "LargestKillingSpree", Order = 9)] + public decimal? LargestKillingSpree { get; set; } + + /// + /// The largest multikill achieved by the player + /// + [Description("The largest multikill achieved by the player")] + [DataMember(Name = "LargestMultiKill", Order = 10)] + public decimal? LargestMultiKill { get; set; } + + /// + /// The current killing spree the player is on by the player + /// + [Description("The current killing spree the player is on by the player")] + [DataMember(Name = "KillingSpree", Order = 11)] + public decimal? KillingSpree { get; set; } + + /// + /// The longest time spent alive by the player + /// + [Description("The longest time spent alive by the player")] + [DataMember(Name = "LongestTimeSpentLiving", Order = 12)] + public decimal? LongestTimeSpentLiving { get; set; } + + /// + /// The total number of Double Kills by the player + /// + [Description("The total number of Double Kills by the player")] + [DataMember(Name = "DoubleKills", Order = 13)] + public decimal? DoubleKills { get; set; } + + /// + /// The total number of Triple Kills by the player + /// + [Description("The total number of Triple Kills by the player")] + [DataMember(Name = "TripleKills", Order = 14)] + public decimal? TripleKills { get; set; } + + /// + /// The total number of Quadra Kills by the player + /// + [Description("The total number of Quadra Kills by the player")] + [DataMember(Name = "QuadraKills", Order = 15)] + public decimal? QuadraKills { get; set; } + + /// + /// The total number of Penta Kills by the player + /// + [Description("The total number of Penta Kills by the player")] + [DataMember(Name = "PentaKills", Order = 16)] + public decimal? PentaKills { get; set; } + + /// + /// The total number of Unreal Kills by the player + /// + [Description("The total number of Unreal Kills by the player")] + [DataMember(Name = "UnrealKills", Order = 17)] + public decimal? UnrealKills { get; set; } + + /// + /// The total damage dealt by the player + /// + [Description("The total damage dealt by the player")] + [DataMember(Name = "TotalDamageDealt", Order = 18)] + public decimal? TotalDamageDealt { get; set; } + + /// + /// The total magical damage dealt by the player + /// + [Description("The total magical damage dealt by the player")] + [DataMember(Name = "MagicDamageDealt", Order = 19)] + public decimal? MagicDamageDealt { get; set; } + + /// + /// The total physical damage dealt by the player + /// + [Description("The total physical damage dealt by the player")] + [DataMember(Name = "PhysicalDamageDealt", Order = 20)] + public decimal? PhysicalDamageDealt { get; set; } + + /// + /// The total true damage dealt by the player + /// + [Description("The total true damage dealt by the player")] + [DataMember(Name = "TrueDamageDealt", Order = 21)] + public decimal? TrueDamageDealt { get; set; } + + /// + /// The largest single critical strike damage by the player + /// + [Description("The largest single critical strike damage by the player")] + [DataMember(Name = "LargestCriticalStrike", Order = 22)] + public decimal? LargestCriticalStrike { get; set; } + + /// + /// The total damage dealt to opposing champions by the player + /// + [Description("The total damage dealt to opposing champions by the player")] + [DataMember(Name = "TotalDamageDealtToChampions", Order = 23)] + public decimal? TotalDamageDealtToChampions { get; set; } + + /// + /// The total magical damage dealt to opposing champions by the player + /// + [Description("The total magical damage dealt to opposing champions by the player")] + [DataMember(Name = "MagicDamageDealtToChampions", Order = 24)] + public decimal? MagicDamageDealtToChampions { get; set; } + + /// + /// The total physical damage dealt to opposing champions by the player + /// + [Description("The total physical damage dealt to opposing champions by the player")] + [DataMember(Name = "PhysicalDamageDealtToChampions", Order = 25)] + public decimal? PhysicalDamageDealtToChampions { get; set; } + + /// + /// The total true damage dealt to opposing champions by the player + /// + [Description("The total true damage dealt to opposing champions by the player")] + [DataMember(Name = "TrueDamageDealtToChampions", Order = 26)] + public decimal? TrueDamageDealtToChampions { get; set; } + + /// + /// The total amount of heal by the player + /// + [Description("The total amount of heal by the player")] + [DataMember(Name = "TotalHeal", Order = 27)] + public decimal? TotalHeal { get; set; } + + /// + /// The total number of units healed by the player + /// + [Description("The total number of units healed by the player")] + [DataMember(Name = "TotalUnitsHealed", Order = 28)] + public decimal? TotalUnitsHealed { get; set; } + + /// + /// The total amount of damage taken by the player + /// + [Description("The total amount of damage taken by the player")] + [DataMember(Name = "TotalDamageTaken", Order = 29)] + public decimal? TotalDamageTaken { get; set; } + + /// + /// The total amount of magical damage taken by the player + /// + [Description("The total amount of magical damage taken by the player")] + [DataMember(Name = "MagicDamageTaken", Order = 30)] + public decimal? MagicDamageTaken { get; set; } + + /// + /// The total amount of physical damage taken by the player + /// + [Description("The total amount of physical damage taken by the player")] + [DataMember(Name = "PhysicalDamageTaken", Order = 31)] + public decimal? PhysicalDamageTaken { get; set; } + + /// + /// The total amount of true damage taken by the player + /// + [Description("The total amount of true damage taken by the player")] + [DataMember(Name = "TrueDamageTaken", Order = 32)] + public decimal? TrueDamageTaken { get; set; } + + /// + /// The total gold earned by the player + /// + [Description("The total gold earned by the player")] + [DataMember(Name = "GoldEarned", Order = 33)] + public decimal? GoldEarned { get; set; } + + /// + /// The total gold spent by the player + /// + [Description("The total gold spent by the player")] + [DataMember(Name = "GoldSpent", Order = 34)] + public decimal? GoldSpent { get; set; } + + /// + /// The total number of turrets killed by the player + /// + [Description("The total number of turrets killed by the player")] + [DataMember(Name = "TurretKills", Order = 35)] + public decimal? TurretKills { get; set; } + + /// + /// The total number of inhibitors killed by the player + /// + [Description("The total number of inhibitors killed by the player")] + [DataMember(Name = "InhibitorKills", Order = 36)] + public decimal? InhibitorKills { get; set; } + + /// + /// The total number of minions killed by the player + /// + [Description("The total number of minions killed by the player")] + [DataMember(Name = "TotalMinionsKilled", Order = 37)] + public decimal? TotalMinionsKilled { get; set; } + + /// + /// The total number of neutral minions killed by the player + /// + [Description("The total number of neutral minions killed by the player")] + [DataMember(Name = "NeutralMinionsKIlled", Order = 38)] + public decimal? NeutralMinionsKIlled { get; set; } + + /// + /// The total number of neutral minions killed by the player in their own jungle + /// + [Description("The total number of neutral minions killed by the player in their own jungle")] + [DataMember(Name = "NeutralMinionsKIlledTeamJungle", Order = 39)] + public decimal? NeutralMinionsKIlledTeamJungle { get; set; } + + /// + /// The total number of neutral minions killed by the player in the enemy jungle + /// + [Description("The total number of neutral minions killed by the player in the enemy jungle")] + [DataMember(Name = "NeutralMinionsKilledEnemyJungle", Order = 40)] + public decimal? NeutralMinionsKilledEnemyJungle { get; set; } + + /// + /// The total time enemies were crowd controlled by the player + /// + [Description("The total time enemies were crowd controlled by the player")] + [DataMember(Name = "TotalTimeCrowdControlDealt", Order = 41)] + public decimal? TotalTimeCrowdControlDealt { get; set; } + + /// + /// The total number of vision wards bought by the player + /// + [Description("The total number of vision wards bought by the player")] + [DataMember(Name = "VisionWardsBoughtInGame", Order = 42)] + public decimal? VisionWardsBoughtInGame { get; set; } + + /// + /// The total number of sight wards bought by the player + /// + [Description("The total number of sight wards bought by the player")] + [DataMember(Name = "SightWardsBoughtInGame", Order = 43)] + public decimal? SightWardsBoughtInGame { get; set; } + + /// + /// The total number of wards placed by the player + /// + [Description("The total number of wards placed by the player")] + [DataMember(Name = "WardsPlaced", Order = 44)] + public decimal? WardsPlaced { get; set; } + + /// + /// The total number of wards killed by the player + /// + [Description("The total number of wards killed by the player")] + [DataMember(Name = "WardsKilled", Order = 45)] + public decimal? WardsKilled { get; set; } + + /// + /// The player's combat player score + /// + [Description("The player's combat player score")] + [DataMember(Name = "CombatPlayerScore", Order = 46)] + public decimal? CombatPlayerScore { get; set; } + + /// + /// The player's objective player score + /// + [Description("The player's objective player score")] + [DataMember(Name = "ObjectivePlayerScore", Order = 47)] + public decimal? ObjectivePlayerScore { get; set; } + + /// + /// The player's total player score + /// + [Description("The player's total player score")] + [DataMember(Name = "TotalPlayerScore", Order = 48)] + public decimal? TotalPlayerScore { get; set; } + + /// + /// Did player reach either 10 kills or 10 assists in a single match + /// + [Description("Did player reach either 10 kills or 10 assists in a single match")] + [DataMember(Name = "TenKillsOrAssists", Order = 49)] + public decimal? TenKillsOrAssists { get; set; } + + /// + /// The last update time of the record + /// + [Description("The last update time of the record")] + [DataMember(Name = "Updated", Order = 50)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 51)] + public int Games { get; set; } + + /// + /// The number of matches played + /// + [Description("The number of matches played")] + [DataMember(Name = "Matches", Order = 52)] + public int Matches { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Round.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Round.cs new file mode 100644 index 0000000..eb76429 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Round.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Round")] + [Serializable] + public partial class Round + { + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 1)] + public int RoundId { get; set; } + + /// + /// The unique ID of the season this round is associated with + /// + [Description("The unique ID of the season this round is associated with")] + [DataMember(Name = "SeasonId", Order = 2)] + public int SeasonId { get; set; } + + /// + /// The soccer season for which these totals apply + /// + [Description("The soccer season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int SeasonType { get; set; } + + /// + /// The display name of the round (examples: Regular Season, Semi-finals, Final, etc) + /// + [Description("The display name of the round (examples: Regular Season, Semi-finals, Final, etc)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The type of this round. Possible values include: Cup, Table + /// + [Description("The type of this round. Possible values include: Cup, Table")] + [DataMember(Name = "Type", Order = 6)] + public string Type { get; set; } + + /// + /// The start date of the round (UTC) + /// + [Description("The start date of the round (UTC)")] + [DataMember(Name = "StartDate", Order = 7)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of the round (UTC) + /// + [Description("The end date of the round (UTC)")] + [DataMember(Name = "EndDate", Order = 8)] + public DateTime? EndDate { get; set; } + + /// + /// The current week that this round is in + /// + [Description("The current week that this round is in")] + [DataMember(Name = "CurrentWeek", Order = 9)] + public int? CurrentWeek { get; set; } + + /// + /// Indicates whether or not this round is the current round of the competition/season + /// + [Description("Indicates whether or not this round is the current round of the competition/season")] + [DataMember(Name = "CurrentRound", Order = 10)] + public bool CurrentRound { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Season.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Season.cs new file mode 100644 index 0000000..7b02fcf --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Season.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The unique ID of the season + /// + [Description("The unique ID of the season")] + [DataMember(Name = "SeasonId", Order = 1)] + public int SeasonId { get; set; } + + /// + /// The unique ID of the competition + /// + [Description("The unique ID of the competition")] + [DataMember(Name = "CompetitionId", Order = 2)] + public int CompetitionId { get; set; } + + /// + /// The soccer regular season for which these totals apply + /// + [Description("The soccer regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Year { get; set; } + + /// + /// The display name of the season (example: 2017/2018, 2018-19, etc) + /// + [Description("The display name of the season (example: 2017/2018, 2018-19, etc)")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The display name of the competition associated with this season + /// + [Description("The display name of the competition associated with this season")] + [DataMember(Name = "CompetitionName", Order = 5)] + public string CompetitionName { get; set; } + + /// + /// The start date of the season (UTC) + /// + [Description("The start date of the season (UTC)")] + [DataMember(Name = "StartDate", Order = 6)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of the season (UTC) + /// + [Description("The end date of the season (UTC)")] + [DataMember(Name = "EndDate", Order = 7)] + public DateTime? EndDate { get; set; } + + /// + /// Indicates whether or not this season is the current season of the competition + /// + [Description("Indicates whether or not this season is the current season of the competition")] + [DataMember(Name = "CurrentSeason", Order = 8)] + public bool CurrentSeason { get; set; } + + /// + /// The rounds associated with this season + /// + [Description("The rounds associated with this season")] + [DataMember(Name = "Rounds", Order = 20009)] + public Round[] Rounds { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/SeasonTeam.cs b/FantasyData.Api.Client.NetCore/Model/Lol/SeasonTeam.cs new file mode 100644 index 0000000..b55479b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/SeasonTeam.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="SeasonTeam")] + [Serializable] + public partial class SeasonTeam + { + /// + /// Unique ID of this season/team combination + /// + [Description("Unique ID of this season/team combination")] + [DataMember(Name = "SeasonTeamId", Order = 1)] + public int SeasonTeamId { get; set; } + + /// + /// Unique ID of the season associated with this record + /// + [Description("Unique ID of the season associated with this record")] + [DataMember(Name = "SeasonId", Order = 2)] + public int SeasonId { get; set; } + + /// + /// Unique ID of the team associated with this record + /// + [Description("Unique ID of the team associated with this record")] + [DataMember(Name = "TeamId", Order = 3)] + public int TeamId { get; set; } + + /// + /// The name of the team associated with this record + /// + [Description("The name of the team associated with this record")] + [DataMember(Name = "TeamName", Order = 4)] + public string TeamName { get; set; } + + /// + /// Whether this team is actively associated with this season + /// + [Description("Whether this team is actively associated with this season")] + [DataMember(Name = "Active", Order = 5)] + public bool Active { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 6)] + public string Gender { get; set; } + + /// + /// The type of this season/team (possible values: Club, National) + /// + [Description("The type of this season/team (possible values: Club, National)")] + [DataMember(Name = "Type", Order = 7)] + public string Type { get; set; } + + /// + /// The team details of this season/team association + /// + [Description("The team details of this season/team association")] + [DataMember(Name = "Team", Order = 10008)] + public Team Team { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Spell.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Spell.cs new file mode 100644 index 0000000..8450464 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Spell.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Spell")] + [Serializable] + public partial class Spell + { + /// + /// The unique id of the spell + /// + [Description("The unique id of the spell")] + [DataMember(Name = "SpellId", Order = 1)] + public int SpellId { get; set; } + + /// + /// The name of the spell + /// + [Description("The name of the spell")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Standing.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Standing.cs new file mode 100644 index 0000000..e0bc4ed --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Standing.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + /// + /// The unique ID of the standing + /// + [Description("The unique ID of the standing")] + [DataMember(Name = "StandingId", Order = 1)] + public int StandingId { get; set; } + + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 2)] + public int RoundId { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 3)] + public int TeamId { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The order of the teams in the standings + /// + [Description("The order of the teams in the standings")] + [DataMember(Name = "Order", Order = 5)] + public int? Order { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 6)] + public int Games { get; set; } + + /// + /// The number of wins + /// + [Description("The number of wins")] + [DataMember(Name = "Wins", Order = 7)] + public int Wins { get; set; } + + /// + /// The number of losses + /// + [Description("The number of losses")] + [DataMember(Name = "Losses", Order = 8)] + public int Losses { get; set; } + + /// + /// Total points accumulated + /// + [Description("Total points accumulated")] + [DataMember(Name = "Points", Order = 9)] + public int Points { get; set; } + + /// + /// The total score for the team + /// + [Description("The total score for the team")] + [DataMember(Name = "ScoreFor", Order = 10)] + public int ScoreFor { get; set; } + + /// + /// The total score against the team + /// + [Description("The total score against the team")] + [DataMember(Name = "ScoreAgainst", Order = 11)] + public int ScoreAgainst { get; set; } + + /// + /// Total score differential + /// + [Description("Total score differential")] + [DataMember(Name = "ScoreDifference", Order = 12)] + public int ScoreDifference { get; set; } + + /// + /// The name of the group (when applicable) + /// + [Description("The name of the group (when applicable)")] + [DataMember(Name = "Group", Order = 13)] + public string Group { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Stat.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Stat.cs new file mode 100644 index 0000000..e48f33d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Stat.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Stat")] + [Serializable] + public partial class Stat + { + /// + /// The last update time of the record + /// + [Description("The last update time of the record")] + [DataMember(Name = "Updated", Order = 1)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 2)] + public int Games { get; set; } + + /// + /// The number of matches played + /// + [Description("The number of matches played")] + [DataMember(Name = "Matches", Order = 3)] + public int Matches { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Team.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Team.cs new file mode 100644 index 0000000..a6ba303 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Team.cs @@ -0,0 +1,153 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamId", Order = 1)] + public int TeamId { get; set; } + + /// + /// The unique ID of the team's area + /// + [Description("The unique ID of the team's area")] + [DataMember(Name = "AreaId", Order = 2)] + public int? AreaId { get; set; } + + /// + /// The area name of the team + /// + [Description("The area name of the team")] + [DataMember(Name = "AreaName", Order = 3)] + public string AreaName { get; set; } + + /// + /// Abbreviation of the team + /// + [Description("Abbreviation of the team")] + [DataMember(Name = "Key", Order = 4)] + public string Key { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The short name of the team + /// + [Description("The short name of the team")] + [DataMember(Name = "ShortName", Order = 6)] + public string ShortName { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 7)] + public bool Active { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 8)] + public string Gender { get; set; } + + /// + /// The type of this team (possible values: Club, National) + /// + [Description("The type of this team (possible values: Club, National)")] + [DataMember(Name = "Type", Order = 9)] + public string Type { get; set; } + + /// + /// The URL of the website of this team + /// + [Description("The URL of the website of this team")] + [DataMember(Name = "Website", Order = 10)] + public string Website { get; set; } + + /// + /// The email address of this team + /// + [Description("The email address of this team")] + [DataMember(Name = "Email", Order = 11)] + public string Email { get; set; } + + /// + /// The year the team was founded + /// + [Description("The year the team was founded")] + [DataMember(Name = "Founded", Order = 12)] + public int? Founded { get; set; } + + /// + /// The primary color of this team's logo/branding + /// + [Description("The primary color of this team's logo/branding")] + [DataMember(Name = "PrimaryColor", Order = 13)] + public string PrimaryColor { get; set; } + + /// + /// The secondary color of this team's logo/branding + /// + [Description("The secondary color of this team's logo/branding")] + [DataMember(Name = "SecondaryColor", Order = 14)] + public string SecondaryColor { get; set; } + + /// + /// The tertiary color of this team's logo/branding + /// + [Description("The tertiary color of this team's logo/branding")] + [DataMember(Name = "TertiaryColor", Order = 15)] + public string TertiaryColor { get; set; } + + /// + /// The quaternary color of this team's logo/branding + /// + [Description("The quaternary color of this team's logo/branding")] + [DataMember(Name = "QuaternaryColor", Order = 16)] + public string QuaternaryColor { get; set; } + + /// + /// The URL of this team's Facebook page + /// + [Description("The URL of this team's Facebook page")] + [DataMember(Name = "Facebook", Order = 17)] + public string Facebook { get; set; } + + /// + /// The URL of this team's Twitter page + /// + [Description("The URL of this team's Twitter page")] + [DataMember(Name = "Twitter", Order = 18)] + public string Twitter { get; set; } + + /// + /// The URL of this team's YouTube page + /// + [Description("The URL of this team's YouTube page")] + [DataMember(Name = "YouTube", Order = 19)] + public string YouTube { get; set; } + + /// + /// The URL of this team's Instagram page + /// + [Description("The URL of this team's Instagram page")] + [DataMember(Name = "Instagram", Order = 20)] + public string Instagram { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/TeamDetail.cs b/FantasyData.Api.Client.NetCore/Model/Lol/TeamDetail.cs new file mode 100644 index 0000000..e215b37 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/TeamDetail.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="TeamDetail")] + [Serializable] + public partial class TeamDetail + { + /// + /// The players who are current on this team's active roster/squad + /// + [Description("The players who are current on this team's active roster/squad")] + [DataMember(Name = "Players", Order = 20001)] + public Player[] Players { get; set; } + + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamId", Order = 2)] + public int TeamId { get; set; } + + /// + /// The unique ID of the team's area + /// + [Description("The unique ID of the team's area")] + [DataMember(Name = "AreaId", Order = 3)] + public int? AreaId { get; set; } + + /// + /// The area name of the team + /// + [Description("The area name of the team")] + [DataMember(Name = "AreaName", Order = 4)] + public string AreaName { get; set; } + + /// + /// Abbreviation of the team + /// + [Description("Abbreviation of the team")] + [DataMember(Name = "Key", Order = 5)] + public string Key { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The short name of the team + /// + [Description("The short name of the team")] + [DataMember(Name = "ShortName", Order = 7)] + public string ShortName { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 8)] + public bool Active { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 9)] + public string Gender { get; set; } + + /// + /// The type of this team (possible values: Club, National) + /// + [Description("The type of this team (possible values: Club, National)")] + [DataMember(Name = "Type", Order = 10)] + public string Type { get; set; } + + /// + /// The URL of the website of this team + /// + [Description("The URL of the website of this team")] + [DataMember(Name = "Website", Order = 11)] + public string Website { get; set; } + + /// + /// The email address of this team + /// + [Description("The email address of this team")] + [DataMember(Name = "Email", Order = 12)] + public string Email { get; set; } + + /// + /// The year the team was founded + /// + [Description("The year the team was founded")] + [DataMember(Name = "Founded", Order = 13)] + public int? Founded { get; set; } + + /// + /// The primary color of this team's logo/branding + /// + [Description("The primary color of this team's logo/branding")] + [DataMember(Name = "PrimaryColor", Order = 14)] + public string PrimaryColor { get; set; } + + /// + /// The secondary color of this team's logo/branding + /// + [Description("The secondary color of this team's logo/branding")] + [DataMember(Name = "SecondaryColor", Order = 15)] + public string SecondaryColor { get; set; } + + /// + /// The tertiary color of this team's logo/branding + /// + [Description("The tertiary color of this team's logo/branding")] + [DataMember(Name = "TertiaryColor", Order = 16)] + public string TertiaryColor { get; set; } + + /// + /// The quaternary color of this team's logo/branding + /// + [Description("The quaternary color of this team's logo/branding")] + [DataMember(Name = "QuaternaryColor", Order = 17)] + public string QuaternaryColor { get; set; } + + /// + /// The URL of this team's Facebook page + /// + [Description("The URL of this team's Facebook page")] + [DataMember(Name = "Facebook", Order = 18)] + public string Facebook { get; set; } + + /// + /// The URL of this team's Twitter page + /// + [Description("The URL of this team's Twitter page")] + [DataMember(Name = "Twitter", Order = 19)] + public string Twitter { get; set; } + + /// + /// The URL of this team's YouTube page + /// + [Description("The URL of this team's YouTube page")] + [DataMember(Name = "YouTube", Order = 20)] + public string YouTube { get; set; } + + /// + /// The URL of this team's Instagram page + /// + [Description("The URL of this team's Instagram page")] + [DataMember(Name = "Instagram", Order = 21)] + public string Instagram { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/TeamGame.cs b/FantasyData.Api.Client.NetCore/Model/Lol/TeamGame.cs new file mode 100644 index 0000000..81baf32 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/TeamGame.cs @@ -0,0 +1,454 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="TeamGame")] + [Serializable] + public partial class TeamGame + { + /// + /// Team got first blood this match + /// + [Description("Team got first blood this match")] + [DataMember(Name = "FirstBlood", Order = 1)] + public decimal? FirstBlood { get; set; } + + /// + /// Team got first tower this match + /// + [Description("Team got first tower this match")] + [DataMember(Name = "FirstTower", Order = 2)] + public decimal? FirstTower { get; set; } + + /// + /// Team got first inhibitor this match + /// + [Description("Team got first inhibitor this match")] + [DataMember(Name = "FirstInhibitor", Order = 3)] + public decimal? FirstInhibitor { get; set; } + + /// + /// Team got first baron this match + /// + [Description("Team got first baron this match")] + [DataMember(Name = "FirstBaron", Order = 4)] + public decimal? FirstBaron { get; set; } + + /// + /// Team got first dragon this match + /// + [Description("Team got first dragon this match")] + [DataMember(Name = "FirstDragon", Order = 5)] + public decimal? FirstDragon { get; set; } + + /// + /// Team got first rift herald this match + /// + [Description("Team got first rift herald this match")] + [DataMember(Name = "FirstRiftHerald", Order = 6)] + public decimal? FirstRiftHerald { get; set; } + + /// + /// The Unique ID of the Game + /// + [Description("The Unique ID of the Game")] + [DataMember(Name = "GameId", Order = 7)] + public int GameId { get; set; } + + /// + /// The Unique ID of the opposing team + /// + [Description("The Unique ID of the opposing team")] + [DataMember(Name = "OpponentId", Order = 8)] + public int OpponentId { get; set; } + + /// + /// The team key of the opposing team + /// + [Description("The team key of the opposing team")] + [DataMember(Name = "Opponent", Order = 9)] + public string Opponent { get; set; } + + /// + /// The date of the event + /// + [Description("The date of the event")] + [DataMember(Name = "Day", Order = 10)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the event + /// + [Description("The date and time of the event")] + [DataMember(Name = "DateTime", Order = 11)] + public DateTime? DateTime { get; set; } + + /// + /// The Unique Id of the player + /// + [Description("The Unique Id of the player")] + [DataMember(Name = "PlayerId", Order = 12)] + public int PlayerId { get; set; } + + /// + /// The unique Id of the team the player played for this match + /// + [Description("The unique Id of the team the player played for this match")] + [DataMember(Name = "TeamId", Order = 13)] + public int? TeamId { get; set; } + + /// + /// The team key of the team the player played for this match + /// + [Description("The team key of the team the player played for this match")] + [DataMember(Name = "Team", Order = 14)] + public string Team { get; set; } + + /// + /// The player's name + /// + [Description("The player's name")] + [DataMember(Name = "Name", Order = 15)] + public string Name { get; set; } + + /// + /// The player's match name. + /// + [Description("The player's match name.")] + [DataMember(Name = "MatchName", Order = 16)] + public string MatchName { get; set; } + + /// + /// The total number of Kills by the player + /// + [Description("The total number of Kills by the player")] + [DataMember(Name = "Kills", Order = 17)] + public decimal? Kills { get; set; } + + /// + /// The total number of Assists by the player + /// + [Description("The total number of Assists by the player")] + [DataMember(Name = "Assists", Order = 18)] + public decimal? Assists { get; set; } + + /// + /// The total number of Deaths by the player + /// + [Description("The total number of Deaths by the player")] + [DataMember(Name = "Deaths", Order = 19)] + public decimal? Deaths { get; set; } + + /// + /// The longest killing spree achieved by the player + /// + [Description("The longest killing spree achieved by the player")] + [DataMember(Name = "LargestKillingSpree", Order = 20)] + public decimal? LargestKillingSpree { get; set; } + + /// + /// The largest multikill achieved by the player + /// + [Description("The largest multikill achieved by the player")] + [DataMember(Name = "LargestMultiKill", Order = 21)] + public decimal? LargestMultiKill { get; set; } + + /// + /// The current killing spree the player is on by the player + /// + [Description("The current killing spree the player is on by the player")] + [DataMember(Name = "KillingSpree", Order = 22)] + public decimal? KillingSpree { get; set; } + + /// + /// The longest time spent alive by the player + /// + [Description("The longest time spent alive by the player")] + [DataMember(Name = "LongestTimeSpentLiving", Order = 23)] + public decimal? LongestTimeSpentLiving { get; set; } + + /// + /// The total number of Double Kills by the player + /// + [Description("The total number of Double Kills by the player")] + [DataMember(Name = "DoubleKills", Order = 24)] + public decimal? DoubleKills { get; set; } + + /// + /// The total number of Triple Kills by the player + /// + [Description("The total number of Triple Kills by the player")] + [DataMember(Name = "TripleKills", Order = 25)] + public decimal? TripleKills { get; set; } + + /// + /// The total number of Quadra Kills by the player + /// + [Description("The total number of Quadra Kills by the player")] + [DataMember(Name = "QuadraKills", Order = 26)] + public decimal? QuadraKills { get; set; } + + /// + /// The total number of Penta Kills by the player + /// + [Description("The total number of Penta Kills by the player")] + [DataMember(Name = "PentaKills", Order = 27)] + public decimal? PentaKills { get; set; } + + /// + /// The total number of Unreal Kills by the player + /// + [Description("The total number of Unreal Kills by the player")] + [DataMember(Name = "UnrealKills", Order = 28)] + public decimal? UnrealKills { get; set; } + + /// + /// The total damage dealt by the player + /// + [Description("The total damage dealt by the player")] + [DataMember(Name = "TotalDamageDealt", Order = 29)] + public decimal? TotalDamageDealt { get; set; } + + /// + /// The total magical damage dealt by the player + /// + [Description("The total magical damage dealt by the player")] + [DataMember(Name = "MagicDamageDealt", Order = 30)] + public decimal? MagicDamageDealt { get; set; } + + /// + /// The total physical damage dealt by the player + /// + [Description("The total physical damage dealt by the player")] + [DataMember(Name = "PhysicalDamageDealt", Order = 31)] + public decimal? PhysicalDamageDealt { get; set; } + + /// + /// The total true damage dealt by the player + /// + [Description("The total true damage dealt by the player")] + [DataMember(Name = "TrueDamageDealt", Order = 32)] + public decimal? TrueDamageDealt { get; set; } + + /// + /// The largest single critical strike damage by the player + /// + [Description("The largest single critical strike damage by the player")] + [DataMember(Name = "LargestCriticalStrike", Order = 33)] + public decimal? LargestCriticalStrike { get; set; } + + /// + /// The total damage dealt to opposing champions by the player + /// + [Description("The total damage dealt to opposing champions by the player")] + [DataMember(Name = "TotalDamageDealtToChampions", Order = 34)] + public decimal? TotalDamageDealtToChampions { get; set; } + + /// + /// The total magical damage dealt to opposing champions by the player + /// + [Description("The total magical damage dealt to opposing champions by the player")] + [DataMember(Name = "MagicDamageDealtToChampions", Order = 35)] + public decimal? MagicDamageDealtToChampions { get; set; } + + /// + /// The total physical damage dealt to opposing champions by the player + /// + [Description("The total physical damage dealt to opposing champions by the player")] + [DataMember(Name = "PhysicalDamageDealtToChampions", Order = 36)] + public decimal? PhysicalDamageDealtToChampions { get; set; } + + /// + /// The total true damage dealt to opposing champions by the player + /// + [Description("The total true damage dealt to opposing champions by the player")] + [DataMember(Name = "TrueDamageDealtToChampions", Order = 37)] + public decimal? TrueDamageDealtToChampions { get; set; } + + /// + /// The total amount of heal by the player + /// + [Description("The total amount of heal by the player")] + [DataMember(Name = "TotalHeal", Order = 38)] + public decimal? TotalHeal { get; set; } + + /// + /// The total number of units healed by the player + /// + [Description("The total number of units healed by the player")] + [DataMember(Name = "TotalUnitsHealed", Order = 39)] + public decimal? TotalUnitsHealed { get; set; } + + /// + /// The total amount of damage taken by the player + /// + [Description("The total amount of damage taken by the player")] + [DataMember(Name = "TotalDamageTaken", Order = 40)] + public decimal? TotalDamageTaken { get; set; } + + /// + /// The total amount of magical damage taken by the player + /// + [Description("The total amount of magical damage taken by the player")] + [DataMember(Name = "MagicDamageTaken", Order = 41)] + public decimal? MagicDamageTaken { get; set; } + + /// + /// The total amount of physical damage taken by the player + /// + [Description("The total amount of physical damage taken by the player")] + [DataMember(Name = "PhysicalDamageTaken", Order = 42)] + public decimal? PhysicalDamageTaken { get; set; } + + /// + /// The total amount of true damage taken by the player + /// + [Description("The total amount of true damage taken by the player")] + [DataMember(Name = "TrueDamageTaken", Order = 43)] + public decimal? TrueDamageTaken { get; set; } + + /// + /// The total gold earned by the player + /// + [Description("The total gold earned by the player")] + [DataMember(Name = "GoldEarned", Order = 44)] + public decimal? GoldEarned { get; set; } + + /// + /// The total gold spent by the player + /// + [Description("The total gold spent by the player")] + [DataMember(Name = "GoldSpent", Order = 45)] + public decimal? GoldSpent { get; set; } + + /// + /// The total number of turrets killed by the player + /// + [Description("The total number of turrets killed by the player")] + [DataMember(Name = "TurretKills", Order = 46)] + public decimal? TurretKills { get; set; } + + /// + /// The total number of inhibitors killed by the player + /// + [Description("The total number of inhibitors killed by the player")] + [DataMember(Name = "InhibitorKills", Order = 47)] + public decimal? InhibitorKills { get; set; } + + /// + /// The total number of minions killed by the player + /// + [Description("The total number of minions killed by the player")] + [DataMember(Name = "TotalMinionsKilled", Order = 48)] + public decimal? TotalMinionsKilled { get; set; } + + /// + /// The total number of neutral minions killed by the player + /// + [Description("The total number of neutral minions killed by the player")] + [DataMember(Name = "NeutralMinionsKIlled", Order = 49)] + public decimal? NeutralMinionsKIlled { get; set; } + + /// + /// The total number of neutral minions killed by the player in their own jungle + /// + [Description("The total number of neutral minions killed by the player in their own jungle")] + [DataMember(Name = "NeutralMinionsKIlledTeamJungle", Order = 50)] + public decimal? NeutralMinionsKIlledTeamJungle { get; set; } + + /// + /// The total number of neutral minions killed by the player in the enemy jungle + /// + [Description("The total number of neutral minions killed by the player in the enemy jungle")] + [DataMember(Name = "NeutralMinionsKilledEnemyJungle", Order = 51)] + public decimal? NeutralMinionsKilledEnemyJungle { get; set; } + + /// + /// The total time enemies were crowd controlled by the player + /// + [Description("The total time enemies were crowd controlled by the player")] + [DataMember(Name = "TotalTimeCrowdControlDealt", Order = 52)] + public decimal? TotalTimeCrowdControlDealt { get; set; } + + /// + /// The total number of vision wards bought by the player + /// + [Description("The total number of vision wards bought by the player")] + [DataMember(Name = "VisionWardsBoughtInGame", Order = 53)] + public decimal? VisionWardsBoughtInGame { get; set; } + + /// + /// The total number of sight wards bought by the player + /// + [Description("The total number of sight wards bought by the player")] + [DataMember(Name = "SightWardsBoughtInGame", Order = 54)] + public decimal? SightWardsBoughtInGame { get; set; } + + /// + /// The total number of wards placed by the player + /// + [Description("The total number of wards placed by the player")] + [DataMember(Name = "WardsPlaced", Order = 55)] + public decimal? WardsPlaced { get; set; } + + /// + /// The total number of wards killed by the player + /// + [Description("The total number of wards killed by the player")] + [DataMember(Name = "WardsKilled", Order = 56)] + public decimal? WardsKilled { get; set; } + + /// + /// The player's combat player score + /// + [Description("The player's combat player score")] + [DataMember(Name = "CombatPlayerScore", Order = 57)] + public decimal? CombatPlayerScore { get; set; } + + /// + /// The player's objective player score + /// + [Description("The player's objective player score")] + [DataMember(Name = "ObjectivePlayerScore", Order = 58)] + public decimal? ObjectivePlayerScore { get; set; } + + /// + /// The player's total player score + /// + [Description("The player's total player score")] + [DataMember(Name = "TotalPlayerScore", Order = 59)] + public decimal? TotalPlayerScore { get; set; } + + /// + /// Did player reach either 10 kills or 10 assists in a single match + /// + [Description("Did player reach either 10 kills or 10 assists in a single match")] + [DataMember(Name = "TenKillsOrAssists", Order = 60)] + public decimal? TenKillsOrAssists { get; set; } + + /// + /// The last update time of the record + /// + [Description("The last update time of the record")] + [DataMember(Name = "Updated", Order = 61)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 62)] + public int Games { get; set; } + + /// + /// The number of matches played + /// + [Description("The number of matches played")] + [DataMember(Name = "Matches", Order = 63)] + public int Matches { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/TeamMatch.cs b/FantasyData.Api.Client.NetCore/Model/Lol/TeamMatch.cs new file mode 100644 index 0000000..5b0f944 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/TeamMatch.cs @@ -0,0 +1,454 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="TeamMatch")] + [Serializable] + public partial class TeamMatch + { + /// + /// Team got first blood this match + /// + [Description("Team got first blood this match")] + [DataMember(Name = "FirstBlood", Order = 1)] + public decimal? FirstBlood { get; set; } + + /// + /// Team got first tower this match + /// + [Description("Team got first tower this match")] + [DataMember(Name = "FirstTower", Order = 2)] + public decimal? FirstTower { get; set; } + + /// + /// Team got first inhibitor this match + /// + [Description("Team got first inhibitor this match")] + [DataMember(Name = "FirstInhibitor", Order = 3)] + public decimal? FirstInhibitor { get; set; } + + /// + /// Team got first baron this match + /// + [Description("Team got first baron this match")] + [DataMember(Name = "FirstBaron", Order = 4)] + public decimal? FirstBaron { get; set; } + + /// + /// Team got first dragon this match + /// + [Description("Team got first dragon this match")] + [DataMember(Name = "FirstDragon", Order = 5)] + public decimal? FirstDragon { get; set; } + + /// + /// Team got first rift herald this match + /// + [Description("Team got first rift herald this match")] + [DataMember(Name = "FirstRiftHerald", Order = 6)] + public decimal? FirstRiftHerald { get; set; } + + /// + /// The Unique ID of the Game + /// + [Description("The Unique ID of the Game")] + [DataMember(Name = "GameId", Order = 7)] + public int GameId { get; set; } + + /// + /// The Unique ID of the opposing team + /// + [Description("The Unique ID of the opposing team")] + [DataMember(Name = "OpponentId", Order = 8)] + public int OpponentId { get; set; } + + /// + /// The team key of the opposing team + /// + [Description("The team key of the opposing team")] + [DataMember(Name = "Opponent", Order = 9)] + public string Opponent { get; set; } + + /// + /// The date of the event + /// + [Description("The date of the event")] + [DataMember(Name = "Day", Order = 10)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the event + /// + [Description("The date and time of the event")] + [DataMember(Name = "DateTime", Order = 11)] + public DateTime? DateTime { get; set; } + + /// + /// The Unique Id of the player + /// + [Description("The Unique Id of the player")] + [DataMember(Name = "PlayerId", Order = 12)] + public int PlayerId { get; set; } + + /// + /// The unique Id of the team the player played for this match + /// + [Description("The unique Id of the team the player played for this match")] + [DataMember(Name = "TeamId", Order = 13)] + public int? TeamId { get; set; } + + /// + /// The team key of the team the player played for this match + /// + [Description("The team key of the team the player played for this match")] + [DataMember(Name = "Team", Order = 14)] + public string Team { get; set; } + + /// + /// The player's name + /// + [Description("The player's name")] + [DataMember(Name = "Name", Order = 15)] + public string Name { get; set; } + + /// + /// The player's match name. + /// + [Description("The player's match name.")] + [DataMember(Name = "MatchName", Order = 16)] + public string MatchName { get; set; } + + /// + /// The total number of Kills by the player + /// + [Description("The total number of Kills by the player")] + [DataMember(Name = "Kills", Order = 17)] + public decimal? Kills { get; set; } + + /// + /// The total number of Assists by the player + /// + [Description("The total number of Assists by the player")] + [DataMember(Name = "Assists", Order = 18)] + public decimal? Assists { get; set; } + + /// + /// The total number of Deaths by the player + /// + [Description("The total number of Deaths by the player")] + [DataMember(Name = "Deaths", Order = 19)] + public decimal? Deaths { get; set; } + + /// + /// The longest killing spree achieved by the player + /// + [Description("The longest killing spree achieved by the player")] + [DataMember(Name = "LargestKillingSpree", Order = 20)] + public decimal? LargestKillingSpree { get; set; } + + /// + /// The largest multikill achieved by the player + /// + [Description("The largest multikill achieved by the player")] + [DataMember(Name = "LargestMultiKill", Order = 21)] + public decimal? LargestMultiKill { get; set; } + + /// + /// The current killing spree the player is on by the player + /// + [Description("The current killing spree the player is on by the player")] + [DataMember(Name = "KillingSpree", Order = 22)] + public decimal? KillingSpree { get; set; } + + /// + /// The longest time spent alive by the player + /// + [Description("The longest time spent alive by the player")] + [DataMember(Name = "LongestTimeSpentLiving", Order = 23)] + public decimal? LongestTimeSpentLiving { get; set; } + + /// + /// The total number of Double Kills by the player + /// + [Description("The total number of Double Kills by the player")] + [DataMember(Name = "DoubleKills", Order = 24)] + public decimal? DoubleKills { get; set; } + + /// + /// The total number of Triple Kills by the player + /// + [Description("The total number of Triple Kills by the player")] + [DataMember(Name = "TripleKills", Order = 25)] + public decimal? TripleKills { get; set; } + + /// + /// The total number of Quadra Kills by the player + /// + [Description("The total number of Quadra Kills by the player")] + [DataMember(Name = "QuadraKills", Order = 26)] + public decimal? QuadraKills { get; set; } + + /// + /// The total number of Penta Kills by the player + /// + [Description("The total number of Penta Kills by the player")] + [DataMember(Name = "PentaKills", Order = 27)] + public decimal? PentaKills { get; set; } + + /// + /// The total number of Unreal Kills by the player + /// + [Description("The total number of Unreal Kills by the player")] + [DataMember(Name = "UnrealKills", Order = 28)] + public decimal? UnrealKills { get; set; } + + /// + /// The total damage dealt by the player + /// + [Description("The total damage dealt by the player")] + [DataMember(Name = "TotalDamageDealt", Order = 29)] + public decimal? TotalDamageDealt { get; set; } + + /// + /// The total magical damage dealt by the player + /// + [Description("The total magical damage dealt by the player")] + [DataMember(Name = "MagicDamageDealt", Order = 30)] + public decimal? MagicDamageDealt { get; set; } + + /// + /// The total physical damage dealt by the player + /// + [Description("The total physical damage dealt by the player")] + [DataMember(Name = "PhysicalDamageDealt", Order = 31)] + public decimal? PhysicalDamageDealt { get; set; } + + /// + /// The total true damage dealt by the player + /// + [Description("The total true damage dealt by the player")] + [DataMember(Name = "TrueDamageDealt", Order = 32)] + public decimal? TrueDamageDealt { get; set; } + + /// + /// The largest single critical strike damage by the player + /// + [Description("The largest single critical strike damage by the player")] + [DataMember(Name = "LargestCriticalStrike", Order = 33)] + public decimal? LargestCriticalStrike { get; set; } + + /// + /// The total damage dealt to opposing champions by the player + /// + [Description("The total damage dealt to opposing champions by the player")] + [DataMember(Name = "TotalDamageDealtToChampions", Order = 34)] + public decimal? TotalDamageDealtToChampions { get; set; } + + /// + /// The total magical damage dealt to opposing champions by the player + /// + [Description("The total magical damage dealt to opposing champions by the player")] + [DataMember(Name = "MagicDamageDealtToChampions", Order = 35)] + public decimal? MagicDamageDealtToChampions { get; set; } + + /// + /// The total physical damage dealt to opposing champions by the player + /// + [Description("The total physical damage dealt to opposing champions by the player")] + [DataMember(Name = "PhysicalDamageDealtToChampions", Order = 36)] + public decimal? PhysicalDamageDealtToChampions { get; set; } + + /// + /// The total true damage dealt to opposing champions by the player + /// + [Description("The total true damage dealt to opposing champions by the player")] + [DataMember(Name = "TrueDamageDealtToChampions", Order = 37)] + public decimal? TrueDamageDealtToChampions { get; set; } + + /// + /// The total amount of heal by the player + /// + [Description("The total amount of heal by the player")] + [DataMember(Name = "TotalHeal", Order = 38)] + public decimal? TotalHeal { get; set; } + + /// + /// The total number of units healed by the player + /// + [Description("The total number of units healed by the player")] + [DataMember(Name = "TotalUnitsHealed", Order = 39)] + public decimal? TotalUnitsHealed { get; set; } + + /// + /// The total amount of damage taken by the player + /// + [Description("The total amount of damage taken by the player")] + [DataMember(Name = "TotalDamageTaken", Order = 40)] + public decimal? TotalDamageTaken { get; set; } + + /// + /// The total amount of magical damage taken by the player + /// + [Description("The total amount of magical damage taken by the player")] + [DataMember(Name = "MagicDamageTaken", Order = 41)] + public decimal? MagicDamageTaken { get; set; } + + /// + /// The total amount of physical damage taken by the player + /// + [Description("The total amount of physical damage taken by the player")] + [DataMember(Name = "PhysicalDamageTaken", Order = 42)] + public decimal? PhysicalDamageTaken { get; set; } + + /// + /// The total amount of true damage taken by the player + /// + [Description("The total amount of true damage taken by the player")] + [DataMember(Name = "TrueDamageTaken", Order = 43)] + public decimal? TrueDamageTaken { get; set; } + + /// + /// The total gold earned by the player + /// + [Description("The total gold earned by the player")] + [DataMember(Name = "GoldEarned", Order = 44)] + public decimal? GoldEarned { get; set; } + + /// + /// The total gold spent by the player + /// + [Description("The total gold spent by the player")] + [DataMember(Name = "GoldSpent", Order = 45)] + public decimal? GoldSpent { get; set; } + + /// + /// The total number of turrets killed by the player + /// + [Description("The total number of turrets killed by the player")] + [DataMember(Name = "TurretKills", Order = 46)] + public decimal? TurretKills { get; set; } + + /// + /// The total number of inhibitors killed by the player + /// + [Description("The total number of inhibitors killed by the player")] + [DataMember(Name = "InhibitorKills", Order = 47)] + public decimal? InhibitorKills { get; set; } + + /// + /// The total number of minions killed by the player + /// + [Description("The total number of minions killed by the player")] + [DataMember(Name = "TotalMinionsKilled", Order = 48)] + public decimal? TotalMinionsKilled { get; set; } + + /// + /// The total number of neutral minions killed by the player + /// + [Description("The total number of neutral minions killed by the player")] + [DataMember(Name = "NeutralMinionsKIlled", Order = 49)] + public decimal? NeutralMinionsKIlled { get; set; } + + /// + /// The total number of neutral minions killed by the player in their own jungle + /// + [Description("The total number of neutral minions killed by the player in their own jungle")] + [DataMember(Name = "NeutralMinionsKIlledTeamJungle", Order = 50)] + public decimal? NeutralMinionsKIlledTeamJungle { get; set; } + + /// + /// The total number of neutral minions killed by the player in the enemy jungle + /// + [Description("The total number of neutral minions killed by the player in the enemy jungle")] + [DataMember(Name = "NeutralMinionsKilledEnemyJungle", Order = 51)] + public decimal? NeutralMinionsKilledEnemyJungle { get; set; } + + /// + /// The total time enemies were crowd controlled by the player + /// + [Description("The total time enemies were crowd controlled by the player")] + [DataMember(Name = "TotalTimeCrowdControlDealt", Order = 52)] + public decimal? TotalTimeCrowdControlDealt { get; set; } + + /// + /// The total number of vision wards bought by the player + /// + [Description("The total number of vision wards bought by the player")] + [DataMember(Name = "VisionWardsBoughtInGame", Order = 53)] + public decimal? VisionWardsBoughtInGame { get; set; } + + /// + /// The total number of sight wards bought by the player + /// + [Description("The total number of sight wards bought by the player")] + [DataMember(Name = "SightWardsBoughtInGame", Order = 54)] + public decimal? SightWardsBoughtInGame { get; set; } + + /// + /// The total number of wards placed by the player + /// + [Description("The total number of wards placed by the player")] + [DataMember(Name = "WardsPlaced", Order = 55)] + public decimal? WardsPlaced { get; set; } + + /// + /// The total number of wards killed by the player + /// + [Description("The total number of wards killed by the player")] + [DataMember(Name = "WardsKilled", Order = 56)] + public decimal? WardsKilled { get; set; } + + /// + /// The player's combat player score + /// + [Description("The player's combat player score")] + [DataMember(Name = "CombatPlayerScore", Order = 57)] + public decimal? CombatPlayerScore { get; set; } + + /// + /// The player's objective player score + /// + [Description("The player's objective player score")] + [DataMember(Name = "ObjectivePlayerScore", Order = 58)] + public decimal? ObjectivePlayerScore { get; set; } + + /// + /// The player's total player score + /// + [Description("The player's total player score")] + [DataMember(Name = "TotalPlayerScore", Order = 59)] + public decimal? TotalPlayerScore { get; set; } + + /// + /// Did player reach either 10 kills or 10 assists in a single match + /// + [Description("Did player reach either 10 kills or 10 assists in a single match")] + [DataMember(Name = "TenKillsOrAssists", Order = 60)] + public decimal? TenKillsOrAssists { get; set; } + + /// + /// The last update time of the record + /// + [Description("The last update time of the record")] + [DataMember(Name = "Updated", Order = 61)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 62)] + public int Games { get; set; } + + /// + /// The number of matches played + /// + [Description("The number of matches played")] + [DataMember(Name = "Matches", Order = 63)] + public int Matches { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Lol/Venue.cs b/FantasyData.Api.Client.NetCore/Model/Lol/Venue.cs new file mode 100644 index 0000000..0ceaf96 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Lol/Venue.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Lol +{ + [DataContract(Namespace="", Name="Venue")] + [Serializable] + public partial class Venue + { + /// + /// The unique ID of the venue + /// + [Description("The unique ID of the venue")] + [DataMember(Name = "VenueId", Order = 1)] + public int VenueId { get; set; } + + /// + /// The full name of the venue + /// + [Description("The full name of the venue")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The address where the venue is located + /// + [Description("The address where the venue is located")] + [DataMember(Name = "Address", Order = 3)] + public string Address { get; set; } + + /// + /// The city where the venue is located + /// + [Description("The city where the venue is located")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The zip code of the venue + /// + [Description("The zip code of the venue")] + [DataMember(Name = "Zip", Order = 5)] + public string Zip { get; set; } + + /// + /// The 2-digit country code where the venue is located + /// + [Description("The 2-digit country code where the venue is located")] + [DataMember(Name = "Country", Order = 6)] + public string Country { get; set; } + + /// + /// Indicates whether this venue is actively used + /// + [Description("Indicates whether this venue is actively used")] + [DataMember(Name = "Open", Order = 7)] + public bool Open { get; set; } + + /// + /// The year the venue opened + /// + [Description("The year the venue opened")] + [DataMember(Name = "Opened", Order = 8)] + public int? Opened { get; set; } + + /// + /// A nickname for this venue + /// + [Description("A nickname for this venue")] + [DataMember(Name = "Nickname1", Order = 9)] + public string Nickname1 { get; set; } + + /// + /// A nickname for this venue + /// + [Description("A nickname for this venue")] + [DataMember(Name = "Nickname2", Order = 10)] + public string Nickname2 { get; set; } + + /// + /// The estimated seating capacity of the venue + /// + [Description("The estimated seating capacity of the venue")] + [DataMember(Name = "Capacity", Order = 11)] + public int? Capacity { get; set; } + + /// + /// The geographic latitude coordinate of this venue. + /// + [Description("The geographic latitude coordinate of this venue.")] + [DataMember(Name = "GeoLat", Order = 12)] + public decimal? GeoLat { get; set; } + + /// + /// The geographic longitude coordinate of this venue. + /// + [Description("The geographic longitude coordinate of this venue.")] + [DataMember(Name = "GeoLong", Order = 13)] + public decimal? GeoLong { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Article.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Article.cs new file mode 100644 index 0000000..e286565 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Article.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Article")] + [Serializable] + public partial class Article + { + /// + /// Unique ID of the Article (assigned by FantasyData) + /// + [Description("Unique ID of the Article (assigned by FantasyData)")] + [DataMember(Name = "ArticleID", Order = 1)] + public int ArticleID { get; set; } + + /// + /// Article title + /// + [Description("Article title")] + [DataMember(Name = "Title", Order = 2)] + public string Title { get; set; } + + /// + /// Article source company + /// + [Description("Article source company")] + [DataMember(Name = "Source", Order = 3)] + public string Source { get; set; } + + /// + /// Article publish/last updated date + /// + [Description("Article publish/last updated date")] + [DataMember(Name = "Updated", Order = 4)] + public DateTime Updated { get; set; } + + /// + /// Main Content of the article + /// + [Description("Main Content of the article")] + [DataMember(Name = "Content", Order = 5)] + public string Content { get; set; } + + /// + /// Source company article url + /// + [Description("Source company article url")] + [DataMember(Name = "Url", Order = 6)] + public string Url { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 7)] + public string TermsOfUse { get; set; } + + /// + /// Article Author + /// + [Description("Article Author")] + [DataMember(Name = "Author", Order = 8)] + public string Author { get; set; } + + /// + /// Basic info on players included in the article + /// + [Description("Basic info on players included in the article")] + [DataMember(Name = "Players", Order = 20009)] + public PlayerInfo[] Players { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/BoxScore.cs b/FantasyData.Api.Client.NetCore/Model/MLB/BoxScore.cs new file mode 100644 index 0000000..ac73051 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/BoxScore.cs @@ -0,0 +1,41 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="BoxScore")] + [Serializable] + public partial class BoxScore + { + /// + /// The details of the game associated with this box score + /// + [Description("The details of the game associated with this box score")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The details of the innings associated with this box score + /// + [Description("The details of the innings associated with this box score")] + [DataMember(Name = "Innings", Order = 20002)] + public Inning[] Innings { get; set; } + + /// + /// The team game stats associated with this box score + /// + [Description("The team game stats associated with this box score")] + [DataMember(Name = "TeamGames", Order = 20003)] + public TeamGame[] TeamGames { get; set; } + + /// + /// The player game stats associated with this box score + /// + [Description("The player game stats associated with this box score")] + [DataMember(Name = "PlayerGames", Order = 20004)] + public PlayerGame[] PlayerGames { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/DfsSlate.cs b/FantasyData.Api.Client.NetCore/Model/MLB/DfsSlate.cs new file mode 100644 index 0000000..2f9bab4 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/DfsSlate.cs @@ -0,0 +1,111 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="DfsSlate")] + [Serializable] + public partial class DfsSlate + { + /// + /// Unique ID of a Slate (assigned by FantasyData). + /// + [Description("Unique ID of a Slate (assigned by FantasyData).")] + [DataMember(Name = "SlateID", Order = 1)] + public int SlateID { get; set; } + + /// + /// The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc. + /// + [Description("The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc.")] + [DataMember(Name = "Operator", Order = 2)] + public string Operator { get; set; } + + /// + /// Unique ID of a slate (assigned by the operator). + /// + [Description("Unique ID of a slate (assigned by the operator).")] + [DataMember(Name = "OperatorSlateID", Order = 3)] + public int? OperatorSlateID { get; set; } + + /// + /// The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc. + /// + [Description("The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc.")] + [DataMember(Name = "OperatorName", Order = 4)] + public string OperatorName { get; set; } + + /// + /// The day (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The day (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorDay", Order = 5)] + public DateTime? OperatorDay { get; set; } + + /// + /// The date/time (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The date/time (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorStartTime", Order = 6)] + public DateTime? OperatorStartTime { get; set; } + + /// + /// The number of actual games that this slate covers. + /// + [Description("The number of actual games that this slate covers.")] + [DataMember(Name = "NumberOfGames", Order = 7)] + public int? NumberOfGames { get; set; } + + /// + /// Whether this slate uses games that take place on different days. + /// + [Description("Whether this slate uses games that take place on different days.")] + [DataMember(Name = "IsMultiDaySlate", Order = 8)] + public bool? IsMultiDaySlate { get; set; } + + /// + /// Indicates whether this slate was removed/deleted by the operator. + /// + [Description("Indicates whether this slate was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 9)] + public bool? RemovedByOperator { get; set; } + + /// + /// The game type of the slate. Will often be null as most operators only have one game type. + /// + [Description("The game type of the slate. Will often be null as most operators only have one game type.")] + [DataMember(Name = "OperatorGameType", Order = 10)] + public string OperatorGameType { get; set; } + + /// + /// The games that are included in this slate + /// + [Description("The games that are included in this slate")] + [DataMember(Name = "DfsSlateGames", Order = 20011)] + public DfsSlateGame[] DfsSlateGames { get; set; } + + /// + /// The players that are included in this slate + /// + [Description("The players that are included in this slate")] + [DataMember(Name = "DfsSlatePlayers", Order = 20012)] + public DfsSlatePlayer[] DfsSlatePlayers { get; set; } + + /// + /// The positions that need to be filled for this particular slate + /// + [Description("The positions that need to be filled for this particular slate")] + [DataMember(Name = "SlateRosterSlots", Order = 10013)] + public string[] SlateRosterSlots { get; set; } + + /// + /// The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes) + /// + [Description("The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes)")] + [DataMember(Name = "SalaryCap", Order = 14)] + public int? SalaryCap { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/DfsSlateGame.cs b/FantasyData.Api.Client.NetCore/Model/MLB/DfsSlateGame.cs new file mode 100644 index 0000000..40e8874 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/DfsSlateGame.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="DfsSlateGame")] + [Serializable] + public partial class DfsSlateGame + { + /// + /// Unique ID of a SlateGame (assigned by FantasyData). + /// + [Description("Unique ID of a SlateGame (assigned by FantasyData).")] + [DataMember(Name = "SlateGameID", Order = 1)] + public int SlateGameID { get; set; } + + /// + /// The SlateID that this SlateGame refers to. + /// + [Description("The SlateID that this SlateGame refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds. + /// + [Description("The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds.")] + [DataMember(Name = "GameID", Order = 3)] + public int? GameID { get; set; } + + /// + /// The details of the Game that this SlateGame refers to. + /// + [Description("The details of the Game that this SlateGame refers to.")] + [DataMember(Name = "Game", Order = 10004)] + public Game Game { get; set; } + + /// + /// Unique ID of a SlateGame (assigned by the operator). + /// + [Description("Unique ID of a SlateGame (assigned by the operator).")] + [DataMember(Name = "OperatorGameID", Order = 5)] + public int? OperatorGameID { get; set; } + + /// + /// Indicates whether this game was removed/deleted by the operator. + /// + [Description("Indicates whether this game was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 6)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/DfsSlatePlayer.cs b/FantasyData.Api.Client.NetCore/Model/MLB/DfsSlatePlayer.cs new file mode 100644 index 0000000..ff88add --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/DfsSlatePlayer.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="DfsSlatePlayer")] + [Serializable] + public partial class DfsSlatePlayer + { + /// + /// Unique ID of a SlatePlayer (assigned by FantasyData). + /// + [Description("Unique ID of a SlatePlayer (assigned by FantasyData).")] + [DataMember(Name = "SlatePlayerID", Order = 1)] + public int SlatePlayerID { get; set; } + + /// + /// The SlateID that this SlatePlayer refers to. + /// + [Description("The SlateID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The SlateGameID that this SlatePlayer refers to. + /// + [Description("The SlateGameID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateGameID", Order = 3)] + public int? SlateGameID { get; set; } + + /// + /// The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds. + /// + [Description("The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds.")] + [DataMember(Name = "PlayerID", Order = 4)] + public int? PlayerID { get; set; } + + /// + /// The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds. + /// + [Description("The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds.")] + [DataMember(Name = "PlayerGameProjectionStatID", Order = 5)] + public int? PlayerGameProjectionStatID { get; set; } + + /// + /// Unique ID of the Player (assigned by the operator). + /// + [Description("Unique ID of the Player (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerID", Order = 6)] + public string OperatorPlayerID { get; set; } + + /// + /// Unique ID of the SlatePlayer (assigned by the operator). + /// + [Description("Unique ID of the SlatePlayer (assigned by the operator).")] + [DataMember(Name = "OperatorSlatePlayerID", Order = 7)] + public string OperatorSlatePlayerID { get; set; } + + /// + /// The player's name (assigned by the operator). + /// + [Description("The player's name (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerName", Order = 8)] + public string OperatorPlayerName { get; set; } + + /// + /// The player's eligible positions for the contest (assigned by the operator). + /// + [Description("The player's eligible positions for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorPosition", Order = 9)] + public string OperatorPosition { get; set; } + + /// + /// The player's salary for the contest (assigned by the operator). + /// + [Description("The player's salary for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorSalary", Order = 10)] + public int? OperatorSalary { get; set; } + + /// + /// The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible. + /// + [Description("The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible.")] + [DataMember(Name = "OperatorRosterSlots", Order = 10011)] + public string[] OperatorRosterSlots { get; set; } + + /// + /// Indicates whether this player was removed/deleted by the operator. + /// + [Description("Indicates whether this player was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 12)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Game.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Game.cs new file mode 100644 index 0000000..9c0192c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Game.cs @@ -0,0 +1,517 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int GameID { get; set; } + + /// + /// The MLB season of the game + /// + [Description("The MLB season of the game")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 4)] + public string Status { get; set; } + + /// + /// The date of the game + /// + [Description("The date of the game")] + [DataMember(Name = "Day", Order = 5)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime? DateTime { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 7)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 8)] + public string HomeTeam { get; set; } + + /// + /// The unique ID of the away team + /// + [Description("The unique ID of the away team")] + [DataMember(Name = "AwayTeamID", Order = 9)] + public int AwayTeamID { get; set; } + + /// + /// The unique ID of the home team  + /// + [Description("The unique ID of the home team ")] + [DataMember(Name = "HomeTeamID", Order = 10)] + public int HomeTeamID { get; set; } + + /// + /// The GameID of the game that was rescheduled from this game. This only pertains to postponed games that require rescheduling. + /// + [Description("The GameID of the game that was rescheduled from this game. This only pertains to postponed games that require rescheduling.")] + [DataMember(Name = "RescheduledGameID", Order = 11)] + public int? RescheduledGameID { get; set; } + + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 12)] + public int? StadiumID { get; set; } + + /// + /// The television station broadcasting the game + /// + [Description("The television station broadcasting the game")] + [DataMember(Name = "Channel", Order = 13)] + public string Channel { get; set; } + + /// + /// The inning that the game is currently in, or the inning in which the game ended. Possible values include: NULL, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, etc) + /// + [Description("The inning that the game is currently in, or the inning in which the game ended. Possible values include: NULL, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, etc)")] + [DataMember(Name = "Inning", Order = 14)] + public int? Inning { get; set; } + + /// + /// The inning half that the game is currently in, or the inning half in which the game ended (possible values: T, B, NULL) + /// + [Description("The inning half that the game is currently in, or the inning half in which the game ended (possible values: T, B, NULL)")] + [DataMember(Name = "InningHalf", Order = 15)] + public string InningHalf { get; set; } + + /// + /// Number of runs the away team scored in this game + /// + [Description("Number of runs the away team scored in this game")] + [DataMember(Name = "AwayTeamRuns", Order = 16)] + public int? AwayTeamRuns { get; set; } + + /// + /// Number of runs the home team scored in this game + /// + [Description("Number of runs the home team scored in this game")] + [DataMember(Name = "HomeTeamRuns", Order = 17)] + public int? HomeTeamRuns { get; set; } + + /// + /// Total away team hits in this game + /// + [Description("Total away team hits in this game")] + [DataMember(Name = "AwayTeamHits", Order = 18)] + public int? AwayTeamHits { get; set; } + + /// + /// Total home team hits in this game + /// + [Description("Total home team hits in this game")] + [DataMember(Name = "HomeTeamHits", Order = 19)] + public int? HomeTeamHits { get; set; } + + /// + /// Total away team errors committed in this game + /// + [Description("Total away team errors committed in this game")] + [DataMember(Name = "AwayTeamErrors", Order = 20)] + public int? AwayTeamErrors { get; set; } + + /// + /// Total home team errors committed in this game + /// + [Description("Total home team errors committed in this game")] + [DataMember(Name = "HomeTeamErrors", Order = 21)] + public int? HomeTeamErrors { get; set; } + + /// + /// The PlayerID of the winning pitcher + /// + [Description("The PlayerID of the winning pitcher")] + [DataMember(Name = "WinningPitcherID", Order = 22)] + public int? WinningPitcherID { get; set; } + + /// + /// The PlayerID of the losing pitcher + /// + [Description("The PlayerID of the losing pitcher")] + [DataMember(Name = "LosingPitcherID", Order = 23)] + public int? LosingPitcherID { get; set; } + + /// + /// The PlayerID of the saving pitcher + /// + [Description("The PlayerID of the saving pitcher")] + [DataMember(Name = "SavingPitcherID", Order = 24)] + public int? SavingPitcherID { get; set; } + + /// + /// Total number of people who attended the game + /// + [Description("Total number of people who attended the game")] + [DataMember(Name = "Attendance", Order = 25)] + public int? Attendance { get; set; } + + /// + /// The PlayerID of the away team's probable pitcher + /// + [Description("The PlayerID of the away team's probable pitcher")] + [DataMember(Name = "AwayTeamProbablePitcherID", Order = 26)] + public int? AwayTeamProbablePitcherID { get; set; } + + /// + /// The PlayerID of the home team's probable pitcher + /// + [Description("The PlayerID of the home team's probable pitcher")] + [DataMember(Name = "HomeTeamProbablePitcherID", Order = 27)] + public int? HomeTeamProbablePitcherID { get; set; } + + /// + /// The number of outs recorded in the current inning + /// + [Description("The number of outs recorded in the current inning")] + [DataMember(Name = "Outs", Order = 28)] + public int? Outs { get; set; } + + /// + /// The number of balls thrown for the current at bat + /// + [Description("The number of balls thrown for the current at bat")] + [DataMember(Name = "Balls", Order = 29)] + public int? Balls { get; set; } + + /// + /// The number of strikes thrown for the current at bat + /// + [Description("The number of strikes thrown for the current at bat")] + [DataMember(Name = "Strikes", Order = 30)] + public int? Strikes { get; set; } + + /// + /// The PlayerID of the current pitcher + /// + [Description("The PlayerID of the current pitcher")] + [DataMember(Name = "CurrentPitcherID", Order = 31)] + public int? CurrentPitcherID { get; set; } + + /// + /// The PlayerID of the current hitter + /// + [Description("The PlayerID of the current hitter")] + [DataMember(Name = "CurrentHitterID", Order = 32)] + public int? CurrentHitterID { get; set; } + + /// + /// The PlayerID of the away team's starting pitcher + /// + [Description("The PlayerID of the away team's starting pitcher")] + [DataMember(Name = "AwayTeamStartingPitcherID", Order = 33)] + public int? AwayTeamStartingPitcherID { get; set; } + + /// + /// The PlayerID of the home team's starting pitcher + /// + [Description("The PlayerID of the home team's starting pitcher")] + [DataMember(Name = "HomeTeamStartingPitcherID", Order = 34)] + public int? HomeTeamStartingPitcherID { get; set; } + + /// + /// The TeamID of the current pitcher's team + /// + [Description("The TeamID of the current pitcher's team")] + [DataMember(Name = "CurrentPitchingTeamID", Order = 35)] + public int? CurrentPitchingTeamID { get; set; } + + /// + /// The TeamID of the current hitter's team + /// + [Description("The TeamID of the current hitter's team")] + [DataMember(Name = "CurrentHittingTeamID", Order = 36)] + public int? CurrentHittingTeamID { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored)")] + [DataMember(Name = "PointSpread", Order = 37)] + public decimal? PointSpread { get; set; } + + /// + /// The oddsmaker Over/Under at game start + /// + [Description("The oddsmaker Over/Under at game start")] + [DataMember(Name = "OverUnder", Order = 38)] + public decimal? OverUnder { get; set; } + + /// + /// Money line from the perspective of the away team. + /// + [Description("Money line from the perspective of the away team.")] + [DataMember(Name = "AwayTeamMoneyLine", Order = 39)] + public int? AwayTeamMoneyLine { get; set; } + + /// + /// Money line from the perspective of the home team. + /// + [Description("Money line from the perspective of the home team.")] + [DataMember(Name = "HomeTeamMoneyLine", Order = 40)] + public int? HomeTeamMoneyLine { get; set; } + + /// + /// The forecasted low temperature on game day at this venue (Fahrenheit). + /// + [Description("The forecasted low temperature on game day at this venue (Fahrenheit).")] + [DataMember(Name = "ForecastTempLow", Order = 41)] + public int? ForecastTempLow { get; set; } + + /// + /// The forecasted high temperature on game day at this venue (Fahrenheit). + /// + [Description("The forecasted high temperature on game day at this venue (Fahrenheit).")] + [DataMember(Name = "ForecastTempHigh", Order = 42)] + public int? ForecastTempHigh { get; set; } + + /// + /// The description of the weather forecast. Posible values include: Broken Clouds, Clear Sky, Few Clouds, Heavy Intensity Rain, Light Rain, Moderate Rain, Mostly Cloudy, Mostly Sunny, Overcast Clouds, Partly Cloudy, Scattered Clouds, Showers, Thunderstorms + /// + [Description("The description of the weather forecast. Posible values include: Broken Clouds, Clear Sky, Few Clouds, Heavy Intensity Rain, Light Rain, Moderate Rain, Mostly Cloudy, Mostly Sunny, Overcast Clouds, Partly Cloudy, Scattered Clouds, Showers, Thunderstorms")] + [DataMember(Name = "ForecastDescription", Order = 43)] + public string ForecastDescription { get; set; } + + /// + /// The forecasted wind chill on game day at this venue. + /// + [Description("The forecasted wind chill on game day at this venue.")] + [DataMember(Name = "ForecastWindChill", Order = 44)] + public int? ForecastWindChill { get; set; } + + /// + /// The forecasted wind speed on game day at this venue. + /// + [Description("The forecasted wind speed on game day at this venue.")] + [DataMember(Name = "ForecastWindSpeed", Order = 45)] + public int? ForecastWindSpeed { get; set; } + + /// + /// The wind direction isn't baseball specific. It refers to the direction that the wind is coming from. 90 would be wind coming from the east. 180 is wind from the south. 270 is a wind from the west ... and so on. + /// + [Description("The wind direction isn't baseball specific. It refers to the direction that the wind is coming from. 90 would be wind coming from the east. 180 is wind from the south. 270 is a wind from the west ... and so on.")] + [DataMember(Name = "ForecastWindDirection", Order = 46)] + public int? ForecastWindDirection { get; set; } + + /// + /// The GameID of the originally scheduled, postponed game, that this game was rescheduled from. This only pertains to games that are scheduled as "make up" games. + /// + [Description("The GameID of the originally scheduled, postponed game, that this game was rescheduled from. This only pertains to games that are scheduled as \"make up\" games.")] + [DataMember(Name = "RescheduledFromGameID", Order = 47)] + public int? RescheduledFromGameID { get; set; } + + /// + /// Indicates if there is a runner on first + /// + [Description("Indicates if there is a runner on first")] + [DataMember(Name = "RunnerOnFirst", Order = 48)] + public bool? RunnerOnFirst { get; set; } + + /// + /// Indicates if there is a runner on second + /// + [Description("Indicates if there is a runner on second")] + [DataMember(Name = "RunnerOnSecond", Order = 49)] + public bool? RunnerOnSecond { get; set; } + + /// + /// Indicates if there is a runner on third + /// + [Description("Indicates if there is a runner on third")] + [DataMember(Name = "RunnerOnThird", Order = 50)] + public bool? RunnerOnThird { get; set; } + + /// + /// Indicates the away team starting pitcher's name + /// + [Description("Indicates the away team starting pitcher's name")] + [DataMember(Name = "AwayTeamStartingPitcher", Order = 51)] + public string AwayTeamStartingPitcher { get; set; } + + /// + /// Indicates the home team starting pitcher's name + /// + [Description("Indicates the home team starting pitcher's name")] + [DataMember(Name = "HomeTeamStartingPitcher", Order = 52)] + public string HomeTeamStartingPitcher { get; set; } + + /// + /// Indicates the current pitcher's name + /// + [Description("Indicates the current pitcher's name")] + [DataMember(Name = "CurrentPitcher", Order = 53)] + public string CurrentPitcher { get; set; } + + /// + /// Indicates the current hitter's name + /// + [Description("Indicates the current hitter's name")] + [DataMember(Name = "CurrentHitter", Order = 54)] + public string CurrentHitter { get; set; } + + /// + /// Indicates the winning pitcher's name + /// + [Description("Indicates the winning pitcher's name")] + [DataMember(Name = "WinningPitcher", Order = 55)] + public string WinningPitcher { get; set; } + + /// + /// Indicates the losing pitcher's name + /// + [Description("Indicates the losing pitcher's name")] + [DataMember(Name = "LosingPitcher", Order = 56)] + public string LosingPitcher { get; set; } + + /// + /// Indicates the saving pitcher's name + /// + [Description("Indicates the saving pitcher's name")] + [DataMember(Name = "SavingPitcher", Order = 57)] + public string SavingPitcher { get; set; } + + /// + /// Indicates the hitter due up first + /// + [Description("Indicates the hitter due up first")] + [DataMember(Name = "DueUpHitterID1", Order = 58)] + public int? DueUpHitterID1 { get; set; } + + /// + /// Indicates the hitter due up second + /// + [Description("Indicates the hitter due up second")] + [DataMember(Name = "DueUpHitterID2", Order = 59)] + public int? DueUpHitterID2 { get; set; } + + /// + /// Indicates the hitter due up third + /// + [Description("Indicates the hitter due up third")] + [DataMember(Name = "DueUpHitterID3", Order = 60)] + public int? DueUpHitterID3 { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 61)] + public int GlobalGameID { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamID", Order = 62)] + public int GlobalAwayTeamID { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamID", Order = 63)] + public int GlobalHomeTeamID { get; set; } + + /// + /// The money line payout odds when betting on the away team with the point spread + /// + [Description("The money line payout odds when betting on the away team with the point spread")] + [DataMember(Name = "PointSpreadAwayTeamMoneyLine", Order = 64)] + public int? PointSpreadAwayTeamMoneyLine { get; set; } + + /// + /// The money line payout odds when betting on the home team with the point spread + /// + [Description("The money line payout odds when betting on the home team with the point spread")] + [DataMember(Name = "PointSpreadHomeTeamMoneyLine", Order = 65)] + public int? PointSpreadHomeTeamMoneyLine { get; set; } + + /// + /// The description of the most recent play/event of the game. This is for display purposes and does not include corresponding data points. + /// + [Description("The description of the most recent play/event of the game. This is for display purposes and does not include corresponding data points.")] + [DataMember(Name = "LastPlay", Order = 66)] + public string LastPlay { get; set; } + + /// + /// Indicates whether the game is over and the final score has been verified and closed out. + /// + [Description("Indicates whether the game is over and the final score has been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 67)] + public bool IsClosed { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 68)] + public DateTime? Updated { get; set; } + + /// + /// The details of the innings associated with this game + /// + [Description("The details of the innings associated with this game")] + [DataMember(Name = "Innings", Order = 20069)] + public Inning[] Innings { get; set; } + + /// + /// The date and time that the game ended in US Eastern Time + /// + [Description("The date and time that the game ended in US Eastern Time")] + [DataMember(Name = "GameEndDateTime", Order = 70)] + public DateTime? GameEndDateTime { get; set; } + + /// + /// Rotation number of home team for this game + /// + [Description("Rotation number of home team for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 71)] + public int? HomeRotationNumber { get; set; } + + /// + /// Rotation number of away team for this game + /// + [Description("Rotation number of away team for this game")] + [DataMember(Name = "AwayRotationNumber", Order = 72)] + public int? AwayRotationNumber { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/GameInfo.cs b/FantasyData.Api.Client.NetCore/Model/MLB/GameInfo.cs new file mode 100644 index 0000000..ac2c7ff --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/GameInfo.cs @@ -0,0 +1,153 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="GameInfo")] + [Serializable] + public partial class GameInfo + { + /// + /// The unique ID of the game. + /// + [Description("The unique ID of the game.")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The calendar year of the season during which this game occurs. + /// + [Description("The calendar year of the season during which this game occurs.")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC. + /// + [Description("The day that the game is scheduled to be played in UTC.")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC. + /// + [Description("The date/time that the game is scheduled to be played in UTC.")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 6)] + public string Status { get; set; } + + /// + /// The TeamId of the away team. + /// + [Description("The TeamId of the away team.")] + [DataMember(Name = "AwayTeamId", Order = 7)] + public int? AwayTeamId { get; set; } + + /// + /// The TeamId of the home team. + /// + [Description("The TeamId of the home team.")] + [DataMember(Name = "HomeTeamId", Order = 8)] + public int? HomeTeamId { get; set; } + + /// + /// The name of the away team. + /// + [Description("The name of the away team.")] + [DataMember(Name = "AwayTeamName", Order = 9)] + public string AwayTeamName { get; set; } + + /// + /// The name of the home team. + /// + [Description("The name of the home team.")] + [DataMember(Name = "HomeTeamName", Order = 10)] + public string HomeTeamName { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 11)] + public int GlobalGameId { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamId", Order = 12)] + public int? GlobalAwayTeamId { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamId", Order = 13)] + public int? GlobalHomeTeamId { get; set; } + + /// + /// List of Pregame GameOdds from different sportsbooks + /// + [Description("List of Pregame GameOdds from different sportsbooks")] + [DataMember(Name = "PregameOdds", Order = 20014)] + public GameOdd[] PregameOdds { get; set; } + + /// + /// List of Live GameOdds from different sportsbooks + /// + [Description("List of Live GameOdds from different sportsbooks")] + [DataMember(Name = "LiveOdds", Order = 20015)] + public GameOdd[] LiveOdds { get; set; } + + /// + /// Score of the home team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the home team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "HomeTeamScore", Order = 16)] + public int? HomeTeamScore { get; set; } + + /// + /// Score of the away team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the away team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "AwayTeamScore", Order = 17)] + public int? AwayTeamScore { get; set; } + + /// + /// Total scored points in the game (updated after game ends to allow for resolving bets) + /// + [Description("Total scored points in the game (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "TotalScore", Order = 18)] + public int? TotalScore { get; set; } + + /// + /// Home team rotation number for this game + /// + [Description("Home team rotation number for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 19)] + public int? HomeRotationNumber { get; set; } + + /// + /// Away team rotation number for this game + /// + [Description("Away team rotation number for this game")] + [DataMember(Name = "AwayRotationNumber", Order = 20)] + public int? AwayRotationNumber { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/GameOdd.cs b/FantasyData.Api.Client.NetCore/Model/MLB/GameOdd.cs new file mode 100644 index 0000000..70e2f3c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/GameOdd.cs @@ -0,0 +1,118 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="GameOdd")] + [Serializable] + public partial class GameOdd + { + /// + /// Unique ID of this odd + /// + [Description("Unique ID of this odd")] + [DataMember(Name = "GameOddId", Order = 1)] + public int GameOddId { get; set; } + + /// + /// Name of sportsbook + /// + [Description("Name of sportsbook")] + [DataMember(Name = "Sportsbook", Order = 2)] + public string Sportsbook { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 3)] + public int GameId { get; set; } + + /// + /// The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT). + /// + [Description("The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT).")] + [DataMember(Name = "Created", Order = 4)] + public DateTime Created { get; set; } + + /// + /// The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook. + /// + [Description("The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook.")] + [DataMember(Name = "Updated", Order = 5)] + public DateTime Updated { get; set; } + + /// + /// The sportsbook's money line for the home team + /// + [Description("The sportsbook's money line for the home team")] + [DataMember(Name = "HomeMoneyLine", Order = 6)] + public int? HomeMoneyLine { get; set; } + + /// + /// The sportsbook's money line for the away team + /// + [Description("The sportsbook's money line for the away team")] + [DataMember(Name = "AwayMoneyLine", Order = 7)] + public int? AwayMoneyLine { get; set; } + + /// + /// The sportsbook's point spread for the home team + /// + [Description("The sportsbook's point spread for the home team")] + [DataMember(Name = "HomePointSpread", Order = 8)] + public decimal? HomePointSpread { get; set; } + + /// + /// The sportsbook's point spread for the away team + /// + [Description("The sportsbook's point spread for the away team")] + [DataMember(Name = "AwayPointSpread", Order = 9)] + public decimal? AwayPointSpread { get; set; } + + /// + /// The sportsbook's point spread payout for the home team + /// + [Description("The sportsbook's point spread payout for the home team")] + [DataMember(Name = "HomePointSpreadPayout", Order = 10)] + public int? HomePointSpreadPayout { get; set; } + + /// + /// The sportsbook's point spread payout for the away team + /// + [Description("The sportsbook's point spread payout for the away team")] + [DataMember(Name = "AwayPointSpreadPayout", Order = 11)] + public int? AwayPointSpreadPayout { get; set; } + + /// + /// The sportsbook's total points scored over under for the game + /// + [Description("The sportsbook's total points scored over under for the game")] + [DataMember(Name = "OverUnder", Order = 12)] + public decimal? OverUnder { get; set; } + + /// + /// The sportsbook's payout for the over + /// + [Description("The sportsbook's payout for the over")] + [DataMember(Name = "OverPayout", Order = 13)] + public int? OverPayout { get; set; } + + /// + /// The sportsbook's payout for the under + /// + [Description("The sportsbook's payout for the under")] + [DataMember(Name = "UnderPayout", Order = 14)] + public int? UnderPayout { get; set; } + + /// + /// Unique ID of the sportsbook + /// + [Description("Unique ID of the sportsbook")] + [DataMember(Name = "SportsbookId", Order = 15)] + public int? SportsbookId { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/GameStat.cs b/FantasyData.Api.Client.NetCore/Model/MLB/GameStat.cs new file mode 100644 index 0000000..479a330 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/GameStat.cs @@ -0,0 +1,783 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="GameStat")] + [Serializable] + public partial class GameStat + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 2)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 3)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 6)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 7)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 8)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 9)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 11)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// At bats while hitting + /// + [Description("At bats while hitting")] + [DataMember(Name = "AtBats", Order = 13)] + public decimal? AtBats { get; set; } + + /// + /// Total runs scored. + /// + [Description("Total runs scored.")] + [DataMember(Name = "Runs", Order = 14)] + public decimal? Runs { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 15)] + public decimal? Hits { get; set; } + + /// + /// Total singles + /// + [Description("Total singles")] + [DataMember(Name = "Singles", Order = 16)] + public decimal? Singles { get; set; } + + /// + /// Total doubles + /// + [Description("Total doubles")] + [DataMember(Name = "Doubles", Order = 17)] + public decimal? Doubles { get; set; } + + /// + /// Total triples + /// + [Description("Total triples")] + [DataMember(Name = "Triples", Order = 18)] + public decimal? Triples { get; set; } + + /// + /// Total home runs + /// + [Description("Total home runs")] + [DataMember(Name = "HomeRuns", Order = 19)] + public decimal? HomeRuns { get; set; } + + /// + /// Total runs batted in + /// + [Description("Total runs batted in")] + [DataMember(Name = "RunsBattedIn", Order = 20)] + public decimal? RunsBattedIn { get; set; } + + /// + /// Total batting average + /// + [Description("Total batting average")] + [DataMember(Name = "BattingAverage", Order = 21)] + public decimal? BattingAverage { get; set; } + + /// + /// Total outs + /// + [Description("Total outs")] + [DataMember(Name = "Outs", Order = 22)] + public decimal? Outs { get; set; } + + /// + /// Total strikeouts + /// + [Description("Total strikeouts")] + [DataMember(Name = "Strikeouts", Order = 23)] + public decimal? Strikeouts { get; set; } + + /// + /// Total walks + /// + [Description("Total walks")] + [DataMember(Name = "Walks", Order = 24)] + public decimal? Walks { get; set; } + + /// + /// Total times hit by pitch + /// + [Description("Total times hit by pitch")] + [DataMember(Name = "HitByPitch", Order = 25)] + public decimal? HitByPitch { get; set; } + + /// + /// Total sacrifices + /// + [Description("Total sacrifices")] + [DataMember(Name = "Sacrifices", Order = 26)] + public decimal? Sacrifices { get; set; } + + /// + /// Total sacrifice flies + /// + [Description("Total sacrifice flies")] + [DataMember(Name = "SacrificeFlies", Order = 27)] + public decimal? SacrificeFlies { get; set; } + + /// + /// Total times grounded into double play + /// + [Description("Total times grounded into double play")] + [DataMember(Name = "GroundIntoDoublePlay", Order = 28)] + public decimal? GroundIntoDoublePlay { get; set; } + + /// + /// Total stolen bases + /// + [Description("Total stolen bases")] + [DataMember(Name = "StolenBases", Order = 29)] + public decimal? StolenBases { get; set; } + + /// + /// Total caught stealing + /// + [Description("Total caught stealing")] + [DataMember(Name = "CaughtStealing", Order = 30)] + public decimal? CaughtStealing { get; set; } + + /// + /// Total pitches seen + /// + [Description("Total pitches seen")] + [DataMember(Name = "PitchesSeen", Order = 31)] + public decimal? PitchesSeen { get; set; } + + /// + /// Total on base percentage + /// + [Description("Total on base percentage")] + [DataMember(Name = "OnBasePercentage", Order = 32)] + public decimal? OnBasePercentage { get; set; } + + /// + /// Total slugging percentage + /// + [Description("Total slugging percentage")] + [DataMember(Name = "SluggingPercentage", Order = 33)] + public decimal? SluggingPercentage { get; set; } + + /// + /// Total on base plus percentage  + /// + [Description("Total on base plus percentage ")] + [DataMember(Name = "OnBasePlusSlugging", Order = 34)] + public decimal? OnBasePlusSlugging { get; set; } + + /// + /// Total errors + /// + [Description("Total errors")] + [DataMember(Name = "Errors", Order = 35)] + public decimal? Errors { get; set; } + + /// + /// Total wins by the team/player + /// + [Description("Total wins by the team/player")] + [DataMember(Name = "Wins", Order = 36)] + public decimal? Wins { get; set; } + + /// + /// Total losses by the team/player + /// + [Description("Total losses by the team/player")] + [DataMember(Name = "Losses", Order = 37)] + public decimal? Losses { get; set; } + + /// + /// Total saves by team/player + /// + [Description("Total saves by team/player")] + [DataMember(Name = "Saves", Order = 38)] + public decimal? Saves { get; set; } + + /// + /// Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc) + /// + [Description("Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)")] + [DataMember(Name = "InningsPitchedDecimal", Order = 39)] + public decimal? InningsPitchedDecimal { get; set; } + + /// + /// Total outs pitched by team/player + /// + [Description("Total outs pitched by team/player")] + [DataMember(Name = "TotalOutsPitched", Order = 40)] + public decimal? TotalOutsPitched { get; set; } + + /// + /// Total full innings pitched (e.g. 6, 71, 89, etc) + /// + [Description("Total full innings pitched (e.g. 6, 71, 89, etc)")] + [DataMember(Name = "InningsPitchedFull", Order = 41)] + public decimal? InningsPitchedFull { get; set; } + + /// + /// Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2) + /// + [Description("Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)")] + [DataMember(Name = "InningsPitchedOuts", Order = 42)] + public decimal? InningsPitchedOuts { get; set; } + + /// + /// Total earned run average by team/player + /// + [Description("Total earned run average by team/player")] + [DataMember(Name = "EarnedRunAverage", Order = 43)] + public decimal? EarnedRunAverage { get; set; } + + /// + /// Hits allowed while pitching + /// + [Description("Hits allowed while pitching")] + [DataMember(Name = "PitchingHits", Order = 44)] + public decimal? PitchingHits { get; set; } + + /// + /// Runs allowed while pitching + /// + [Description("Runs allowed while pitching")] + [DataMember(Name = "PitchingRuns", Order = 45)] + public decimal? PitchingRuns { get; set; } + + /// + /// Earned runs allowed while pitching + /// + [Description("Earned runs allowed while pitching")] + [DataMember(Name = "PitchingEarnedRuns", Order = 46)] + public decimal? PitchingEarnedRuns { get; set; } + + /// + /// Walks allowed while pitching + /// + [Description("Walks allowed while pitching")] + [DataMember(Name = "PitchingWalks", Order = 47)] + public decimal? PitchingWalks { get; set; } + + /// + /// Strikeouts allowed while pitching + /// + [Description("Strikeouts allowed while pitching")] + [DataMember(Name = "PitchingStrikeouts", Order = 48)] + public decimal? PitchingStrikeouts { get; set; } + + /// + /// Home runs allowed while pitching + /// + [Description("Home runs allowed while pitching")] + [DataMember(Name = "PitchingHomeRuns", Order = 49)] + public decimal? PitchingHomeRuns { get; set; } + + /// + /// Total pitches thrown while pitching + /// + [Description("Total pitches thrown while pitching")] + [DataMember(Name = "PitchesThrown", Order = 50)] + public decimal? PitchesThrown { get; set; } + + /// + /// Total pitches thrown for strikes while pitching + /// + [Description("Total pitches thrown for strikes while pitching")] + [DataMember(Name = "PitchesThrownStrikes", Order = 51)] + public decimal? PitchesThrownStrikes { get; set; } + + /// + /// Walks plus hits per innings pitched (WHIP) while pitching + /// + [Description("Walks plus hits per innings pitched (WHIP) while pitching")] + [DataMember(Name = "WalksHitsPerInningsPitched", Order = 52)] + public decimal? WalksHitsPerInningsPitched { get; set; } + + /// + /// Total batting average against (BAA) while pitching + /// + [Description("Total batting average against (BAA) while pitching")] + [DataMember(Name = "PitchingBattingAverageAgainst", Order = 53)] + public decimal? PitchingBattingAverageAgainst { get; set; } + + /// + /// Total grand slams + /// + [Description("Total grand slams")] + [DataMember(Name = "GrandSlams", Order = 54)] + public decimal? GrandSlams { get; set; } + + /// + /// Total FanDuel fantasy points + /// + [Description("Total FanDuel fantasy points")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 55)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings fantasy points + /// + [Description("Total DraftKings fantasy points")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 56)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo fantasy points + /// + [Description("Total Yahoo fantasy points")] + [DataMember(Name = "FantasyPointsYahoo", Order = 57)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plate appearances + /// + [Description("Total plate appearances")] + [DataMember(Name = "PlateAppearances", Order = 58)] + public decimal? PlateAppearances { get; set; } + + /// + /// Number of total bases + /// + [Description("Number of total bases")] + [DataMember(Name = "TotalBases", Order = 59)] + public decimal? TotalBases { get; set; } + + /// + /// Total fly outs + /// + [Description("Total fly outs")] + [DataMember(Name = "FlyOuts", Order = 60)] + public decimal? FlyOuts { get; set; } + + /// + /// Total ground outs + /// + [Description("Total ground outs")] + [DataMember(Name = "GroundOuts", Order = 61)] + public decimal? GroundOuts { get; set; } + + /// + /// Total line outs + /// + [Description("Total line outs")] + [DataMember(Name = "LineOuts", Order = 62)] + public decimal? LineOuts { get; set; } + + /// + /// Total pop outs + /// + [Description("Total pop outs")] + [DataMember(Name = "PopOuts", Order = 63)] + public decimal? PopOuts { get; set; } + + /// + /// Total intentional walks + /// + [Description("Total intentional walks")] + [DataMember(Name = "IntentionalWalks", Order = 64)] + public decimal? IntentionalWalks { get; set; } + + /// + /// Total times reached on error + /// + [Description("Total times reached on error")] + [DataMember(Name = "ReachedOnError", Order = 65)] + public decimal? ReachedOnError { get; set; } + + /// + /// Total balls in play + /// + [Description("Total balls in play")] + [DataMember(Name = "BallsInPlay", Order = 66)] + public decimal? BallsInPlay { get; set; } + + /// + /// Total batting average on balls in play (BABIP + /// + [Description("Total batting average on balls in play (BABIP")] + [DataMember(Name = "BattingAverageOnBallsInPlay", Order = 67)] + public decimal? BattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weight on base percentage + /// + [Description("Total weight on base percentage")] + [DataMember(Name = "WeightedOnBasePercentage", Order = 68)] + public decimal? WeightedOnBasePercentage { get; set; } + + /// + /// Total singles allowed while pitching + /// + [Description("Total singles allowed while pitching")] + [DataMember(Name = "PitchingSingles", Order = 69)] + public decimal? PitchingSingles { get; set; } + + /// + /// Total doubles allowed while pitching + /// + [Description("Total doubles allowed while pitching")] + [DataMember(Name = "PitchingDoubles", Order = 70)] + public decimal? PitchingDoubles { get; set; } + + /// + /// Total triples allowed while pitching + /// + [Description("Total triples allowed while pitching")] + [DataMember(Name = "PitchingTriples", Order = 71)] + public decimal? PitchingTriples { get; set; } + + /// + /// Total grand slams allowed while pitching + /// + [Description("Total grand slams allowed while pitching")] + [DataMember(Name = "PitchingGrandSlams", Order = 72)] + public decimal? PitchingGrandSlams { get; set; } + + /// + /// Total batters hit by pitch while pitching + /// + [Description("Total batters hit by pitch while pitching")] + [DataMember(Name = "PitchingHitByPitch", Order = 73)] + public decimal? PitchingHitByPitch { get; set; } + + /// + /// Total sacrifices while pitching + /// + [Description("Total sacrifices while pitching")] + [DataMember(Name = "PitchingSacrifices", Order = 74)] + public decimal? PitchingSacrifices { get; set; } + + /// + /// Total sacrifice flies while pitching + /// + [Description("Total sacrifice flies while pitching")] + [DataMember(Name = "PitchingSacrificeFlies", Order = 75)] + public decimal? PitchingSacrificeFlies { get; set; } + + /// + /// Total grounded into double plays while pitching + /// + [Description("Total grounded into double plays while pitching")] + [DataMember(Name = "PitchingGroundIntoDoublePlay", Order = 76)] + public decimal? PitchingGroundIntoDoublePlay { get; set; } + + /// + /// Total complete games while pitching + /// + [Description("Total complete games while pitching")] + [DataMember(Name = "PitchingCompleteGames", Order = 77)] + public decimal? PitchingCompleteGames { get; set; } + + /// + /// Total shuouts while pitching + /// + [Description("Total shuouts while pitching")] + [DataMember(Name = "PitchingShutOuts", Order = 78)] + public decimal? PitchingShutOuts { get; set; } + + /// + /// Total no hitters while pitching + /// + [Description("Total no hitters while pitching")] + [DataMember(Name = "PitchingNoHitters", Order = 79)] + public decimal? PitchingNoHitters { get; set; } + + /// + /// Total perfect games while pitching + /// + [Description("Total perfect games while pitching")] + [DataMember(Name = "PitchingPerfectGames", Order = 80)] + public decimal? PitchingPerfectGames { get; set; } + + /// + /// Total plate appearances while pitching + /// + [Description("Total plate appearances while pitching")] + [DataMember(Name = "PitchingPlateAppearances", Order = 81)] + public decimal? PitchingPlateAppearances { get; set; } + + /// + /// Total bases while pitching + /// + [Description("Total bases while pitching")] + [DataMember(Name = "PitchingTotalBases", Order = 82)] + public decimal? PitchingTotalBases { get; set; } + + /// + /// Total fly outs while pitching + /// + [Description("Total fly outs while pitching")] + [DataMember(Name = "PitchingFlyOuts", Order = 83)] + public decimal? PitchingFlyOuts { get; set; } + + /// + /// Total ground outs while pitching + /// + [Description("Total ground outs while pitching")] + [DataMember(Name = "PitchingGroundOuts", Order = 84)] + public decimal? PitchingGroundOuts { get; set; } + + /// + /// Total line outs while pitching + /// + [Description("Total line outs while pitching")] + [DataMember(Name = "PitchingLineOuts", Order = 85)] + public decimal? PitchingLineOuts { get; set; } + + /// + /// Total pop outs while pitching + /// + [Description("Total pop outs while pitching")] + [DataMember(Name = "PitchingPopOuts", Order = 86)] + public decimal? PitchingPopOuts { get; set; } + + /// + /// Total intentional walks while pitching + /// + [Description("Total intentional walks while pitching")] + [DataMember(Name = "PitchingIntentionalWalks", Order = 87)] + public decimal? PitchingIntentionalWalks { get; set; } + + /// + /// Total times reached on error while pitching + /// + [Description("Total times reached on error while pitching")] + [DataMember(Name = "PitchingReachedOnError", Order = 88)] + public decimal? PitchingReachedOnError { get; set; } + + /// + /// Total catchers interference while pitching + /// + [Description("Total catchers interference while pitching")] + [DataMember(Name = "PitchingCatchersInterference", Order = 89)] + public decimal? PitchingCatchersInterference { get; set; } + + /// + /// Total balls in play while pitching + /// + [Description("Total balls in play while pitching")] + [DataMember(Name = "PitchingBallsInPlay", Order = 90)] + public decimal? PitchingBallsInPlay { get; set; } + + /// + /// Total on base percentage (OBP) while pitching + /// + [Description("Total on base percentage (OBP) while pitching")] + [DataMember(Name = "PitchingOnBasePercentage", Order = 91)] + public decimal? PitchingOnBasePercentage { get; set; } + + /// + /// Total slugging percentage (SLG) while pitching + /// + [Description("Total slugging percentage (SLG) while pitching")] + [DataMember(Name = "PitchingSluggingPercentage", Order = 92)] + public decimal? PitchingSluggingPercentage { get; set; } + + /// + /// Total on base plus slugging (OPS) while pitching + /// + [Description("Total on base plus slugging (OPS) while pitching")] + [DataMember(Name = "PitchingOnBasePlusSlugging", Order = 93)] + public decimal? PitchingOnBasePlusSlugging { get; set; } + + /// + /// Total strikeouts per nine innings (K/9) while pitching + /// + [Description("Total strikeouts per nine innings (K/9) while pitching")] + [DataMember(Name = "PitchingStrikeoutsPerNineInnings", Order = 94)] + public decimal? PitchingStrikeoutsPerNineInnings { get; set; } + + /// + /// Total walks per nine innings (BB/9) while pitching + /// + [Description("Total walks per nine innings (BB/9) while pitching")] + [DataMember(Name = "PitchingWalksPerNineInnings", Order = 95)] + public decimal? PitchingWalksPerNineInnings { get; set; } + + /// + /// Total batting average on balls in play (BABIP) while pitching + /// + [Description("Total batting average on balls in play (BABIP) while pitching")] + [DataMember(Name = "PitchingBattingAverageOnBallsInPlay", Order = 96)] + public decimal? PitchingBattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weighted on base percentage while pitching  + /// + [Description("Total weighted on base percentage while pitching ")] + [DataMember(Name = "PitchingWeightedOnBasePercentage", Order = 97)] + public decimal? PitchingWeightedOnBasePercentage { get; set; } + + /// + /// Total double plays + /// + [Description("Total double plays")] + [DataMember(Name = "DoublePlays", Order = 98)] + public decimal? DoublePlays { get; set; } + + /// + /// Total double plays while pitching + /// + [Description("Total double plays while pitching")] + [DataMember(Name = "PitchingDoublePlays", Order = 99)] + public decimal? PitchingDoublePlays { get; set; } + + /// + /// Whether the batting order is confirmed (true/false) + /// + [Description("Whether the batting order is confirmed (true/false)")] + [DataMember(Name = "BattingOrderConfirmed", Order = 100)] + public bool? BattingOrderConfirmed { get; set; } + + /// + /// Total isolated power (ISO) + /// + [Description("Total isolated power (ISO)")] + [DataMember(Name = "IsolatedPower", Order = 101)] + public decimal? IsolatedPower { get; set; } + + /// + /// Total fielding independent pitching (FIP) + /// + [Description("Total fielding independent pitching (FIP)")] + [DataMember(Name = "FieldingIndependentPitching", Order = 102)] + public decimal? FieldingIndependentPitching { get; set; } + + /// + /// Total quality starts pitched + /// + [Description("Total quality starts pitched")] + [DataMember(Name = "PitchingQualityStarts", Order = 103)] + public decimal? PitchingQualityStarts { get; set; } + + /// + /// The inning that the pitcher entered the game (if any). + /// + [Description("The inning that the pitcher entered the game (if any).")] + [DataMember(Name = "PitchingInningStarted", Order = 104)] + public int? PitchingInningStarted { get; set; } + + /// + /// Total left on base percentage  + /// + [Description("Total left on base percentage ")] + [DataMember(Name = "LeftOnBase", Order = 105)] + public decimal? LeftOnBase { get; set; } + + /// + /// Total holds pitched + /// + [Description("Total holds pitched")] + [DataMember(Name = "PitchingHolds", Order = 106)] + public decimal? PitchingHolds { get; set; } + + /// + /// Total blown saves pitched + /// + [Description("Total blown saves pitched")] + [DataMember(Name = "PitchingBlownSaves", Order = 107)] + public decimal? PitchingBlownSaves { get; set; } + + /// + /// The position in the batting order where this player was substituted into the game (does not include players in the starting lineup) + /// + [Description("The position in the batting order where this player was substituted into the game (does not include players in the starting lineup)")] + [DataMember(Name = "SubstituteBattingOrder", Order = 108)] + public int? SubstituteBattingOrder { get; set; } + + /// + /// The sequence in which this player was substituted into the game, within the particular batting order + /// + [Description("The sequence in which this player was substituted into the game, within the particular batting order")] + [DataMember(Name = "SubstituteBattingOrderSequence", Order = 109)] + public int? SubstituteBattingOrderSequence { get; set; } + + /// + /// Total FantasyDraft fantasy points + /// + [Description("Total FantasyDraft fantasy points")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 110)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Headshot.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Headshot.cs new file mode 100644 index 0000000..67e8791 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Headshot.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Headshot")] + [Serializable] + public partial class Headshot + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Name of Player. + /// + [Description("Name of Player.")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// Unique ID of the Team the player belongs to (assigned by FantasyData). + /// + [Description("Unique ID of the Team the player belongs to (assigned by FantasyData).")] + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + /// + /// Name of the team the player belongs to. + /// + [Description("Name of the team the player belongs to.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Position player plays. + /// + [Description("Position player plays.")] + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + /// + /// The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available. + /// + [Description("The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available.")] + [DataMember(Name = "PreferredHostedHeadshotUrl", Order = 6)] + public string PreferredHostedHeadshotUrl { get; set; } + + /// + /// The last updated date of the player's preferred hosted headshot. + /// + [Description("The last updated date of the player's preferred hosted headshot.")] + [DataMember(Name = "PreferredHostedHeadshotUpdated", Order = 7)] + public DateTime? PreferredHostedHeadshotUpdated { get; set; } + + /// + /// The player's hosted headshot URL. + /// + [Description("The player's hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUrl", Order = 8)] + public string HostedHeadshotWithBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's hosted headshot. + /// + [Description("The last updated date of the player's hosted headshot.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUpdated", Order = 9)] + public DateTime? HostedHeadshotWithBackgroundUpdated { get; set; } + + /// + /// The player's transparent background hosted headshot URL. + /// + [Description("The player's transparent background hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUrl", Order = 10)] + public string HostedHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's transparent background hosted headshot. + /// + [Description("The last updated date of the player's transparent background hosted headshot.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUpdated", Order = 11)] + public DateTime? HostedHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Inning.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Inning.cs new file mode 100644 index 0000000..0fb1224 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Inning.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Inning")] + [Serializable] + public partial class Inning + { + /// + /// The unique ID for the inning + /// + [Description("The unique ID for the inning")] + [DataMember(Name = "InningID", Order = 1)] + public int InningID { get; set; } + + /// + /// The unique ID for the game + /// + [Description("The unique ID for the game")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The inning number in the game + /// + [Description("The inning number in the game")] + [DataMember(Name = "InningNumber", Order = 3)] + public int InningNumber { get; set; } + + /// + /// The number of away team runs in the inning + /// + [Description("The number of away team runs in the inning")] + [DataMember(Name = "AwayTeamRuns", Order = 4)] + public int? AwayTeamRuns { get; set; } + + /// + /// The number of home team runs in the inning + /// + [Description("The number of home team runs in the inning")] + [DataMember(Name = "HomeTeamRuns", Order = 5)] + public int? HomeTeamRuns { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/News.cs b/FantasyData.Api.Client.NetCore/Model/MLB/News.cs new file mode 100644 index 0000000..e19cf51 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/News.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="News")] + [Serializable] + public partial class News + { + /// + /// Unique ID of news story + /// + [Description("Unique ID of news story")] + [DataMember(Name = "NewsID", Order = 1)] + public int NewsID { get; set; } + + /// + /// The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.) + /// + [Description("The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.)")] + [DataMember(Name = "Source", Order = 2)] + public string Source { get; set; } + + /// + /// The date/time that the content was published (UTC time zone) + /// + [Description("The date/time that the content was published (UTC time zone)")] + [DataMember(Name = "Updated", Order = 3)] + public DateTime Updated { get; set; } + + /// + /// A description of how long ago this content was published + /// + [Description("A description of how long ago this content was published")] + [DataMember(Name = "TimeAgo", Order = 4)] + public string TimeAgo { get; set; } + + /// + /// The brief title of the news (typically less than 100 characters) + /// + [Description("The brief title of the news (typically less than 100 characters)")] + [DataMember(Name = "Title", Order = 5)] + public string Title { get; set; } + + /// + /// The full body content of the story + /// + [Description("The full body content of the story")] + [DataMember(Name = "Content", Order = 6)] + public string Content { get; set; } + + /// + /// The url of the full story + /// + [Description("The url of the full story")] + [DataMember(Name = "Url", Order = 7)] + public string Url { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 8)] + public string TermsOfUse { get; set; } + + /// + /// The author of the content + /// + [Description("The author of the content")] + [DataMember(Name = "Author", Order = 9)] + public string Author { get; set; } + + /// + /// Comma delimited meta tags describing the categories of this content. Possible tags include: Top Headlines, Breaking News, Injury, Sit/Start, Waiver Wire, Risers, Fallers, Lineups, Transactions, Free Agents, Prospects/Rookies, Game Recap, Matchup Outlook + /// + [Description("Comma delimited meta tags describing the categories of this content. Possible tags include: Top Headlines, Breaking News, Injury, Sit/Start, Waiver Wire, Risers, Fallers, Lineups, Transactions, Free Agents, Prospects/Rookies, Game Recap, Matchup Outlook")] + [DataMember(Name = "Categories", Order = 10)] + public string Categories { get; set; } + + /// + /// The PlayerID of the player who relates to this story + /// + [Description("The PlayerID of the player who relates to this story")] + [DataMember(Name = "PlayerID", Order = 11)] + public int? PlayerID { get; set; } + + /// + /// The TeamID of the team that relates to this story + /// + [Description("The TeamID of the team that relates to this story")] + [DataMember(Name = "TeamID", Order = 12)] + public int? TeamID { get; set; } + + /// + /// The team that relates to this story + /// + [Description("The team that relates to this story")] + [DataMember(Name = "Team", Order = 13)] + public string Team { get; set; } + + /// + /// The PlayerID of the player who relates to this story + /// + [Description("The PlayerID of the player who relates to this story")] + [DataMember(Name = "PlayerID2", Order = 14)] + public int? PlayerID2 { get; set; } + + /// + /// The TeamID of the team that relates to this story + /// + [Description("The TeamID of the team that relates to this story")] + [DataMember(Name = "TeamID2", Order = 15)] + public int? TeamID2 { get; set; } + + /// + /// The team that relates to this story + /// + [Description("The team that relates to this story")] + [DataMember(Name = "Team2", Order = 16)] + public string Team2 { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Pitch.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Pitch.cs new file mode 100644 index 0000000..a3af60d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Pitch.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Pitch")] + [Serializable] + public partial class Pitch + { + /// + /// The unqiue ID of the pitch. + /// + [Description("The unqiue ID of the pitch.")] + [DataMember(Name = "PitchID", Order = 1)] + public int PitchID { get; set; } + + /// + /// The unique ID of the play. + /// + [Description("The unique ID of the play.")] + [DataMember(Name = "PlayID", Order = 2)] + public int PlayID { get; set; } + + /// + /// The pitch number of the current at bat. + /// + [Description("The pitch number of the current at bat.")] + [DataMember(Name = "PitchNumberThisAtBat", Order = 3)] + public int? PitchNumberThisAtBat { get; set; } + + /// + /// The unique ID of the pitcher. + /// + [Description("The unique ID of the pitcher.")] + [DataMember(Name = "PitcherID", Order = 4)] + public int? PitcherID { get; set; } + + /// + /// The unique ID of the hitter. + /// + [Description("The unique ID of the hitter.")] + [DataMember(Name = "HitterID", Order = 5)] + public int? HitterID { get; set; } + + /// + /// The number of outs hte pitcher recorded. + /// + [Description("The number of outs hte pitcher recorded.")] + [DataMember(Name = "Outs", Order = 6)] + public int? Outs { get; set; } + + /// + /// The number of balls the pitcher has thrown before the current pitch. + /// + [Description("The number of balls the pitcher has thrown before the current pitch.")] + [DataMember(Name = "BallsBeforePitch", Order = 7)] + public int? BallsBeforePitch { get; set; } + + /// + /// The number of strikes the pitcher has thrown before the current pitch. + /// + [Description("The number of strikes the pitcher has thrown before the current pitch.")] + [DataMember(Name = "StrikesBeforePitch", Order = 8)] + public int? StrikesBeforePitch { get; set; } + + /// + /// Whether the pitch was a strike. (true/false) + /// + [Description("Whether the pitch was a strike. (true/false)")] + [DataMember(Name = "Strike", Order = 9)] + public bool? Strike { get; set; } + + /// + /// Whether the pitch was a ball. (true/false) + /// + [Description("Whether the pitch was a ball. (true/false)")] + [DataMember(Name = "Ball", Order = 10)] + public bool? Ball { get; set; } + + /// + /// Whether the pitch was hit foul. (true/false) + /// + [Description("Whether the pitch was hit foul. (true/false)")] + [DataMember(Name = "Foul", Order = 11)] + public bool? Foul { get; set; } + + /// + /// Whether the hitter struck out swinging. (true/false) + /// + [Description("Whether the hitter struck out swinging. (true/false)")] + [DataMember(Name = "Swinging", Order = 12)] + public bool? Swinging { get; set; } + + /// + /// Whether the hitter struck out looking. (true/false) + /// + [Description("Whether the hitter struck out looking. (true/false)")] + [DataMember(Name = "Looking", Order = 13)] + public bool? Looking { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Play.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Play.cs new file mode 100644 index 0000000..97e0d22 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Play.cs @@ -0,0 +1,272 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Play")] + [Serializable] + public partial class Play + { + /// + /// Unique ID for each Play. + /// + [Description("Unique ID for each Play.")] + [DataMember(Name = "PlayID", Order = 1)] + public int PlayID { get; set; } + + /// + /// The InningID of the Inning record, in which this Play occurred. + /// + [Description("The InningID of the Inning record, in which this Play occurred.")] + [DataMember(Name = "InningID", Order = 2)] + public int InningID { get; set; } + + /// + /// The inning in which the play occurred. + /// + [Description("The inning in which the play occurred.")] + [DataMember(Name = "InningNumber", Order = 3)] + public int? InningNumber { get; set; } + + /// + /// The inning half in which the play occurred. + /// + [Description("The inning half in which the play occurred.")] + [DataMember(Name = "InningHalf", Order = 4)] + public string InningHalf { get; set; } + + /// + /// The order in which this play occurred. + /// + [Description("The order in which this play occurred.")] + [DataMember(Name = "PlayNumber", Order = 5)] + public int? PlayNumber { get; set; } + + /// + /// The batter number in the inning where the play occurred. + /// + [Description("The batter number in the inning where the play occurred.")] + [DataMember(Name = "InningBatterNumber", Order = 6)] + public int? InningBatterNumber { get; set; } + + /// + /// Number of away team runs in the inning + /// + [Description("Number of away team runs in the inning")] + [DataMember(Name = "AwayTeamRuns", Order = 7)] + public int? AwayTeamRuns { get; set; } + + /// + /// Number of home team runs in the inning. + /// + [Description("Number of home team runs in the inning.")] + [DataMember(Name = "HomeTeamRuns", Order = 8)] + public int? HomeTeamRuns { get; set; } + + /// + /// The HitterID who represents the play. + /// + [Description("The HitterID who represents the play.")] + [DataMember(Name = "HitterID", Order = 9)] + public int? HitterID { get; set; } + + /// + /// The PitcherID who represents the play. + /// + [Description("The PitcherID who represents the play.")] + [DataMember(Name = "PitcherID", Order = 10)] + public int? PitcherID { get; set; } + + /// + /// The ID of the hitter's team. + /// + [Description("The ID of the hitter's team.")] + [DataMember(Name = "HitterTeamID", Order = 11)] + public int? HitterTeamID { get; set; } + + /// + /// The ID of the pitcher's team. + /// + [Description("The ID of the pitcher's team.")] + [DataMember(Name = "PitcherTeamID", Order = 12)] + public int? PitcherTeamID { get; set; } + + /// + /// The name of the hitter in the play. + /// + [Description("The name of the hitter in the play.")] + [DataMember(Name = "HitterName", Order = 13)] + public string HitterName { get; set; } + + /// + /// The name of the pitcher in the play. + /// + [Description("The name of the pitcher in the play.")] + [DataMember(Name = "PitcherName", Order = 14)] + public string PitcherName { get; set; } + + /// + /// The throwing hand of the pitcher in which the play occurred. (right or left) + /// + [Description("The throwing hand of the pitcher in which the play occurred. (right or left)")] + [DataMember(Name = "PitcherThrowHand", Order = 15)] + public string PitcherThrowHand { get; set; } + + /// + /// The hand of the batter in which the play occurred. (right, left, or switch) + /// + [Description("The hand of the batter in which the play occurred. (right, left, or switch)")] + [DataMember(Name = "HitterBatHand", Order = 16)] + public string HitterBatHand { get; set; } + + /// + /// The position of the player in which the play occrred. (P,C,1B, SS, OF) + /// + [Description("The position of the player in which the play occrred. (P,C,1B, SS, OF)")] + [DataMember(Name = "HitterPosition", Order = 17)] + public string HitterPosition { get; set; } + + /// + /// The number of outs in which the play occurred. + /// + [Description("The number of outs in which the play occurred.")] + [DataMember(Name = "Outs", Order = 18)] + public int? Outs { get; set; } + + /// + /// The number of balls in the count in which the play occurred. + /// + [Description("The number of balls in the count in which the play occurred.")] + [DataMember(Name = "Balls", Order = 19)] + public int? Balls { get; set; } + + /// + /// The number of strikes in the count in which the play occurred. + /// + [Description("The number of strikes in the count in which the play occurred.")] + [DataMember(Name = "Strikes", Order = 20)] + public int? Strikes { get; set; } + + /// + /// The number of pitchers in the at bat in which the play occurred. + /// + [Description("The number of pitchers in the at bat in which the play occurred.")] + [DataMember(Name = "PitchNumberThisAtBat", Order = 21)] + public int? PitchNumberThisAtBat { get; set; } + + /// + /// The result of the play. Possible values include: Batter's Interference, Bunted into Double Play, Catcher's Interference, Double, Error, Fielder's Choice, Fly into Double Play, Fly Out, Foul Out, Fouled into Double Play, Ground into Double Play, Ground Out, Hit by Pitch, Home Run, Infield Fly Out, Intentional Walk, Line into Double Play, Lineout, Pop Out, Popped into Double Play, Sacrifice, Sacrifice Fly, Single, Strikeout Bunting, Strikeout Looking, Strikeout Swinging, Triple, Triple Play, Walk, Stolen Base, Caught Stealing, Passed Ball, Wild Pitch, Pick Off, Balk, Error, Fielders Indifference + /// + [Description("The result of the play. Possible values include: Batter's Interference, Bunted into Double Play, Catcher's Interference, Double, Error, Fielder's Choice, Fly into Double Play, Fly Out, Foul Out, Fouled into Double Play, Ground into Double Play, Ground Out, Hit by Pitch, Home Run, Infield Fly Out, Intentional Walk, Line into Double Play, Lineout, Pop Out, Popped into Double Play, Sacrifice, Sacrifice Fly, Single, Strikeout Bunting, Strikeout Looking, Strikeout Swinging, Triple, Triple Play, Walk, Stolen Base, Caught Stealing, Passed Ball, Wild Pitch, Pick Off, Balk, Error, Fielders Indifference")] + [DataMember(Name = "Result", Order = 22)] + public string Result { get; set; } + + /// + /// The number of outs recorded on the play. + /// + [Description("The number of outs recorded on the play.")] + [DataMember(Name = "NumberOfOutsOnPlay", Order = 23)] + public int? NumberOfOutsOnPlay { get; set; } + + /// + /// The number of runs batted in on the play. + /// + [Description("The number of runs batted in on the play.")] + [DataMember(Name = "RunsBattedIn", Order = 24)] + public int? RunsBattedIn { get; set; } + + /// + /// Whether this play resulted in an at bat. (true/false) + /// + [Description("Whether this play resulted in an at bat. (true/false)")] + [DataMember(Name = "AtBat", Order = 25)] + public bool? AtBat { get; set; } + + /// + /// Whether this play resulted in a strikeout. (true/false) + /// + [Description("Whether this play resulted in a strikeout. (true/false)")] + [DataMember(Name = "Strikeout", Order = 26)] + public bool? Strikeout { get; set; } + + /// + /// Whether this play resulted in a walk. (true/false) + /// + [Description("Whether this play resulted in a walk. (true/false)")] + [DataMember(Name = "Walk", Order = 27)] + public bool? Walk { get; set; } + + /// + /// Whether this play resulted in a hit. (true/false) + /// + [Description("Whether this play resulted in a hit. (true/false)")] + [DataMember(Name = "Hit", Order = 28)] + public bool? Hit { get; set; } + + /// + /// Whether this play resutled in an out. (true/false) + /// + [Description("Whether this play resutled in an out. (true/false)")] + [DataMember(Name = "Out", Order = 29)] + public bool? Out { get; set; } + + /// + /// Whether this play resulted in a sacrifice. (true/false) + /// + [Description("Whether this play resulted in a sacrifice. (true/false)")] + [DataMember(Name = "Sacrifice", Order = 30)] + public bool? Sacrifice { get; set; } + + /// + /// Whether this play resulted in an error. (true/false) + /// + [Description("Whether this play resulted in an error. (true/false)")] + [DataMember(Name = "Error", Order = 31)] + public bool? Error { get; set; } + + /// + /// The database generated timestamp of when this Play was last updated. + /// + [Description("The database generated timestamp of when this Play was last updated.")] + [DataMember(Name = "Updated", Order = 32)] + public DateTime? Updated { get; set; } + + /// + /// The description of the play for display purposes + /// + [Description("The description of the play for display purposes")] + [DataMember(Name = "Description", Order = 33)] + public string Description { get; set; } + + /// + /// The details of the pitches associated with this Play + /// + [Description("The details of the pitches associated with this Play")] + [DataMember(Name = "Pitches", Order = 20034)] + public Pitch[] Pitches { get; set; } + + /// + /// The PlayerID of the first runner in the play. + /// + [Description("The PlayerID of the first runner in the play.")] + [DataMember(Name = "Runner1ID", Order = 35)] + public int? Runner1ID { get; set; } + + /// + /// The PlayerID of the second runner in the play. + /// + [Description("The PlayerID of the second runner in the play.")] + [DataMember(Name = "Runner2ID", Order = 36)] + public int? Runner2ID { get; set; } + + /// + /// The PlayerID of the third runner in the play. + /// + [Description("The PlayerID of the third runner in the play.")] + [DataMember(Name = "Runner3ID", Order = 37)] + public int? Runner3ID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/PlayByPlay.cs b/FantasyData.Api.Client.NetCore/Model/MLB/PlayByPlay.cs new file mode 100644 index 0000000..c3728d3 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/PlayByPlay.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="PlayByPlay")] + [Serializable] + public partial class PlayByPlay + { + /// + /// The details of the game associated with this play-by-play + /// + [Description("The details of the game associated with this play-by-play")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The details of the plays associated with this play-by-play + /// + [Description("The details of the plays associated with this play-by-play")] + [DataMember(Name = "Plays", Order = 20002)] + public Play[] Plays { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Player.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Player.cs new file mode 100644 index 0000000..3138c08 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Player.cs @@ -0,0 +1,370 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Deprecated. Use SportRadarPlayerID instead. + /// + [Description("Deprecated. Use SportRadarPlayerID instead.")] + [DataMember(Name = "SportsDataID", Order = 2)] + public string SportsDataID { get; set; } + + /// + /// Indicates the player's status of being on an Major League Active Roster. Possible values include: Active, 40 Man Active, Non-Roster Invitee, Minors, Inactive, 7 Day Injury List, 10 Day Injury List, 15 Day Injury List, 60 Day Injury List + /// + [Description("Indicates the player's status of being on an Major League Active Roster. Possible values include: Active, 40 Man Active, Non-Roster Invitee, Minors, Inactive, 7 Day Injury List, 10 Day Injury List, 15 Day Injury List, 60 Day Injury List")] + [DataMember(Name = "Status", Order = 3)] + public string Status { get; set; } + + /// + /// The TeamID of the team this player is employed by. + /// + [Description("The TeamID of the team this player is employed by.")] + [DataMember(Name = "TeamID", Order = 4)] + public int? TeamID { get; set; } + + /// + /// The key/abbreviation of the team this player is employed by. + /// + [Description("The key/abbreviation of the team this player is employed by.")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The player's jersey number. + /// + [Description("The player's jersey number.")] + [DataMember(Name = "Jersey", Order = 6)] + public int? Jersey { get; set; } + + /// + /// The player's position category. Possible values: DH, IF, OF, P, PH, PR + /// + [Description("The player's position category. Possible values: DH, IF, OF, P, PH, PR")] + [DataMember(Name = "PositionCategory", Order = 7)] + public string PositionCategory { get; set; } + + /// + /// The player's primary position. Possible values: 1B, 2B, 3B, C, CF, DH, IF, LF, OF, P, PH, PR, RF, RP, SP, SS + /// + [Description("The player's primary position. Possible values: 1B, 2B, 3B, C, CF, DH, IF, LF, OF, P, PH, PR, RF, RP, SP, SS")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with MLB AM. + /// + [Description("The player's unique PlayerID for cross reference use with MLB AM.")] + [DataMember(Name = "MLBAMID", Order = 9)] + public int? MLBAMID { get; set; } + + /// + /// The player's first name. + /// + [Description("The player's first name.")] + [DataMember(Name = "FirstName", Order = 10)] + public string FirstName { get; set; } + + /// + /// The player's last name. + /// + [Description("The player's last name.")] + [DataMember(Name = "LastName", Order = 11)] + public string LastName { get; set; } + + /// + /// The player's batting hand. Possible values: R, L, S + /// + [Description("The player's batting hand. Possible values: R, L, S")] + [DataMember(Name = "BatHand", Order = 12)] + public string BatHand { get; set; } + + /// + /// The player's throwing hand. Possible values: R, L, S + /// + [Description("The player's throwing hand. Possible values: R, L, S")] + [DataMember(Name = "ThrowHand", Order = 13)] + public string ThrowHand { get; set; } + + /// + /// The player's height in inches. + /// + [Description("The player's height in inches.")] + [DataMember(Name = "Height", Order = 14)] + public int? Height { get; set; } + + /// + /// The player's weight in pounds (lbs). + /// + [Description("The player's weight in pounds (lbs).")] + [DataMember(Name = "Weight", Order = 15)] + public int? Weight { get; set; } + + /// + /// The player's date of birth. + /// + [Description("The player's date of birth.")] + [DataMember(Name = "BirthDate", Order = 16)] + public DateTime? BirthDate { get; set; } + + /// + /// The city in which the player was born. + /// + [Description("The city in which the player was born.")] + [DataMember(Name = "BirthCity", Order = 17)] + public string BirthCity { get; set; } + + /// + /// The state in which the player was born. + /// + [Description("The state in which the player was born.")] + [DataMember(Name = "BirthState", Order = 18)] + public string BirthState { get; set; } + + /// + /// The country in which the player was born. + /// + [Description("The country in which the player was born.")] + [DataMember(Name = "BirthCountry", Order = 19)] + public string BirthCountry { get; set; } + + /// + /// The high school that the player attended. + /// + [Description("The high school that the player attended.")] + [DataMember(Name = "HighSchool", Order = 20)] + public string HighSchool { get; set; } + + /// + /// The college that the player attended. + /// + [Description("The college that the player attended.")] + [DataMember(Name = "College", Order = 21)] + public string College { get; set; } + + /// + /// The date that this player made his MLB debut. + /// + [Description("The date that this player made his MLB debut.")] + [DataMember(Name = "ProDebut", Order = 22)] + public DateTime? ProDebut { get; set; } + + /// + /// The player's salary for the current season. + /// + [Description("The player's salary for the current season.")] + [DataMember(Name = "Salary", Order = 23)] + public int? Salary { get; set; } + + /// + /// The URL of the player's headshot photo. + /// + [Description("The URL of the player's headshot photo.")] + [DataMember(Name = "PhotoUrl", Order = 24)] + public string PhotoUrl { get; set; } + + /// + /// This player's unique ID for cross reference use with the SportRadar API. + /// + [Description("This player's unique ID for cross reference use with the SportRadar API.")] + [DataMember(Name = "SportRadarPlayerID", Order = 25)] + public string SportRadarPlayerID { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with Rotoworld. + /// + [Description("The player's unique PlayerID for cross reference use with Rotoworld.")] + [DataMember(Name = "RotoworldPlayerID", Order = 26)] + public int? RotoworldPlayerID { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with RotoWire. + /// + [Description("The player's unique PlayerID for cross reference use with RotoWire.")] + [DataMember(Name = "RotoWirePlayerID", Order = 27)] + public int? RotoWirePlayerID { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with FantasyAlarm. + /// + [Description("The player's unique PlayerID for cross reference use with FantasyAlarm.")] + [DataMember(Name = "FantasyAlarmPlayerID", Order = 28)] + public int? FantasyAlarmPlayerID { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with Stats Player. + /// + [Description("The player's unique PlayerID for cross reference use with Stats Player.")] + [DataMember(Name = "StatsPlayerID", Order = 29)] + public int? StatsPlayerID { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with Sports Direct. + /// + [Description("The player's unique PlayerID for cross reference use with Sports Direct.")] + [DataMember(Name = "SportsDirectPlayerID", Order = 30)] + public int? SportsDirectPlayerID { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with Xml Team. + /// + [Description("The player's unique PlayerID for cross reference use with Xml Team.")] + [DataMember(Name = "XmlTeamPlayerID", Order = 31)] + public int? XmlTeamPlayerID { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out, 7 Day Disabled List, 15 Day Disabled List, 60 Day Disabled List + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out, 7 Day Disabled List, 15 Day Disabled List, 60 Day Disabled List")] + [DataMember(Name = "InjuryStatus", Order = 32)] + public string InjuryStatus { get; set; } + + /// + /// Indicates the player's injured body part. (e.g. ankle, knee, etc.)  + /// + [Description("Indicates the player's injured body part. (e.g. ankle, knee, etc.) ")] + [DataMember(Name = "InjuryBodyPart", Order = 33)] + public string InjuryBodyPart { get; set; } + + /// + /// Indicates the start date of the player's injury. + /// + [Description("Indicates the start date of the player's injury.")] + [DataMember(Name = "InjuryStartDate", Order = 34)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Inidcates any notes about the player's injury. + /// + [Description("Inidcates any notes about the player's injury.")] + [DataMember(Name = "InjuryNotes", Order = 35)] + public string InjuryNotes { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with FanDuel. + /// + [Description("The player's unique PlayerID for cross reference use with FanDuel.")] + [DataMember(Name = "FanDuelPlayerID", Order = 36)] + public int? FanDuelPlayerID { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with DraftKings. + /// + [Description("The player's unique PlayerID for cross reference use with DraftKings.")] + [DataMember(Name = "DraftKingsPlayerID", Order = 37)] + public int? DraftKingsPlayerID { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with Yahoo. + /// + [Description("The player's unique PlayerID for cross reference use with Yahoo.")] + [DataMember(Name = "YahooPlayerID", Order = 38)] + public int? YahooPlayerID { get; set; } + + /// + /// The GameID of this player's upcoming game. + /// + [Description("The GameID of this player's upcoming game.")] + [DataMember(Name = "UpcomingGameID", Order = 39)] + public int? UpcomingGameID { get; set; } + + /// + /// The player's name on FanDuel. + /// + [Description("The player's name on FanDuel.")] + [DataMember(Name = "FanDuelName", Order = 40)] + public string FanDuelName { get; set; } + + /// + /// The player's name on Fan DraftKings. + /// + [Description("The player's name on Fan DraftKings.")] + [DataMember(Name = "DraftKingsName", Order = 41)] + public string DraftKingsName { get; set; } + + /// + /// The player's name on Yahoo. + /// + [Description("The player's name on Yahoo.")] + [DataMember(Name = "YahooName", Order = 42)] + public string YahooName { get; set; } + + /// + /// A globally unique ID for this player. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this player. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 43)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's name on Fantasy Draft. + /// + [Description("The player's name on Fantasy Draft.")] + [DataMember(Name = "FantasyDraftName", Order = 44)] + public string FantasyDraftName { get; set; } + + /// + /// The player's unique PlayerID for cross reference use with Fantasy Draft. + /// + [Description("The player's unique PlayerID for cross reference use with Fantasy Draft.")] + [DataMember(Name = "FantasyDraftPlayerID", Order = 45)] + public int? FantasyDraftPlayerID { get; set; } + + /// + /// The player's years of experience + /// + [Description("The player's years of experience")] + [DataMember(Name = "Experience", Order = 46)] + public string Experience { get; set; } + + /// + /// The player's cross reference PlayerID to USA Today headshot data feeds. + /// + [Description("The player's cross reference PlayerID to USA Today headshot data feeds.")] + [DataMember(Name = "UsaTodayPlayerID", Order = 47)] + public int? UsaTodayPlayerID { get; set; } + + /// + /// The player's headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUrl", Order = 48)] + public string UsaTodayHeadshotUrl { get; set; } + + /// + /// The player's transparent background headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's transparent background headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUrl", Order = 49)] + public string UsaTodayHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUpdated", Order = 50)] + public DateTime? UsaTodayHeadshotUpdated { get; set; } + + /// + /// The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUpdated", Order = 51)] + public DateTime? UsaTodayHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/PlayerGame.cs b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerGame.cs new file mode 100644 index 0000000..f94d98d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerGame.cs @@ -0,0 +1,972 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="PlayerGame")] + [Serializable] + public partial class PlayerGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason) + /// + [Description("The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason)")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The MLB season of the game + /// + [Description("The MLB season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's position associated with the given game or season. Possible values: 1B, 2B, 3B, C, CF, DH, IF, LF, OF, P, PH, PR, RF, RP, SP, SS + /// + [Description("The player's position associated with the given game or season. Possible values: 1B, 2B, 3B, C, CF, DH, IF, LF, OF, P, PH, PR, RF, RP, SP, SS")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The category (P, C, 1B, OF, SS) of the players position + /// + [Description("The category (P, C, 1B, OF, SS) of the players position")] + [DataMember(Name = "PositionCategory", Order = 9)] + public string PositionCategory { get; set; } + + /// + /// Whether the player started + /// + [Description("Whether the player started")] + [DataMember(Name = "Started", Order = 10)] + public int? Started { get; set; } + + /// + /// Where the player batted in the line up (1,2,3, etc.) + /// + [Description("Where the player batted in the line up (1,2,3, etc.)")] + [DataMember(Name = "BattingOrder", Order = 11)] + public int? BattingOrder { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 12)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 13)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 14)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 15)] + public int? YahooSalary { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out, 7 Day Disabled List, 15 Day Disabled List, 60 Day Disabled List + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out, 7 Day Disabled List, 15 Day Disabled List, 60 Day Disabled List")] + [DataMember(Name = "InjuryStatus", Order = 16)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 17)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 18)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 19)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 20)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 21)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 22)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 23)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 24)] + public int? OpponentPositionRank { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 25)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's salary for Fantasy Draft daily fantasy contests. + /// + [Description("The player's salary for Fantasy Draft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 26)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in Fantasy Drafts daily fantasy sports platform. + /// + [Description("The player's eligible position in Fantasy Drafts daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 27)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 28)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 29)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 30)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 31)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 32)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 33)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 34)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 35)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 36)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 37)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 38)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 39)] + public decimal? FantasyPoints { get; set; } + + /// + /// At bats while hitting + /// + [Description("At bats while hitting")] + [DataMember(Name = "AtBats", Order = 40)] + public decimal? AtBats { get; set; } + + /// + /// Total runs scored. + /// + [Description("Total runs scored.")] + [DataMember(Name = "Runs", Order = 41)] + public decimal? Runs { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 42)] + public decimal? Hits { get; set; } + + /// + /// Total singles + /// + [Description("Total singles")] + [DataMember(Name = "Singles", Order = 43)] + public decimal? Singles { get; set; } + + /// + /// Total doubles + /// + [Description("Total doubles")] + [DataMember(Name = "Doubles", Order = 44)] + public decimal? Doubles { get; set; } + + /// + /// Total triples + /// + [Description("Total triples")] + [DataMember(Name = "Triples", Order = 45)] + public decimal? Triples { get; set; } + + /// + /// Total home runs + /// + [Description("Total home runs")] + [DataMember(Name = "HomeRuns", Order = 46)] + public decimal? HomeRuns { get; set; } + + /// + /// Total runs batted in + /// + [Description("Total runs batted in")] + [DataMember(Name = "RunsBattedIn", Order = 47)] + public decimal? RunsBattedIn { get; set; } + + /// + /// Total batting average + /// + [Description("Total batting average")] + [DataMember(Name = "BattingAverage", Order = 48)] + public decimal? BattingAverage { get; set; } + + /// + /// Total outs + /// + [Description("Total outs")] + [DataMember(Name = "Outs", Order = 49)] + public decimal? Outs { get; set; } + + /// + /// Total strikeouts + /// + [Description("Total strikeouts")] + [DataMember(Name = "Strikeouts", Order = 50)] + public decimal? Strikeouts { get; set; } + + /// + /// Total walks + /// + [Description("Total walks")] + [DataMember(Name = "Walks", Order = 51)] + public decimal? Walks { get; set; } + + /// + /// Total times hit by pitch + /// + [Description("Total times hit by pitch")] + [DataMember(Name = "HitByPitch", Order = 52)] + public decimal? HitByPitch { get; set; } + + /// + /// Total sacrifices + /// + [Description("Total sacrifices")] + [DataMember(Name = "Sacrifices", Order = 53)] + public decimal? Sacrifices { get; set; } + + /// + /// Total sacrifice flies + /// + [Description("Total sacrifice flies")] + [DataMember(Name = "SacrificeFlies", Order = 54)] + public decimal? SacrificeFlies { get; set; } + + /// + /// Total times grounded into double play + /// + [Description("Total times grounded into double play")] + [DataMember(Name = "GroundIntoDoublePlay", Order = 55)] + public decimal? GroundIntoDoublePlay { get; set; } + + /// + /// Total stolen bases + /// + [Description("Total stolen bases")] + [DataMember(Name = "StolenBases", Order = 56)] + public decimal? StolenBases { get; set; } + + /// + /// Total caught stealing + /// + [Description("Total caught stealing")] + [DataMember(Name = "CaughtStealing", Order = 57)] + public decimal? CaughtStealing { get; set; } + + /// + /// Total pitches seen + /// + [Description("Total pitches seen")] + [DataMember(Name = "PitchesSeen", Order = 58)] + public decimal? PitchesSeen { get; set; } + + /// + /// Total on base percentage + /// + [Description("Total on base percentage")] + [DataMember(Name = "OnBasePercentage", Order = 59)] + public decimal? OnBasePercentage { get; set; } + + /// + /// Total slugging percentage + /// + [Description("Total slugging percentage")] + [DataMember(Name = "SluggingPercentage", Order = 60)] + public decimal? SluggingPercentage { get; set; } + + /// + /// Total on base plus percentage  + /// + [Description("Total on base plus percentage ")] + [DataMember(Name = "OnBasePlusSlugging", Order = 61)] + public decimal? OnBasePlusSlugging { get; set; } + + /// + /// Total errors + /// + [Description("Total errors")] + [DataMember(Name = "Errors", Order = 62)] + public decimal? Errors { get; set; } + + /// + /// Total wins by the team/player + /// + [Description("Total wins by the team/player")] + [DataMember(Name = "Wins", Order = 63)] + public decimal? Wins { get; set; } + + /// + /// Total losses by the team/player + /// + [Description("Total losses by the team/player")] + [DataMember(Name = "Losses", Order = 64)] + public decimal? Losses { get; set; } + + /// + /// Total saves by team/player + /// + [Description("Total saves by team/player")] + [DataMember(Name = "Saves", Order = 65)] + public decimal? Saves { get; set; } + + /// + /// Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc) + /// + [Description("Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)")] + [DataMember(Name = "InningsPitchedDecimal", Order = 66)] + public decimal? InningsPitchedDecimal { get; set; } + + /// + /// Total outs pitched by team/player + /// + [Description("Total outs pitched by team/player")] + [DataMember(Name = "TotalOutsPitched", Order = 67)] + public decimal? TotalOutsPitched { get; set; } + + /// + /// Total full innings pitched (e.g. 6, 71, 89, etc) + /// + [Description("Total full innings pitched (e.g. 6, 71, 89, etc)")] + [DataMember(Name = "InningsPitchedFull", Order = 68)] + public decimal? InningsPitchedFull { get; set; } + + /// + /// Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2) + /// + [Description("Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)")] + [DataMember(Name = "InningsPitchedOuts", Order = 69)] + public decimal? InningsPitchedOuts { get; set; } + + /// + /// Total earned run average by team/player + /// + [Description("Total earned run average by team/player")] + [DataMember(Name = "EarnedRunAverage", Order = 70)] + public decimal? EarnedRunAverage { get; set; } + + /// + /// Hits allowed while pitching + /// + [Description("Hits allowed while pitching")] + [DataMember(Name = "PitchingHits", Order = 71)] + public decimal? PitchingHits { get; set; } + + /// + /// Runs allowed while pitching + /// + [Description("Runs allowed while pitching")] + [DataMember(Name = "PitchingRuns", Order = 72)] + public decimal? PitchingRuns { get; set; } + + /// + /// Earned runs allowed while pitching + /// + [Description("Earned runs allowed while pitching")] + [DataMember(Name = "PitchingEarnedRuns", Order = 73)] + public decimal? PitchingEarnedRuns { get; set; } + + /// + /// Walks allowed while pitching + /// + [Description("Walks allowed while pitching")] + [DataMember(Name = "PitchingWalks", Order = 74)] + public decimal? PitchingWalks { get; set; } + + /// + /// Strikeouts allowed while pitching + /// + [Description("Strikeouts allowed while pitching")] + [DataMember(Name = "PitchingStrikeouts", Order = 75)] + public decimal? PitchingStrikeouts { get; set; } + + /// + /// Home runs allowed while pitching + /// + [Description("Home runs allowed while pitching")] + [DataMember(Name = "PitchingHomeRuns", Order = 76)] + public decimal? PitchingHomeRuns { get; set; } + + /// + /// Total pitches thrown while pitching + /// + [Description("Total pitches thrown while pitching")] + [DataMember(Name = "PitchesThrown", Order = 77)] + public decimal? PitchesThrown { get; set; } + + /// + /// Total pitches thrown for strikes while pitching + /// + [Description("Total pitches thrown for strikes while pitching")] + [DataMember(Name = "PitchesThrownStrikes", Order = 78)] + public decimal? PitchesThrownStrikes { get; set; } + + /// + /// Walks plus hits per innings pitched (WHIP) while pitching + /// + [Description("Walks plus hits per innings pitched (WHIP) while pitching")] + [DataMember(Name = "WalksHitsPerInningsPitched", Order = 79)] + public decimal? WalksHitsPerInningsPitched { get; set; } + + /// + /// Total batting average against (BAA) while pitching + /// + [Description("Total batting average against (BAA) while pitching")] + [DataMember(Name = "PitchingBattingAverageAgainst", Order = 80)] + public decimal? PitchingBattingAverageAgainst { get; set; } + + /// + /// Total grand slams + /// + [Description("Total grand slams")] + [DataMember(Name = "GrandSlams", Order = 81)] + public decimal? GrandSlams { get; set; } + + /// + /// Total FanDuel fantasy points + /// + [Description("Total FanDuel fantasy points")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 82)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings fantasy points + /// + [Description("Total DraftKings fantasy points")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 83)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo fantasy points + /// + [Description("Total Yahoo fantasy points")] + [DataMember(Name = "FantasyPointsYahoo", Order = 84)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plate appearances + /// + [Description("Total plate appearances")] + [DataMember(Name = "PlateAppearances", Order = 85)] + public decimal? PlateAppearances { get; set; } + + /// + /// Number of total bases + /// + [Description("Number of total bases")] + [DataMember(Name = "TotalBases", Order = 86)] + public decimal? TotalBases { get; set; } + + /// + /// Total fly outs + /// + [Description("Total fly outs")] + [DataMember(Name = "FlyOuts", Order = 87)] + public decimal? FlyOuts { get; set; } + + /// + /// Total ground outs + /// + [Description("Total ground outs")] + [DataMember(Name = "GroundOuts", Order = 88)] + public decimal? GroundOuts { get; set; } + + /// + /// Total line outs + /// + [Description("Total line outs")] + [DataMember(Name = "LineOuts", Order = 89)] + public decimal? LineOuts { get; set; } + + /// + /// Total pop outs + /// + [Description("Total pop outs")] + [DataMember(Name = "PopOuts", Order = 90)] + public decimal? PopOuts { get; set; } + + /// + /// Total intentional walks + /// + [Description("Total intentional walks")] + [DataMember(Name = "IntentionalWalks", Order = 91)] + public decimal? IntentionalWalks { get; set; } + + /// + /// Total times reached on error + /// + [Description("Total times reached on error")] + [DataMember(Name = "ReachedOnError", Order = 92)] + public decimal? ReachedOnError { get; set; } + + /// + /// Total balls in play + /// + [Description("Total balls in play")] + [DataMember(Name = "BallsInPlay", Order = 93)] + public decimal? BallsInPlay { get; set; } + + /// + /// Total batting average on balls in play (BABIP + /// + [Description("Total batting average on balls in play (BABIP")] + [DataMember(Name = "BattingAverageOnBallsInPlay", Order = 94)] + public decimal? BattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weight on base percentage + /// + [Description("Total weight on base percentage")] + [DataMember(Name = "WeightedOnBasePercentage", Order = 95)] + public decimal? WeightedOnBasePercentage { get; set; } + + /// + /// Total singles allowed while pitching + /// + [Description("Total singles allowed while pitching")] + [DataMember(Name = "PitchingSingles", Order = 96)] + public decimal? PitchingSingles { get; set; } + + /// + /// Total doubles allowed while pitching + /// + [Description("Total doubles allowed while pitching")] + [DataMember(Name = "PitchingDoubles", Order = 97)] + public decimal? PitchingDoubles { get; set; } + + /// + /// Total triples allowed while pitching + /// + [Description("Total triples allowed while pitching")] + [DataMember(Name = "PitchingTriples", Order = 98)] + public decimal? PitchingTriples { get; set; } + + /// + /// Total grand slams allowed while pitching + /// + [Description("Total grand slams allowed while pitching")] + [DataMember(Name = "PitchingGrandSlams", Order = 99)] + public decimal? PitchingGrandSlams { get; set; } + + /// + /// Total batters hit by pitch while pitching + /// + [Description("Total batters hit by pitch while pitching")] + [DataMember(Name = "PitchingHitByPitch", Order = 100)] + public decimal? PitchingHitByPitch { get; set; } + + /// + /// Total sacrifices while pitching + /// + [Description("Total sacrifices while pitching")] + [DataMember(Name = "PitchingSacrifices", Order = 101)] + public decimal? PitchingSacrifices { get; set; } + + /// + /// Total sacrifice flies while pitching + /// + [Description("Total sacrifice flies while pitching")] + [DataMember(Name = "PitchingSacrificeFlies", Order = 102)] + public decimal? PitchingSacrificeFlies { get; set; } + + /// + /// Total grounded into double plays while pitching + /// + [Description("Total grounded into double plays while pitching")] + [DataMember(Name = "PitchingGroundIntoDoublePlay", Order = 103)] + public decimal? PitchingGroundIntoDoublePlay { get; set; } + + /// + /// Total complete games while pitching + /// + [Description("Total complete games while pitching")] + [DataMember(Name = "PitchingCompleteGames", Order = 104)] + public decimal? PitchingCompleteGames { get; set; } + + /// + /// Total shuouts while pitching + /// + [Description("Total shuouts while pitching")] + [DataMember(Name = "PitchingShutOuts", Order = 105)] + public decimal? PitchingShutOuts { get; set; } + + /// + /// Total no hitters while pitching + /// + [Description("Total no hitters while pitching")] + [DataMember(Name = "PitchingNoHitters", Order = 106)] + public decimal? PitchingNoHitters { get; set; } + + /// + /// Total perfect games while pitching + /// + [Description("Total perfect games while pitching")] + [DataMember(Name = "PitchingPerfectGames", Order = 107)] + public decimal? PitchingPerfectGames { get; set; } + + /// + /// Total plate appearances while pitching + /// + [Description("Total plate appearances while pitching")] + [DataMember(Name = "PitchingPlateAppearances", Order = 108)] + public decimal? PitchingPlateAppearances { get; set; } + + /// + /// Total bases while pitching + /// + [Description("Total bases while pitching")] + [DataMember(Name = "PitchingTotalBases", Order = 109)] + public decimal? PitchingTotalBases { get; set; } + + /// + /// Total fly outs while pitching + /// + [Description("Total fly outs while pitching")] + [DataMember(Name = "PitchingFlyOuts", Order = 110)] + public decimal? PitchingFlyOuts { get; set; } + + /// + /// Total ground outs while pitching + /// + [Description("Total ground outs while pitching")] + [DataMember(Name = "PitchingGroundOuts", Order = 111)] + public decimal? PitchingGroundOuts { get; set; } + + /// + /// Total line outs while pitching + /// + [Description("Total line outs while pitching")] + [DataMember(Name = "PitchingLineOuts", Order = 112)] + public decimal? PitchingLineOuts { get; set; } + + /// + /// Total pop outs while pitching + /// + [Description("Total pop outs while pitching")] + [DataMember(Name = "PitchingPopOuts", Order = 113)] + public decimal? PitchingPopOuts { get; set; } + + /// + /// Total intentional walks while pitching + /// + [Description("Total intentional walks while pitching")] + [DataMember(Name = "PitchingIntentionalWalks", Order = 114)] + public decimal? PitchingIntentionalWalks { get; set; } + + /// + /// Total times reached on error while pitching + /// + [Description("Total times reached on error while pitching")] + [DataMember(Name = "PitchingReachedOnError", Order = 115)] + public decimal? PitchingReachedOnError { get; set; } + + /// + /// Total catchers interference while pitching + /// + [Description("Total catchers interference while pitching")] + [DataMember(Name = "PitchingCatchersInterference", Order = 116)] + public decimal? PitchingCatchersInterference { get; set; } + + /// + /// Total balls in play while pitching + /// + [Description("Total balls in play while pitching")] + [DataMember(Name = "PitchingBallsInPlay", Order = 117)] + public decimal? PitchingBallsInPlay { get; set; } + + /// + /// Total on base percentage (OBP) while pitching + /// + [Description("Total on base percentage (OBP) while pitching")] + [DataMember(Name = "PitchingOnBasePercentage", Order = 118)] + public decimal? PitchingOnBasePercentage { get; set; } + + /// + /// Total slugging percentage (SLG) while pitching + /// + [Description("Total slugging percentage (SLG) while pitching")] + [DataMember(Name = "PitchingSluggingPercentage", Order = 119)] + public decimal? PitchingSluggingPercentage { get; set; } + + /// + /// Total on base plus slugging (OPS) while pitching + /// + [Description("Total on base plus slugging (OPS) while pitching")] + [DataMember(Name = "PitchingOnBasePlusSlugging", Order = 120)] + public decimal? PitchingOnBasePlusSlugging { get; set; } + + /// + /// Total strikeouts per nine innings (K/9) while pitching + /// + [Description("Total strikeouts per nine innings (K/9) while pitching")] + [DataMember(Name = "PitchingStrikeoutsPerNineInnings", Order = 121)] + public decimal? PitchingStrikeoutsPerNineInnings { get; set; } + + /// + /// Total walks per nine innings (BB/9) while pitching + /// + [Description("Total walks per nine innings (BB/9) while pitching")] + [DataMember(Name = "PitchingWalksPerNineInnings", Order = 122)] + public decimal? PitchingWalksPerNineInnings { get; set; } + + /// + /// Total batting average on balls in play (BABIP) while pitching + /// + [Description("Total batting average on balls in play (BABIP) while pitching")] + [DataMember(Name = "PitchingBattingAverageOnBallsInPlay", Order = 123)] + public decimal? PitchingBattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weighted on base percentage while pitching  + /// + [Description("Total weighted on base percentage while pitching ")] + [DataMember(Name = "PitchingWeightedOnBasePercentage", Order = 124)] + public decimal? PitchingWeightedOnBasePercentage { get; set; } + + /// + /// Total double plays + /// + [Description("Total double plays")] + [DataMember(Name = "DoublePlays", Order = 125)] + public decimal? DoublePlays { get; set; } + + /// + /// Total double plays while pitching + /// + [Description("Total double plays while pitching")] + [DataMember(Name = "PitchingDoublePlays", Order = 126)] + public decimal? PitchingDoublePlays { get; set; } + + /// + /// Whether the batting order is confirmed (true/false) + /// + [Description("Whether the batting order is confirmed (true/false)")] + [DataMember(Name = "BattingOrderConfirmed", Order = 127)] + public bool? BattingOrderConfirmed { get; set; } + + /// + /// Total isolated power (ISO) + /// + [Description("Total isolated power (ISO)")] + [DataMember(Name = "IsolatedPower", Order = 128)] + public decimal? IsolatedPower { get; set; } + + /// + /// Total fielding independent pitching (FIP) + /// + [Description("Total fielding independent pitching (FIP)")] + [DataMember(Name = "FieldingIndependentPitching", Order = 129)] + public decimal? FieldingIndependentPitching { get; set; } + + /// + /// Total quality starts pitched + /// + [Description("Total quality starts pitched")] + [DataMember(Name = "PitchingQualityStarts", Order = 130)] + public decimal? PitchingQualityStarts { get; set; } + + /// + /// The inning that the pitcher entered the game (if any). + /// + [Description("The inning that the pitcher entered the game (if any).")] + [DataMember(Name = "PitchingInningStarted", Order = 131)] + public int? PitchingInningStarted { get; set; } + + /// + /// Total left on base percentage  + /// + [Description("Total left on base percentage ")] + [DataMember(Name = "LeftOnBase", Order = 132)] + public decimal? LeftOnBase { get; set; } + + /// + /// Total holds pitched + /// + [Description("Total holds pitched")] + [DataMember(Name = "PitchingHolds", Order = 133)] + public decimal? PitchingHolds { get; set; } + + /// + /// Total blown saves pitched + /// + [Description("Total blown saves pitched")] + [DataMember(Name = "PitchingBlownSaves", Order = 134)] + public decimal? PitchingBlownSaves { get; set; } + + /// + /// The position in the batting order where this player was substituted into the game (does not include players in the starting lineup) + /// + [Description("The position in the batting order where this player was substituted into the game (does not include players in the starting lineup)")] + [DataMember(Name = "SubstituteBattingOrder", Order = 135)] + public int? SubstituteBattingOrder { get; set; } + + /// + /// The sequence in which this player was substituted into the game, within the particular batting order + /// + [Description("The sequence in which this player was substituted into the game, within the particular batting order")] + [DataMember(Name = "SubstituteBattingOrderSequence", Order = 136)] + public int? SubstituteBattingOrderSequence { get; set; } + + /// + /// Total FantasyDraft fantasy points + /// + [Description("Total FantasyDraft fantasy points")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 137)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/PlayerGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerGameProjection.cs new file mode 100644 index 0000000..32bcb8f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerGameProjection.cs @@ -0,0 +1,972 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="PlayerGameProjection")] + [Serializable] + public partial class PlayerGameProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason) + /// + [Description("The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason)")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The MLB season of the game + /// + [Description("The MLB season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's position associated with the given game or season. Possible values: 1B, 2B, 3B, C, CF, DH, IF, LF, OF, P, PH, PR, RF, RP, SP, SS + /// + [Description("The player's position associated with the given game or season. Possible values: 1B, 2B, 3B, C, CF, DH, IF, LF, OF, P, PH, PR, RF, RP, SP, SS")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The category (P, C, 1B, OF, SS) of the players position + /// + [Description("The category (P, C, 1B, OF, SS) of the players position")] + [DataMember(Name = "PositionCategory", Order = 9)] + public string PositionCategory { get; set; } + + /// + /// Whether the player started + /// + [Description("Whether the player started")] + [DataMember(Name = "Started", Order = 10)] + public int? Started { get; set; } + + /// + /// Where the player batted in the line up (1,2,3, etc.) + /// + [Description("Where the player batted in the line up (1,2,3, etc.)")] + [DataMember(Name = "BattingOrder", Order = 11)] + public int? BattingOrder { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 12)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 13)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 14)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 15)] + public int? YahooSalary { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out, 7 Day Disabled List, 15 Day Disabled List, 60 Day Disabled List + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out, 7 Day Disabled List, 15 Day Disabled List, 60 Day Disabled List")] + [DataMember(Name = "InjuryStatus", Order = 16)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 17)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 18)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 19)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 20)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 21)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 22)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 23)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 24)] + public int? OpponentPositionRank { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 25)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's salary for Fantasy Draft daily fantasy contests. + /// + [Description("The player's salary for Fantasy Draft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 26)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in Fantasy Drafts daily fantasy sports platform. + /// + [Description("The player's eligible position in Fantasy Drafts daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 27)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 28)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 29)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 30)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 31)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 32)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 33)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 34)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 35)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 36)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 37)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 38)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 39)] + public decimal? FantasyPoints { get; set; } + + /// + /// At bats while hitting + /// + [Description("At bats while hitting")] + [DataMember(Name = "AtBats", Order = 40)] + public decimal? AtBats { get; set; } + + /// + /// Total runs scored. + /// + [Description("Total runs scored.")] + [DataMember(Name = "Runs", Order = 41)] + public decimal? Runs { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 42)] + public decimal? Hits { get; set; } + + /// + /// Total singles + /// + [Description("Total singles")] + [DataMember(Name = "Singles", Order = 43)] + public decimal? Singles { get; set; } + + /// + /// Total doubles + /// + [Description("Total doubles")] + [DataMember(Name = "Doubles", Order = 44)] + public decimal? Doubles { get; set; } + + /// + /// Total triples + /// + [Description("Total triples")] + [DataMember(Name = "Triples", Order = 45)] + public decimal? Triples { get; set; } + + /// + /// Total home runs + /// + [Description("Total home runs")] + [DataMember(Name = "HomeRuns", Order = 46)] + public decimal? HomeRuns { get; set; } + + /// + /// Total runs batted in + /// + [Description("Total runs batted in")] + [DataMember(Name = "RunsBattedIn", Order = 47)] + public decimal? RunsBattedIn { get; set; } + + /// + /// Total batting average + /// + [Description("Total batting average")] + [DataMember(Name = "BattingAverage", Order = 48)] + public decimal? BattingAverage { get; set; } + + /// + /// Total outs + /// + [Description("Total outs")] + [DataMember(Name = "Outs", Order = 49)] + public decimal? Outs { get; set; } + + /// + /// Total strikeouts + /// + [Description("Total strikeouts")] + [DataMember(Name = "Strikeouts", Order = 50)] + public decimal? Strikeouts { get; set; } + + /// + /// Total walks + /// + [Description("Total walks")] + [DataMember(Name = "Walks", Order = 51)] + public decimal? Walks { get; set; } + + /// + /// Total times hit by pitch + /// + [Description("Total times hit by pitch")] + [DataMember(Name = "HitByPitch", Order = 52)] + public decimal? HitByPitch { get; set; } + + /// + /// Total sacrifices + /// + [Description("Total sacrifices")] + [DataMember(Name = "Sacrifices", Order = 53)] + public decimal? Sacrifices { get; set; } + + /// + /// Total sacrifice flies + /// + [Description("Total sacrifice flies")] + [DataMember(Name = "SacrificeFlies", Order = 54)] + public decimal? SacrificeFlies { get; set; } + + /// + /// Total times grounded into double play + /// + [Description("Total times grounded into double play")] + [DataMember(Name = "GroundIntoDoublePlay", Order = 55)] + public decimal? GroundIntoDoublePlay { get; set; } + + /// + /// Total stolen bases + /// + [Description("Total stolen bases")] + [DataMember(Name = "StolenBases", Order = 56)] + public decimal? StolenBases { get; set; } + + /// + /// Total caught stealing + /// + [Description("Total caught stealing")] + [DataMember(Name = "CaughtStealing", Order = 57)] + public decimal? CaughtStealing { get; set; } + + /// + /// Total pitches seen + /// + [Description("Total pitches seen")] + [DataMember(Name = "PitchesSeen", Order = 58)] + public decimal? PitchesSeen { get; set; } + + /// + /// Total on base percentage + /// + [Description("Total on base percentage")] + [DataMember(Name = "OnBasePercentage", Order = 59)] + public decimal? OnBasePercentage { get; set; } + + /// + /// Total slugging percentage + /// + [Description("Total slugging percentage")] + [DataMember(Name = "SluggingPercentage", Order = 60)] + public decimal? SluggingPercentage { get; set; } + + /// + /// Total on base plus percentage  + /// + [Description("Total on base plus percentage ")] + [DataMember(Name = "OnBasePlusSlugging", Order = 61)] + public decimal? OnBasePlusSlugging { get; set; } + + /// + /// Total errors + /// + [Description("Total errors")] + [DataMember(Name = "Errors", Order = 62)] + public decimal? Errors { get; set; } + + /// + /// Total wins by the team/player + /// + [Description("Total wins by the team/player")] + [DataMember(Name = "Wins", Order = 63)] + public decimal? Wins { get; set; } + + /// + /// Total losses by the team/player + /// + [Description("Total losses by the team/player")] + [DataMember(Name = "Losses", Order = 64)] + public decimal? Losses { get; set; } + + /// + /// Total saves by team/player + /// + [Description("Total saves by team/player")] + [DataMember(Name = "Saves", Order = 65)] + public decimal? Saves { get; set; } + + /// + /// Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc) + /// + [Description("Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)")] + [DataMember(Name = "InningsPitchedDecimal", Order = 66)] + public decimal? InningsPitchedDecimal { get; set; } + + /// + /// Total outs pitched by team/player + /// + [Description("Total outs pitched by team/player")] + [DataMember(Name = "TotalOutsPitched", Order = 67)] + public decimal? TotalOutsPitched { get; set; } + + /// + /// Total full innings pitched (e.g. 6, 71, 89, etc) + /// + [Description("Total full innings pitched (e.g. 6, 71, 89, etc)")] + [DataMember(Name = "InningsPitchedFull", Order = 68)] + public decimal? InningsPitchedFull { get; set; } + + /// + /// Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2) + /// + [Description("Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)")] + [DataMember(Name = "InningsPitchedOuts", Order = 69)] + public decimal? InningsPitchedOuts { get; set; } + + /// + /// Total earned run average by team/player + /// + [Description("Total earned run average by team/player")] + [DataMember(Name = "EarnedRunAverage", Order = 70)] + public decimal? EarnedRunAverage { get; set; } + + /// + /// Hits allowed while pitching + /// + [Description("Hits allowed while pitching")] + [DataMember(Name = "PitchingHits", Order = 71)] + public decimal? PitchingHits { get; set; } + + /// + /// Runs allowed while pitching + /// + [Description("Runs allowed while pitching")] + [DataMember(Name = "PitchingRuns", Order = 72)] + public decimal? PitchingRuns { get; set; } + + /// + /// Earned runs allowed while pitching + /// + [Description("Earned runs allowed while pitching")] + [DataMember(Name = "PitchingEarnedRuns", Order = 73)] + public decimal? PitchingEarnedRuns { get; set; } + + /// + /// Walks allowed while pitching + /// + [Description("Walks allowed while pitching")] + [DataMember(Name = "PitchingWalks", Order = 74)] + public decimal? PitchingWalks { get; set; } + + /// + /// Strikeouts allowed while pitching + /// + [Description("Strikeouts allowed while pitching")] + [DataMember(Name = "PitchingStrikeouts", Order = 75)] + public decimal? PitchingStrikeouts { get; set; } + + /// + /// Home runs allowed while pitching + /// + [Description("Home runs allowed while pitching")] + [DataMember(Name = "PitchingHomeRuns", Order = 76)] + public decimal? PitchingHomeRuns { get; set; } + + /// + /// Total pitches thrown while pitching + /// + [Description("Total pitches thrown while pitching")] + [DataMember(Name = "PitchesThrown", Order = 77)] + public decimal? PitchesThrown { get; set; } + + /// + /// Total pitches thrown for strikes while pitching + /// + [Description("Total pitches thrown for strikes while pitching")] + [DataMember(Name = "PitchesThrownStrikes", Order = 78)] + public decimal? PitchesThrownStrikes { get; set; } + + /// + /// Walks plus hits per innings pitched (WHIP) while pitching + /// + [Description("Walks plus hits per innings pitched (WHIP) while pitching")] + [DataMember(Name = "WalksHitsPerInningsPitched", Order = 79)] + public decimal? WalksHitsPerInningsPitched { get; set; } + + /// + /// Total batting average against (BAA) while pitching + /// + [Description("Total batting average against (BAA) while pitching")] + [DataMember(Name = "PitchingBattingAverageAgainst", Order = 80)] + public decimal? PitchingBattingAverageAgainst { get; set; } + + /// + /// Total grand slams + /// + [Description("Total grand slams")] + [DataMember(Name = "GrandSlams", Order = 81)] + public decimal? GrandSlams { get; set; } + + /// + /// Total FanDuel fantasy points + /// + [Description("Total FanDuel fantasy points")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 82)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings fantasy points + /// + [Description("Total DraftKings fantasy points")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 83)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo fantasy points + /// + [Description("Total Yahoo fantasy points")] + [DataMember(Name = "FantasyPointsYahoo", Order = 84)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plate appearances + /// + [Description("Total plate appearances")] + [DataMember(Name = "PlateAppearances", Order = 85)] + public decimal? PlateAppearances { get; set; } + + /// + /// Number of total bases + /// + [Description("Number of total bases")] + [DataMember(Name = "TotalBases", Order = 86)] + public decimal? TotalBases { get; set; } + + /// + /// Total fly outs + /// + [Description("Total fly outs")] + [DataMember(Name = "FlyOuts", Order = 87)] + public decimal? FlyOuts { get; set; } + + /// + /// Total ground outs + /// + [Description("Total ground outs")] + [DataMember(Name = "GroundOuts", Order = 88)] + public decimal? GroundOuts { get; set; } + + /// + /// Total line outs + /// + [Description("Total line outs")] + [DataMember(Name = "LineOuts", Order = 89)] + public decimal? LineOuts { get; set; } + + /// + /// Total pop outs + /// + [Description("Total pop outs")] + [DataMember(Name = "PopOuts", Order = 90)] + public decimal? PopOuts { get; set; } + + /// + /// Total intentional walks + /// + [Description("Total intentional walks")] + [DataMember(Name = "IntentionalWalks", Order = 91)] + public decimal? IntentionalWalks { get; set; } + + /// + /// Total times reached on error + /// + [Description("Total times reached on error")] + [DataMember(Name = "ReachedOnError", Order = 92)] + public decimal? ReachedOnError { get; set; } + + /// + /// Total balls in play + /// + [Description("Total balls in play")] + [DataMember(Name = "BallsInPlay", Order = 93)] + public decimal? BallsInPlay { get; set; } + + /// + /// Total batting average on balls in play (BABIP + /// + [Description("Total batting average on balls in play (BABIP")] + [DataMember(Name = "BattingAverageOnBallsInPlay", Order = 94)] + public decimal? BattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weight on base percentage + /// + [Description("Total weight on base percentage")] + [DataMember(Name = "WeightedOnBasePercentage", Order = 95)] + public decimal? WeightedOnBasePercentage { get; set; } + + /// + /// Total singles allowed while pitching + /// + [Description("Total singles allowed while pitching")] + [DataMember(Name = "PitchingSingles", Order = 96)] + public decimal? PitchingSingles { get; set; } + + /// + /// Total doubles allowed while pitching + /// + [Description("Total doubles allowed while pitching")] + [DataMember(Name = "PitchingDoubles", Order = 97)] + public decimal? PitchingDoubles { get; set; } + + /// + /// Total triples allowed while pitching + /// + [Description("Total triples allowed while pitching")] + [DataMember(Name = "PitchingTriples", Order = 98)] + public decimal? PitchingTriples { get; set; } + + /// + /// Total grand slams allowed while pitching + /// + [Description("Total grand slams allowed while pitching")] + [DataMember(Name = "PitchingGrandSlams", Order = 99)] + public decimal? PitchingGrandSlams { get; set; } + + /// + /// Total batters hit by pitch while pitching + /// + [Description("Total batters hit by pitch while pitching")] + [DataMember(Name = "PitchingHitByPitch", Order = 100)] + public decimal? PitchingHitByPitch { get; set; } + + /// + /// Total sacrifices while pitching + /// + [Description("Total sacrifices while pitching")] + [DataMember(Name = "PitchingSacrifices", Order = 101)] + public decimal? PitchingSacrifices { get; set; } + + /// + /// Total sacrifice flies while pitching + /// + [Description("Total sacrifice flies while pitching")] + [DataMember(Name = "PitchingSacrificeFlies", Order = 102)] + public decimal? PitchingSacrificeFlies { get; set; } + + /// + /// Total grounded into double plays while pitching + /// + [Description("Total grounded into double plays while pitching")] + [DataMember(Name = "PitchingGroundIntoDoublePlay", Order = 103)] + public decimal? PitchingGroundIntoDoublePlay { get; set; } + + /// + /// Total complete games while pitching + /// + [Description("Total complete games while pitching")] + [DataMember(Name = "PitchingCompleteGames", Order = 104)] + public decimal? PitchingCompleteGames { get; set; } + + /// + /// Total shuouts while pitching + /// + [Description("Total shuouts while pitching")] + [DataMember(Name = "PitchingShutOuts", Order = 105)] + public decimal? PitchingShutOuts { get; set; } + + /// + /// Total no hitters while pitching + /// + [Description("Total no hitters while pitching")] + [DataMember(Name = "PitchingNoHitters", Order = 106)] + public decimal? PitchingNoHitters { get; set; } + + /// + /// Total perfect games while pitching + /// + [Description("Total perfect games while pitching")] + [DataMember(Name = "PitchingPerfectGames", Order = 107)] + public decimal? PitchingPerfectGames { get; set; } + + /// + /// Total plate appearances while pitching + /// + [Description("Total plate appearances while pitching")] + [DataMember(Name = "PitchingPlateAppearances", Order = 108)] + public decimal? PitchingPlateAppearances { get; set; } + + /// + /// Total bases while pitching + /// + [Description("Total bases while pitching")] + [DataMember(Name = "PitchingTotalBases", Order = 109)] + public decimal? PitchingTotalBases { get; set; } + + /// + /// Total fly outs while pitching + /// + [Description("Total fly outs while pitching")] + [DataMember(Name = "PitchingFlyOuts", Order = 110)] + public decimal? PitchingFlyOuts { get; set; } + + /// + /// Total ground outs while pitching + /// + [Description("Total ground outs while pitching")] + [DataMember(Name = "PitchingGroundOuts", Order = 111)] + public decimal? PitchingGroundOuts { get; set; } + + /// + /// Total line outs while pitching + /// + [Description("Total line outs while pitching")] + [DataMember(Name = "PitchingLineOuts", Order = 112)] + public decimal? PitchingLineOuts { get; set; } + + /// + /// Total pop outs while pitching + /// + [Description("Total pop outs while pitching")] + [DataMember(Name = "PitchingPopOuts", Order = 113)] + public decimal? PitchingPopOuts { get; set; } + + /// + /// Total intentional walks while pitching + /// + [Description("Total intentional walks while pitching")] + [DataMember(Name = "PitchingIntentionalWalks", Order = 114)] + public decimal? PitchingIntentionalWalks { get; set; } + + /// + /// Total times reached on error while pitching + /// + [Description("Total times reached on error while pitching")] + [DataMember(Name = "PitchingReachedOnError", Order = 115)] + public decimal? PitchingReachedOnError { get; set; } + + /// + /// Total catchers interference while pitching + /// + [Description("Total catchers interference while pitching")] + [DataMember(Name = "PitchingCatchersInterference", Order = 116)] + public decimal? PitchingCatchersInterference { get; set; } + + /// + /// Total balls in play while pitching + /// + [Description("Total balls in play while pitching")] + [DataMember(Name = "PitchingBallsInPlay", Order = 117)] + public decimal? PitchingBallsInPlay { get; set; } + + /// + /// Total on base percentage (OBP) while pitching + /// + [Description("Total on base percentage (OBP) while pitching")] + [DataMember(Name = "PitchingOnBasePercentage", Order = 118)] + public decimal? PitchingOnBasePercentage { get; set; } + + /// + /// Total slugging percentage (SLG) while pitching + /// + [Description("Total slugging percentage (SLG) while pitching")] + [DataMember(Name = "PitchingSluggingPercentage", Order = 119)] + public decimal? PitchingSluggingPercentage { get; set; } + + /// + /// Total on base plus slugging (OPS) while pitching + /// + [Description("Total on base plus slugging (OPS) while pitching")] + [DataMember(Name = "PitchingOnBasePlusSlugging", Order = 120)] + public decimal? PitchingOnBasePlusSlugging { get; set; } + + /// + /// Total strikeouts per nine innings (K/9) while pitching + /// + [Description("Total strikeouts per nine innings (K/9) while pitching")] + [DataMember(Name = "PitchingStrikeoutsPerNineInnings", Order = 121)] + public decimal? PitchingStrikeoutsPerNineInnings { get; set; } + + /// + /// Total walks per nine innings (BB/9) while pitching + /// + [Description("Total walks per nine innings (BB/9) while pitching")] + [DataMember(Name = "PitchingWalksPerNineInnings", Order = 122)] + public decimal? PitchingWalksPerNineInnings { get; set; } + + /// + /// Total batting average on balls in play (BABIP) while pitching + /// + [Description("Total batting average on balls in play (BABIP) while pitching")] + [DataMember(Name = "PitchingBattingAverageOnBallsInPlay", Order = 123)] + public decimal? PitchingBattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weighted on base percentage while pitching  + /// + [Description("Total weighted on base percentage while pitching ")] + [DataMember(Name = "PitchingWeightedOnBasePercentage", Order = 124)] + public decimal? PitchingWeightedOnBasePercentage { get; set; } + + /// + /// Total double plays + /// + [Description("Total double plays")] + [DataMember(Name = "DoublePlays", Order = 125)] + public decimal? DoublePlays { get; set; } + + /// + /// Total double plays while pitching + /// + [Description("Total double plays while pitching")] + [DataMember(Name = "PitchingDoublePlays", Order = 126)] + public decimal? PitchingDoublePlays { get; set; } + + /// + /// Whether the batting order is confirmed (true/false) + /// + [Description("Whether the batting order is confirmed (true/false)")] + [DataMember(Name = "BattingOrderConfirmed", Order = 127)] + public bool? BattingOrderConfirmed { get; set; } + + /// + /// Total isolated power (ISO) + /// + [Description("Total isolated power (ISO)")] + [DataMember(Name = "IsolatedPower", Order = 128)] + public decimal? IsolatedPower { get; set; } + + /// + /// Total fielding independent pitching (FIP) + /// + [Description("Total fielding independent pitching (FIP)")] + [DataMember(Name = "FieldingIndependentPitching", Order = 129)] + public decimal? FieldingIndependentPitching { get; set; } + + /// + /// Total quality starts pitched + /// + [Description("Total quality starts pitched")] + [DataMember(Name = "PitchingQualityStarts", Order = 130)] + public decimal? PitchingQualityStarts { get; set; } + + /// + /// The inning that the pitcher entered the game (if any). + /// + [Description("The inning that the pitcher entered the game (if any).")] + [DataMember(Name = "PitchingInningStarted", Order = 131)] + public int? PitchingInningStarted { get; set; } + + /// + /// Total left on base percentage  + /// + [Description("Total left on base percentage ")] + [DataMember(Name = "LeftOnBase", Order = 132)] + public decimal? LeftOnBase { get; set; } + + /// + /// Total holds pitched + /// + [Description("Total holds pitched")] + [DataMember(Name = "PitchingHolds", Order = 133)] + public decimal? PitchingHolds { get; set; } + + /// + /// Total blown saves pitched + /// + [Description("Total blown saves pitched")] + [DataMember(Name = "PitchingBlownSaves", Order = 134)] + public decimal? PitchingBlownSaves { get; set; } + + /// + /// The position in the batting order where this player was substituted into the game (does not include players in the starting lineup) + /// + [Description("The position in the batting order where this player was substituted into the game (does not include players in the starting lineup)")] + [DataMember(Name = "SubstituteBattingOrder", Order = 135)] + public int? SubstituteBattingOrder { get; set; } + + /// + /// The sequence in which this player was substituted into the game, within the particular batting order + /// + [Description("The sequence in which this player was substituted into the game, within the particular batting order")] + [DataMember(Name = "SubstituteBattingOrderSequence", Order = 136)] + public int? SubstituteBattingOrderSequence { get; set; } + + /// + /// Total FantasyDraft fantasy points + /// + [Description("Total FantasyDraft fantasy points")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 137)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/PlayerInfo.cs b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerInfo.cs new file mode 100644 index 0000000..182c5a4 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerInfo.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="PlayerInfo")] + [Serializable] + public partial class PlayerInfo + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Name of Player. + /// + [Description("Name of Player.")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// Unique ID of the Team the player belongs to (assigned by FantasyData). + /// + [Description("Unique ID of the Team the player belongs to (assigned by FantasyData).")] + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + /// + /// Name of the team the player belongs to. + /// + [Description("Name of the team the player belongs to.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Position player plays. + /// + [Description("Position player plays.")] + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/PlayerProp.cs b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerProp.cs new file mode 100644 index 0000000..920c08c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerProp.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="PlayerProp")] + [Serializable] + public partial class PlayerProp + { + /// + /// The PlayerID of the player + /// + [Description("The PlayerID of the player")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The GameID of the game + /// + [Description("The GameID of the game")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The full name of the player + /// + [Description("The full name of the player")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The TeamKey of the opponent in the game + /// + [Description("The TeamKey of the opponent in the game")] + [DataMember(Name = "Opponent", Order = 4)] + public string Opponent { get; set; } + + /// + /// The TeamKey of the player's team in the game + /// + [Description("The TeamKey of the player's team in the game")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The start time of the game (to give an idea of when prop should close) + /// + [Description("The start time of the game (to give an idea of when prop should close)")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime DateTime { get; set; } + + /// + /// A description of the stat the over/under is referring to (ex: Three Pointers Made) + /// + [Description("A description of the stat the over/under is referring to (ex: Three Pointers Made)")] + [DataMember(Name = "Description", Order = 7)] + public string Description { get; set; } + + /// + /// The over under value in question (ex: 1.5) + /// + [Description("The over under value in question (ex: 1.5)")] + [DataMember(Name = "OverUnder", Order = 8)] + public decimal OverUnder { get; set; } + + /// + /// The (american styled) payout for a successful over bet. + /// + [Description("The (american styled) payout for a successful over bet.")] + [DataMember(Name = "OverPayout", Order = 9)] + public int OverPayout { get; set; } + + /// + /// The (american styled) payout for a successful under bet. + /// + [Description("The (american styled) payout for a successful under bet.")] + [DataMember(Name = "UnderPayout", Order = 10)] + public int UnderPayout { get; set; } + + /// + /// A description of the result (Over, Under, or Push) + /// + [Description("A description of the result (Over, Under, or Push)")] + [DataMember(Name = "BetResult", Order = 11)] + public string BetResult { get; set; } + + /// + /// The final total from the game of the stat in question + /// + [Description("The final total from the game of the stat in question ")] + [DataMember(Name = "StatResult", Order = 12)] + public decimal? StatResult { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/PlayerSeason.cs b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerSeason.cs new file mode 100644 index 0000000..2805d79 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerSeason.cs @@ -0,0 +1,811 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="PlayerSeason")] + [Serializable] + public partial class PlayerSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The MLB regular season for which these totals apply + /// + [Description("The MLB regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// Abbreviation of the player's position (P, C, 1B, OF, etc.) + /// + [Description("Abbreviation of the player's position (P, C, 1B, OF, etc.)")] + [DataMember(Name = "PositionCategory", Order = 9)] + public string PositionCategory { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 10)] + public int? Started { get; set; } + + /// + /// Number in the batting order (1,2,3, etc.) + /// + [Description("Number in the batting order (1,2,3, etc.)")] + [DataMember(Name = "BattingOrder", Order = 11)] + public int? BattingOrder { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 12)] + public int? GlobalTeamID { get; set; } + + /// + /// The average draft position of the player + /// + [Description("The average draft position of the player")] + [DataMember(Name = "AverageDraftPosition", Order = 13)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 14)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 15)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 16)] + public decimal? FantasyPoints { get; set; } + + /// + /// At bats while hitting + /// + [Description("At bats while hitting")] + [DataMember(Name = "AtBats", Order = 17)] + public decimal? AtBats { get; set; } + + /// + /// Total runs scored. + /// + [Description("Total runs scored.")] + [DataMember(Name = "Runs", Order = 18)] + public decimal? Runs { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 19)] + public decimal? Hits { get; set; } + + /// + /// Total singles + /// + [Description("Total singles")] + [DataMember(Name = "Singles", Order = 20)] + public decimal? Singles { get; set; } + + /// + /// Total doubles + /// + [Description("Total doubles")] + [DataMember(Name = "Doubles", Order = 21)] + public decimal? Doubles { get; set; } + + /// + /// Total triples + /// + [Description("Total triples")] + [DataMember(Name = "Triples", Order = 22)] + public decimal? Triples { get; set; } + + /// + /// Total home runs + /// + [Description("Total home runs")] + [DataMember(Name = "HomeRuns", Order = 23)] + public decimal? HomeRuns { get; set; } + + /// + /// Total runs batted in + /// + [Description("Total runs batted in")] + [DataMember(Name = "RunsBattedIn", Order = 24)] + public decimal? RunsBattedIn { get; set; } + + /// + /// Total batting average + /// + [Description("Total batting average")] + [DataMember(Name = "BattingAverage", Order = 25)] + public decimal? BattingAverage { get; set; } + + /// + /// Total outs + /// + [Description("Total outs")] + [DataMember(Name = "Outs", Order = 26)] + public decimal? Outs { get; set; } + + /// + /// Total strikeouts + /// + [Description("Total strikeouts")] + [DataMember(Name = "Strikeouts", Order = 27)] + public decimal? Strikeouts { get; set; } + + /// + /// Total walks + /// + [Description("Total walks")] + [DataMember(Name = "Walks", Order = 28)] + public decimal? Walks { get; set; } + + /// + /// Total times hit by pitch + /// + [Description("Total times hit by pitch")] + [DataMember(Name = "HitByPitch", Order = 29)] + public decimal? HitByPitch { get; set; } + + /// + /// Total sacrifices + /// + [Description("Total sacrifices")] + [DataMember(Name = "Sacrifices", Order = 30)] + public decimal? Sacrifices { get; set; } + + /// + /// Total sacrifice flies + /// + [Description("Total sacrifice flies")] + [DataMember(Name = "SacrificeFlies", Order = 31)] + public decimal? SacrificeFlies { get; set; } + + /// + /// Total times grounded into double play + /// + [Description("Total times grounded into double play")] + [DataMember(Name = "GroundIntoDoublePlay", Order = 32)] + public decimal? GroundIntoDoublePlay { get; set; } + + /// + /// Total stolen bases + /// + [Description("Total stolen bases")] + [DataMember(Name = "StolenBases", Order = 33)] + public decimal? StolenBases { get; set; } + + /// + /// Total caught stealing + /// + [Description("Total caught stealing")] + [DataMember(Name = "CaughtStealing", Order = 34)] + public decimal? CaughtStealing { get; set; } + + /// + /// Total pitches seen + /// + [Description("Total pitches seen")] + [DataMember(Name = "PitchesSeen", Order = 35)] + public decimal? PitchesSeen { get; set; } + + /// + /// Total on base percentage + /// + [Description("Total on base percentage")] + [DataMember(Name = "OnBasePercentage", Order = 36)] + public decimal? OnBasePercentage { get; set; } + + /// + /// Total slugging percentage + /// + [Description("Total slugging percentage")] + [DataMember(Name = "SluggingPercentage", Order = 37)] + public decimal? SluggingPercentage { get; set; } + + /// + /// Total on base plus percentage  + /// + [Description("Total on base plus percentage ")] + [DataMember(Name = "OnBasePlusSlugging", Order = 38)] + public decimal? OnBasePlusSlugging { get; set; } + + /// + /// Total errors + /// + [Description("Total errors")] + [DataMember(Name = "Errors", Order = 39)] + public decimal? Errors { get; set; } + + /// + /// Total wins by the team/player + /// + [Description("Total wins by the team/player")] + [DataMember(Name = "Wins", Order = 40)] + public decimal? Wins { get; set; } + + /// + /// Total losses by the team/player + /// + [Description("Total losses by the team/player")] + [DataMember(Name = "Losses", Order = 41)] + public decimal? Losses { get; set; } + + /// + /// Total saves by team/player + /// + [Description("Total saves by team/player")] + [DataMember(Name = "Saves", Order = 42)] + public decimal? Saves { get; set; } + + /// + /// Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc) + /// + [Description("Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)")] + [DataMember(Name = "InningsPitchedDecimal", Order = 43)] + public decimal? InningsPitchedDecimal { get; set; } + + /// + /// Total outs pitched by team/player + /// + [Description("Total outs pitched by team/player")] + [DataMember(Name = "TotalOutsPitched", Order = 44)] + public decimal? TotalOutsPitched { get; set; } + + /// + /// Total full innings pitched (e.g. 6, 71, 89, etc) + /// + [Description("Total full innings pitched (e.g. 6, 71, 89, etc)")] + [DataMember(Name = "InningsPitchedFull", Order = 45)] + public decimal? InningsPitchedFull { get; set; } + + /// + /// Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2) + /// + [Description("Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)")] + [DataMember(Name = "InningsPitchedOuts", Order = 46)] + public decimal? InningsPitchedOuts { get; set; } + + /// + /// Total earned run average by team/player + /// + [Description("Total earned run average by team/player")] + [DataMember(Name = "EarnedRunAverage", Order = 47)] + public decimal? EarnedRunAverage { get; set; } + + /// + /// Hits allowed while pitching + /// + [Description("Hits allowed while pitching")] + [DataMember(Name = "PitchingHits", Order = 48)] + public decimal? PitchingHits { get; set; } + + /// + /// Runs allowed while pitching + /// + [Description("Runs allowed while pitching")] + [DataMember(Name = "PitchingRuns", Order = 49)] + public decimal? PitchingRuns { get; set; } + + /// + /// Earned runs allowed while pitching + /// + [Description("Earned runs allowed while pitching")] + [DataMember(Name = "PitchingEarnedRuns", Order = 50)] + public decimal? PitchingEarnedRuns { get; set; } + + /// + /// Walks allowed while pitching + /// + [Description("Walks allowed while pitching")] + [DataMember(Name = "PitchingWalks", Order = 51)] + public decimal? PitchingWalks { get; set; } + + /// + /// Strikeouts allowed while pitching + /// + [Description("Strikeouts allowed while pitching")] + [DataMember(Name = "PitchingStrikeouts", Order = 52)] + public decimal? PitchingStrikeouts { get; set; } + + /// + /// Home runs allowed while pitching + /// + [Description("Home runs allowed while pitching")] + [DataMember(Name = "PitchingHomeRuns", Order = 53)] + public decimal? PitchingHomeRuns { get; set; } + + /// + /// Total pitches thrown while pitching + /// + [Description("Total pitches thrown while pitching")] + [DataMember(Name = "PitchesThrown", Order = 54)] + public decimal? PitchesThrown { get; set; } + + /// + /// Total pitches thrown for strikes while pitching + /// + [Description("Total pitches thrown for strikes while pitching")] + [DataMember(Name = "PitchesThrownStrikes", Order = 55)] + public decimal? PitchesThrownStrikes { get; set; } + + /// + /// Walks plus hits per innings pitched (WHIP) while pitching + /// + [Description("Walks plus hits per innings pitched (WHIP) while pitching")] + [DataMember(Name = "WalksHitsPerInningsPitched", Order = 56)] + public decimal? WalksHitsPerInningsPitched { get; set; } + + /// + /// Total batting average against (BAA) while pitching + /// + [Description("Total batting average against (BAA) while pitching")] + [DataMember(Name = "PitchingBattingAverageAgainst", Order = 57)] + public decimal? PitchingBattingAverageAgainst { get; set; } + + /// + /// Total grand slams + /// + [Description("Total grand slams")] + [DataMember(Name = "GrandSlams", Order = 58)] + public decimal? GrandSlams { get; set; } + + /// + /// Total FanDuel fantasy points + /// + [Description("Total FanDuel fantasy points")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 59)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings fantasy points + /// + [Description("Total DraftKings fantasy points")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 60)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo fantasy points + /// + [Description("Total Yahoo fantasy points")] + [DataMember(Name = "FantasyPointsYahoo", Order = 61)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plate appearances + /// + [Description("Total plate appearances")] + [DataMember(Name = "PlateAppearances", Order = 62)] + public decimal? PlateAppearances { get; set; } + + /// + /// Number of total bases + /// + [Description("Number of total bases")] + [DataMember(Name = "TotalBases", Order = 63)] + public decimal? TotalBases { get; set; } + + /// + /// Total fly outs + /// + [Description("Total fly outs")] + [DataMember(Name = "FlyOuts", Order = 64)] + public decimal? FlyOuts { get; set; } + + /// + /// Total ground outs + /// + [Description("Total ground outs")] + [DataMember(Name = "GroundOuts", Order = 65)] + public decimal? GroundOuts { get; set; } + + /// + /// Total line outs + /// + [Description("Total line outs")] + [DataMember(Name = "LineOuts", Order = 66)] + public decimal? LineOuts { get; set; } + + /// + /// Total pop outs + /// + [Description("Total pop outs")] + [DataMember(Name = "PopOuts", Order = 67)] + public decimal? PopOuts { get; set; } + + /// + /// Total intentional walks + /// + [Description("Total intentional walks")] + [DataMember(Name = "IntentionalWalks", Order = 68)] + public decimal? IntentionalWalks { get; set; } + + /// + /// Total times reached on error + /// + [Description("Total times reached on error")] + [DataMember(Name = "ReachedOnError", Order = 69)] + public decimal? ReachedOnError { get; set; } + + /// + /// Total balls in play + /// + [Description("Total balls in play")] + [DataMember(Name = "BallsInPlay", Order = 70)] + public decimal? BallsInPlay { get; set; } + + /// + /// Total batting average on balls in play (BABIP + /// + [Description("Total batting average on balls in play (BABIP")] + [DataMember(Name = "BattingAverageOnBallsInPlay", Order = 71)] + public decimal? BattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weight on base percentage + /// + [Description("Total weight on base percentage")] + [DataMember(Name = "WeightedOnBasePercentage", Order = 72)] + public decimal? WeightedOnBasePercentage { get; set; } + + /// + /// Total singles allowed while pitching + /// + [Description("Total singles allowed while pitching")] + [DataMember(Name = "PitchingSingles", Order = 73)] + public decimal? PitchingSingles { get; set; } + + /// + /// Total doubles allowed while pitching + /// + [Description("Total doubles allowed while pitching")] + [DataMember(Name = "PitchingDoubles", Order = 74)] + public decimal? PitchingDoubles { get; set; } + + /// + /// Total triples allowed while pitching + /// + [Description("Total triples allowed while pitching")] + [DataMember(Name = "PitchingTriples", Order = 75)] + public decimal? PitchingTriples { get; set; } + + /// + /// Total grand slams allowed while pitching + /// + [Description("Total grand slams allowed while pitching")] + [DataMember(Name = "PitchingGrandSlams", Order = 76)] + public decimal? PitchingGrandSlams { get; set; } + + /// + /// Total batters hit by pitch while pitching + /// + [Description("Total batters hit by pitch while pitching")] + [DataMember(Name = "PitchingHitByPitch", Order = 77)] + public decimal? PitchingHitByPitch { get; set; } + + /// + /// Total sacrifices while pitching + /// + [Description("Total sacrifices while pitching")] + [DataMember(Name = "PitchingSacrifices", Order = 78)] + public decimal? PitchingSacrifices { get; set; } + + /// + /// Total sacrifice flies while pitching + /// + [Description("Total sacrifice flies while pitching")] + [DataMember(Name = "PitchingSacrificeFlies", Order = 79)] + public decimal? PitchingSacrificeFlies { get; set; } + + /// + /// Total grounded into double plays while pitching + /// + [Description("Total grounded into double plays while pitching")] + [DataMember(Name = "PitchingGroundIntoDoublePlay", Order = 80)] + public decimal? PitchingGroundIntoDoublePlay { get; set; } + + /// + /// Total complete games while pitching + /// + [Description("Total complete games while pitching")] + [DataMember(Name = "PitchingCompleteGames", Order = 81)] + public decimal? PitchingCompleteGames { get; set; } + + /// + /// Total shuouts while pitching + /// + [Description("Total shuouts while pitching")] + [DataMember(Name = "PitchingShutOuts", Order = 82)] + public decimal? PitchingShutOuts { get; set; } + + /// + /// Total no hitters while pitching + /// + [Description("Total no hitters while pitching")] + [DataMember(Name = "PitchingNoHitters", Order = 83)] + public decimal? PitchingNoHitters { get; set; } + + /// + /// Total perfect games while pitching + /// + [Description("Total perfect games while pitching")] + [DataMember(Name = "PitchingPerfectGames", Order = 84)] + public decimal? PitchingPerfectGames { get; set; } + + /// + /// Total plate appearances while pitching + /// + [Description("Total plate appearances while pitching")] + [DataMember(Name = "PitchingPlateAppearances", Order = 85)] + public decimal? PitchingPlateAppearances { get; set; } + + /// + /// Total bases while pitching + /// + [Description("Total bases while pitching")] + [DataMember(Name = "PitchingTotalBases", Order = 86)] + public decimal? PitchingTotalBases { get; set; } + + /// + /// Total fly outs while pitching + /// + [Description("Total fly outs while pitching")] + [DataMember(Name = "PitchingFlyOuts", Order = 87)] + public decimal? PitchingFlyOuts { get; set; } + + /// + /// Total ground outs while pitching + /// + [Description("Total ground outs while pitching")] + [DataMember(Name = "PitchingGroundOuts", Order = 88)] + public decimal? PitchingGroundOuts { get; set; } + + /// + /// Total line outs while pitching + /// + [Description("Total line outs while pitching")] + [DataMember(Name = "PitchingLineOuts", Order = 89)] + public decimal? PitchingLineOuts { get; set; } + + /// + /// Total pop outs while pitching + /// + [Description("Total pop outs while pitching")] + [DataMember(Name = "PitchingPopOuts", Order = 90)] + public decimal? PitchingPopOuts { get; set; } + + /// + /// Total intentional walks while pitching + /// + [Description("Total intentional walks while pitching")] + [DataMember(Name = "PitchingIntentionalWalks", Order = 91)] + public decimal? PitchingIntentionalWalks { get; set; } + + /// + /// Total times reached on error while pitching + /// + [Description("Total times reached on error while pitching")] + [DataMember(Name = "PitchingReachedOnError", Order = 92)] + public decimal? PitchingReachedOnError { get; set; } + + /// + /// Total catchers interference while pitching + /// + [Description("Total catchers interference while pitching")] + [DataMember(Name = "PitchingCatchersInterference", Order = 93)] + public decimal? PitchingCatchersInterference { get; set; } + + /// + /// Total balls in play while pitching + /// + [Description("Total balls in play while pitching")] + [DataMember(Name = "PitchingBallsInPlay", Order = 94)] + public decimal? PitchingBallsInPlay { get; set; } + + /// + /// Total on base percentage (OBP) while pitching + /// + [Description("Total on base percentage (OBP) while pitching")] + [DataMember(Name = "PitchingOnBasePercentage", Order = 95)] + public decimal? PitchingOnBasePercentage { get; set; } + + /// + /// Total slugging percentage (SLG) while pitching + /// + [Description("Total slugging percentage (SLG) while pitching")] + [DataMember(Name = "PitchingSluggingPercentage", Order = 96)] + public decimal? PitchingSluggingPercentage { get; set; } + + /// + /// Total on base plus slugging (OPS) while pitching + /// + [Description("Total on base plus slugging (OPS) while pitching")] + [DataMember(Name = "PitchingOnBasePlusSlugging", Order = 97)] + public decimal? PitchingOnBasePlusSlugging { get; set; } + + /// + /// Total strikeouts per nine innings (K/9) while pitching + /// + [Description("Total strikeouts per nine innings (K/9) while pitching")] + [DataMember(Name = "PitchingStrikeoutsPerNineInnings", Order = 98)] + public decimal? PitchingStrikeoutsPerNineInnings { get; set; } + + /// + /// Total walks per nine innings (BB/9) while pitching + /// + [Description("Total walks per nine innings (BB/9) while pitching")] + [DataMember(Name = "PitchingWalksPerNineInnings", Order = 99)] + public decimal? PitchingWalksPerNineInnings { get; set; } + + /// + /// Total batting average on balls in play (BABIP) while pitching + /// + [Description("Total batting average on balls in play (BABIP) while pitching")] + [DataMember(Name = "PitchingBattingAverageOnBallsInPlay", Order = 100)] + public decimal? PitchingBattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weighted on base percentage while pitching  + /// + [Description("Total weighted on base percentage while pitching ")] + [DataMember(Name = "PitchingWeightedOnBasePercentage", Order = 101)] + public decimal? PitchingWeightedOnBasePercentage { get; set; } + + /// + /// Total double plays + /// + [Description("Total double plays")] + [DataMember(Name = "DoublePlays", Order = 102)] + public decimal? DoublePlays { get; set; } + + /// + /// Total double plays while pitching + /// + [Description("Total double plays while pitching")] + [DataMember(Name = "PitchingDoublePlays", Order = 103)] + public decimal? PitchingDoublePlays { get; set; } + + /// + /// Whether the batting order is confirmed (true/false) + /// + [Description("Whether the batting order is confirmed (true/false)")] + [DataMember(Name = "BattingOrderConfirmed", Order = 104)] + public bool? BattingOrderConfirmed { get; set; } + + /// + /// Total isolated power (ISO) + /// + [Description("Total isolated power (ISO)")] + [DataMember(Name = "IsolatedPower", Order = 105)] + public decimal? IsolatedPower { get; set; } + + /// + /// Total fielding independent pitching (FIP) + /// + [Description("Total fielding independent pitching (FIP)")] + [DataMember(Name = "FieldingIndependentPitching", Order = 106)] + public decimal? FieldingIndependentPitching { get; set; } + + /// + /// Total quality starts pitched + /// + [Description("Total quality starts pitched")] + [DataMember(Name = "PitchingQualityStarts", Order = 107)] + public decimal? PitchingQualityStarts { get; set; } + + /// + /// The inning that the pitcher entered the game (if any). + /// + [Description("The inning that the pitcher entered the game (if any).")] + [DataMember(Name = "PitchingInningStarted", Order = 108)] + public int? PitchingInningStarted { get; set; } + + /// + /// Total left on base percentage  + /// + [Description("Total left on base percentage ")] + [DataMember(Name = "LeftOnBase", Order = 109)] + public decimal? LeftOnBase { get; set; } + + /// + /// Total holds pitched + /// + [Description("Total holds pitched")] + [DataMember(Name = "PitchingHolds", Order = 110)] + public decimal? PitchingHolds { get; set; } + + /// + /// Total blown saves pitched + /// + [Description("Total blown saves pitched")] + [DataMember(Name = "PitchingBlownSaves", Order = 111)] + public decimal? PitchingBlownSaves { get; set; } + + /// + /// The position in the batting order where this player was substituted into the game (does not include players in the starting lineup) + /// + [Description("The position in the batting order where this player was substituted into the game (does not include players in the starting lineup)")] + [DataMember(Name = "SubstituteBattingOrder", Order = 112)] + public int? SubstituteBattingOrder { get; set; } + + /// + /// The sequence in which this player was substituted into the game, within the particular batting order + /// + [Description("The sequence in which this player was substituted into the game, within the particular batting order")] + [DataMember(Name = "SubstituteBattingOrderSequence", Order = 113)] + public int? SubstituteBattingOrderSequence { get; set; } + + /// + /// Total FantasyDraft fantasy points + /// + [Description("Total FantasyDraft fantasy points")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 114)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/PlayerSeasonProjection.cs b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerSeasonProjection.cs new file mode 100644 index 0000000..1f8db33 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/PlayerSeasonProjection.cs @@ -0,0 +1,811 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="PlayerSeasonProjection")] + [Serializable] + public partial class PlayerSeasonProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The MLB regular season for which these totals apply + /// + [Description("The MLB regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// Abbreviation of the player's position (P, C, 1B, OF, etc.) + /// + [Description("Abbreviation of the player's position (P, C, 1B, OF, etc.)")] + [DataMember(Name = "PositionCategory", Order = 9)] + public string PositionCategory { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 10)] + public int? Started { get; set; } + + /// + /// Number in the batting order (1,2,3, etc.) + /// + [Description("Number in the batting order (1,2,3, etc.)")] + [DataMember(Name = "BattingOrder", Order = 11)] + public int? BattingOrder { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 12)] + public int? GlobalTeamID { get; set; } + + /// + /// The average draft position of the player + /// + [Description("The average draft position of the player")] + [DataMember(Name = "AverageDraftPosition", Order = 13)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 14)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 15)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 16)] + public decimal? FantasyPoints { get; set; } + + /// + /// At bats while hitting + /// + [Description("At bats while hitting")] + [DataMember(Name = "AtBats", Order = 17)] + public decimal? AtBats { get; set; } + + /// + /// Total runs scored. + /// + [Description("Total runs scored.")] + [DataMember(Name = "Runs", Order = 18)] + public decimal? Runs { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 19)] + public decimal? Hits { get; set; } + + /// + /// Total singles + /// + [Description("Total singles")] + [DataMember(Name = "Singles", Order = 20)] + public decimal? Singles { get; set; } + + /// + /// Total doubles + /// + [Description("Total doubles")] + [DataMember(Name = "Doubles", Order = 21)] + public decimal? Doubles { get; set; } + + /// + /// Total triples + /// + [Description("Total triples")] + [DataMember(Name = "Triples", Order = 22)] + public decimal? Triples { get; set; } + + /// + /// Total home runs + /// + [Description("Total home runs")] + [DataMember(Name = "HomeRuns", Order = 23)] + public decimal? HomeRuns { get; set; } + + /// + /// Total runs batted in + /// + [Description("Total runs batted in")] + [DataMember(Name = "RunsBattedIn", Order = 24)] + public decimal? RunsBattedIn { get; set; } + + /// + /// Total batting average + /// + [Description("Total batting average")] + [DataMember(Name = "BattingAverage", Order = 25)] + public decimal? BattingAverage { get; set; } + + /// + /// Total outs + /// + [Description("Total outs")] + [DataMember(Name = "Outs", Order = 26)] + public decimal? Outs { get; set; } + + /// + /// Total strikeouts + /// + [Description("Total strikeouts")] + [DataMember(Name = "Strikeouts", Order = 27)] + public decimal? Strikeouts { get; set; } + + /// + /// Total walks + /// + [Description("Total walks")] + [DataMember(Name = "Walks", Order = 28)] + public decimal? Walks { get; set; } + + /// + /// Total times hit by pitch + /// + [Description("Total times hit by pitch")] + [DataMember(Name = "HitByPitch", Order = 29)] + public decimal? HitByPitch { get; set; } + + /// + /// Total sacrifices + /// + [Description("Total sacrifices")] + [DataMember(Name = "Sacrifices", Order = 30)] + public decimal? Sacrifices { get; set; } + + /// + /// Total sacrifice flies + /// + [Description("Total sacrifice flies")] + [DataMember(Name = "SacrificeFlies", Order = 31)] + public decimal? SacrificeFlies { get; set; } + + /// + /// Total times grounded into double play + /// + [Description("Total times grounded into double play")] + [DataMember(Name = "GroundIntoDoublePlay", Order = 32)] + public decimal? GroundIntoDoublePlay { get; set; } + + /// + /// Total stolen bases + /// + [Description("Total stolen bases")] + [DataMember(Name = "StolenBases", Order = 33)] + public decimal? StolenBases { get; set; } + + /// + /// Total caught stealing + /// + [Description("Total caught stealing")] + [DataMember(Name = "CaughtStealing", Order = 34)] + public decimal? CaughtStealing { get; set; } + + /// + /// Total pitches seen + /// + [Description("Total pitches seen")] + [DataMember(Name = "PitchesSeen", Order = 35)] + public decimal? PitchesSeen { get; set; } + + /// + /// Total on base percentage + /// + [Description("Total on base percentage")] + [DataMember(Name = "OnBasePercentage", Order = 36)] + public decimal? OnBasePercentage { get; set; } + + /// + /// Total slugging percentage + /// + [Description("Total slugging percentage")] + [DataMember(Name = "SluggingPercentage", Order = 37)] + public decimal? SluggingPercentage { get; set; } + + /// + /// Total on base plus percentage  + /// + [Description("Total on base plus percentage ")] + [DataMember(Name = "OnBasePlusSlugging", Order = 38)] + public decimal? OnBasePlusSlugging { get; set; } + + /// + /// Total errors + /// + [Description("Total errors")] + [DataMember(Name = "Errors", Order = 39)] + public decimal? Errors { get; set; } + + /// + /// Total wins by the team/player + /// + [Description("Total wins by the team/player")] + [DataMember(Name = "Wins", Order = 40)] + public decimal? Wins { get; set; } + + /// + /// Total losses by the team/player + /// + [Description("Total losses by the team/player")] + [DataMember(Name = "Losses", Order = 41)] + public decimal? Losses { get; set; } + + /// + /// Total saves by team/player + /// + [Description("Total saves by team/player")] + [DataMember(Name = "Saves", Order = 42)] + public decimal? Saves { get; set; } + + /// + /// Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc) + /// + [Description("Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)")] + [DataMember(Name = "InningsPitchedDecimal", Order = 43)] + public decimal? InningsPitchedDecimal { get; set; } + + /// + /// Total outs pitched by team/player + /// + [Description("Total outs pitched by team/player")] + [DataMember(Name = "TotalOutsPitched", Order = 44)] + public decimal? TotalOutsPitched { get; set; } + + /// + /// Total full innings pitched (e.g. 6, 71, 89, etc) + /// + [Description("Total full innings pitched (e.g. 6, 71, 89, etc)")] + [DataMember(Name = "InningsPitchedFull", Order = 45)] + public decimal? InningsPitchedFull { get; set; } + + /// + /// Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2) + /// + [Description("Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)")] + [DataMember(Name = "InningsPitchedOuts", Order = 46)] + public decimal? InningsPitchedOuts { get; set; } + + /// + /// Total earned run average by team/player + /// + [Description("Total earned run average by team/player")] + [DataMember(Name = "EarnedRunAverage", Order = 47)] + public decimal? EarnedRunAverage { get; set; } + + /// + /// Hits allowed while pitching + /// + [Description("Hits allowed while pitching")] + [DataMember(Name = "PitchingHits", Order = 48)] + public decimal? PitchingHits { get; set; } + + /// + /// Runs allowed while pitching + /// + [Description("Runs allowed while pitching")] + [DataMember(Name = "PitchingRuns", Order = 49)] + public decimal? PitchingRuns { get; set; } + + /// + /// Earned runs allowed while pitching + /// + [Description("Earned runs allowed while pitching")] + [DataMember(Name = "PitchingEarnedRuns", Order = 50)] + public decimal? PitchingEarnedRuns { get; set; } + + /// + /// Walks allowed while pitching + /// + [Description("Walks allowed while pitching")] + [DataMember(Name = "PitchingWalks", Order = 51)] + public decimal? PitchingWalks { get; set; } + + /// + /// Strikeouts allowed while pitching + /// + [Description("Strikeouts allowed while pitching")] + [DataMember(Name = "PitchingStrikeouts", Order = 52)] + public decimal? PitchingStrikeouts { get; set; } + + /// + /// Home runs allowed while pitching + /// + [Description("Home runs allowed while pitching")] + [DataMember(Name = "PitchingHomeRuns", Order = 53)] + public decimal? PitchingHomeRuns { get; set; } + + /// + /// Total pitches thrown while pitching + /// + [Description("Total pitches thrown while pitching")] + [DataMember(Name = "PitchesThrown", Order = 54)] + public decimal? PitchesThrown { get; set; } + + /// + /// Total pitches thrown for strikes while pitching + /// + [Description("Total pitches thrown for strikes while pitching")] + [DataMember(Name = "PitchesThrownStrikes", Order = 55)] + public decimal? PitchesThrownStrikes { get; set; } + + /// + /// Walks plus hits per innings pitched (WHIP) while pitching + /// + [Description("Walks plus hits per innings pitched (WHIP) while pitching")] + [DataMember(Name = "WalksHitsPerInningsPitched", Order = 56)] + public decimal? WalksHitsPerInningsPitched { get; set; } + + /// + /// Total batting average against (BAA) while pitching + /// + [Description("Total batting average against (BAA) while pitching")] + [DataMember(Name = "PitchingBattingAverageAgainst", Order = 57)] + public decimal? PitchingBattingAverageAgainst { get; set; } + + /// + /// Total grand slams + /// + [Description("Total grand slams")] + [DataMember(Name = "GrandSlams", Order = 58)] + public decimal? GrandSlams { get; set; } + + /// + /// Total FanDuel fantasy points + /// + [Description("Total FanDuel fantasy points")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 59)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings fantasy points + /// + [Description("Total DraftKings fantasy points")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 60)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo fantasy points + /// + [Description("Total Yahoo fantasy points")] + [DataMember(Name = "FantasyPointsYahoo", Order = 61)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plate appearances + /// + [Description("Total plate appearances")] + [DataMember(Name = "PlateAppearances", Order = 62)] + public decimal? PlateAppearances { get; set; } + + /// + /// Number of total bases + /// + [Description("Number of total bases")] + [DataMember(Name = "TotalBases", Order = 63)] + public decimal? TotalBases { get; set; } + + /// + /// Total fly outs + /// + [Description("Total fly outs")] + [DataMember(Name = "FlyOuts", Order = 64)] + public decimal? FlyOuts { get; set; } + + /// + /// Total ground outs + /// + [Description("Total ground outs")] + [DataMember(Name = "GroundOuts", Order = 65)] + public decimal? GroundOuts { get; set; } + + /// + /// Total line outs + /// + [Description("Total line outs")] + [DataMember(Name = "LineOuts", Order = 66)] + public decimal? LineOuts { get; set; } + + /// + /// Total pop outs + /// + [Description("Total pop outs")] + [DataMember(Name = "PopOuts", Order = 67)] + public decimal? PopOuts { get; set; } + + /// + /// Total intentional walks + /// + [Description("Total intentional walks")] + [DataMember(Name = "IntentionalWalks", Order = 68)] + public decimal? IntentionalWalks { get; set; } + + /// + /// Total times reached on error + /// + [Description("Total times reached on error")] + [DataMember(Name = "ReachedOnError", Order = 69)] + public decimal? ReachedOnError { get; set; } + + /// + /// Total balls in play + /// + [Description("Total balls in play")] + [DataMember(Name = "BallsInPlay", Order = 70)] + public decimal? BallsInPlay { get; set; } + + /// + /// Total batting average on balls in play (BABIP + /// + [Description("Total batting average on balls in play (BABIP")] + [DataMember(Name = "BattingAverageOnBallsInPlay", Order = 71)] + public decimal? BattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weight on base percentage + /// + [Description("Total weight on base percentage")] + [DataMember(Name = "WeightedOnBasePercentage", Order = 72)] + public decimal? WeightedOnBasePercentage { get; set; } + + /// + /// Total singles allowed while pitching + /// + [Description("Total singles allowed while pitching")] + [DataMember(Name = "PitchingSingles", Order = 73)] + public decimal? PitchingSingles { get; set; } + + /// + /// Total doubles allowed while pitching + /// + [Description("Total doubles allowed while pitching")] + [DataMember(Name = "PitchingDoubles", Order = 74)] + public decimal? PitchingDoubles { get; set; } + + /// + /// Total triples allowed while pitching + /// + [Description("Total triples allowed while pitching")] + [DataMember(Name = "PitchingTriples", Order = 75)] + public decimal? PitchingTriples { get; set; } + + /// + /// Total grand slams allowed while pitching + /// + [Description("Total grand slams allowed while pitching")] + [DataMember(Name = "PitchingGrandSlams", Order = 76)] + public decimal? PitchingGrandSlams { get; set; } + + /// + /// Total batters hit by pitch while pitching + /// + [Description("Total batters hit by pitch while pitching")] + [DataMember(Name = "PitchingHitByPitch", Order = 77)] + public decimal? PitchingHitByPitch { get; set; } + + /// + /// Total sacrifices while pitching + /// + [Description("Total sacrifices while pitching")] + [DataMember(Name = "PitchingSacrifices", Order = 78)] + public decimal? PitchingSacrifices { get; set; } + + /// + /// Total sacrifice flies while pitching + /// + [Description("Total sacrifice flies while pitching")] + [DataMember(Name = "PitchingSacrificeFlies", Order = 79)] + public decimal? PitchingSacrificeFlies { get; set; } + + /// + /// Total grounded into double plays while pitching + /// + [Description("Total grounded into double plays while pitching")] + [DataMember(Name = "PitchingGroundIntoDoublePlay", Order = 80)] + public decimal? PitchingGroundIntoDoublePlay { get; set; } + + /// + /// Total complete games while pitching + /// + [Description("Total complete games while pitching")] + [DataMember(Name = "PitchingCompleteGames", Order = 81)] + public decimal? PitchingCompleteGames { get; set; } + + /// + /// Total shuouts while pitching + /// + [Description("Total shuouts while pitching")] + [DataMember(Name = "PitchingShutOuts", Order = 82)] + public decimal? PitchingShutOuts { get; set; } + + /// + /// Total no hitters while pitching + /// + [Description("Total no hitters while pitching")] + [DataMember(Name = "PitchingNoHitters", Order = 83)] + public decimal? PitchingNoHitters { get; set; } + + /// + /// Total perfect games while pitching + /// + [Description("Total perfect games while pitching")] + [DataMember(Name = "PitchingPerfectGames", Order = 84)] + public decimal? PitchingPerfectGames { get; set; } + + /// + /// Total plate appearances while pitching + /// + [Description("Total plate appearances while pitching")] + [DataMember(Name = "PitchingPlateAppearances", Order = 85)] + public decimal? PitchingPlateAppearances { get; set; } + + /// + /// Total bases while pitching + /// + [Description("Total bases while pitching")] + [DataMember(Name = "PitchingTotalBases", Order = 86)] + public decimal? PitchingTotalBases { get; set; } + + /// + /// Total fly outs while pitching + /// + [Description("Total fly outs while pitching")] + [DataMember(Name = "PitchingFlyOuts", Order = 87)] + public decimal? PitchingFlyOuts { get; set; } + + /// + /// Total ground outs while pitching + /// + [Description("Total ground outs while pitching")] + [DataMember(Name = "PitchingGroundOuts", Order = 88)] + public decimal? PitchingGroundOuts { get; set; } + + /// + /// Total line outs while pitching + /// + [Description("Total line outs while pitching")] + [DataMember(Name = "PitchingLineOuts", Order = 89)] + public decimal? PitchingLineOuts { get; set; } + + /// + /// Total pop outs while pitching + /// + [Description("Total pop outs while pitching")] + [DataMember(Name = "PitchingPopOuts", Order = 90)] + public decimal? PitchingPopOuts { get; set; } + + /// + /// Total intentional walks while pitching + /// + [Description("Total intentional walks while pitching")] + [DataMember(Name = "PitchingIntentionalWalks", Order = 91)] + public decimal? PitchingIntentionalWalks { get; set; } + + /// + /// Total times reached on error while pitching + /// + [Description("Total times reached on error while pitching")] + [DataMember(Name = "PitchingReachedOnError", Order = 92)] + public decimal? PitchingReachedOnError { get; set; } + + /// + /// Total catchers interference while pitching + /// + [Description("Total catchers interference while pitching")] + [DataMember(Name = "PitchingCatchersInterference", Order = 93)] + public decimal? PitchingCatchersInterference { get; set; } + + /// + /// Total balls in play while pitching + /// + [Description("Total balls in play while pitching")] + [DataMember(Name = "PitchingBallsInPlay", Order = 94)] + public decimal? PitchingBallsInPlay { get; set; } + + /// + /// Total on base percentage (OBP) while pitching + /// + [Description("Total on base percentage (OBP) while pitching")] + [DataMember(Name = "PitchingOnBasePercentage", Order = 95)] + public decimal? PitchingOnBasePercentage { get; set; } + + /// + /// Total slugging percentage (SLG) while pitching + /// + [Description("Total slugging percentage (SLG) while pitching")] + [DataMember(Name = "PitchingSluggingPercentage", Order = 96)] + public decimal? PitchingSluggingPercentage { get; set; } + + /// + /// Total on base plus slugging (OPS) while pitching + /// + [Description("Total on base plus slugging (OPS) while pitching")] + [DataMember(Name = "PitchingOnBasePlusSlugging", Order = 97)] + public decimal? PitchingOnBasePlusSlugging { get; set; } + + /// + /// Total strikeouts per nine innings (K/9) while pitching + /// + [Description("Total strikeouts per nine innings (K/9) while pitching")] + [DataMember(Name = "PitchingStrikeoutsPerNineInnings", Order = 98)] + public decimal? PitchingStrikeoutsPerNineInnings { get; set; } + + /// + /// Total walks per nine innings (BB/9) while pitching + /// + [Description("Total walks per nine innings (BB/9) while pitching")] + [DataMember(Name = "PitchingWalksPerNineInnings", Order = 99)] + public decimal? PitchingWalksPerNineInnings { get; set; } + + /// + /// Total batting average on balls in play (BABIP) while pitching + /// + [Description("Total batting average on balls in play (BABIP) while pitching")] + [DataMember(Name = "PitchingBattingAverageOnBallsInPlay", Order = 100)] + public decimal? PitchingBattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weighted on base percentage while pitching  + /// + [Description("Total weighted on base percentage while pitching ")] + [DataMember(Name = "PitchingWeightedOnBasePercentage", Order = 101)] + public decimal? PitchingWeightedOnBasePercentage { get; set; } + + /// + /// Total double plays + /// + [Description("Total double plays")] + [DataMember(Name = "DoublePlays", Order = 102)] + public decimal? DoublePlays { get; set; } + + /// + /// Total double plays while pitching + /// + [Description("Total double plays while pitching")] + [DataMember(Name = "PitchingDoublePlays", Order = 103)] + public decimal? PitchingDoublePlays { get; set; } + + /// + /// Whether the batting order is confirmed (true/false) + /// + [Description("Whether the batting order is confirmed (true/false)")] + [DataMember(Name = "BattingOrderConfirmed", Order = 104)] + public bool? BattingOrderConfirmed { get; set; } + + /// + /// Total isolated power (ISO) + /// + [Description("Total isolated power (ISO)")] + [DataMember(Name = "IsolatedPower", Order = 105)] + public decimal? IsolatedPower { get; set; } + + /// + /// Total fielding independent pitching (FIP) + /// + [Description("Total fielding independent pitching (FIP)")] + [DataMember(Name = "FieldingIndependentPitching", Order = 106)] + public decimal? FieldingIndependentPitching { get; set; } + + /// + /// Total quality starts pitched + /// + [Description("Total quality starts pitched")] + [DataMember(Name = "PitchingQualityStarts", Order = 107)] + public decimal? PitchingQualityStarts { get; set; } + + /// + /// The inning that the pitcher entered the game (if any). + /// + [Description("The inning that the pitcher entered the game (if any).")] + [DataMember(Name = "PitchingInningStarted", Order = 108)] + public int? PitchingInningStarted { get; set; } + + /// + /// Total left on base percentage  + /// + [Description("Total left on base percentage ")] + [DataMember(Name = "LeftOnBase", Order = 109)] + public decimal? LeftOnBase { get; set; } + + /// + /// Total holds pitched + /// + [Description("Total holds pitched")] + [DataMember(Name = "PitchingHolds", Order = 110)] + public decimal? PitchingHolds { get; set; } + + /// + /// Total blown saves pitched + /// + [Description("Total blown saves pitched")] + [DataMember(Name = "PitchingBlownSaves", Order = 111)] + public decimal? PitchingBlownSaves { get; set; } + + /// + /// The position in the batting order where this player was substituted into the game (does not include players in the starting lineup) + /// + [Description("The position in the batting order where this player was substituted into the game (does not include players in the starting lineup)")] + [DataMember(Name = "SubstituteBattingOrder", Order = 112)] + public int? SubstituteBattingOrder { get; set; } + + /// + /// The sequence in which this player was substituted into the game, within the particular batting order + /// + [Description("The sequence in which this player was substituted into the game, within the particular batting order")] + [DataMember(Name = "SubstituteBattingOrderSequence", Order = 113)] + public int? SubstituteBattingOrderSequence { get; set; } + + /// + /// Total FantasyDraft fantasy points + /// + [Description("Total FantasyDraft fantasy points")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 114)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Season.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Season.cs new file mode 100644 index 0000000..6acc3a9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Season.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The MLB regular season for which these totals apply + /// + [Description("The MLB regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 1)] + public int Year { get; set; } + + /// + /// The start date of the regular season + /// + [Description("The start date of the regular season")] + [DataMember(Name = "RegularSeasonStartDate", Order = 2)] + public DateTime? RegularSeasonStartDate { get; set; } + + /// + /// The start date of the postseason + /// + [Description("The start date of the postseason")] + [DataMember(Name = "PostSeasonStartDate", Order = 3)] + public DateTime? PostSeasonStartDate { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public string SeasonType { get; set; } + + /// + /// The current season's value to be used to pass into subsequent API calls (sample values: 2017REG, 2018PRE, 2018REG, 2018POST, etc) + /// + [Description("The current season's value to be used to pass into subsequent API calls (sample values: 2017REG, 2018PRE, 2018REG, 2018POST, etc)")] + [DataMember(Name = "ApiSeason", Order = 5)] + public string ApiSeason { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Stadium.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Stadium.cs new file mode 100644 index 0000000..0c6529b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Stadium.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Stadium")] + [Serializable] + public partial class Stadium + { + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 1)] + public int StadiumID { get; set; } + + /// + /// Whether or not this stadium is the home venue for an active team + /// + [Description("Whether or not this stadium is the home venue for an active team")] + [DataMember(Name = "Active", Order = 2)] + public bool Active { get; set; } + + /// + /// The full name of the stadium + /// + [Description("The full name of the stadium")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The city where the stadium is located + /// + [Description("The city where the stadium is located")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The US state where the stadium is located (if Stadium is outside US, this value is NULL) + /// + [Description("The US state where the stadium is located (if Stadium is outside US, this value is NULL)")] + [DataMember(Name = "State", Order = 5)] + public string State { get; set; } + + /// + /// The 2-digit country code where the stadium is located + /// + [Description("The 2-digit country code where the stadium is located")] + [DataMember(Name = "Country", Order = 6)] + public string Country { get; set; } + + /// + /// The estimated seating capacity of the stadium + /// + [Description("The estimated seating capacity of the stadium")] + [DataMember(Name = "Capacity", Order = 7)] + public int? Capacity { get; set; } + + /// + /// The playing surface of the stadium (Grass, Artificial or Dome) + /// + [Description("The playing surface of the stadium (Grass, Artificial or Dome)")] + [DataMember(Name = "Surface", Order = 8)] + public string Surface { get; set; } + + /// + /// The estimated distance between home plate and the left field wall. + /// + [Description("The estimated distance between home plate and the left field wall.")] + [DataMember(Name = "LeftField", Order = 9)] + public int? LeftField { get; set; } + + /// + /// The estimated distance between home plate and the mid left field wall. + /// + [Description("The estimated distance between home plate and the mid left field wall.")] + [DataMember(Name = "MidLeftField", Order = 10)] + public int? MidLeftField { get; set; } + + /// + /// The estimated distance between home plate and the left center field wall. + /// + [Description("The estimated distance between home plate and the left center field wall.")] + [DataMember(Name = "LeftCenterField", Order = 11)] + public int? LeftCenterField { get; set; } + + /// + /// The estimated distance between home plate and the mid left center field wall. + /// + [Description("The estimated distance between home plate and the mid left center field wall.")] + [DataMember(Name = "MidLeftCenterField", Order = 12)] + public int? MidLeftCenterField { get; set; } + + /// + /// The estimated distance between home plate and the center field wall. + /// + [Description("The estimated distance between home plate and the center field wall.")] + [DataMember(Name = "CenterField", Order = 13)] + public int? CenterField { get; set; } + + /// + /// The estimated distance between home plate and the mid right center field wall. + /// + [Description("The estimated distance between home plate and the mid right center field wall.")] + [DataMember(Name = "MidRightCenterField", Order = 14)] + public int? MidRightCenterField { get; set; } + + /// + /// The estimated distance between home plate and the right center field wall. + /// + [Description("The estimated distance between home plate and the right center field wall.")] + [DataMember(Name = "RightCenterField", Order = 15)] + public int? RightCenterField { get; set; } + + /// + /// The estimated distance between home plate and the mid right field wall. + /// + [Description("The estimated distance between home plate and the mid right field wall.")] + [DataMember(Name = "MidRightField", Order = 16)] + public int? MidRightField { get; set; } + + /// + /// The estimated distance between home plate and the right field wall. + /// + [Description("The estimated distance between home plate and the right field wall.")] + [DataMember(Name = "RightField", Order = 17)] + public int? RightField { get; set; } + + /// + /// The geographic latitude coordinate of this venue. + /// + [Description("The geographic latitude coordinate of this venue.")] + [DataMember(Name = "GeoLat", Order = 18)] + public decimal? GeoLat { get; set; } + + /// + /// The geographic longitude coordinate of this venue. + /// + [Description("The geographic longitude coordinate of this venue.")] + [DataMember(Name = "GeoLong", Order = 19)] + public decimal? GeoLong { get; set; } + + /// + /// The altitude of the stadium in feet. + /// + [Description("The altitude of the stadium in feet.")] + [DataMember(Name = "Altitude", Order = 20)] + public int? Altitude { get; set; } + + /// + /// The direction that the batter is facing while looking at the pitcher's mound. For instance, 90 means that the line from home plate through 2nd base is pointing east. 180 means that the line is pointing north … and so on. + /// + [Description("The direction that the batter is facing while looking at the pitcher's mound. For instance, 90 means that the line from home plate through 2nd base is pointing east. 180 means that the line is pointing north … and so on.")] + [DataMember(Name = "HomePlateDirection", Order = 21)] + public int? HomePlateDirection { get; set; } + + /// + /// The type of the stadium (possible values: Outdoor, Dome, RetractableDome) + /// + [Description("The type of the stadium (possible values: Outdoor, Dome, RetractableDome)")] + [DataMember(Name = "Type", Order = 22)] + public string Type { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Standing.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Standing.cs new file mode 100644 index 0000000..72507e1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Standing.cs @@ -0,0 +1,223 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + /// + /// The MLB regular season for which these totals apply + /// + [Description("The MLB regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 1)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The unique ID for the team + /// + [Description("The unique ID for the team")] + [DataMember(Name = "TeamID", Order = 3)] + public int TeamID { get; set; } + + /// + /// Whether or not the team is active + /// + [Description("Whether or not the team is active")] + [DataMember(Name = "Key", Order = 4)] + public string Key { get; set; } + + /// + /// The name of the city + /// + [Description("The name of the city")] + [DataMember(Name = "City", Order = 5)] + public string City { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The league of the team (e.g. American or National) + /// + [Description("The league of the team (e.g. American or National)")] + [DataMember(Name = "League", Order = 7)] + public string League { get; set; } + + /// + /// The division of the team (e.g. East, Central, West) + /// + [Description("The division of the team (e.g. East, Central, West)")] + [DataMember(Name = "Division", Order = 8)] + public string Division { get; set; } + + /// + /// Regular season wins + /// + [Description("Regular season wins")] + [DataMember(Name = "Wins", Order = 9)] + public int? Wins { get; set; } + + /// + /// Regular season losses + /// + [Description("Regular season losses")] + [DataMember(Name = "Losses", Order = 10)] + public int? Losses { get; set; } + + /// + /// Winning percentage + /// + [Description("Winning percentage")] + [DataMember(Name = "Percentage", Order = 11)] + public decimal? Percentage { get; set; } + + /// + /// Regular season wins within the division + /// + [Description("Regular season wins within the division")] + [DataMember(Name = "DivisionWins", Order = 12)] + public int? DivisionWins { get; set; } + + /// + /// Regular season losses within the division + /// + [Description("Regular season losses within the division")] + [DataMember(Name = "DivisionLosses", Order = 13)] + public int? DivisionLosses { get; set; } + + /// + /// Number of games behind the first place team + /// + [Description("Number of games behind the first place team")] + [DataMember(Name = "GamesBehind", Order = 14)] + public decimal? GamesBehind { get; set; } + + /// + /// Number of wins in the last ten games + /// + [Description("Number of wins in the last ten games")] + [DataMember(Name = "LastTenGamesWins", Order = 15)] + public int? LastTenGamesWins { get; set; } + + /// + /// Number of losses in the last ten games + /// + [Description("Number of losses in the last ten games")] + [DataMember(Name = "LastTenGamesLosses", Order = 16)] + public int? LastTenGamesLosses { get; set; } + + /// + /// Current streak the team is on (e.g. Win 3, Lost 3) + /// + [Description("Current streak the team is on (e.g. Win 3, Lost 3)")] + [DataMember(Name = "Streak", Order = 17)] + public string Streak { get; set; } + + /// + /// The ranking in the wild card + /// + [Description("The ranking in the wild card")] + [DataMember(Name = "WildCardRank", Order = 18)] + public int? WildCardRank { get; set; } + + /// + /// Number of games behind the team leading the wild card + /// + [Description("Number of games behind the team leading the wild card")] + [DataMember(Name = "WildCardGamesBehind", Order = 19)] + public decimal? WildCardGamesBehind { get; set; } + + /// + /// Number of home wins + /// + [Description("Number of home wins")] + [DataMember(Name = "HomeWins", Order = 20)] + public int? HomeWins { get; set; } + + /// + /// Number of home losses + /// + [Description("Number of home losses")] + [DataMember(Name = "HomeLosses", Order = 21)] + public int? HomeLosses { get; set; } + + /// + /// Number of away wins + /// + [Description("Number of away wins")] + [DataMember(Name = "AwayWins", Order = 22)] + public int? AwayWins { get; set; } + + /// + /// Number of away losses + /// + [Description("Number of away losses")] + [DataMember(Name = "AwayLosses", Order = 23)] + public int? AwayLosses { get; set; } + + /// + /// Number of wins during the day + /// + [Description("Number of wins during the day")] + [DataMember(Name = "DayWins", Order = 24)] + public int? DayWins { get; set; } + + /// + /// Number of losses during the day + /// + [Description("Number of losses during the day")] + [DataMember(Name = "DayLosses", Order = 25)] + public int? DayLosses { get; set; } + + /// + /// Number of wins at night + /// + [Description("Number of wins at night")] + [DataMember(Name = "NightWins", Order = 26)] + public int? NightWins { get; set; } + + /// + /// Number of losses at night + /// + [Description("Number of losses at night")] + [DataMember(Name = "NightLosses", Order = 27)] + public int? NightLosses { get; set; } + + /// + /// Number of runs scored + /// + [Description("Number of runs scored")] + [DataMember(Name = "RunsScored", Order = 28)] + public int? RunsScored { get; set; } + + /// + /// Number of runs scored by opponents + /// + [Description("Number of runs scored by opponents")] + [DataMember(Name = "RunsAgainst", Order = 29)] + public int? RunsAgainst { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 30)] + public int? GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Stat.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Stat.cs new file mode 100644 index 0000000..2f75bf9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Stat.cs @@ -0,0 +1,720 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Stat")] + [Serializable] + public partial class Stat + { + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 1)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 2)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 3)] + public decimal? FantasyPoints { get; set; } + + /// + /// At bats while hitting + /// + [Description("At bats while hitting")] + [DataMember(Name = "AtBats", Order = 4)] + public decimal? AtBats { get; set; } + + /// + /// Total runs scored. + /// + [Description("Total runs scored.")] + [DataMember(Name = "Runs", Order = 5)] + public decimal? Runs { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 6)] + public decimal? Hits { get; set; } + + /// + /// Total singles + /// + [Description("Total singles")] + [DataMember(Name = "Singles", Order = 7)] + public decimal? Singles { get; set; } + + /// + /// Total doubles + /// + [Description("Total doubles")] + [DataMember(Name = "Doubles", Order = 8)] + public decimal? Doubles { get; set; } + + /// + /// Total triples + /// + [Description("Total triples")] + [DataMember(Name = "Triples", Order = 9)] + public decimal? Triples { get; set; } + + /// + /// Total home runs + /// + [Description("Total home runs")] + [DataMember(Name = "HomeRuns", Order = 10)] + public decimal? HomeRuns { get; set; } + + /// + /// Total runs batted in + /// + [Description("Total runs batted in")] + [DataMember(Name = "RunsBattedIn", Order = 11)] + public decimal? RunsBattedIn { get; set; } + + /// + /// Total batting average + /// + [Description("Total batting average")] + [DataMember(Name = "BattingAverage", Order = 12)] + public decimal? BattingAverage { get; set; } + + /// + /// Total outs + /// + [Description("Total outs")] + [DataMember(Name = "Outs", Order = 13)] + public decimal? Outs { get; set; } + + /// + /// Total strikeouts + /// + [Description("Total strikeouts")] + [DataMember(Name = "Strikeouts", Order = 14)] + public decimal? Strikeouts { get; set; } + + /// + /// Total walks + /// + [Description("Total walks")] + [DataMember(Name = "Walks", Order = 15)] + public decimal? Walks { get; set; } + + /// + /// Total times hit by pitch + /// + [Description("Total times hit by pitch")] + [DataMember(Name = "HitByPitch", Order = 16)] + public decimal? HitByPitch { get; set; } + + /// + /// Total sacrifices + /// + [Description("Total sacrifices")] + [DataMember(Name = "Sacrifices", Order = 17)] + public decimal? Sacrifices { get; set; } + + /// + /// Total sacrifice flies + /// + [Description("Total sacrifice flies")] + [DataMember(Name = "SacrificeFlies", Order = 18)] + public decimal? SacrificeFlies { get; set; } + + /// + /// Total times grounded into double play + /// + [Description("Total times grounded into double play")] + [DataMember(Name = "GroundIntoDoublePlay", Order = 19)] + public decimal? GroundIntoDoublePlay { get; set; } + + /// + /// Total stolen bases + /// + [Description("Total stolen bases")] + [DataMember(Name = "StolenBases", Order = 20)] + public decimal? StolenBases { get; set; } + + /// + /// Total caught stealing + /// + [Description("Total caught stealing")] + [DataMember(Name = "CaughtStealing", Order = 21)] + public decimal? CaughtStealing { get; set; } + + /// + /// Total pitches seen + /// + [Description("Total pitches seen")] + [DataMember(Name = "PitchesSeen", Order = 22)] + public decimal? PitchesSeen { get; set; } + + /// + /// Total on base percentage + /// + [Description("Total on base percentage")] + [DataMember(Name = "OnBasePercentage", Order = 23)] + public decimal? OnBasePercentage { get; set; } + + /// + /// Total slugging percentage + /// + [Description("Total slugging percentage")] + [DataMember(Name = "SluggingPercentage", Order = 24)] + public decimal? SluggingPercentage { get; set; } + + /// + /// Total on base plus percentage  + /// + [Description("Total on base plus percentage ")] + [DataMember(Name = "OnBasePlusSlugging", Order = 25)] + public decimal? OnBasePlusSlugging { get; set; } + + /// + /// Total errors + /// + [Description("Total errors")] + [DataMember(Name = "Errors", Order = 26)] + public decimal? Errors { get; set; } + + /// + /// Total wins by the team/player + /// + [Description("Total wins by the team/player")] + [DataMember(Name = "Wins", Order = 27)] + public decimal? Wins { get; set; } + + /// + /// Total losses by the team/player + /// + [Description("Total losses by the team/player")] + [DataMember(Name = "Losses", Order = 28)] + public decimal? Losses { get; set; } + + /// + /// Total saves by team/player + /// + [Description("Total saves by team/player")] + [DataMember(Name = "Saves", Order = 29)] + public decimal? Saves { get; set; } + + /// + /// Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc) + /// + [Description("Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)")] + [DataMember(Name = "InningsPitchedDecimal", Order = 30)] + public decimal? InningsPitchedDecimal { get; set; } + + /// + /// Total outs pitched by team/player + /// + [Description("Total outs pitched by team/player")] + [DataMember(Name = "TotalOutsPitched", Order = 31)] + public decimal? TotalOutsPitched { get; set; } + + /// + /// Total full innings pitched (e.g. 6, 71, 89, etc) + /// + [Description("Total full innings pitched (e.g. 6, 71, 89, etc)")] + [DataMember(Name = "InningsPitchedFull", Order = 32)] + public decimal? InningsPitchedFull { get; set; } + + /// + /// Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2) + /// + [Description("Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)")] + [DataMember(Name = "InningsPitchedOuts", Order = 33)] + public decimal? InningsPitchedOuts { get; set; } + + /// + /// Total earned run average by team/player + /// + [Description("Total earned run average by team/player")] + [DataMember(Name = "EarnedRunAverage", Order = 34)] + public decimal? EarnedRunAverage { get; set; } + + /// + /// Hits allowed while pitching + /// + [Description("Hits allowed while pitching")] + [DataMember(Name = "PitchingHits", Order = 35)] + public decimal? PitchingHits { get; set; } + + /// + /// Runs allowed while pitching + /// + [Description("Runs allowed while pitching")] + [DataMember(Name = "PitchingRuns", Order = 36)] + public decimal? PitchingRuns { get; set; } + + /// + /// Earned runs allowed while pitching + /// + [Description("Earned runs allowed while pitching")] + [DataMember(Name = "PitchingEarnedRuns", Order = 37)] + public decimal? PitchingEarnedRuns { get; set; } + + /// + /// Walks allowed while pitching + /// + [Description("Walks allowed while pitching")] + [DataMember(Name = "PitchingWalks", Order = 38)] + public decimal? PitchingWalks { get; set; } + + /// + /// Strikeouts allowed while pitching + /// + [Description("Strikeouts allowed while pitching")] + [DataMember(Name = "PitchingStrikeouts", Order = 39)] + public decimal? PitchingStrikeouts { get; set; } + + /// + /// Home runs allowed while pitching + /// + [Description("Home runs allowed while pitching")] + [DataMember(Name = "PitchingHomeRuns", Order = 40)] + public decimal? PitchingHomeRuns { get; set; } + + /// + /// Total pitches thrown while pitching + /// + [Description("Total pitches thrown while pitching")] + [DataMember(Name = "PitchesThrown", Order = 41)] + public decimal? PitchesThrown { get; set; } + + /// + /// Total pitches thrown for strikes while pitching + /// + [Description("Total pitches thrown for strikes while pitching")] + [DataMember(Name = "PitchesThrownStrikes", Order = 42)] + public decimal? PitchesThrownStrikes { get; set; } + + /// + /// Walks plus hits per innings pitched (WHIP) while pitching + /// + [Description("Walks plus hits per innings pitched (WHIP) while pitching")] + [DataMember(Name = "WalksHitsPerInningsPitched", Order = 43)] + public decimal? WalksHitsPerInningsPitched { get; set; } + + /// + /// Total batting average against (BAA) while pitching + /// + [Description("Total batting average against (BAA) while pitching")] + [DataMember(Name = "PitchingBattingAverageAgainst", Order = 44)] + public decimal? PitchingBattingAverageAgainst { get; set; } + + /// + /// Total grand slams + /// + [Description("Total grand slams")] + [DataMember(Name = "GrandSlams", Order = 45)] + public decimal? GrandSlams { get; set; } + + /// + /// Total FanDuel fantasy points + /// + [Description("Total FanDuel fantasy points")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 46)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings fantasy points + /// + [Description("Total DraftKings fantasy points")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 47)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo fantasy points + /// + [Description("Total Yahoo fantasy points")] + [DataMember(Name = "FantasyPointsYahoo", Order = 48)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plate appearances + /// + [Description("Total plate appearances")] + [DataMember(Name = "PlateAppearances", Order = 49)] + public decimal? PlateAppearances { get; set; } + + /// + /// Number of total bases + /// + [Description("Number of total bases")] + [DataMember(Name = "TotalBases", Order = 50)] + public decimal? TotalBases { get; set; } + + /// + /// Total fly outs + /// + [Description("Total fly outs")] + [DataMember(Name = "FlyOuts", Order = 51)] + public decimal? FlyOuts { get; set; } + + /// + /// Total ground outs + /// + [Description("Total ground outs")] + [DataMember(Name = "GroundOuts", Order = 52)] + public decimal? GroundOuts { get; set; } + + /// + /// Total line outs + /// + [Description("Total line outs")] + [DataMember(Name = "LineOuts", Order = 53)] + public decimal? LineOuts { get; set; } + + /// + /// Total pop outs + /// + [Description("Total pop outs")] + [DataMember(Name = "PopOuts", Order = 54)] + public decimal? PopOuts { get; set; } + + /// + /// Total intentional walks + /// + [Description("Total intentional walks")] + [DataMember(Name = "IntentionalWalks", Order = 55)] + public decimal? IntentionalWalks { get; set; } + + /// + /// Total times reached on error + /// + [Description("Total times reached on error")] + [DataMember(Name = "ReachedOnError", Order = 56)] + public decimal? ReachedOnError { get; set; } + + /// + /// Total balls in play + /// + [Description("Total balls in play")] + [DataMember(Name = "BallsInPlay", Order = 57)] + public decimal? BallsInPlay { get; set; } + + /// + /// Total batting average on balls in play (BABIP + /// + [Description("Total batting average on balls in play (BABIP")] + [DataMember(Name = "BattingAverageOnBallsInPlay", Order = 58)] + public decimal? BattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weight on base percentage + /// + [Description("Total weight on base percentage")] + [DataMember(Name = "WeightedOnBasePercentage", Order = 59)] + public decimal? WeightedOnBasePercentage { get; set; } + + /// + /// Total singles allowed while pitching + /// + [Description("Total singles allowed while pitching")] + [DataMember(Name = "PitchingSingles", Order = 60)] + public decimal? PitchingSingles { get; set; } + + /// + /// Total doubles allowed while pitching + /// + [Description("Total doubles allowed while pitching")] + [DataMember(Name = "PitchingDoubles", Order = 61)] + public decimal? PitchingDoubles { get; set; } + + /// + /// Total triples allowed while pitching + /// + [Description("Total triples allowed while pitching")] + [DataMember(Name = "PitchingTriples", Order = 62)] + public decimal? PitchingTriples { get; set; } + + /// + /// Total grand slams allowed while pitching + /// + [Description("Total grand slams allowed while pitching")] + [DataMember(Name = "PitchingGrandSlams", Order = 63)] + public decimal? PitchingGrandSlams { get; set; } + + /// + /// Total batters hit by pitch while pitching + /// + [Description("Total batters hit by pitch while pitching")] + [DataMember(Name = "PitchingHitByPitch", Order = 64)] + public decimal? PitchingHitByPitch { get; set; } + + /// + /// Total sacrifices while pitching + /// + [Description("Total sacrifices while pitching")] + [DataMember(Name = "PitchingSacrifices", Order = 65)] + public decimal? PitchingSacrifices { get; set; } + + /// + /// Total sacrifice flies while pitching + /// + [Description("Total sacrifice flies while pitching")] + [DataMember(Name = "PitchingSacrificeFlies", Order = 66)] + public decimal? PitchingSacrificeFlies { get; set; } + + /// + /// Total grounded into double plays while pitching + /// + [Description("Total grounded into double plays while pitching")] + [DataMember(Name = "PitchingGroundIntoDoublePlay", Order = 67)] + public decimal? PitchingGroundIntoDoublePlay { get; set; } + + /// + /// Total complete games while pitching + /// + [Description("Total complete games while pitching")] + [DataMember(Name = "PitchingCompleteGames", Order = 68)] + public decimal? PitchingCompleteGames { get; set; } + + /// + /// Total shuouts while pitching + /// + [Description("Total shuouts while pitching")] + [DataMember(Name = "PitchingShutOuts", Order = 69)] + public decimal? PitchingShutOuts { get; set; } + + /// + /// Total no hitters while pitching + /// + [Description("Total no hitters while pitching")] + [DataMember(Name = "PitchingNoHitters", Order = 70)] + public decimal? PitchingNoHitters { get; set; } + + /// + /// Total perfect games while pitching + /// + [Description("Total perfect games while pitching")] + [DataMember(Name = "PitchingPerfectGames", Order = 71)] + public decimal? PitchingPerfectGames { get; set; } + + /// + /// Total plate appearances while pitching + /// + [Description("Total plate appearances while pitching")] + [DataMember(Name = "PitchingPlateAppearances", Order = 72)] + public decimal? PitchingPlateAppearances { get; set; } + + /// + /// Total bases while pitching + /// + [Description("Total bases while pitching")] + [DataMember(Name = "PitchingTotalBases", Order = 73)] + public decimal? PitchingTotalBases { get; set; } + + /// + /// Total fly outs while pitching + /// + [Description("Total fly outs while pitching")] + [DataMember(Name = "PitchingFlyOuts", Order = 74)] + public decimal? PitchingFlyOuts { get; set; } + + /// + /// Total ground outs while pitching + /// + [Description("Total ground outs while pitching")] + [DataMember(Name = "PitchingGroundOuts", Order = 75)] + public decimal? PitchingGroundOuts { get; set; } + + /// + /// Total line outs while pitching + /// + [Description("Total line outs while pitching")] + [DataMember(Name = "PitchingLineOuts", Order = 76)] + public decimal? PitchingLineOuts { get; set; } + + /// + /// Total pop outs while pitching + /// + [Description("Total pop outs while pitching")] + [DataMember(Name = "PitchingPopOuts", Order = 77)] + public decimal? PitchingPopOuts { get; set; } + + /// + /// Total intentional walks while pitching + /// + [Description("Total intentional walks while pitching")] + [DataMember(Name = "PitchingIntentionalWalks", Order = 78)] + public decimal? PitchingIntentionalWalks { get; set; } + + /// + /// Total times reached on error while pitching + /// + [Description("Total times reached on error while pitching")] + [DataMember(Name = "PitchingReachedOnError", Order = 79)] + public decimal? PitchingReachedOnError { get; set; } + + /// + /// Total catchers interference while pitching + /// + [Description("Total catchers interference while pitching")] + [DataMember(Name = "PitchingCatchersInterference", Order = 80)] + public decimal? PitchingCatchersInterference { get; set; } + + /// + /// Total balls in play while pitching + /// + [Description("Total balls in play while pitching")] + [DataMember(Name = "PitchingBallsInPlay", Order = 81)] + public decimal? PitchingBallsInPlay { get; set; } + + /// + /// Total on base percentage (OBP) while pitching + /// + [Description("Total on base percentage (OBP) while pitching")] + [DataMember(Name = "PitchingOnBasePercentage", Order = 82)] + public decimal? PitchingOnBasePercentage { get; set; } + + /// + /// Total slugging percentage (SLG) while pitching + /// + [Description("Total slugging percentage (SLG) while pitching")] + [DataMember(Name = "PitchingSluggingPercentage", Order = 83)] + public decimal? PitchingSluggingPercentage { get; set; } + + /// + /// Total on base plus slugging (OPS) while pitching + /// + [Description("Total on base plus slugging (OPS) while pitching")] + [DataMember(Name = "PitchingOnBasePlusSlugging", Order = 84)] + public decimal? PitchingOnBasePlusSlugging { get; set; } + + /// + /// Total strikeouts per nine innings (K/9) while pitching + /// + [Description("Total strikeouts per nine innings (K/9) while pitching")] + [DataMember(Name = "PitchingStrikeoutsPerNineInnings", Order = 85)] + public decimal? PitchingStrikeoutsPerNineInnings { get; set; } + + /// + /// Total walks per nine innings (BB/9) while pitching + /// + [Description("Total walks per nine innings (BB/9) while pitching")] + [DataMember(Name = "PitchingWalksPerNineInnings", Order = 86)] + public decimal? PitchingWalksPerNineInnings { get; set; } + + /// + /// Total batting average on balls in play (BABIP) while pitching + /// + [Description("Total batting average on balls in play (BABIP) while pitching")] + [DataMember(Name = "PitchingBattingAverageOnBallsInPlay", Order = 87)] + public decimal? PitchingBattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weighted on base percentage while pitching  + /// + [Description("Total weighted on base percentage while pitching ")] + [DataMember(Name = "PitchingWeightedOnBasePercentage", Order = 88)] + public decimal? PitchingWeightedOnBasePercentage { get; set; } + + /// + /// Total double plays + /// + [Description("Total double plays")] + [DataMember(Name = "DoublePlays", Order = 89)] + public decimal? DoublePlays { get; set; } + + /// + /// Total double plays while pitching + /// + [Description("Total double plays while pitching")] + [DataMember(Name = "PitchingDoublePlays", Order = 90)] + public decimal? PitchingDoublePlays { get; set; } + + /// + /// Whether the batting order is confirmed (true/false) + /// + [Description("Whether the batting order is confirmed (true/false)")] + [DataMember(Name = "BattingOrderConfirmed", Order = 91)] + public bool? BattingOrderConfirmed { get; set; } + + /// + /// Total isolated power (ISO) + /// + [Description("Total isolated power (ISO)")] + [DataMember(Name = "IsolatedPower", Order = 92)] + public decimal? IsolatedPower { get; set; } + + /// + /// Total fielding independent pitching (FIP) + /// + [Description("Total fielding independent pitching (FIP)")] + [DataMember(Name = "FieldingIndependentPitching", Order = 93)] + public decimal? FieldingIndependentPitching { get; set; } + + /// + /// Total quality starts pitched + /// + [Description("Total quality starts pitched")] + [DataMember(Name = "PitchingQualityStarts", Order = 94)] + public decimal? PitchingQualityStarts { get; set; } + + /// + /// The inning that the pitcher entered the game (if any). + /// + [Description("The inning that the pitcher entered the game (if any).")] + [DataMember(Name = "PitchingInningStarted", Order = 95)] + public int? PitchingInningStarted { get; set; } + + /// + /// Total left on base percentage  + /// + [Description("Total left on base percentage ")] + [DataMember(Name = "LeftOnBase", Order = 96)] + public decimal? LeftOnBase { get; set; } + + /// + /// Total holds pitched + /// + [Description("Total holds pitched")] + [DataMember(Name = "PitchingHolds", Order = 97)] + public decimal? PitchingHolds { get; set; } + + /// + /// Total blown saves pitched + /// + [Description("Total blown saves pitched")] + [DataMember(Name = "PitchingBlownSaves", Order = 98)] + public decimal? PitchingBlownSaves { get; set; } + + /// + /// The position in the batting order where this player was substituted into the game (does not include players in the starting lineup) + /// + [Description("The position in the batting order where this player was substituted into the game (does not include players in the starting lineup)")] + [DataMember(Name = "SubstituteBattingOrder", Order = 99)] + public int? SubstituteBattingOrder { get; set; } + + /// + /// The sequence in which this player was substituted into the game, within the particular batting order + /// + [Description("The sequence in which this player was substituted into the game, within the particular batting order")] + [DataMember(Name = "SubstituteBattingOrderSequence", Order = 100)] + public int? SubstituteBattingOrderSequence { get; set; } + + /// + /// Total FantasyDraft fantasy points + /// + [Description("Total FantasyDraft fantasy points")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 101)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/Team.cs b/FantasyData.Api.Client.NetCore/Model/MLB/Team.cs new file mode 100644 index 0000000..55d8c3f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/Team.cs @@ -0,0 +1,118 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamID", Order = 1)] + public int TeamID { get; set; } + + /// + /// Abbreviation of the team (e.g. LAD, PHI, BOS, CHC, etc.) + /// + [Description("Abbreviation of the team (e.g. LAD, PHI, BOS, CHC, etc.)")] + [DataMember(Name = "Key", Order = 2)] + public string Key { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 3)] + public bool Active { get; set; } + + /// + /// The city/location of the team (e.g. Los Angeles, Philadelphia, Boston, Chicago, etc.) + /// + [Description("The city/location of the team (e.g. Los Angeles, Philadelphia, Boston, Chicago, etc.)")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The mascot of the team (e.g. Dodgers, Phillies, Red Sox, Cubs, etc.) + /// + [Description("The mascot of the team (e.g. Dodgers, Phillies, Red Sox, Cubs, etc.)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The unique ID of the team's current home stadium + /// + [Description("The unique ID of the team's current home stadium")] + [DataMember(Name = "StadiumID", Order = 6)] + public int? StadiumID { get; set; } + + /// + /// The league of the team (possible values: AL, NL) + /// + [Description("The league of the team (possible values: AL, NL)")] + [DataMember(Name = "League", Order = 7)] + public string League { get; set; } + + /// + /// The division of the team (possible values East, Central, or West) + /// + [Description("The division of the team (possible values East, Central, or West)")] + [DataMember(Name = "Division", Order = 8)] + public string Division { get; set; } + + /// + /// The team's primary color. (This is not licensed for public or commercial use) + /// + [Description("The team's primary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "PrimaryColor", Order = 9)] + public string PrimaryColor { get; set; } + + /// + /// The team's secondary color. (This is not licensed for public or commercial use) + /// + [Description("The team's secondary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "SecondaryColor", Order = 10)] + public string SecondaryColor { get; set; } + + /// + /// The team's tertiary color. (This is not licensed for public or commercial use) + /// + [Description("The team's tertiary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "TertiaryColor", Order = 11)] + public string TertiaryColor { get; set; } + + /// + /// The team's quaternary color. (This is not licensed for public or commercial use) + /// + [Description("The team's quaternary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "QuaternaryColor", Order = 12)] + public string QuaternaryColor { get; set; } + + /// + /// The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaLogoUrl", Order = 13)] + public string WikipediaLogoUrl { get; set; } + + /// + /// The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaWordMarkUrl", Order = 14)] + public string WikipediaWordMarkUrl { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 15)] + public int GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/TeamGame.cs b/FantasyData.Api.Client.NetCore/Model/MLB/TeamGame.cs new file mode 100644 index 0000000..a157ba2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/TeamGame.cs @@ -0,0 +1,832 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="TeamGame")] + [Serializable] + public partial class TeamGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The MLB season of the game + /// + [Description("The MLB season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team's name + /// + [Description("Team's name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 7)] + public int? GlobalTeamID { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 8)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 9)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 10)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 11)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 12)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 13)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 14)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 15)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 16)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 17)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 18)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 19)] + public decimal? FantasyPoints { get; set; } + + /// + /// At bats while hitting + /// + [Description("At bats while hitting")] + [DataMember(Name = "AtBats", Order = 20)] + public decimal? AtBats { get; set; } + + /// + /// Total runs scored. + /// + [Description("Total runs scored.")] + [DataMember(Name = "Runs", Order = 21)] + public decimal? Runs { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 22)] + public decimal? Hits { get; set; } + + /// + /// Total singles + /// + [Description("Total singles")] + [DataMember(Name = "Singles", Order = 23)] + public decimal? Singles { get; set; } + + /// + /// Total doubles + /// + [Description("Total doubles")] + [DataMember(Name = "Doubles", Order = 24)] + public decimal? Doubles { get; set; } + + /// + /// Total triples + /// + [Description("Total triples")] + [DataMember(Name = "Triples", Order = 25)] + public decimal? Triples { get; set; } + + /// + /// Total home runs + /// + [Description("Total home runs")] + [DataMember(Name = "HomeRuns", Order = 26)] + public decimal? HomeRuns { get; set; } + + /// + /// Total runs batted in + /// + [Description("Total runs batted in")] + [DataMember(Name = "RunsBattedIn", Order = 27)] + public decimal? RunsBattedIn { get; set; } + + /// + /// Total batting average + /// + [Description("Total batting average")] + [DataMember(Name = "BattingAverage", Order = 28)] + public decimal? BattingAverage { get; set; } + + /// + /// Total outs + /// + [Description("Total outs")] + [DataMember(Name = "Outs", Order = 29)] + public decimal? Outs { get; set; } + + /// + /// Total strikeouts + /// + [Description("Total strikeouts")] + [DataMember(Name = "Strikeouts", Order = 30)] + public decimal? Strikeouts { get; set; } + + /// + /// Total walks + /// + [Description("Total walks")] + [DataMember(Name = "Walks", Order = 31)] + public decimal? Walks { get; set; } + + /// + /// Total times hit by pitch + /// + [Description("Total times hit by pitch")] + [DataMember(Name = "HitByPitch", Order = 32)] + public decimal? HitByPitch { get; set; } + + /// + /// Total sacrifices + /// + [Description("Total sacrifices")] + [DataMember(Name = "Sacrifices", Order = 33)] + public decimal? Sacrifices { get; set; } + + /// + /// Total sacrifice flies + /// + [Description("Total sacrifice flies")] + [DataMember(Name = "SacrificeFlies", Order = 34)] + public decimal? SacrificeFlies { get; set; } + + /// + /// Total times grounded into double play + /// + [Description("Total times grounded into double play")] + [DataMember(Name = "GroundIntoDoublePlay", Order = 35)] + public decimal? GroundIntoDoublePlay { get; set; } + + /// + /// Total stolen bases + /// + [Description("Total stolen bases")] + [DataMember(Name = "StolenBases", Order = 36)] + public decimal? StolenBases { get; set; } + + /// + /// Total caught stealing + /// + [Description("Total caught stealing")] + [DataMember(Name = "CaughtStealing", Order = 37)] + public decimal? CaughtStealing { get; set; } + + /// + /// Total pitches seen + /// + [Description("Total pitches seen")] + [DataMember(Name = "PitchesSeen", Order = 38)] + public decimal? PitchesSeen { get; set; } + + /// + /// Total on base percentage + /// + [Description("Total on base percentage")] + [DataMember(Name = "OnBasePercentage", Order = 39)] + public decimal? OnBasePercentage { get; set; } + + /// + /// Total slugging percentage + /// + [Description("Total slugging percentage")] + [DataMember(Name = "SluggingPercentage", Order = 40)] + public decimal? SluggingPercentage { get; set; } + + /// + /// Total on base plus percentage  + /// + [Description("Total on base plus percentage ")] + [DataMember(Name = "OnBasePlusSlugging", Order = 41)] + public decimal? OnBasePlusSlugging { get; set; } + + /// + /// Total errors + /// + [Description("Total errors")] + [DataMember(Name = "Errors", Order = 42)] + public decimal? Errors { get; set; } + + /// + /// Total wins by the team/player + /// + [Description("Total wins by the team/player")] + [DataMember(Name = "Wins", Order = 43)] + public decimal? Wins { get; set; } + + /// + /// Total losses by the team/player + /// + [Description("Total losses by the team/player")] + [DataMember(Name = "Losses", Order = 44)] + public decimal? Losses { get; set; } + + /// + /// Total saves by team/player + /// + [Description("Total saves by team/player")] + [DataMember(Name = "Saves", Order = 45)] + public decimal? Saves { get; set; } + + /// + /// Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc) + /// + [Description("Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)")] + [DataMember(Name = "InningsPitchedDecimal", Order = 46)] + public decimal? InningsPitchedDecimal { get; set; } + + /// + /// Total outs pitched by team/player + /// + [Description("Total outs pitched by team/player")] + [DataMember(Name = "TotalOutsPitched", Order = 47)] + public decimal? TotalOutsPitched { get; set; } + + /// + /// Total full innings pitched (e.g. 6, 71, 89, etc) + /// + [Description("Total full innings pitched (e.g. 6, 71, 89, etc)")] + [DataMember(Name = "InningsPitchedFull", Order = 48)] + public decimal? InningsPitchedFull { get; set; } + + /// + /// Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2) + /// + [Description("Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)")] + [DataMember(Name = "InningsPitchedOuts", Order = 49)] + public decimal? InningsPitchedOuts { get; set; } + + /// + /// Total earned run average by team/player + /// + [Description("Total earned run average by team/player")] + [DataMember(Name = "EarnedRunAverage", Order = 50)] + public decimal? EarnedRunAverage { get; set; } + + /// + /// Hits allowed while pitching + /// + [Description("Hits allowed while pitching")] + [DataMember(Name = "PitchingHits", Order = 51)] + public decimal? PitchingHits { get; set; } + + /// + /// Runs allowed while pitching + /// + [Description("Runs allowed while pitching")] + [DataMember(Name = "PitchingRuns", Order = 52)] + public decimal? PitchingRuns { get; set; } + + /// + /// Earned runs allowed while pitching + /// + [Description("Earned runs allowed while pitching")] + [DataMember(Name = "PitchingEarnedRuns", Order = 53)] + public decimal? PitchingEarnedRuns { get; set; } + + /// + /// Walks allowed while pitching + /// + [Description("Walks allowed while pitching")] + [DataMember(Name = "PitchingWalks", Order = 54)] + public decimal? PitchingWalks { get; set; } + + /// + /// Strikeouts allowed while pitching + /// + [Description("Strikeouts allowed while pitching")] + [DataMember(Name = "PitchingStrikeouts", Order = 55)] + public decimal? PitchingStrikeouts { get; set; } + + /// + /// Home runs allowed while pitching + /// + [Description("Home runs allowed while pitching")] + [DataMember(Name = "PitchingHomeRuns", Order = 56)] + public decimal? PitchingHomeRuns { get; set; } + + /// + /// Total pitches thrown while pitching + /// + [Description("Total pitches thrown while pitching")] + [DataMember(Name = "PitchesThrown", Order = 57)] + public decimal? PitchesThrown { get; set; } + + /// + /// Total pitches thrown for strikes while pitching + /// + [Description("Total pitches thrown for strikes while pitching")] + [DataMember(Name = "PitchesThrownStrikes", Order = 58)] + public decimal? PitchesThrownStrikes { get; set; } + + /// + /// Walks plus hits per innings pitched (WHIP) while pitching + /// + [Description("Walks plus hits per innings pitched (WHIP) while pitching")] + [DataMember(Name = "WalksHitsPerInningsPitched", Order = 59)] + public decimal? WalksHitsPerInningsPitched { get; set; } + + /// + /// Total batting average against (BAA) while pitching + /// + [Description("Total batting average against (BAA) while pitching")] + [DataMember(Name = "PitchingBattingAverageAgainst", Order = 60)] + public decimal? PitchingBattingAverageAgainst { get; set; } + + /// + /// Total grand slams + /// + [Description("Total grand slams")] + [DataMember(Name = "GrandSlams", Order = 61)] + public decimal? GrandSlams { get; set; } + + /// + /// Total FanDuel fantasy points + /// + [Description("Total FanDuel fantasy points")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 62)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings fantasy points + /// + [Description("Total DraftKings fantasy points")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 63)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo fantasy points + /// + [Description("Total Yahoo fantasy points")] + [DataMember(Name = "FantasyPointsYahoo", Order = 64)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plate appearances + /// + [Description("Total plate appearances")] + [DataMember(Name = "PlateAppearances", Order = 65)] + public decimal? PlateAppearances { get; set; } + + /// + /// Number of total bases + /// + [Description("Number of total bases")] + [DataMember(Name = "TotalBases", Order = 66)] + public decimal? TotalBases { get; set; } + + /// + /// Total fly outs + /// + [Description("Total fly outs")] + [DataMember(Name = "FlyOuts", Order = 67)] + public decimal? FlyOuts { get; set; } + + /// + /// Total ground outs + /// + [Description("Total ground outs")] + [DataMember(Name = "GroundOuts", Order = 68)] + public decimal? GroundOuts { get; set; } + + /// + /// Total line outs + /// + [Description("Total line outs")] + [DataMember(Name = "LineOuts", Order = 69)] + public decimal? LineOuts { get; set; } + + /// + /// Total pop outs + /// + [Description("Total pop outs")] + [DataMember(Name = "PopOuts", Order = 70)] + public decimal? PopOuts { get; set; } + + /// + /// Total intentional walks + /// + [Description("Total intentional walks")] + [DataMember(Name = "IntentionalWalks", Order = 71)] + public decimal? IntentionalWalks { get; set; } + + /// + /// Total times reached on error + /// + [Description("Total times reached on error")] + [DataMember(Name = "ReachedOnError", Order = 72)] + public decimal? ReachedOnError { get; set; } + + /// + /// Total balls in play + /// + [Description("Total balls in play")] + [DataMember(Name = "BallsInPlay", Order = 73)] + public decimal? BallsInPlay { get; set; } + + /// + /// Total batting average on balls in play (BABIP + /// + [Description("Total batting average on balls in play (BABIP")] + [DataMember(Name = "BattingAverageOnBallsInPlay", Order = 74)] + public decimal? BattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weight on base percentage + /// + [Description("Total weight on base percentage")] + [DataMember(Name = "WeightedOnBasePercentage", Order = 75)] + public decimal? WeightedOnBasePercentage { get; set; } + + /// + /// Total singles allowed while pitching + /// + [Description("Total singles allowed while pitching")] + [DataMember(Name = "PitchingSingles", Order = 76)] + public decimal? PitchingSingles { get; set; } + + /// + /// Total doubles allowed while pitching + /// + [Description("Total doubles allowed while pitching")] + [DataMember(Name = "PitchingDoubles", Order = 77)] + public decimal? PitchingDoubles { get; set; } + + /// + /// Total triples allowed while pitching + /// + [Description("Total triples allowed while pitching")] + [DataMember(Name = "PitchingTriples", Order = 78)] + public decimal? PitchingTriples { get; set; } + + /// + /// Total grand slams allowed while pitching + /// + [Description("Total grand slams allowed while pitching")] + [DataMember(Name = "PitchingGrandSlams", Order = 79)] + public decimal? PitchingGrandSlams { get; set; } + + /// + /// Total batters hit by pitch while pitching + /// + [Description("Total batters hit by pitch while pitching")] + [DataMember(Name = "PitchingHitByPitch", Order = 80)] + public decimal? PitchingHitByPitch { get; set; } + + /// + /// Total sacrifices while pitching + /// + [Description("Total sacrifices while pitching")] + [DataMember(Name = "PitchingSacrifices", Order = 81)] + public decimal? PitchingSacrifices { get; set; } + + /// + /// Total sacrifice flies while pitching + /// + [Description("Total sacrifice flies while pitching")] + [DataMember(Name = "PitchingSacrificeFlies", Order = 82)] + public decimal? PitchingSacrificeFlies { get; set; } + + /// + /// Total grounded into double plays while pitching + /// + [Description("Total grounded into double plays while pitching")] + [DataMember(Name = "PitchingGroundIntoDoublePlay", Order = 83)] + public decimal? PitchingGroundIntoDoublePlay { get; set; } + + /// + /// Total complete games while pitching + /// + [Description("Total complete games while pitching")] + [DataMember(Name = "PitchingCompleteGames", Order = 84)] + public decimal? PitchingCompleteGames { get; set; } + + /// + /// Total shuouts while pitching + /// + [Description("Total shuouts while pitching")] + [DataMember(Name = "PitchingShutOuts", Order = 85)] + public decimal? PitchingShutOuts { get; set; } + + /// + /// Total no hitters while pitching + /// + [Description("Total no hitters while pitching")] + [DataMember(Name = "PitchingNoHitters", Order = 86)] + public decimal? PitchingNoHitters { get; set; } + + /// + /// Total perfect games while pitching + /// + [Description("Total perfect games while pitching")] + [DataMember(Name = "PitchingPerfectGames", Order = 87)] + public decimal? PitchingPerfectGames { get; set; } + + /// + /// Total plate appearances while pitching + /// + [Description("Total plate appearances while pitching")] + [DataMember(Name = "PitchingPlateAppearances", Order = 88)] + public decimal? PitchingPlateAppearances { get; set; } + + /// + /// Total bases while pitching + /// + [Description("Total bases while pitching")] + [DataMember(Name = "PitchingTotalBases", Order = 89)] + public decimal? PitchingTotalBases { get; set; } + + /// + /// Total fly outs while pitching + /// + [Description("Total fly outs while pitching")] + [DataMember(Name = "PitchingFlyOuts", Order = 90)] + public decimal? PitchingFlyOuts { get; set; } + + /// + /// Total ground outs while pitching + /// + [Description("Total ground outs while pitching")] + [DataMember(Name = "PitchingGroundOuts", Order = 91)] + public decimal? PitchingGroundOuts { get; set; } + + /// + /// Total line outs while pitching + /// + [Description("Total line outs while pitching")] + [DataMember(Name = "PitchingLineOuts", Order = 92)] + public decimal? PitchingLineOuts { get; set; } + + /// + /// Total pop outs while pitching + /// + [Description("Total pop outs while pitching")] + [DataMember(Name = "PitchingPopOuts", Order = 93)] + public decimal? PitchingPopOuts { get; set; } + + /// + /// Total intentional walks while pitching + /// + [Description("Total intentional walks while pitching")] + [DataMember(Name = "PitchingIntentionalWalks", Order = 94)] + public decimal? PitchingIntentionalWalks { get; set; } + + /// + /// Total times reached on error while pitching + /// + [Description("Total times reached on error while pitching")] + [DataMember(Name = "PitchingReachedOnError", Order = 95)] + public decimal? PitchingReachedOnError { get; set; } + + /// + /// Total catchers interference while pitching + /// + [Description("Total catchers interference while pitching")] + [DataMember(Name = "PitchingCatchersInterference", Order = 96)] + public decimal? PitchingCatchersInterference { get; set; } + + /// + /// Total balls in play while pitching + /// + [Description("Total balls in play while pitching")] + [DataMember(Name = "PitchingBallsInPlay", Order = 97)] + public decimal? PitchingBallsInPlay { get; set; } + + /// + /// Total on base percentage (OBP) while pitching + /// + [Description("Total on base percentage (OBP) while pitching")] + [DataMember(Name = "PitchingOnBasePercentage", Order = 98)] + public decimal? PitchingOnBasePercentage { get; set; } + + /// + /// Total slugging percentage (SLG) while pitching + /// + [Description("Total slugging percentage (SLG) while pitching")] + [DataMember(Name = "PitchingSluggingPercentage", Order = 99)] + public decimal? PitchingSluggingPercentage { get; set; } + + /// + /// Total on base plus slugging (OPS) while pitching + /// + [Description("Total on base plus slugging (OPS) while pitching")] + [DataMember(Name = "PitchingOnBasePlusSlugging", Order = 100)] + public decimal? PitchingOnBasePlusSlugging { get; set; } + + /// + /// Total strikeouts per nine innings (K/9) while pitching + /// + [Description("Total strikeouts per nine innings (K/9) while pitching")] + [DataMember(Name = "PitchingStrikeoutsPerNineInnings", Order = 101)] + public decimal? PitchingStrikeoutsPerNineInnings { get; set; } + + /// + /// Total walks per nine innings (BB/9) while pitching + /// + [Description("Total walks per nine innings (BB/9) while pitching")] + [DataMember(Name = "PitchingWalksPerNineInnings", Order = 102)] + public decimal? PitchingWalksPerNineInnings { get; set; } + + /// + /// Total batting average on balls in play (BABIP) while pitching + /// + [Description("Total batting average on balls in play (BABIP) while pitching")] + [DataMember(Name = "PitchingBattingAverageOnBallsInPlay", Order = 103)] + public decimal? PitchingBattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weighted on base percentage while pitching  + /// + [Description("Total weighted on base percentage while pitching ")] + [DataMember(Name = "PitchingWeightedOnBasePercentage", Order = 104)] + public decimal? PitchingWeightedOnBasePercentage { get; set; } + + /// + /// Total double plays + /// + [Description("Total double plays")] + [DataMember(Name = "DoublePlays", Order = 105)] + public decimal? DoublePlays { get; set; } + + /// + /// Total double plays while pitching + /// + [Description("Total double plays while pitching")] + [DataMember(Name = "PitchingDoublePlays", Order = 106)] + public decimal? PitchingDoublePlays { get; set; } + + /// + /// Whether the batting order is confirmed (true/false) + /// + [Description("Whether the batting order is confirmed (true/false)")] + [DataMember(Name = "BattingOrderConfirmed", Order = 107)] + public bool? BattingOrderConfirmed { get; set; } + + /// + /// Total isolated power (ISO) + /// + [Description("Total isolated power (ISO)")] + [DataMember(Name = "IsolatedPower", Order = 108)] + public decimal? IsolatedPower { get; set; } + + /// + /// Total fielding independent pitching (FIP) + /// + [Description("Total fielding independent pitching (FIP)")] + [DataMember(Name = "FieldingIndependentPitching", Order = 109)] + public decimal? FieldingIndependentPitching { get; set; } + + /// + /// Total quality starts pitched + /// + [Description("Total quality starts pitched")] + [DataMember(Name = "PitchingQualityStarts", Order = 110)] + public decimal? PitchingQualityStarts { get; set; } + + /// + /// The inning that the pitcher entered the game (if any). + /// + [Description("The inning that the pitcher entered the game (if any).")] + [DataMember(Name = "PitchingInningStarted", Order = 111)] + public int? PitchingInningStarted { get; set; } + + /// + /// Total left on base percentage  + /// + [Description("Total left on base percentage ")] + [DataMember(Name = "LeftOnBase", Order = 112)] + public decimal? LeftOnBase { get; set; } + + /// + /// Total holds pitched + /// + [Description("Total holds pitched")] + [DataMember(Name = "PitchingHolds", Order = 113)] + public decimal? PitchingHolds { get; set; } + + /// + /// Total blown saves pitched + /// + [Description("Total blown saves pitched")] + [DataMember(Name = "PitchingBlownSaves", Order = 114)] + public decimal? PitchingBlownSaves { get; set; } + + /// + /// The position in the batting order where this player was substituted into the game (does not include players in the starting lineup) + /// + [Description("The position in the batting order where this player was substituted into the game (does not include players in the starting lineup)")] + [DataMember(Name = "SubstituteBattingOrder", Order = 115)] + public int? SubstituteBattingOrder { get; set; } + + /// + /// The sequence in which this player was substituted into the game, within the particular batting order + /// + [Description("The sequence in which this player was substituted into the game, within the particular batting order")] + [DataMember(Name = "SubstituteBattingOrderSequence", Order = 116)] + public int? SubstituteBattingOrderSequence { get; set; } + + /// + /// Total FantasyDraft fantasy points + /// + [Description("Total FantasyDraft fantasy points")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 117)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MLB/TeamSeason.cs b/FantasyData.Api.Client.NetCore/Model/MLB/TeamSeason.cs new file mode 100644 index 0000000..f4206a9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MLB/TeamSeason.cs @@ -0,0 +1,769 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MLB +{ + [DataContract(Namespace="", Name="TeamSeason")] + [Serializable] + public partial class TeamSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The MLB regular season for which these totals apply + /// + [Description("The MLB regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team name + /// + [Description("Team name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 7)] + public int? GlobalTeamID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 8)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 9)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// At bats while hitting + /// + [Description("At bats while hitting")] + [DataMember(Name = "AtBats", Order = 11)] + public decimal? AtBats { get; set; } + + /// + /// Total runs scored. + /// + [Description("Total runs scored.")] + [DataMember(Name = "Runs", Order = 12)] + public decimal? Runs { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 13)] + public decimal? Hits { get; set; } + + /// + /// Total singles + /// + [Description("Total singles")] + [DataMember(Name = "Singles", Order = 14)] + public decimal? Singles { get; set; } + + /// + /// Total doubles + /// + [Description("Total doubles")] + [DataMember(Name = "Doubles", Order = 15)] + public decimal? Doubles { get; set; } + + /// + /// Total triples + /// + [Description("Total triples")] + [DataMember(Name = "Triples", Order = 16)] + public decimal? Triples { get; set; } + + /// + /// Total home runs + /// + [Description("Total home runs")] + [DataMember(Name = "HomeRuns", Order = 17)] + public decimal? HomeRuns { get; set; } + + /// + /// Total runs batted in + /// + [Description("Total runs batted in")] + [DataMember(Name = "RunsBattedIn", Order = 18)] + public decimal? RunsBattedIn { get; set; } + + /// + /// Total batting average + /// + [Description("Total batting average")] + [DataMember(Name = "BattingAverage", Order = 19)] + public decimal? BattingAverage { get; set; } + + /// + /// Total outs + /// + [Description("Total outs")] + [DataMember(Name = "Outs", Order = 20)] + public decimal? Outs { get; set; } + + /// + /// Total strikeouts + /// + [Description("Total strikeouts")] + [DataMember(Name = "Strikeouts", Order = 21)] + public decimal? Strikeouts { get; set; } + + /// + /// Total walks + /// + [Description("Total walks")] + [DataMember(Name = "Walks", Order = 22)] + public decimal? Walks { get; set; } + + /// + /// Total times hit by pitch + /// + [Description("Total times hit by pitch")] + [DataMember(Name = "HitByPitch", Order = 23)] + public decimal? HitByPitch { get; set; } + + /// + /// Total sacrifices + /// + [Description("Total sacrifices")] + [DataMember(Name = "Sacrifices", Order = 24)] + public decimal? Sacrifices { get; set; } + + /// + /// Total sacrifice flies + /// + [Description("Total sacrifice flies")] + [DataMember(Name = "SacrificeFlies", Order = 25)] + public decimal? SacrificeFlies { get; set; } + + /// + /// Total times grounded into double play + /// + [Description("Total times grounded into double play")] + [DataMember(Name = "GroundIntoDoublePlay", Order = 26)] + public decimal? GroundIntoDoublePlay { get; set; } + + /// + /// Total stolen bases + /// + [Description("Total stolen bases")] + [DataMember(Name = "StolenBases", Order = 27)] + public decimal? StolenBases { get; set; } + + /// + /// Total caught stealing + /// + [Description("Total caught stealing")] + [DataMember(Name = "CaughtStealing", Order = 28)] + public decimal? CaughtStealing { get; set; } + + /// + /// Total pitches seen + /// + [Description("Total pitches seen")] + [DataMember(Name = "PitchesSeen", Order = 29)] + public decimal? PitchesSeen { get; set; } + + /// + /// Total on base percentage + /// + [Description("Total on base percentage")] + [DataMember(Name = "OnBasePercentage", Order = 30)] + public decimal? OnBasePercentage { get; set; } + + /// + /// Total slugging percentage + /// + [Description("Total slugging percentage")] + [DataMember(Name = "SluggingPercentage", Order = 31)] + public decimal? SluggingPercentage { get; set; } + + /// + /// Total on base plus percentage  + /// + [Description("Total on base plus percentage ")] + [DataMember(Name = "OnBasePlusSlugging", Order = 32)] + public decimal? OnBasePlusSlugging { get; set; } + + /// + /// Total errors + /// + [Description("Total errors")] + [DataMember(Name = "Errors", Order = 33)] + public decimal? Errors { get; set; } + + /// + /// Total wins by the team/player + /// + [Description("Total wins by the team/player")] + [DataMember(Name = "Wins", Order = 34)] + public decimal? Wins { get; set; } + + /// + /// Total losses by the team/player + /// + [Description("Total losses by the team/player")] + [DataMember(Name = "Losses", Order = 35)] + public decimal? Losses { get; set; } + + /// + /// Total saves by team/player + /// + [Description("Total saves by team/player")] + [DataMember(Name = "Saves", Order = 36)] + public decimal? Saves { get; set; } + + /// + /// Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc) + /// + [Description("Decimal representation of total innings pitched (e.g. 1.33, 7.66, etc)")] + [DataMember(Name = "InningsPitchedDecimal", Order = 37)] + public decimal? InningsPitchedDecimal { get; set; } + + /// + /// Total outs pitched by team/player + /// + [Description("Total outs pitched by team/player")] + [DataMember(Name = "TotalOutsPitched", Order = 38)] + public decimal? TotalOutsPitched { get; set; } + + /// + /// Total full innings pitched (e.g. 6, 71, 89, etc) + /// + [Description("Total full innings pitched (e.g. 6, 71, 89, etc)")] + [DataMember(Name = "InningsPitchedFull", Order = 39)] + public decimal? InningsPitchedFull { get; set; } + + /// + /// Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2) + /// + [Description("Outs pitched beyond InningsPitchedFull (possible values: 0, 1, 2)")] + [DataMember(Name = "InningsPitchedOuts", Order = 40)] + public decimal? InningsPitchedOuts { get; set; } + + /// + /// Total earned run average by team/player + /// + [Description("Total earned run average by team/player")] + [DataMember(Name = "EarnedRunAverage", Order = 41)] + public decimal? EarnedRunAverage { get; set; } + + /// + /// Hits allowed while pitching + /// + [Description("Hits allowed while pitching")] + [DataMember(Name = "PitchingHits", Order = 42)] + public decimal? PitchingHits { get; set; } + + /// + /// Runs allowed while pitching + /// + [Description("Runs allowed while pitching")] + [DataMember(Name = "PitchingRuns", Order = 43)] + public decimal? PitchingRuns { get; set; } + + /// + /// Earned runs allowed while pitching + /// + [Description("Earned runs allowed while pitching")] + [DataMember(Name = "PitchingEarnedRuns", Order = 44)] + public decimal? PitchingEarnedRuns { get; set; } + + /// + /// Walks allowed while pitching + /// + [Description("Walks allowed while pitching")] + [DataMember(Name = "PitchingWalks", Order = 45)] + public decimal? PitchingWalks { get; set; } + + /// + /// Strikeouts allowed while pitching + /// + [Description("Strikeouts allowed while pitching")] + [DataMember(Name = "PitchingStrikeouts", Order = 46)] + public decimal? PitchingStrikeouts { get; set; } + + /// + /// Home runs allowed while pitching + /// + [Description("Home runs allowed while pitching")] + [DataMember(Name = "PitchingHomeRuns", Order = 47)] + public decimal? PitchingHomeRuns { get; set; } + + /// + /// Total pitches thrown while pitching + /// + [Description("Total pitches thrown while pitching")] + [DataMember(Name = "PitchesThrown", Order = 48)] + public decimal? PitchesThrown { get; set; } + + /// + /// Total pitches thrown for strikes while pitching + /// + [Description("Total pitches thrown for strikes while pitching")] + [DataMember(Name = "PitchesThrownStrikes", Order = 49)] + public decimal? PitchesThrownStrikes { get; set; } + + /// + /// Walks plus hits per innings pitched (WHIP) while pitching + /// + [Description("Walks plus hits per innings pitched (WHIP) while pitching")] + [DataMember(Name = "WalksHitsPerInningsPitched", Order = 50)] + public decimal? WalksHitsPerInningsPitched { get; set; } + + /// + /// Total batting average against (BAA) while pitching + /// + [Description("Total batting average against (BAA) while pitching")] + [DataMember(Name = "PitchingBattingAverageAgainst", Order = 51)] + public decimal? PitchingBattingAverageAgainst { get; set; } + + /// + /// Total grand slams + /// + [Description("Total grand slams")] + [DataMember(Name = "GrandSlams", Order = 52)] + public decimal? GrandSlams { get; set; } + + /// + /// Total FanDuel fantasy points + /// + [Description("Total FanDuel fantasy points")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 53)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings fantasy points + /// + [Description("Total DraftKings fantasy points")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 54)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo fantasy points + /// + [Description("Total Yahoo fantasy points")] + [DataMember(Name = "FantasyPointsYahoo", Order = 55)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plate appearances + /// + [Description("Total plate appearances")] + [DataMember(Name = "PlateAppearances", Order = 56)] + public decimal? PlateAppearances { get; set; } + + /// + /// Number of total bases + /// + [Description("Number of total bases")] + [DataMember(Name = "TotalBases", Order = 57)] + public decimal? TotalBases { get; set; } + + /// + /// Total fly outs + /// + [Description("Total fly outs")] + [DataMember(Name = "FlyOuts", Order = 58)] + public decimal? FlyOuts { get; set; } + + /// + /// Total ground outs + /// + [Description("Total ground outs")] + [DataMember(Name = "GroundOuts", Order = 59)] + public decimal? GroundOuts { get; set; } + + /// + /// Total line outs + /// + [Description("Total line outs")] + [DataMember(Name = "LineOuts", Order = 60)] + public decimal? LineOuts { get; set; } + + /// + /// Total pop outs + /// + [Description("Total pop outs")] + [DataMember(Name = "PopOuts", Order = 61)] + public decimal? PopOuts { get; set; } + + /// + /// Total intentional walks + /// + [Description("Total intentional walks")] + [DataMember(Name = "IntentionalWalks", Order = 62)] + public decimal? IntentionalWalks { get; set; } + + /// + /// Total times reached on error + /// + [Description("Total times reached on error")] + [DataMember(Name = "ReachedOnError", Order = 63)] + public decimal? ReachedOnError { get; set; } + + /// + /// Total balls in play + /// + [Description("Total balls in play")] + [DataMember(Name = "BallsInPlay", Order = 64)] + public decimal? BallsInPlay { get; set; } + + /// + /// Total batting average on balls in play (BABIP + /// + [Description("Total batting average on balls in play (BABIP")] + [DataMember(Name = "BattingAverageOnBallsInPlay", Order = 65)] + public decimal? BattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weight on base percentage + /// + [Description("Total weight on base percentage")] + [DataMember(Name = "WeightedOnBasePercentage", Order = 66)] + public decimal? WeightedOnBasePercentage { get; set; } + + /// + /// Total singles allowed while pitching + /// + [Description("Total singles allowed while pitching")] + [DataMember(Name = "PitchingSingles", Order = 67)] + public decimal? PitchingSingles { get; set; } + + /// + /// Total doubles allowed while pitching + /// + [Description("Total doubles allowed while pitching")] + [DataMember(Name = "PitchingDoubles", Order = 68)] + public decimal? PitchingDoubles { get; set; } + + /// + /// Total triples allowed while pitching + /// + [Description("Total triples allowed while pitching")] + [DataMember(Name = "PitchingTriples", Order = 69)] + public decimal? PitchingTriples { get; set; } + + /// + /// Total grand slams allowed while pitching + /// + [Description("Total grand slams allowed while pitching")] + [DataMember(Name = "PitchingGrandSlams", Order = 70)] + public decimal? PitchingGrandSlams { get; set; } + + /// + /// Total batters hit by pitch while pitching + /// + [Description("Total batters hit by pitch while pitching")] + [DataMember(Name = "PitchingHitByPitch", Order = 71)] + public decimal? PitchingHitByPitch { get; set; } + + /// + /// Total sacrifices while pitching + /// + [Description("Total sacrifices while pitching")] + [DataMember(Name = "PitchingSacrifices", Order = 72)] + public decimal? PitchingSacrifices { get; set; } + + /// + /// Total sacrifice flies while pitching + /// + [Description("Total sacrifice flies while pitching")] + [DataMember(Name = "PitchingSacrificeFlies", Order = 73)] + public decimal? PitchingSacrificeFlies { get; set; } + + /// + /// Total grounded into double plays while pitching + /// + [Description("Total grounded into double plays while pitching")] + [DataMember(Name = "PitchingGroundIntoDoublePlay", Order = 74)] + public decimal? PitchingGroundIntoDoublePlay { get; set; } + + /// + /// Total complete games while pitching + /// + [Description("Total complete games while pitching")] + [DataMember(Name = "PitchingCompleteGames", Order = 75)] + public decimal? PitchingCompleteGames { get; set; } + + /// + /// Total shuouts while pitching + /// + [Description("Total shuouts while pitching")] + [DataMember(Name = "PitchingShutOuts", Order = 76)] + public decimal? PitchingShutOuts { get; set; } + + /// + /// Total no hitters while pitching + /// + [Description("Total no hitters while pitching")] + [DataMember(Name = "PitchingNoHitters", Order = 77)] + public decimal? PitchingNoHitters { get; set; } + + /// + /// Total perfect games while pitching + /// + [Description("Total perfect games while pitching")] + [DataMember(Name = "PitchingPerfectGames", Order = 78)] + public decimal? PitchingPerfectGames { get; set; } + + /// + /// Total plate appearances while pitching + /// + [Description("Total plate appearances while pitching")] + [DataMember(Name = "PitchingPlateAppearances", Order = 79)] + public decimal? PitchingPlateAppearances { get; set; } + + /// + /// Total bases while pitching + /// + [Description("Total bases while pitching")] + [DataMember(Name = "PitchingTotalBases", Order = 80)] + public decimal? PitchingTotalBases { get; set; } + + /// + /// Total fly outs while pitching + /// + [Description("Total fly outs while pitching")] + [DataMember(Name = "PitchingFlyOuts", Order = 81)] + public decimal? PitchingFlyOuts { get; set; } + + /// + /// Total ground outs while pitching + /// + [Description("Total ground outs while pitching")] + [DataMember(Name = "PitchingGroundOuts", Order = 82)] + public decimal? PitchingGroundOuts { get; set; } + + /// + /// Total line outs while pitching + /// + [Description("Total line outs while pitching")] + [DataMember(Name = "PitchingLineOuts", Order = 83)] + public decimal? PitchingLineOuts { get; set; } + + /// + /// Total pop outs while pitching + /// + [Description("Total pop outs while pitching")] + [DataMember(Name = "PitchingPopOuts", Order = 84)] + public decimal? PitchingPopOuts { get; set; } + + /// + /// Total intentional walks while pitching + /// + [Description("Total intentional walks while pitching")] + [DataMember(Name = "PitchingIntentionalWalks", Order = 85)] + public decimal? PitchingIntentionalWalks { get; set; } + + /// + /// Total times reached on error while pitching + /// + [Description("Total times reached on error while pitching")] + [DataMember(Name = "PitchingReachedOnError", Order = 86)] + public decimal? PitchingReachedOnError { get; set; } + + /// + /// Total catchers interference while pitching + /// + [Description("Total catchers interference while pitching")] + [DataMember(Name = "PitchingCatchersInterference", Order = 87)] + public decimal? PitchingCatchersInterference { get; set; } + + /// + /// Total balls in play while pitching + /// + [Description("Total balls in play while pitching")] + [DataMember(Name = "PitchingBallsInPlay", Order = 88)] + public decimal? PitchingBallsInPlay { get; set; } + + /// + /// Total on base percentage (OBP) while pitching + /// + [Description("Total on base percentage (OBP) while pitching")] + [DataMember(Name = "PitchingOnBasePercentage", Order = 89)] + public decimal? PitchingOnBasePercentage { get; set; } + + /// + /// Total slugging percentage (SLG) while pitching + /// + [Description("Total slugging percentage (SLG) while pitching")] + [DataMember(Name = "PitchingSluggingPercentage", Order = 90)] + public decimal? PitchingSluggingPercentage { get; set; } + + /// + /// Total on base plus slugging (OPS) while pitching + /// + [Description("Total on base plus slugging (OPS) while pitching")] + [DataMember(Name = "PitchingOnBasePlusSlugging", Order = 91)] + public decimal? PitchingOnBasePlusSlugging { get; set; } + + /// + /// Total strikeouts per nine innings (K/9) while pitching + /// + [Description("Total strikeouts per nine innings (K/9) while pitching")] + [DataMember(Name = "PitchingStrikeoutsPerNineInnings", Order = 92)] + public decimal? PitchingStrikeoutsPerNineInnings { get; set; } + + /// + /// Total walks per nine innings (BB/9) while pitching + /// + [Description("Total walks per nine innings (BB/9) while pitching")] + [DataMember(Name = "PitchingWalksPerNineInnings", Order = 93)] + public decimal? PitchingWalksPerNineInnings { get; set; } + + /// + /// Total batting average on balls in play (BABIP) while pitching + /// + [Description("Total batting average on balls in play (BABIP) while pitching")] + [DataMember(Name = "PitchingBattingAverageOnBallsInPlay", Order = 94)] + public decimal? PitchingBattingAverageOnBallsInPlay { get; set; } + + /// + /// Total weighted on base percentage while pitching  + /// + [Description("Total weighted on base percentage while pitching ")] + [DataMember(Name = "PitchingWeightedOnBasePercentage", Order = 95)] + public decimal? PitchingWeightedOnBasePercentage { get; set; } + + /// + /// Total double plays + /// + [Description("Total double plays")] + [DataMember(Name = "DoublePlays", Order = 96)] + public decimal? DoublePlays { get; set; } + + /// + /// Total double plays while pitching + /// + [Description("Total double plays while pitching")] + [DataMember(Name = "PitchingDoublePlays", Order = 97)] + public decimal? PitchingDoublePlays { get; set; } + + /// + /// Whether the batting order is confirmed (true/false) + /// + [Description("Whether the batting order is confirmed (true/false)")] + [DataMember(Name = "BattingOrderConfirmed", Order = 98)] + public bool? BattingOrderConfirmed { get; set; } + + /// + /// Total isolated power (ISO) + /// + [Description("Total isolated power (ISO)")] + [DataMember(Name = "IsolatedPower", Order = 99)] + public decimal? IsolatedPower { get; set; } + + /// + /// Total fielding independent pitching (FIP) + /// + [Description("Total fielding independent pitching (FIP)")] + [DataMember(Name = "FieldingIndependentPitching", Order = 100)] + public decimal? FieldingIndependentPitching { get; set; } + + /// + /// Total quality starts pitched + /// + [Description("Total quality starts pitched")] + [DataMember(Name = "PitchingQualityStarts", Order = 101)] + public decimal? PitchingQualityStarts { get; set; } + + /// + /// The inning that the pitcher entered the game (if any). + /// + [Description("The inning that the pitcher entered the game (if any).")] + [DataMember(Name = "PitchingInningStarted", Order = 102)] + public int? PitchingInningStarted { get; set; } + + /// + /// Total left on base percentage  + /// + [Description("Total left on base percentage ")] + [DataMember(Name = "LeftOnBase", Order = 103)] + public decimal? LeftOnBase { get; set; } + + /// + /// Total holds pitched + /// + [Description("Total holds pitched")] + [DataMember(Name = "PitchingHolds", Order = 104)] + public decimal? PitchingHolds { get; set; } + + /// + /// Total blown saves pitched + /// + [Description("Total blown saves pitched")] + [DataMember(Name = "PitchingBlownSaves", Order = 105)] + public decimal? PitchingBlownSaves { get; set; } + + /// + /// The position in the batting order where this player was substituted into the game (does not include players in the starting lineup) + /// + [Description("The position in the batting order where this player was substituted into the game (does not include players in the starting lineup)")] + [DataMember(Name = "SubstituteBattingOrder", Order = 106)] + public int? SubstituteBattingOrder { get; set; } + + /// + /// The sequence in which this player was substituted into the game, within the particular batting order + /// + [Description("The sequence in which this player was substituted into the game, within the particular batting order")] + [DataMember(Name = "SubstituteBattingOrderSequence", Order = 107)] + public int? SubstituteBattingOrderSequence { get; set; } + + /// + /// Total FantasyDraft fantasy points + /// + [Description("Total FantasyDraft fantasy points")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 108)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/CareerStat.cs b/FantasyData.Api.Client.NetCore/Model/MMA/CareerStat.cs new file mode 100644 index 0000000..d57906d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/CareerStat.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="CareerStat")] + [Serializable] + public partial class CareerStat + { + /// + /// The unique ID of this fighter + /// + [Description("The unique ID of this fighter")] + [DataMember(Name = "FighterId", Order = 1)] + public int? FighterId { get; set; } + + /// + /// The fighter's first name + /// + [Description("The fighter's first name")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The fighter's last name + /// + [Description("The fighter's last name")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// Significal strikes landed per minute over career + /// + [Description("Significal strikes landed per minute over career")] + [DataMember(Name = "SigStrikesLandedPerMinute", Order = 4)] + public decimal? SigStrikesLandedPerMinute { get; set; } + + /// + /// Significant strikes landed divided by strikes attempted over career + /// + [Description("Significant strikes landed divided by strikes attempted over career")] + [DataMember(Name = "SigStrikeAccuracy", Order = 5)] + public decimal? SigStrikeAccuracy { get; set; } + + /// + /// Average takedowns landed per 15 minutes + /// + [Description("Average takedowns landed per 15 minutes")] + [DataMember(Name = "TakedownAverage", Order = 6)] + public decimal? TakedownAverage { get; set; } + + /// + /// Average number of submissions attempted per 15 minutes + /// + [Description("Average number of submissions attempted per 15 minutes")] + [DataMember(Name = "SubmissionAverage", Order = 7)] + public decimal? SubmissionAverage { get; set; } + + /// + /// Percentage of wins ending by knockout + /// + [Description("Percentage of wins ending by knockout")] + [DataMember(Name = "KnockoutPercentage", Order = 8)] + public decimal? KnockoutPercentage { get; set; } + + /// + /// Percentage of wins ending by TKO + /// + [Description("Percentage of wins ending by TKO")] + [DataMember(Name = "TechnicalKnockoutPercentage", Order = 9)] + public decimal? TechnicalKnockoutPercentage { get; set; } + + /// + /// Percentage of wins ending in a decision + /// + [Description("Percentage of wins ending in a decision")] + [DataMember(Name = "DecisionPercentage", Order = 10)] + public decimal? DecisionPercentage { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/Event.cs b/FantasyData.Api.Client.NetCore/Model/MMA/Event.cs new file mode 100644 index 0000000..ae85b32 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/Event.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="Event")] + [Serializable] + public partial class Event + { + /// + /// The unique ID of this event + /// + [Description("The unique ID of this event")] + [DataMember(Name = "EventId", Order = 1)] + public int EventId { get; set; } + + /// + /// The unique ID of this event's MMA league + /// + [Description("The unique ID of this event's MMA league")] + [DataMember(Name = "LeagueId", Order = 2)] + public int LeagueId { get; set; } + + /// + /// The full name of the event + /// + [Description("The full name of the event")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The short name of the event + /// + [Description("The short name of the event")] + [DataMember(Name = "ShortName", Order = 4)] + public string ShortName { get; set; } + + /// + /// The season the event took place + /// + [Description("The season the event took place")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// The date of the event + /// + [Description("The date of the event")] + [DataMember(Name = "Day", Order = 6)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the event + /// + [Description("The date and time of the event")] + [DataMember(Name = "DateTime", Order = 7)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the event's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled + /// + [Description("Indicates the event's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 8)] + public string Status { get; set; } + + /// + /// Indicates if the event is active + /// + [Description("Indicates if the event is active")] + [DataMember(Name = "Active", Order = 9)] + public bool? Active { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/EventDetail.cs b/FantasyData.Api.Client.NetCore/Model/MMA/EventDetail.cs new file mode 100644 index 0000000..fca809c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/EventDetail.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="EventDetail")] + [Serializable] + public partial class EventDetail + { + /// + /// The details of the fights + /// + [Description("The details of the fights")] + [DataMember(Name = "Fights", Order = 20001)] + public Fight[] Fights { get; set; } + + /// + /// The unique ID of this event + /// + [Description("The unique ID of this event")] + [DataMember(Name = "EventId", Order = 2)] + public int EventId { get; set; } + + /// + /// The unique ID of this event's MMA league + /// + [Description("The unique ID of this event's MMA league")] + [DataMember(Name = "LeagueId", Order = 3)] + public int LeagueId { get; set; } + + /// + /// The full name of the event + /// + [Description("The full name of the event")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The short name of the event + /// + [Description("The short name of the event")] + [DataMember(Name = "ShortName", Order = 5)] + public string ShortName { get; set; } + + /// + /// The season the event took place + /// + [Description("The season the event took place")] + [DataMember(Name = "Season", Order = 6)] + public int? Season { get; set; } + + /// + /// The date of the event + /// + [Description("The date of the event")] + [DataMember(Name = "Day", Order = 7)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the event + /// + [Description("The date and time of the event")] + [DataMember(Name = "DateTime", Order = 8)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the event's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled + /// + [Description("Indicates the event's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 9)] + public string Status { get; set; } + + /// + /// Indicates if the event is active + /// + [Description("Indicates if the event is active")] + [DataMember(Name = "Active", Order = 10)] + public bool? Active { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/Fight.cs b/FantasyData.Api.Client.NetCore/Model/MMA/Fight.cs new file mode 100644 index 0000000..1f225e2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/Fight.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="Fight")] + [Serializable] + public partial class Fight + { + /// + /// The unique ID of this fight + /// + [Description("The unique ID of this fight")] + [DataMember(Name = "FightId", Order = 1)] + public int FightId { get; set; } + + /// + /// The order of this fight on the fight card + /// + [Description("The order of this fight on the fight card")] + [DataMember(Name = "Order", Order = 2)] + public int? Order { get; set; } + + /// + /// Indicates the fight's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled + /// + [Description("Indicates the fight's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 3)] + public string Status { get; set; } + + /// + /// The weight class for this fight + /// + [Description("The weight class for this fight")] + [DataMember(Name = "WeightClass", Order = 4)] + public string WeightClass { get; set; } + + /// + /// The card segment for this fight + /// + [Description("The card segment for this fight")] + [DataMember(Name = "CardSegment", Order = 5)] + public string CardSegment { get; set; } + + /// + /// The number of referee for this fight + /// + [Description("The number of referee for this fight")] + [DataMember(Name = "Referee", Order = 6)] + public string Referee { get; set; } + + /// + /// The number of rounds for this fight + /// + [Description("The number of rounds for this fight")] + [DataMember(Name = "Rounds", Order = 7)] + public int? Rounds { get; set; } + + /// + /// The time on the clock in seconds when the fight ended + /// + [Description("The time on the clock in seconds when the fight ended")] + [DataMember(Name = "ResultClock", Order = 8)] + public int? ResultClock { get; set; } + + /// + /// The round when the fight ended + /// + [Description("The round when the fight ended")] + [DataMember(Name = "ResultRound", Order = 9)] + public int? ResultRound { get; set; } + + /// + /// The way in which this fight ended + /// + [Description("The way in which this fight ended")] + [DataMember(Name = "ResultType", Order = 10)] + public string ResultType { get; set; } + + /// + /// The unique ID of the winning fighter + /// + [Description("The unique ID of the winning fighter")] + [DataMember(Name = "WinnerId", Order = 11)] + public int? WinnerId { get; set; } + + /// + /// The fighters competing in this fight + /// + [Description("The fighters competing in this fight")] + [DataMember(Name = "Fighters", Order = 20012)] + public FighterInfo[] Fighters { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/FightDetail.cs b/FantasyData.Api.Client.NetCore/Model/MMA/FightDetail.cs new file mode 100644 index 0000000..7f2ee94 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/FightDetail.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="FightDetail")] + [Serializable] + public partial class FightDetail + { + /// + /// Stats for each fighter in this fight + /// + [Description("Stats for each fighter in this fight")] + [DataMember(Name = "FightStats", Order = 20001)] + public FightStat[] FightStats { get; set; } + + /// + /// The unique ID of this fight + /// + [Description("The unique ID of this fight")] + [DataMember(Name = "FightId", Order = 2)] + public int FightId { get; set; } + + /// + /// The order of this fight on the fight card + /// + [Description("The order of this fight on the fight card")] + [DataMember(Name = "Order", Order = 3)] + public int? Order { get; set; } + + /// + /// Indicates the fight's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled + /// + [Description("Indicates the fight's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 4)] + public string Status { get; set; } + + /// + /// The weight class for this fight + /// + [Description("The weight class for this fight")] + [DataMember(Name = "WeightClass", Order = 5)] + public string WeightClass { get; set; } + + /// + /// The card segment for this fight + /// + [Description("The card segment for this fight")] + [DataMember(Name = "CardSegment", Order = 6)] + public string CardSegment { get; set; } + + /// + /// The number of referee for this fight + /// + [Description("The number of referee for this fight")] + [DataMember(Name = "Referee", Order = 7)] + public string Referee { get; set; } + + /// + /// The number of rounds for this fight + /// + [Description("The number of rounds for this fight")] + [DataMember(Name = "Rounds", Order = 8)] + public int? Rounds { get; set; } + + /// + /// The time on the clock in seconds when the fight ended + /// + [Description("The time on the clock in seconds when the fight ended")] + [DataMember(Name = "ResultClock", Order = 9)] + public int? ResultClock { get; set; } + + /// + /// The round when the fight ended + /// + [Description("The round when the fight ended")] + [DataMember(Name = "ResultRound", Order = 10)] + public int? ResultRound { get; set; } + + /// + /// The way in which this fight ended + /// + [Description("The way in which this fight ended")] + [DataMember(Name = "ResultType", Order = 11)] + public string ResultType { get; set; } + + /// + /// The unique ID of the winning fighter + /// + [Description("The unique ID of the winning fighter")] + [DataMember(Name = "WinnerId", Order = 12)] + public int? WinnerId { get; set; } + + /// + /// The fighters competing in this fight + /// + [Description("The fighters competing in this fight")] + [DataMember(Name = "Fighters", Order = 20013)] + public FighterInfo[] Fighters { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/FightStat.cs b/FantasyData.Api.Client.NetCore/Model/MMA/FightStat.cs new file mode 100644 index 0000000..06102d2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/FightStat.cs @@ -0,0 +1,195 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="FightStat")] + [Serializable] + public partial class FightStat + { + /// + /// The unique ID of this fighter + /// + [Description("The unique ID of this fighter")] + [DataMember(Name = "FighterId", Order = 1)] + public int? FighterId { get; set; } + + /// + /// The fighter's first name + /// + [Description("The fighter's first name")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The fighter's last name + /// + [Description("The fighter's last name")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// Indicates if this fighter won the fight + /// + [Description("Indicates if this fighter won the fight")] + [DataMember(Name = "Winner", Order = 4)] + public bool? Winner { get; set; } + + /// + /// Total fantasy points scored + /// + [Description("Total fantasy points scored")] + [DataMember(Name = "FantasyPoints", Order = 5)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 6)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Number of times the fighter knocks opponent down due to debilitation for an appreciable amount of time + /// + [Description("Number of times the fighter knocks opponent down due to debilitation for an appreciable amount of time")] + [DataMember(Name = "Knockdowns", Order = 7)] + public decimal? Knockdowns { get; set; } + + /// + /// Total number of all strikes attempted + /// + [Description("Total number of all strikes attempted")] + [DataMember(Name = "TotalStrikesAttempted", Order = 8)] + public decimal? TotalStrikesAttempted { get; set; } + + /// + /// Total number of all strikes landed + /// + [Description("Total number of all strikes landed")] + [DataMember(Name = "TotalStrikesLanded", Order = 9)] + public decimal? TotalStrikesLanded { get; set; } + + /// + /// Total number of strikes attempted that officials deem 'Power Strikes' + /// + [Description("Total number of strikes attempted that officials deem 'Power Strikes'")] + [DataMember(Name = "SigStrikesAttempted", Order = 10)] + public decimal? SigStrikesAttempted { get; set; } + + /// + /// Total number of strikes landed that officials deem 'Power Strikes' + /// + [Description("Total number of strikes landed that officials deem 'Power Strikes'")] + [DataMember(Name = "SigStrikesLanded", Order = 11)] + public decimal? SigStrikesLanded { get; set; } + + /// + /// Total number of takedowns attempted + /// + [Description("Total number of takedowns attempted")] + [DataMember(Name = "TakedownsAttempted", Order = 12)] + public decimal? TakedownsAttempted { get; set; } + + /// + /// Total number of takedowns landed + /// + [Description("Total number of takedowns landed")] + [DataMember(Name = "TakedownsLanded", Order = 13)] + public decimal? TakedownsLanded { get; set; } + + /// + /// Total number of takedowns that were a result of forcefully slamming opponent to ground + /// + [Description("Total number of takedowns that were a result of forcefully slamming opponent to ground")] + [DataMember(Name = "TakedownsSlams", Order = 14)] + public decimal? TakedownsSlams { get; set; } + + /// + /// Number of takedowns landed divided by number of takedowns attempted + /// + [Description("Number of takedowns landed divided by number of takedowns attempted")] + [DataMember(Name = "TakedownAccuracy", Order = 15)] + public decimal? TakedownAccuracy { get; set; } + + /// + /// Total number of advances to half guard, side control, mount or back control. + /// + [Description("Total number of advances to half guard, side control, mount or back control.")] + [DataMember(Name = "Advances", Order = 16)] + public decimal? Advances { get; set; } + + /// + /// Transitions performed by countering your opponents transition and giving fighter the offensive advantage. + /// + [Description("Transitions performed by countering your opponents transition and giving fighter the offensive advantage.")] + [DataMember(Name = "Reversals", Order = 17)] + public decimal? Reversals { get; set; } + + /// + /// Total number of submissions or technical submissions attempted + /// + [Description("Total number of submissions or technical submissions attempted")] + [DataMember(Name = "Submissions", Order = 18)] + public decimal? Submissions { get; set; } + + /// + /// Number of takedown slams landed divided by number of takedowns attempted + /// + [Description("Number of takedown slams landed divided by number of takedowns attempted")] + [DataMember(Name = "SlamRate", Order = 19)] + public decimal? SlamRate { get; set; } + + /// + /// Number of seconds fighter deemed in control by officials + /// + [Description("Number of seconds fighter deemed in control by officials")] + [DataMember(Name = "TimeInControl", Order = 20)] + public decimal? TimeInControl { get; set; } + + /// + /// Indicates if this fighter won the fight in the first round + /// + [Description("Indicates if this fighter won the fight in the first round")] + [DataMember(Name = "FirstRoundWin", Order = 21)] + public bool? FirstRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight in the second round + /// + [Description("Indicates if this fighter won the fight in the second round")] + [DataMember(Name = "SecondRoundWin", Order = 22)] + public bool? SecondRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight in the third round + /// + [Description("Indicates if this fighter won the fight in the third round")] + [DataMember(Name = "ThirdRoundWin", Order = 23)] + public bool? ThirdRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight in the fourth round + /// + [Description("Indicates if this fighter won the fight in the fourth round")] + [DataMember(Name = "FourthRoundWin", Order = 24)] + public bool? FourthRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight in the fifth round + /// + [Description("Indicates if this fighter won the fight in the fifth round")] + [DataMember(Name = "FifthRoundWin", Order = 25)] + public bool? FifthRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight by decision + /// + [Description("Indicates if this fighter won the fight by decision")] + [DataMember(Name = "DecisionWin", Order = 26)] + public bool? DecisionWin { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/FightStatProjection.cs b/FantasyData.Api.Client.NetCore/Model/MMA/FightStatProjection.cs new file mode 100644 index 0000000..a406855 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/FightStatProjection.cs @@ -0,0 +1,195 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="FightStatProjection")] + [Serializable] + public partial class FightStatProjection + { + /// + /// The unique ID of this fighter + /// + [Description("The unique ID of this fighter")] + [DataMember(Name = "FighterId", Order = 1)] + public int? FighterId { get; set; } + + /// + /// The fighter's first name + /// + [Description("The fighter's first name")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The fighter's last name + /// + [Description("The fighter's last name")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// Indicates if this fighter won the fight + /// + [Description("Indicates if this fighter won the fight")] + [DataMember(Name = "Winner", Order = 4)] + public bool? Winner { get; set; } + + /// + /// Total fantasy points scored + /// + [Description("Total fantasy points scored")] + [DataMember(Name = "FantasyPoints", Order = 5)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 6)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Number of times the fighter knocks opponent down due to debilitation for an appreciable amount of time + /// + [Description("Number of times the fighter knocks opponent down due to debilitation for an appreciable amount of time")] + [DataMember(Name = "Knockdowns", Order = 7)] + public decimal? Knockdowns { get; set; } + + /// + /// Total number of all strikes attempted + /// + [Description("Total number of all strikes attempted")] + [DataMember(Name = "TotalStrikesAttempted", Order = 8)] + public decimal? TotalStrikesAttempted { get; set; } + + /// + /// Total number of all strikes landed + /// + [Description("Total number of all strikes landed")] + [DataMember(Name = "TotalStrikesLanded", Order = 9)] + public decimal? TotalStrikesLanded { get; set; } + + /// + /// Total number of strikes attempted that officials deem 'Power Strikes' + /// + [Description("Total number of strikes attempted that officials deem 'Power Strikes'")] + [DataMember(Name = "SigStrikesAttempted", Order = 10)] + public decimal? SigStrikesAttempted { get; set; } + + /// + /// Total number of strikes landed that officials deem 'Power Strikes' + /// + [Description("Total number of strikes landed that officials deem 'Power Strikes'")] + [DataMember(Name = "SigStrikesLanded", Order = 11)] + public decimal? SigStrikesLanded { get; set; } + + /// + /// Total number of takedowns attempted + /// + [Description("Total number of takedowns attempted")] + [DataMember(Name = "TakedownsAttempted", Order = 12)] + public decimal? TakedownsAttempted { get; set; } + + /// + /// Total number of takedowns landed + /// + [Description("Total number of takedowns landed")] + [DataMember(Name = "TakedownsLanded", Order = 13)] + public decimal? TakedownsLanded { get; set; } + + /// + /// Total number of takedowns that were a result of forcefully slamming opponent to ground + /// + [Description("Total number of takedowns that were a result of forcefully slamming opponent to ground")] + [DataMember(Name = "TakedownsSlams", Order = 14)] + public decimal? TakedownsSlams { get; set; } + + /// + /// Number of takedowns landed divided by number of takedowns attempted + /// + [Description("Number of takedowns landed divided by number of takedowns attempted")] + [DataMember(Name = "TakedownAccuracy", Order = 15)] + public decimal? TakedownAccuracy { get; set; } + + /// + /// Total number of advances to half guard, side control, mount or back control. + /// + [Description("Total number of advances to half guard, side control, mount or back control.")] + [DataMember(Name = "Advances", Order = 16)] + public decimal? Advances { get; set; } + + /// + /// Transitions performed by countering your opponents transition and giving fighter the offensive advantage. + /// + [Description("Transitions performed by countering your opponents transition and giving fighter the offensive advantage.")] + [DataMember(Name = "Reversals", Order = 17)] + public decimal? Reversals { get; set; } + + /// + /// Total number of submissions or technical submissions attempted + /// + [Description("Total number of submissions or technical submissions attempted")] + [DataMember(Name = "Submissions", Order = 18)] + public decimal? Submissions { get; set; } + + /// + /// Number of takedown slams landed divided by number of takedowns attempted + /// + [Description("Number of takedown slams landed divided by number of takedowns attempted")] + [DataMember(Name = "SlamRate", Order = 19)] + public decimal? SlamRate { get; set; } + + /// + /// Number of seconds fighter deemed in control by officials + /// + [Description("Number of seconds fighter deemed in control by officials")] + [DataMember(Name = "TimeInControl", Order = 20)] + public decimal? TimeInControl { get; set; } + + /// + /// Indicates if this fighter won the fight in the first round + /// + [Description("Indicates if this fighter won the fight in the first round")] + [DataMember(Name = "FirstRoundWin", Order = 21)] + public bool? FirstRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight in the second round + /// + [Description("Indicates if this fighter won the fight in the second round")] + [DataMember(Name = "SecondRoundWin", Order = 22)] + public bool? SecondRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight in the third round + /// + [Description("Indicates if this fighter won the fight in the third round")] + [DataMember(Name = "ThirdRoundWin", Order = 23)] + public bool? ThirdRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight in the fourth round + /// + [Description("Indicates if this fighter won the fight in the fourth round")] + [DataMember(Name = "FourthRoundWin", Order = 24)] + public bool? FourthRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight in the fifth round + /// + [Description("Indicates if this fighter won the fight in the fifth round")] + [DataMember(Name = "FifthRoundWin", Order = 25)] + public bool? FifthRoundWin { get; set; } + + /// + /// Indicates if this fighter won the fight by decision + /// + [Description("Indicates if this fighter won the fight by decision")] + [DataMember(Name = "DecisionWin", Order = 26)] + public bool? DecisionWin { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/Fighter.cs b/FantasyData.Api.Client.NetCore/Model/MMA/Fighter.cs new file mode 100644 index 0000000..55b0e49 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/Fighter.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="Fighter")] + [Serializable] + public partial class Fighter + { + /// + /// The unique ID of this fighter + /// + [Description("The unique ID of this fighter")] + [DataMember(Name = "FighterId", Order = 1)] + public int FighterId { get; set; } + + /// + /// The fighter's first name + /// + [Description("The fighter's first name")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The fighter's last name + /// + [Description("The fighter's last name")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// The fighter's nickname + /// + [Description("The fighter's nickname")] + [DataMember(Name = "Nickname", Order = 4)] + public string Nickname { get; set; } + + /// + /// The fighter's weight class + /// + [Description("The fighter's weight class")] + [DataMember(Name = "WeightClass", Order = 5)] + public string WeightClass { get; set; } + + /// + /// The fighter's DOB + /// + [Description("The fighter's DOB")] + [DataMember(Name = "BirthDate", Order = 6)] + public DateTime? BirthDate { get; set; } + + /// + /// The fighter's height + /// + [Description("The fighter's height")] + [DataMember(Name = "Height", Order = 7)] + public decimal? Height { get; set; } + + /// + /// The fighter's weight + /// + [Description("The fighter's weight")] + [DataMember(Name = "Weight", Order = 8)] + public decimal? Weight { get; set; } + + /// + /// The fighter's reach + /// + [Description("The fighter's reach")] + [DataMember(Name = "Reach", Order = 9)] + public decimal? Reach { get; set; } + + /// + /// The fighter's wins + /// + [Description("The fighter's wins")] + [DataMember(Name = "Wins", Order = 10)] + public int? Wins { get; set; } + + /// + /// The fighter's losses + /// + [Description("The fighter's losses")] + [DataMember(Name = "Losses", Order = 11)] + public int? Losses { get; set; } + + /// + /// The fighter's fights that ended in a draw + /// + [Description("The fighter's fights that ended in a draw")] + [DataMember(Name = "Draws", Order = 12)] + public int? Draws { get; set; } + + /// + /// The fighter's fights that ended in a no contest + /// + [Description("The fighter's fights that ended in a no contest")] + [DataMember(Name = "NoContests", Order = 13)] + public int? NoContests { get; set; } + + /// + /// The fighter's TKO wins + /// + [Description("The fighter's TKO wins")] + [DataMember(Name = "TechnicalKnockouts", Order = 14)] + public int? TechnicalKnockouts { get; set; } + + /// + /// The fighter's TKO losses + /// + [Description("The fighter's TKO losses")] + [DataMember(Name = "TechnicalKnockoutLosses", Order = 15)] + public int? TechnicalKnockoutLosses { get; set; } + + /// + /// The fighter's submission wins + /// + [Description("The fighter's submission wins")] + [DataMember(Name = "Submissions", Order = 16)] + public int? Submissions { get; set; } + + /// + /// The fighter's submission losses + /// + [Description("The fighter's submission losses")] + [DataMember(Name = "SubmissionLosses", Order = 17)] + public int? SubmissionLosses { get; set; } + + /// + /// The fighter's title wins + /// + [Description("The fighter's title wins")] + [DataMember(Name = "TitleWins", Order = 18)] + public int? TitleWins { get; set; } + + /// + /// The fighter's title losses + /// + [Description("The fighter's title losses")] + [DataMember(Name = "TitleLosses", Order = 19)] + public int? TitleLosses { get; set; } + + /// + /// The fighter's title draws + /// + [Description("The fighter's title draws")] + [DataMember(Name = "TitleDraws", Order = 20)] + public int? TitleDraws { get; set; } + + /// + /// The fighter's title draws + /// + [Description("The fighter's title draws")] + [DataMember(Name = "CareerStats", Order = 10021)] + public CareerStat CareerStats { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/FighterInfo.cs b/FantasyData.Api.Client.NetCore/Model/MMA/FighterInfo.cs new file mode 100644 index 0000000..86b711b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/FighterInfo.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="FighterInfo")] + [Serializable] + public partial class FighterInfo + { + /// + /// The unique ID of this fighter + /// + [Description("The unique ID of this fighter")] + [DataMember(Name = "FighterId", Order = 1)] + public int? FighterId { get; set; } + + /// + /// The fighter's first name + /// + [Description("The fighter's first name")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The fighter's last name + /// + [Description("The fighter's last name")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// The fighter's win total prior to the fight + /// + [Description("The fighter's win total prior to the fight")] + [DataMember(Name = "PreFightWins", Order = 4)] + public int? PreFightWins { get; set; } + + /// + /// The fighter's loss total prior to the fight + /// + [Description("The fighter's loss total prior to the fight")] + [DataMember(Name = "PreFightLosses", Order = 5)] + public int? PreFightLosses { get; set; } + + /// + /// The fighter's draw total prior to the fight + /// + [Description("The fighter's draw total prior to the fight")] + [DataMember(Name = "PreFightDraws", Order = 6)] + public int? PreFightDraws { get; set; } + + /// + /// The fighter's no contest total prior to the fight + /// + [Description("The fighter's no contest total prior to the fight")] + [DataMember(Name = "PreFightNoContests", Order = 7)] + public int? PreFightNoContests { get; set; } + + /// + /// Indicates if this fighter won the fight + /// + [Description("Indicates if this fighter won the fight")] + [DataMember(Name = "Winner", Order = 8)] + public bool? Winner { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/MMA/League.cs b/FantasyData.Api.Client.NetCore/Model/MMA/League.cs new file mode 100644 index 0000000..cc30cff --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/MMA/League.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.MMA +{ + [DataContract(Namespace="", Name="League")] + [Serializable] + public partial class League + { + /// + /// The unique ID of this MMA league + /// + [Description("The unique ID of this MMA league")] + [DataMember(Name = "LeagueId", Order = 1)] + public int LeagueId { get; set; } + + /// + /// The name of this MMA league + /// + [Description("The name of this MMA league")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The key of this MMA league + /// + [Description("The key of this MMA league")] + [DataMember(Name = "Key", Order = 3)] + public string Key { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Article.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Article.cs new file mode 100644 index 0000000..fa0abea --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Article.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Article")] + [Serializable] + public partial class Article + { + /// + /// Unique ID of the Article (assigned by FantasyData) + /// + [Description("Unique ID of the Article (assigned by FantasyData)")] + [DataMember(Name = "ArticleID", Order = 1)] + public int ArticleID { get; set; } + + /// + /// Article title + /// + [Description("Article title")] + [DataMember(Name = "Title", Order = 2)] + public string Title { get; set; } + + /// + /// Article source company + /// + [Description("Article source company")] + [DataMember(Name = "Source", Order = 3)] + public string Source { get; set; } + + /// + /// Article publish/last updated date + /// + [Description("Article publish/last updated date")] + [DataMember(Name = "Updated", Order = 4)] + public DateTime Updated { get; set; } + + /// + /// Main Content of the article + /// + [Description("Main Content of the article")] + [DataMember(Name = "Content", Order = 5)] + public string Content { get; set; } + + /// + /// Source company article url + /// + [Description("Source company article url")] + [DataMember(Name = "Url", Order = 6)] + public string Url { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 7)] + public string TermsOfUse { get; set; } + + /// + /// Article Author + /// + [Description("Article Author")] + [DataMember(Name = "Author", Order = 8)] + public string Author { get; set; } + + /// + /// Basic info on players included in the article + /// + [Description("Basic info on players included in the article")] + [DataMember(Name = "Players", Order = 20009)] + public PlayerInfo[] Players { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/BoxScore.cs b/FantasyData.Api.Client.NetCore/Model/NBA/BoxScore.cs new file mode 100644 index 0000000..4f5f816 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/BoxScore.cs @@ -0,0 +1,41 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="BoxScore")] + [Serializable] + public partial class BoxScore + { + /// + /// The details of the game associated with this box score + /// + [Description("The details of the game associated with this box score")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The details of the quarters associated with this box score + /// + [Description("The details of the quarters associated with this box score")] + [DataMember(Name = "Quarters", Order = 20002)] + public Quarter[] Quarters { get; set; } + + /// + /// The team game stats associated with this box score + /// + [Description("The team game stats associated with this box score")] + [DataMember(Name = "TeamGames", Order = 20003)] + public TeamGame[] TeamGames { get; set; } + + /// + /// The player game stats associated with this box score + /// + [Description("The player game stats associated with this box score")] + [DataMember(Name = "PlayerGames", Order = 20004)] + public PlayerGame[] PlayerGames { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/DfsSlate.cs b/FantasyData.Api.Client.NetCore/Model/NBA/DfsSlate.cs new file mode 100644 index 0000000..e576471 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/DfsSlate.cs @@ -0,0 +1,111 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="DfsSlate")] + [Serializable] + public partial class DfsSlate + { + /// + /// Unique ID of a Slate (assigned by FantasyData). + /// + [Description("Unique ID of a Slate (assigned by FantasyData).")] + [DataMember(Name = "SlateID", Order = 1)] + public int SlateID { get; set; } + + /// + /// The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc. + /// + [Description("The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc.")] + [DataMember(Name = "Operator", Order = 2)] + public string Operator { get; set; } + + /// + /// Unique ID of a slate (assigned by the operator). + /// + [Description("Unique ID of a slate (assigned by the operator).")] + [DataMember(Name = "OperatorSlateID", Order = 3)] + public int? OperatorSlateID { get; set; } + + /// + /// The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc. + /// + [Description("The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc.")] + [DataMember(Name = "OperatorName", Order = 4)] + public string OperatorName { get; set; } + + /// + /// The day (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The day (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorDay", Order = 5)] + public DateTime? OperatorDay { get; set; } + + /// + /// The date/time (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The date/time (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorStartTime", Order = 6)] + public DateTime? OperatorStartTime { get; set; } + + /// + /// The number of actual games that this slate covers. + /// + [Description("The number of actual games that this slate covers.")] + [DataMember(Name = "NumberOfGames", Order = 7)] + public int? NumberOfGames { get; set; } + + /// + /// Whether this slate uses games that take place on different days. + /// + [Description("Whether this slate uses games that take place on different days.")] + [DataMember(Name = "IsMultiDaySlate", Order = 8)] + public bool? IsMultiDaySlate { get; set; } + + /// + /// Indicates whether this slate was removed/deleted by the operator. + /// + [Description("Indicates whether this slate was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 9)] + public bool? RemovedByOperator { get; set; } + + /// + /// The game type of the slate. Will often be null as most operators only have one game type. + /// + [Description("The game type of the slate. Will often be null as most operators only have one game type.")] + [DataMember(Name = "OperatorGameType", Order = 10)] + public string OperatorGameType { get; set; } + + /// + /// The games that are included in this slate + /// + [Description("The games that are included in this slate")] + [DataMember(Name = "DfsSlateGames", Order = 20011)] + public DfsSlateGame[] DfsSlateGames { get; set; } + + /// + /// The players that are included in this slate + /// + [Description("The players that are included in this slate")] + [DataMember(Name = "DfsSlatePlayers", Order = 20012)] + public DfsSlatePlayer[] DfsSlatePlayers { get; set; } + + /// + /// The positions that need to be filled for this particular slate + /// + [Description("The positions that need to be filled for this particular slate")] + [DataMember(Name = "SlateRosterSlots", Order = 10013)] + public string[] SlateRosterSlots { get; set; } + + /// + /// The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes) + /// + [Description("The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes)")] + [DataMember(Name = "SalaryCap", Order = 14)] + public int? SalaryCap { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/DfsSlateGame.cs b/FantasyData.Api.Client.NetCore/Model/NBA/DfsSlateGame.cs new file mode 100644 index 0000000..6e00681 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/DfsSlateGame.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="DfsSlateGame")] + [Serializable] + public partial class DfsSlateGame + { + /// + /// Unique ID of a SlateGame (assigned by FantasyData). + /// + [Description("Unique ID of a SlateGame (assigned by FantasyData).")] + [DataMember(Name = "SlateGameID", Order = 1)] + public int SlateGameID { get; set; } + + /// + /// The SlateID that this SlateGame refers to. + /// + [Description("The SlateID that this SlateGame refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds. + /// + [Description("The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds.")] + [DataMember(Name = "GameID", Order = 3)] + public int? GameID { get; set; } + + /// + /// The details of the Game that this SlateGame refers to. + /// + [Description("The details of the Game that this SlateGame refers to.")] + [DataMember(Name = "Game", Order = 10004)] + public Game Game { get; set; } + + /// + /// Unique ID of a SlateGame (assigned by the operator). + /// + [Description("Unique ID of a SlateGame (assigned by the operator).")] + [DataMember(Name = "OperatorGameID", Order = 5)] + public int? OperatorGameID { get; set; } + + /// + /// Indicates whether this game was removed/deleted by the operator. + /// + [Description("Indicates whether this game was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 6)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/DfsSlatePlayer.cs b/FantasyData.Api.Client.NetCore/Model/NBA/DfsSlatePlayer.cs new file mode 100644 index 0000000..827d4a8 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/DfsSlatePlayer.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="DfsSlatePlayer")] + [Serializable] + public partial class DfsSlatePlayer + { + /// + /// Unique ID of a SlatePlayer (assigned by FantasyData). + /// + [Description("Unique ID of a SlatePlayer (assigned by FantasyData).")] + [DataMember(Name = "SlatePlayerID", Order = 1)] + public int SlatePlayerID { get; set; } + + /// + /// The SlateID that this SlatePlayer refers to. + /// + [Description("The SlateID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The SlateGameID that this SlatePlayer refers to. + /// + [Description("The SlateGameID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateGameID", Order = 3)] + public int? SlateGameID { get; set; } + + /// + /// The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds. + /// + [Description("The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds.")] + [DataMember(Name = "PlayerID", Order = 4)] + public int? PlayerID { get; set; } + + /// + /// The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds. + /// + [Description("The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds.")] + [DataMember(Name = "PlayerGameProjectionStatID", Order = 5)] + public int? PlayerGameProjectionStatID { get; set; } + + /// + /// Unique ID of the Player (assigned by the operator). + /// + [Description("Unique ID of the Player (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerID", Order = 6)] + public string OperatorPlayerID { get; set; } + + /// + /// Unique ID of the SlatePlayer (assigned by the operator). + /// + [Description("Unique ID of the SlatePlayer (assigned by the operator).")] + [DataMember(Name = "OperatorSlatePlayerID", Order = 7)] + public string OperatorSlatePlayerID { get; set; } + + /// + /// The player's name (assigned by the operator). + /// + [Description("The player's name (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerName", Order = 8)] + public string OperatorPlayerName { get; set; } + + /// + /// The player's eligible positions for the contest (assigned by the operator). + /// + [Description("The player's eligible positions for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorPosition", Order = 9)] + public string OperatorPosition { get; set; } + + /// + /// The player's salary for the contest (assigned by the operator). + /// + [Description("The player's salary for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorSalary", Order = 10)] + public int? OperatorSalary { get; set; } + + /// + /// The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible. + /// + [Description("The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible.")] + [DataMember(Name = "OperatorRosterSlots", Order = 10011)] + public string[] OperatorRosterSlots { get; set; } + + /// + /// Indicates whether this player was removed/deleted by the operator. + /// + [Description("Indicates whether this player was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 12)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Game.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Game.cs new file mode 100644 index 0000000..b6968a8 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Game.cs @@ -0,0 +1,251 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int GameID { get; set; } + + /// + /// The NBA season of the game + /// + [Description("The NBA season of the game")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Playoffs). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Playoffs).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 4)] + public string Status { get; set; } + + /// + /// The date of the game + /// + [Description("The date of the game")] + [DataMember(Name = "Day", Order = 5)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime? DateTime { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 7)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 8)] + public string HomeTeam { get; set; } + + /// + /// The unique ID of the away team + /// + [Description("The unique ID of the away team")] + [DataMember(Name = "AwayTeamID", Order = 9)] + public int AwayTeamID { get; set; } + + /// + /// The unique ID of the home team + /// + [Description("The unique ID of the home team")] + [DataMember(Name = "HomeTeamID", Order = 10)] + public int HomeTeamID { get; set; } + + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 11)] + public int? StadiumID { get; set; } + + /// + /// The television station broadcasting the game + /// + [Description("The television station broadcasting the game")] + [DataMember(Name = "Channel", Order = 12)] + public string Channel { get; set; } + + /// + /// Total number of people who attended the game + /// + [Description("Total number of people who attended the game")] + [DataMember(Name = "Attendance", Order = 13)] + public int? Attendance { get; set; } + + /// + /// Number of points the away scored in this game + /// + [Description("Number of points the away scored in this game")] + [DataMember(Name = "AwayTeamScore", Order = 14)] + public int? AwayTeamScore { get; set; } + + /// + /// Number of points the home scored in this game + /// + [Description("Number of points the home scored in this game")] + [DataMember(Name = "HomeTeamScore", Order = 15)] + public int? HomeTeamScore { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 16)] + public DateTime? Updated { get; set; } + + /// + /// The current quarter in the game. Possible values include: 1, 2, 3, 4, Half, OT, NULL + /// + [Description("The current quarter in the game. Possible values include: 1, 2, 3, 4, Half, OT, NULL")] + [DataMember(Name = "Quarter", Order = 17)] + public string Quarter { get; set; } + + /// + /// Number of minutes remaining in the quarter + /// + [Description("Number of minutes remaining in the quarter")] + [DataMember(Name = "TimeRemainingMinutes", Order = 18)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// Number of seconds remaining in the quarter + /// + [Description("Number of seconds remaining in the quarter")] + [DataMember(Name = "TimeRemainingSeconds", Order = 19)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored)")] + [DataMember(Name = "PointSpread", Order = 20)] + public decimal? PointSpread { get; set; } + + /// + /// The oddsmaker Over/Under at game start + /// + [Description("The oddsmaker Over/Under at game start")] + [DataMember(Name = "OverUnder", Order = 21)] + public decimal? OverUnder { get; set; } + + /// + /// Money line from the perspective of the away team + /// + [Description("Money line from the perspective of the away team")] + [DataMember(Name = "AwayTeamMoneyLine", Order = 22)] + public int? AwayTeamMoneyLine { get; set; } + + /// + /// Money line from the perspective of the home team + /// + [Description("Money line from the perspective of the home team")] + [DataMember(Name = "HomeTeamMoneyLine", Order = 23)] + public int? HomeTeamMoneyLine { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 24)] + public int GlobalGameID { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamID", Order = 25)] + public int GlobalAwayTeamID { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamID", Order = 26)] + public int GlobalHomeTeamID { get; set; } + + /// + /// The money line payout odds when betting on the away team with the point spread + /// + [Description("The money line payout odds when betting on the away team with the point spread")] + [DataMember(Name = "PointSpreadAwayTeamMoneyLine", Order = 27)] + public int? PointSpreadAwayTeamMoneyLine { get; set; } + + /// + /// The money line payout odds when betting on the home team with the point spread + /// + [Description("The money line payout odds when betting on the home team with the point spread")] + [DataMember(Name = "PointSpreadHomeTeamMoneyLine", Order = 28)] + public int? PointSpreadHomeTeamMoneyLine { get; set; } + + /// + /// The description of the most recent play/event of the game. This is for display purposes and does not include corresponding data points. + /// + [Description("The description of the most recent play/event of the game. This is for display purposes and does not include corresponding data points.")] + [DataMember(Name = "LastPlay", Order = 29)] + public string LastPlay { get; set; } + + /// + /// Indicates whether the game is over and the final score has been verified and closed out. + /// + [Description("Indicates whether the game is over and the final score has been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 30)] + public bool IsClosed { get; set; } + + /// + /// The details of the quarters (including overtime periods) for this game. + /// + [Description("The details of the quarters (including overtime periods) for this game.")] + [DataMember(Name = "Quarters", Order = 20031)] + public Quarter[] Quarters { get; set; } + + /// + /// The date and time that the game ended in US Eastern Time + /// + [Description("The date and time that the game ended in US Eastern Time")] + [DataMember(Name = "GameEndDateTime", Order = 32)] + public DateTime? GameEndDateTime { get; set; } + + /// + /// The Rotation number of the home team for this game + /// + [Description("The Rotation number of the home team for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 33)] + public int? HomeRotationNumber { get; set; } + + /// + /// The Rotation number of the away team for this game + /// + [Description("The Rotation number of the away team for this game")] + [DataMember(Name = "AwayRotationNumber", Order = 34)] + public int? AwayRotationNumber { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/GameInfo.cs b/FantasyData.Api.Client.NetCore/Model/NBA/GameInfo.cs new file mode 100644 index 0000000..72fac2d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/GameInfo.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="GameInfo")] + [Serializable] + public partial class GameInfo + { + /// + /// The unique ID of the game. + /// + [Description("The unique ID of the game.")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The calendar year of the season during which this game occurs. + /// + [Description("The calendar year of the season during which this game occurs.")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC. + /// + [Description("The day that the game is scheduled to be played in UTC.")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC. + /// + [Description("The date/time that the game is scheduled to be played in UTC.")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 6)] + public string Status { get; set; } + + /// + /// The TeamId of the away team. + /// + [Description("The TeamId of the away team.")] + [DataMember(Name = "AwayTeamId", Order = 7)] + public int? AwayTeamId { get; set; } + + /// + /// The TeamId of the home team. + /// + [Description("The TeamId of the home team.")] + [DataMember(Name = "HomeTeamId", Order = 8)] + public int? HomeTeamId { get; set; } + + /// + /// The name of the away team. + /// + [Description("The name of the away team.")] + [DataMember(Name = "AwayTeamName", Order = 9)] + public string AwayTeamName { get; set; } + + /// + /// The name of the home team. + /// + [Description("The name of the home team.")] + [DataMember(Name = "HomeTeamName", Order = 10)] + public string HomeTeamName { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 11)] + public int GlobalGameId { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamId", Order = 12)] + public int? GlobalAwayTeamId { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamId", Order = 13)] + public int? GlobalHomeTeamId { get; set; } + + /// + /// List of Pregame GameOdds from different sportsbooks + /// + [Description("List of Pregame GameOdds from different sportsbooks")] + [DataMember(Name = "PregameOdds", Order = 20014)] + public GameOdd[] PregameOdds { get; set; } + + /// + /// List of Live GameOdds from different sportsbooks + /// + [Description("List of Live GameOdds from different sportsbooks")] + [DataMember(Name = "LiveOdds", Order = 20015)] + public GameOdd[] LiveOdds { get; set; } + + /// + /// Score of the home team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the home team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "HomeTeamScore", Order = 16)] + public int? HomeTeamScore { get; set; } + + /// + /// Score of the away team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the away team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "AwayTeamScore", Order = 17)] + public int? AwayTeamScore { get; set; } + + /// + /// Total scored points in the game (updated after game ends to allow for resolving bets) + /// + [Description("Total scored points in the game (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "TotalScore", Order = 18)] + public int? TotalScore { get; set; } + + /// + /// The Rotation number of the home team for this game + /// + [Description("The Rotation number of the home team for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 19)] + public int? HomeRotationNumber { get; set; } + + /// + /// The Rotation number of the away team for this game + /// + [Description("The Rotation number of the away team for this game")] + [DataMember(Name = "AwayRotationNumber", Order = 20)] + public int? AwayRotationNumber { get; set; } + + /// + /// List of Alternate Market GameOdds from different sportsbooks (such as 1st-half, 1st-qtr, etc) + /// + [Description("List of Alternate Market GameOdds from different sportsbooks (such as 1st-half, 1st-qtr, etc)")] + [DataMember(Name = "AlternateMarketPregameOdds", Order = 20021)] + public GameOdd[] AlternateMarketPregameOdds { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/GameOdd.cs b/FantasyData.Api.Client.NetCore/Model/NBA/GameOdd.cs new file mode 100644 index 0000000..5ed34cd --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/GameOdd.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="GameOdd")] + [Serializable] + public partial class GameOdd + { + /// + /// Unique ID of this odd + /// + [Description("Unique ID of this odd")] + [DataMember(Name = "GameOddId", Order = 1)] + public int GameOddId { get; set; } + + /// + /// Name of sportsbook + /// + [Description("Name of sportsbook")] + [DataMember(Name = "Sportsbook", Order = 2)] + public string Sportsbook { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 3)] + public int GameId { get; set; } + + /// + /// The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT). + /// + [Description("The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT).")] + [DataMember(Name = "Created", Order = 4)] + public DateTime Created { get; set; } + + /// + /// The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook. + /// + [Description("The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook.")] + [DataMember(Name = "Updated", Order = 5)] + public DateTime Updated { get; set; } + + /// + /// The sportsbook's money line for the home team + /// + [Description("The sportsbook's money line for the home team")] + [DataMember(Name = "HomeMoneyLine", Order = 6)] + public int? HomeMoneyLine { get; set; } + + /// + /// The sportsbook's money line for the away team + /// + [Description("The sportsbook's money line for the away team")] + [DataMember(Name = "AwayMoneyLine", Order = 7)] + public int? AwayMoneyLine { get; set; } + + /// + /// The sportsbook's point spread for the home team + /// + [Description("The sportsbook's point spread for the home team")] + [DataMember(Name = "HomePointSpread", Order = 8)] + public decimal? HomePointSpread { get; set; } + + /// + /// The sportsbook's point spread for the away team + /// + [Description("The sportsbook's point spread for the away team")] + [DataMember(Name = "AwayPointSpread", Order = 9)] + public decimal? AwayPointSpread { get; set; } + + /// + /// The sportsbook's point spread payout for the home team + /// + [Description("The sportsbook's point spread payout for the home team")] + [DataMember(Name = "HomePointSpreadPayout", Order = 10)] + public int? HomePointSpreadPayout { get; set; } + + /// + /// The sportsbook's point spread payout for the away team + /// + [Description("The sportsbook's point spread payout for the away team")] + [DataMember(Name = "AwayPointSpreadPayout", Order = 11)] + public int? AwayPointSpreadPayout { get; set; } + + /// + /// The sportsbook's total points scored over under for the game + /// + [Description("The sportsbook's total points scored over under for the game")] + [DataMember(Name = "OverUnder", Order = 12)] + public decimal? OverUnder { get; set; } + + /// + /// The sportsbook's payout for the over + /// + [Description("The sportsbook's payout for the over")] + [DataMember(Name = "OverPayout", Order = 13)] + public int? OverPayout { get; set; } + + /// + /// The sportsbook's payout for the under + /// + [Description("The sportsbook's payout for the under")] + [DataMember(Name = "UnderPayout", Order = 14)] + public int? UnderPayout { get; set; } + + /// + /// Unique ID of the Sportsbook + /// + [Description("Unique ID of the Sportsbook")] + [DataMember(Name = "SportsbookId", Order = 15)] + public int? SportsbookId { get; set; } + + /// + /// The market type of the odd (ex: live, pregame, 1st-half, 2nd-quarter) + /// + [Description("The market type of the odd (ex: live, pregame, 1st-half, 2nd-quarter)")] + [DataMember(Name = "OddType", Order = 16)] + public string OddType { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/GameStat.cs b/FantasyData.Api.Client.NetCore/Model/NBA/GameStat.cs new file mode 100644 index 0000000..1f7f94d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/GameStat.cs @@ -0,0 +1,398 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="GameStat")] + [Serializable] + public partial class GameStat + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 2)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 3)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 6)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 7)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 8)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 9)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 11)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 13)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 14)] + public int? Seconds { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 15)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 16)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 17)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 18)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 19)] + public decimal? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 20)] + public decimal? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 21)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 22)] + public decimal? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 23)] + public decimal? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 24)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 25)] + public decimal? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 26)] + public decimal? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 27)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 28)] + public decimal? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 29)] + public decimal? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 30)] + public decimal? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 31)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 32)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 33)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 34)] + public decimal? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 35)] + public decimal? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 36)] + public decimal? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 37)] + public decimal? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 38)] + public decimal? PersonalFouls { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Points", Order = 39)] + public decimal? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 40)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 41)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 42)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 43)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 44)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 45)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 46)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 47)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 48)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 49)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 50)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 51)] + public decimal? PlusMinus { get; set; } + + /// + /// Total double-doubles scored + /// + [Description("Total double-doubles scored")] + [DataMember(Name = "DoubleDoubles", Order = 52)] + public decimal? DoubleDoubles { get; set; } + + /// + /// Total triple-doubles scored + /// + [Description("Total triple-doubles scored")] + [DataMember(Name = "TripleDoubles", Order = 53)] + public decimal? TripleDoubles { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 54)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Indicates whether the game is over and the stats for this player have been verified and closed out. + /// + [Description("Indicates whether the game is over and the stats for this player have been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 55)] + public bool IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Headshot.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Headshot.cs new file mode 100644 index 0000000..2911433 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Headshot.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Headshot")] + [Serializable] + public partial class Headshot + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Name of Player. + /// + [Description("Name of Player.")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// Unique ID of the Team the player belongs to (assigned by FantasyData). + /// + [Description("Unique ID of the Team the player belongs to (assigned by FantasyData).")] + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + /// + /// Name of the team the player belongs to. + /// + [Description("Name of the team the player belongs to.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Position player plays. + /// + [Description("Position player plays.")] + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + /// + /// The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available. + /// + [Description("The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available.")] + [DataMember(Name = "PreferredHostedHeadshotUrl", Order = 6)] + public string PreferredHostedHeadshotUrl { get; set; } + + /// + /// The last updated date of the player's preferred hosted headshot. + /// + [Description("The last updated date of the player's preferred hosted headshot.")] + [DataMember(Name = "PreferredHostedHeadshotUpdated", Order = 7)] + public DateTime? PreferredHostedHeadshotUpdated { get; set; } + + /// + /// The player's hosted headshot URL. + /// + [Description("The player's hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUrl", Order = 8)] + public string HostedHeadshotWithBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's hosted headshot. + /// + [Description("The last updated date of the player's hosted headshot.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUpdated", Order = 9)] + public DateTime? HostedHeadshotWithBackgroundUpdated { get; set; } + + /// + /// The player's transparent background hosted headshot URL. + /// + [Description("The player's transparent background hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUrl", Order = 10)] + public string HostedHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's transparent background hosted headshot. + /// + [Description("The last updated date of the player's transparent background hosted headshot.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUpdated", Order = 11)] + public DateTime? HostedHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Injury.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Injury.cs new file mode 100644 index 0000000..16c862c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Injury.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Injury")] + [Serializable] + public partial class Injury + { + /// + /// Unique ID of the injury status + /// + [Description("Unique ID of the injury status")] + [DataMember(Name = "InjuryID", Order = 1)] + public int InjuryID { get; set; } + + /// + /// Whether or not the player is active (true/false) + /// + [Description("Whether or not the player is active (true/false)")] + [DataMember(Name = "Active", Order = 2)] + public bool Active { get; set; } + + /// + /// The PlayerID of the injured player + /// + [Description("The PlayerID of the injured player")] + [DataMember(Name = "PlayerID", Order = 3)] + public int PlayerID { get; set; } + + /// + /// Indicates the start date of the player's injury + /// + [Description("Indicates the start date of the player's injury")] + [DataMember(Name = "StartDate", Order = 4)] + public DateTime StartDate { get; set; } + + /// + /// The full name of the injured player + /// + [Description("The full name of the injured player")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The position of the injured player + /// + [Description("The position of the injured player")] + [DataMember(Name = "Position", Order = 6)] + public string Position { get; set; } + + /// + /// Likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("Likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "Status", Order = 7)] + public string Status { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "BodyPart", Order = 8)] + public string BodyPart { get; set; } + + /// + /// When the player is expected to return + /// + [Description("When the player is expected to return")] + [DataMember(Name = "ExpectedReturn", Order = 9)] + public string ExpectedReturn { get; set; } + + /// + /// Inidcates any notes about the player's injury + /// + [Description("Inidcates any notes about the player's injury")] + [DataMember(Name = "Notes", Order = 10)] + public string Notes { get; set; } + + /// + /// The date/time the injury status was created + /// + [Description("The date/time the injury status was created")] + [DataMember(Name = "Created", Order = 11)] + public DateTime? Created { get; set; } + + /// + /// The date/time the injury status was updated + /// + [Description("The date/time the injury status was updated")] + [DataMember(Name = "Updated", Order = 12)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/News.cs b/FantasyData.Api.Client.NetCore/Model/NBA/News.cs new file mode 100644 index 0000000..4cf3cb4 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/News.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="News")] + [Serializable] + public partial class News + { + /// + /// Unique ID of news story + /// + [Description("Unique ID of news story")] + [DataMember(Name = "NewsID", Order = 1)] + public int NewsID { get; set; } + + /// + /// The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.) + /// + [Description("The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.)")] + [DataMember(Name = "Source", Order = 2)] + public string Source { get; set; } + + /// + /// The date/time that the content was published (UTC time zone) + /// + [Description("The date/time that the content was published (UTC time zone)")] + [DataMember(Name = "Updated", Order = 3)] + public DateTime Updated { get; set; } + + /// + /// A description of how long ago this content was published + /// + [Description("A description of how long ago this content was published")] + [DataMember(Name = "TimeAgo", Order = 4)] + public string TimeAgo { get; set; } + + /// + /// The brief title of the news (typically less than 100 characters) + /// + [Description("The brief title of the news (typically less than 100 characters)")] + [DataMember(Name = "Title", Order = 5)] + public string Title { get; set; } + + /// + /// The full body content of the story + /// + [Description("The full body content of the story")] + [DataMember(Name = "Content", Order = 6)] + public string Content { get; set; } + + /// + /// The url of the full story + /// + [Description("The url of the full story")] + [DataMember(Name = "Url", Order = 7)] + public string Url { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 8)] + public string TermsOfUse { get; set; } + + /// + /// The author of the content + /// + [Description("The author of the content")] + [DataMember(Name = "Author", Order = 9)] + public string Author { get; set; } + + /// + /// Comma delimited meta tags describing the categories of this content. Possible tags include: Top Headlines, Breaking News, Injury, Sit/Start, Waiver Wire, Risers, Fallers, Lineups, Transactions, Free Agents, Prospects/Rookies, Game Recap, Matchup Outlook + /// + [Description("Comma delimited meta tags describing the categories of this content. Possible tags include: Top Headlines, Breaking News, Injury, Sit/Start, Waiver Wire, Risers, Fallers, Lineups, Transactions, Free Agents, Prospects/Rookies, Game Recap, Matchup Outlook")] + [DataMember(Name = "Categories", Order = 10)] + public string Categories { get; set; } + + /// + /// The PlayerID of the player who relates to this story + /// + [Description("The PlayerID of the player who relates to this story")] + [DataMember(Name = "PlayerID", Order = 11)] + public int? PlayerID { get; set; } + + /// + /// The TeamID of the team that relates to this story + /// + [Description("The TeamID of the team that relates to this story")] + [DataMember(Name = "TeamID", Order = 12)] + public int? TeamID { get; set; } + + /// + /// The team that relates to this story + /// + [Description("The team that relates to this story")] + [DataMember(Name = "Team", Order = 13)] + public string Team { get; set; } + + /// + /// The PlayerID of the player who relates to this story + /// + [Description("The PlayerID of the player who relates to this story")] + [DataMember(Name = "PlayerID2", Order = 14)] + public int? PlayerID2 { get; set; } + + /// + /// The TeamID of the team that relates to this story + /// + [Description("The TeamID of the team that relates to this story")] + [DataMember(Name = "TeamID2", Order = 15)] + public int? TeamID2 { get; set; } + + /// + /// The team that relates to this story + /// + [Description("The team that relates to this story")] + [DataMember(Name = "Team2", Order = 16)] + public string Team2 { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/OpponentSeason.cs b/FantasyData.Api.Client.NetCore/Model/NBA/OpponentSeason.cs new file mode 100644 index 0000000..7caa57c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/OpponentSeason.cs @@ -0,0 +1,419 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="OpponentSeason")] + [Serializable] + public partial class OpponentSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The NBA regular season for which these totals apply + /// + [Description("The NBA regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team name + /// + [Description("Team name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// Total number of wins + /// + [Description("Total number of wins")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// Total number of losses + /// + [Description("Total number of losses")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// Indicates which position is included in opponent stats that are aggregated together + /// + [Description("Indicates which position is included in opponent stats that are aggregated together")] + [DataMember(Name = "OpponentPosition", Order = 9)] + public string OpponentPosition { get; set; } + + /// + /// The team's estimated number of possessions as defined by the formula here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The team's estimated number of possessions as defined by the formula here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "Possessions", Order = 10)] + public decimal? Possessions { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 11)] + public int? GlobalTeamID { get; set; } + + /// + /// The aggregated season stats for this team's opponents + /// + [Description("The aggregated season stats for this team's opponents")] + [DataMember(Name = "OpponentStat", Order = 10012)] + public OpponentSeason OpponentStat { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 13)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 14)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 15)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 16)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 17)] + public int? Seconds { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 18)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 19)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 20)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 21)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 22)] + public decimal? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 23)] + public decimal? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 24)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 25)] + public decimal? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 26)] + public decimal? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 27)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 28)] + public decimal? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 29)] + public decimal? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 30)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 31)] + public decimal? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 32)] + public decimal? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 33)] + public decimal? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 34)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 35)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 36)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 37)] + public decimal? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 38)] + public decimal? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 39)] + public decimal? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 40)] + public decimal? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 41)] + public decimal? PersonalFouls { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Points", Order = 42)] + public decimal? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 43)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 44)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 45)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 46)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 47)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 48)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 49)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 50)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 51)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 52)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 53)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 54)] + public decimal? PlusMinus { get; set; } + + /// + /// Total double-doubles scored + /// + [Description("Total double-doubles scored")] + [DataMember(Name = "DoubleDoubles", Order = 55)] + public decimal? DoubleDoubles { get; set; } + + /// + /// Total triple-doubles scored + /// + [Description("Total triple-doubles scored")] + [DataMember(Name = "TripleDoubles", Order = 56)] + public decimal? TripleDoubles { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 57)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Indicates whether the game is over and the stats for this player have been verified and closed out. + /// + [Description("Indicates whether the game is over and the stats for this player have been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 58)] + public bool IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Play.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Play.cs new file mode 100644 index 0000000..3e8bc22 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Play.cs @@ -0,0 +1,216 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Play")] + [Serializable] + public partial class Play + { + /// + /// The unique identifier of the play. + /// + [Description("The unique identifier of the play.")] + [DataMember(Name = "PlayID", Order = 1)] + public int PlayID { get; set; } + + /// + /// The unique identifier of the Quarter that this play occurred in. + /// + [Description("The unique identifier of the Quarter that this play occurred in.")] + [DataMember(Name = "QuarterID", Order = 2)] + public int QuarterID { get; set; } + + /// + /// The name of the Quarter that this play occurred in. + /// + [Description("The name of the Quarter that this play occurred in.")] + [DataMember(Name = "QuarterName", Order = 3)] + public string QuarterName { get; set; } + + /// + /// The order in which this play happened over the course of the game. + /// + [Description("The order in which this play happened over the course of the game.")] + [DataMember(Name = "Sequence", Order = 4)] + public int Sequence { get; set; } + + /// + /// The number of minutes remaining in the Quarter when this play completed. + /// + [Description("The number of minutes remaining in the Quarter when this play completed.")] + [DataMember(Name = "TimeRemainingMinutes", Order = 5)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// The number of seconds remaining in the Quarter when this play completed. + /// + [Description("The number of seconds remaining in the Quarter when this play completed.")] + [DataMember(Name = "TimeRemainingSeconds", Order = 6)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// The score of the away team after this play completed. + /// + [Description("The score of the away team after this play completed.")] + [DataMember(Name = "AwayTeamScore", Order = 7)] + public int? AwayTeamScore { get; set; } + + /// + /// The score of the home team after this play completed. + /// + [Description("The score of the home team after this play completed.")] + [DataMember(Name = "HomeTeamScore", Order = 8)] + public int? HomeTeamScore { get; set; } + + /// + /// The points that would have been potentially scored by the shot attempt (if any). + /// + [Description("The points that would have been potentially scored by the shot attempt (if any).")] + [DataMember(Name = "PotentialPoints", Order = 9)] + public int? PotentialPoints { get; set; } + + /// + /// The points scores by the shot attempt (if any). + /// + [Description("The points scores by the shot attempt (if any).")] + [DataMember(Name = "Points", Order = 10)] + public int? Points { get; set; } + + /// + /// Whether the shot was made (if any). + /// + [Description("Whether the shot was made (if any).")] + [DataMember(Name = "ShotMade", Order = 11)] + public bool? ShotMade { get; set; } + + /// + /// The category the play. Possible values: Period, Timeout, JumpBall, Shot, Rebound, Foul, Substitution + /// + [Description("The category the play. Possible values: Period, Timeout, JumpBall, Shot, Rebound, Foul, Substitution")] + [DataMember(Name = "Category", Order = 12)] + public string Category { get; set; } + + /// + /// The type of the play. Possible values: None, Period, Timeout, JumpBall, FieldGoalMade, FieldGoalMissed, FreeThrowMade, FreeThrowMissed, Rebound, Steal, Turnover, Foul, PersonalFoul, ShootingFoul, OffensiveFoul, LooseBallFoul, TechnicalFoul, FlagrantFoul, Traveling, Palming, Goaltending, KickedBall, LaneViolation, DelayOfGame, Substitution + /// + [Description("The type of the play. Possible values: None, Period, Timeout, JumpBall, FieldGoalMade, FieldGoalMissed, FreeThrowMade, FreeThrowMissed, Rebound, Steal, Turnover, Foul, PersonalFoul, ShootingFoul, OffensiveFoul, LooseBallFoul, TechnicalFoul, FlagrantFoul, Traveling, Palming, Goaltending, KickedBall, LaneViolation, DelayOfGame, Substitution")] + [DataMember(Name = "Type", Order = 13)] + public string Type { get; set; } + + /// + /// The TeamID of the team associated with this play. + /// + [Description("The TeamID of the team associated with this play.")] + [DataMember(Name = "TeamID", Order = 14)] + public int? TeamID { get; set; } + + /// + /// The Team Key of the team associated with this play. + /// + [Description("The Team Key of the team associated with this play.")] + [DataMember(Name = "Team", Order = 15)] + public string Team { get; set; } + + /// + /// The TeamID of the opponent associated with this play. + /// + [Description("The TeamID of the opponent associated with this play.")] + [DataMember(Name = "OpponentID", Order = 16)] + public int? OpponentID { get; set; } + + /// + /// The Team Key of the opponent associated with this play. + /// + [Description("The Team Key of the opponent associated with this play.")] + [DataMember(Name = "Opponent", Order = 17)] + public string Opponent { get; set; } + + /// + /// The TeamID of the team that won the jump ball. + /// + [Description("The TeamID of the team that won the jump ball.")] + [DataMember(Name = "ReceivingTeamID", Order = 18)] + public int? ReceivingTeamID { get; set; } + + /// + /// The Team Key of the team that won the jump ball. + /// + [Description("The Team Key of the team that won the jump ball.")] + [DataMember(Name = "ReceivingTeam", Order = 19)] + public string ReceivingTeam { get; set; } + + /// + /// The description of the play. + /// + [Description("The description of the play.")] + [DataMember(Name = "Description", Order = 20)] + public string Description { get; set; } + + /// + /// The PlayerID of the primary player on this play (if any). + /// + [Description("The PlayerID of the primary player on this play (if any).")] + [DataMember(Name = "PlayerID", Order = 21)] + public int? PlayerID { get; set; } + + /// + /// The PlayerID of the player who got a field goal assist on this play (if any). + /// + [Description("The PlayerID of the player who got a field goal assist on this play (if any).")] + [DataMember(Name = "AssistedByPlayerID", Order = 22)] + public int? AssistedByPlayerID { get; set; } + + /// + /// The PlayerID of the player who blocked the field goal attempt on this play (if any). + /// + [Description("The PlayerID of the player who blocked the field goal attempt on this play (if any).")] + [DataMember(Name = "BlockedByPlayerID", Order = 23)] + public int? BlockedByPlayerID { get; set; } + + /// + /// Indicates whether this play happened on a fast break. + /// + [Description("Indicates whether this play happened on a fast break.")] + [DataMember(Name = "FastBreak", Order = 24)] + public bool? FastBreak { get; set; } + + /// + /// The side of the basket that the field goal was attempted from (if any). Possible values: L, R + /// + [Description("The side of the basket that the field goal was attempted from (if any). Possible values: L, R")] + [DataMember(Name = "SideOfBasket", Order = 25)] + public string SideOfBasket { get; set; } + + /// + /// The database generated timestamp of when this Play was last updated. + /// + [Description("The database generated timestamp of when this Play was last updated.")] + [DataMember(Name = "Updated", Order = 26)] + public DateTime? Updated { get; set; } + + /// + /// The database generated timestamp of when this Play was first created. + /// + [Description("The database generated timestamp of when this Play was first created.")] + [DataMember(Name = "Created", Order = 27)] + public DateTime? Created { get; set; } + + /// + /// The PlayerID of the player who substituted into the game. + /// + [Description("The PlayerID of the player who substituted into the game.")] + [DataMember(Name = "SubstituteInPlayerID", Order = 28)] + public int? SubstituteInPlayerID { get; set; } + + /// + /// The PlayerID of the player who substituted out of the game. + /// + [Description("The PlayerID of the player who substituted out of the game.")] + [DataMember(Name = "SubstituteOutPlayerID", Order = 29)] + public int? SubstituteOutPlayerID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/PlayByPlay.cs b/FantasyData.Api.Client.NetCore/Model/NBA/PlayByPlay.cs new file mode 100644 index 0000000..028cc5f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/PlayByPlay.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="PlayByPlay")] + [Serializable] + public partial class PlayByPlay + { + /// + /// The details of the game associated with this play-by-play + /// + [Description("The details of the game associated with this play-by-play")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The details of the quarters associated with this play-by-play + /// + [Description("The details of the quarters associated with this play-by-play")] + [DataMember(Name = "Quarters", Order = 20002)] + public Quarter[] Quarters { get; set; } + + /// + /// The details of the plays associated with this play-by-play + /// + [Description("The details of the plays associated with this play-by-play")] + [DataMember(Name = "Plays", Order = 20003)] + public Play[] Plays { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Player.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Player.cs new file mode 100644 index 0000000..ff46d8f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Player.cs @@ -0,0 +1,356 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Deprecated. Use SportRadarPlayerID instead. + /// + [Description("Deprecated. Use SportRadarPlayerID instead.")] + [DataMember(Name = "SportsDataID", Order = 2)] + public string SportsDataID { get; set; } + + /// + /// Indicates the player's status of being on an active roster. Possible values include: Active, Inactive + /// + [Description("Indicates the player's status of being on an active roster. Possible values include: Active, Inactive")] + [DataMember(Name = "Status", Order = 3)] + public string Status { get; set; } + + /// + /// The TeamID of the team this player is employed by. + /// + [Description("The TeamID of the team this player is employed by.")] + [DataMember(Name = "TeamID", Order = 4)] + public int? TeamID { get; set; } + + /// + /// The key/abbreviation of the team this player is employed by. + /// + [Description("The key/abbreviation of the team this player is employed by.")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The player's jersey number. + /// + [Description("The player's jersey number.")] + [DataMember(Name = "Jersey", Order = 6)] + public int? Jersey { get; set; } + + /// + /// The player's position category. Possible values: C, F, G + /// + [Description("The player's position category. Possible values: C, F, G")] + [DataMember(Name = "PositionCategory", Order = 7)] + public string PositionCategory { get; set; } + + /// + /// The player's primary position. Possible values: C, PF, PG, SF, SG + /// + [Description("The player's primary position. Possible values: C, PF, PG, SF, SG")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The player's first name. + /// + [Description("The player's first name.")] + [DataMember(Name = "FirstName", Order = 9)] + public string FirstName { get; set; } + + /// + /// The player's last name. + /// + [Description("The player's last name.")] + [DataMember(Name = "LastName", Order = 10)] + public string LastName { get; set; } + + /// + /// The player's height in inches. + /// + [Description("The player's height in inches.")] + [DataMember(Name = "Height", Order = 11)] + public int? Height { get; set; } + + /// + /// The player's weight in pounds (lbs). + /// + [Description("The player's weight in pounds (lbs).")] + [DataMember(Name = "Weight", Order = 12)] + public int? Weight { get; set; } + + /// + /// The player's date of birth. + /// + [Description("The player's date of birth.")] + [DataMember(Name = "BirthDate", Order = 13)] + public DateTime? BirthDate { get; set; } + + /// + /// The city in which the player was born. + /// + [Description("The city in which the player was born.")] + [DataMember(Name = "BirthCity", Order = 14)] + public string BirthCity { get; set; } + + /// + /// The state in which the player was born. + /// + [Description("The state in which the player was born.")] + [DataMember(Name = "BirthState", Order = 15)] + public string BirthState { get; set; } + + /// + /// The country in which the player was born. + /// + [Description("The country in which the player was born.")] + [DataMember(Name = "BirthCountry", Order = 16)] + public string BirthCountry { get; set; } + + /// + /// The high school that the player attended. + /// + [Description("The high school that the player attended.")] + [DataMember(Name = "HighSchool", Order = 17)] + public string HighSchool { get; set; } + + /// + /// The college that the player attended. + /// + [Description("The college that the player attended.")] + [DataMember(Name = "College", Order = 18)] + public string College { get; set; } + + /// + /// The player's salary for the current season. + /// + [Description("The player's salary for the current season.")] + [DataMember(Name = "Salary", Order = 19)] + public int? Salary { get; set; } + + /// + /// The URL of the player's headshot photo. + /// + [Description("The URL of the player's headshot photo.")] + [DataMember(Name = "PhotoUrl", Order = 20)] + public string PhotoUrl { get; set; } + + /// + /// The number of years experience the player has in the NBA. + /// + [Description("The number of years experience the player has in the NBA.")] + [DataMember(Name = "Experience", Order = 21)] + public int? Experience { get; set; } + + /// + /// The player's cross reference PlayerID to the SportRadar API. + /// + [Description("The player's cross reference PlayerID to the SportRadar API.")] + [DataMember(Name = "SportRadarPlayerID", Order = 22)] + public string SportRadarPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the Rotoworld news feed. + /// + [Description("The player's cross reference PlayerID to the Rotoworld news feed.")] + [DataMember(Name = "RotoworldPlayerID", Order = 23)] + public int? RotoworldPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the RotoWire news feed. + /// + [Description("The player's cross reference PlayerID to the RotoWire news feed.")] + [DataMember(Name = "RotoWirePlayerID", Order = 24)] + public int? RotoWirePlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the FantasyAlarm news feed. + /// + [Description("The player's cross reference PlayerID to the FantasyAlarm news feed.")] + [DataMember(Name = "FantasyAlarmPlayerID", Order = 25)] + public int? FantasyAlarmPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the STATS data feeds. + /// + [Description("The player's cross reference PlayerID to the STATS data feeds.")] + [DataMember(Name = "StatsPlayerID", Order = 26)] + public int? StatsPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the SportsDirect data feeds. + /// + [Description("The player's cross reference PlayerID to the SportsDirect data feeds.")] + [DataMember(Name = "SportsDirectPlayerID", Order = 27)] + public int? SportsDirectPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the XML Team data feeds. + /// + [Description("The player's cross reference PlayerID to the XML Team data feeds.")] + [DataMember(Name = "XmlTeamPlayerID", Order = 28)] + public int? XmlTeamPlayerID { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out")] + [DataMember(Name = "InjuryStatus", Order = 29)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 30)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 31)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 32)] + public string InjuryNotes { get; set; } + + /// + /// The player's cross reference PlayerID to FanDuel. + /// + [Description("The player's cross reference PlayerID to FanDuel.")] + [DataMember(Name = "FanDuelPlayerID", Order = 33)] + public int? FanDuelPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to DraftKings. + /// + [Description("The player's cross reference PlayerID to DraftKings.")] + [DataMember(Name = "DraftKingsPlayerID", Order = 34)] + public int? DraftKingsPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to Yahoo Daily Fantasy Sports Contests. + /// + [Description("The player's cross reference PlayerID to Yahoo Daily Fantasy Sports Contests.")] + [DataMember(Name = "YahooPlayerID", Order = 35)] + public int? YahooPlayerID { get; set; } + + /// + /// The player's full name in FanDuel's daily fantasy sports platform. + /// + [Description("The player's full name in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelName", Order = 36)] + public string FanDuelName { get; set; } + + /// + /// The player's full name in DraftKings' daily fantasy sports platform. + /// + [Description("The player's full name in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsName", Order = 37)] + public string DraftKingsName { get; set; } + + /// + /// The player's full name in Yahoo's daily fantasy sports platform. + /// + [Description("The player's full name in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooName", Order = 38)] + public string YahooName { get; set; } + + /// + /// The position of the player on the depth chart. + /// + [Description("The position of the player on the depth chart.")] + [DataMember(Name = "DepthChartPosition", Order = 39)] + public string DepthChartPosition { get; set; } + + /// + /// The order of the player on the depth chart. + /// + [Description("The order of the player on the depth chart.")] + [DataMember(Name = "DepthChartOrder", Order = 40)] + public int? DepthChartOrder { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 41)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's full name in FantasyDraft's daily fantasy sports platform. + /// + [Description("The player's full name in FantasyDraft's daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftName", Order = 42)] + public string FantasyDraftName { get; set; } + + /// + /// The player's cross reference PlayerID to Fantasy Draft. + /// + [Description("The player's cross reference PlayerID to Fantasy Draft.")] + [DataMember(Name = "FantasyDraftPlayerID", Order = 43)] + public int? FantasyDraftPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to USA Today headshot data feeds. + /// + [Description("The player's cross reference PlayerID to USA Today headshot data feeds.")] + [DataMember(Name = "UsaTodayPlayerID", Order = 44)] + public int? UsaTodayPlayerID { get; set; } + + /// + /// The player's headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUrl", Order = 45)] + public string UsaTodayHeadshotUrl { get; set; } + + /// + /// The player's transparent background headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's transparent background headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUrl", Order = 46)] + public string UsaTodayHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUpdated", Order = 47)] + public DateTime? UsaTodayHeadshotUpdated { get; set; } + + /// + /// The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUpdated", Order = 48)] + public DateTime? UsaTodayHeadshotNoBackgroundUpdated { get; set; } + + /// + /// The player's personid on nba dot com + /// + [Description("The player's personid on nba dot com")] + [DataMember(Name = "NbaDotComPlayerID", Order = 49)] + public int? NbaDotComPlayerID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/PlayerGame.cs b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerGame.cs new file mode 100644 index 0000000..198730c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerGame.cs @@ -0,0 +1,573 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="PlayerGame")] + [Serializable] + public partial class PlayerGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason) + /// + [Description("The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason)")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The NBA season of the game + /// + [Description("The NBA season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's position associated with the given game or season. Possible values: C, F, FC, G, GF, PF, PG, SF, SG + /// + [Description("The player's position associated with the given game or season. Possible values: C, F, FC, G, GF, PF, PG, SF, SG")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// Whether the player started + /// + [Description("Whether the player started")] + [DataMember(Name = "Started", Order = 9)] + public int? Started { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 10)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 11)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 12)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 13)] + public int? YahooSalary { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out")] + [DataMember(Name = "InjuryStatus", Order = 14)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 15)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 16)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 17)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 18)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 19)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 20)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 21)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 22)] + public int? OpponentPositionRank { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 23)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's salary for Fantasy Draft daily fantasy contests. + /// + [Description("The player's salary for Fantasy Draft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 24)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in Fantasy Drafts daily fantasy sports platform. + /// + [Description("The player's eligible position in Fantasy Drafts daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 25)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 26)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 27)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 28)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 29)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 30)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 31)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 32)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 33)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 34)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 35)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 36)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 37)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 38)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 39)] + public int? Seconds { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 40)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 41)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 42)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 43)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 44)] + public decimal? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 45)] + public decimal? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 46)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 47)] + public decimal? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 48)] + public decimal? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 49)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 50)] + public decimal? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 51)] + public decimal? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 52)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 53)] + public decimal? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 54)] + public decimal? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 55)] + public decimal? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 56)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 57)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 58)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 59)] + public decimal? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 60)] + public decimal? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 61)] + public decimal? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 62)] + public decimal? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 63)] + public decimal? PersonalFouls { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Points", Order = 64)] + public decimal? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 65)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 66)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 67)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 68)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 69)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 70)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 71)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 72)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 73)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 74)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 75)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 76)] + public decimal? PlusMinus { get; set; } + + /// + /// Total double-doubles scored + /// + [Description("Total double-doubles scored")] + [DataMember(Name = "DoubleDoubles", Order = 77)] + public decimal? DoubleDoubles { get; set; } + + /// + /// Total triple-doubles scored + /// + [Description("Total triple-doubles scored")] + [DataMember(Name = "TripleDoubles", Order = 78)] + public decimal? TripleDoubles { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 79)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Indicates whether the game is over and the stats for this player have been verified and closed out. + /// + [Description("Indicates whether the game is over and the stats for this player have been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 80)] + public bool IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/PlayerGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerGameProjection.cs new file mode 100644 index 0000000..6866db2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerGameProjection.cs @@ -0,0 +1,573 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="PlayerGameProjection")] + [Serializable] + public partial class PlayerGameProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason) + /// + [Description("The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason)")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The NBA season of the game + /// + [Description("The NBA season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's position associated with the given game or season. Possible values: C, F, FC, G, GF, PF, PG, SF, SG + /// + [Description("The player's position associated with the given game or season. Possible values: C, F, FC, G, GF, PF, PG, SF, SG")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// Whether the player started + /// + [Description("Whether the player started")] + [DataMember(Name = "Started", Order = 9)] + public int? Started { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 10)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 11)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 12)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 13)] + public int? YahooSalary { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out")] + [DataMember(Name = "InjuryStatus", Order = 14)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 15)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 16)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 17)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 18)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 19)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 20)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 21)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 22)] + public int? OpponentPositionRank { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 23)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's salary for Fantasy Draft daily fantasy contests. + /// + [Description("The player's salary for Fantasy Draft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 24)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in Fantasy Drafts daily fantasy sports platform. + /// + [Description("The player's eligible position in Fantasy Drafts daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 25)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 26)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 27)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 28)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 29)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 30)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 31)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 32)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 33)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 34)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 35)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 36)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 37)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 38)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 39)] + public int? Seconds { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 40)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 41)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 42)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 43)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 44)] + public decimal? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 45)] + public decimal? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 46)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 47)] + public decimal? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 48)] + public decimal? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 49)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 50)] + public decimal? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 51)] + public decimal? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 52)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 53)] + public decimal? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 54)] + public decimal? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 55)] + public decimal? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 56)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 57)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 58)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 59)] + public decimal? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 60)] + public decimal? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 61)] + public decimal? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 62)] + public decimal? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 63)] + public decimal? PersonalFouls { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Points", Order = 64)] + public decimal? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 65)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 66)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 67)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 68)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 69)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 70)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 71)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 72)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 73)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 74)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 75)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 76)] + public decimal? PlusMinus { get; set; } + + /// + /// Total double-doubles scored + /// + [Description("Total double-doubles scored")] + [DataMember(Name = "DoubleDoubles", Order = 77)] + public decimal? DoubleDoubles { get; set; } + + /// + /// Total triple-doubles scored + /// + [Description("Total triple-doubles scored")] + [DataMember(Name = "TripleDoubles", Order = 78)] + public decimal? TripleDoubles { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 79)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Indicates whether the game is over and the stats for this player have been verified and closed out. + /// + [Description("Indicates whether the game is over and the stats for this player have been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 80)] + public bool IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/PlayerInfo.cs b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerInfo.cs new file mode 100644 index 0000000..a549d96 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerInfo.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="PlayerInfo")] + [Serializable] + public partial class PlayerInfo + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Name of Player. + /// + [Description("Name of Player.")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// Unique ID of the Team the player belongs to (assigned by FantasyData). + /// + [Description("Unique ID of the Team the player belongs to (assigned by FantasyData).")] + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + /// + /// Name of the team the player belongs to. + /// + [Description("Name of the team the player belongs to.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Position player plays. + /// + [Description("Position player plays.")] + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/PlayerProp.cs b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerProp.cs new file mode 100644 index 0000000..e12fc00 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerProp.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="PlayerProp")] + [Serializable] + public partial class PlayerProp + { + /// + /// The PlayerID of the player + /// + [Description("The PlayerID of the player")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The GameID of the game + /// + [Description("The GameID of the game")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The full name of the player + /// + [Description("The full name of the player")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The TeamKey of the opponent in the game + /// + [Description("The TeamKey of the opponent in the game")] + [DataMember(Name = "Opponent", Order = 4)] + public string Opponent { get; set; } + + /// + /// The TeamKey of the player's team in the game + /// + [Description("The TeamKey of the player's team in the game")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The start time of the game (to give an idea of when prop should close) + /// + [Description("The start time of the game (to give an idea of when prop should close)")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime DateTime { get; set; } + + /// + /// A description of the stat the over/under is referring to (ex: Three Pointers Made) + /// + [Description("A description of the stat the over/under is referring to (ex: Three Pointers Made)")] + [DataMember(Name = "Description", Order = 7)] + public string Description { get; set; } + + /// + /// The over under value in question (ex: 1.5) + /// + [Description("The over under value in question (ex: 1.5)")] + [DataMember(Name = "OverUnder", Order = 8)] + public decimal OverUnder { get; set; } + + /// + /// The (american styled) payout for a successful over bet. + /// + [Description("The (american styled) payout for a successful over bet.")] + [DataMember(Name = "OverPayout", Order = 9)] + public int OverPayout { get; set; } + + /// + /// The (american styled) payout for a successful under bet. + /// + [Description("The (american styled) payout for a successful under bet.")] + [DataMember(Name = "UnderPayout", Order = 10)] + public int UnderPayout { get; set; } + + /// + /// A description of the result (Over, Under, or Push) + /// + [Description("A description of the result (Over, Under, or Push)")] + [DataMember(Name = "BetResult", Order = 11)] + public string BetResult { get; set; } + + /// + /// The final total from the game of the stat in question + /// + [Description("The final total from the game of the stat in question ")] + [DataMember(Name = "StatResult", Order = 12)] + public decimal? StatResult { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/PlayerSeason.cs b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerSeason.cs new file mode 100644 index 0000000..aa29c8e --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerSeason.cs @@ -0,0 +1,405 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="PlayerSeason")] + [Serializable] + public partial class PlayerSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The NBA regular season for which these totals apply + /// + [Description("The NBA regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 9)] + public int? Started { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 10)] + public int? GlobalTeamID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 12)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 13)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 14)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 15)] + public int? Seconds { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 16)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 17)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 18)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 19)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 20)] + public decimal? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 21)] + public decimal? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 22)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 23)] + public decimal? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 24)] + public decimal? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 25)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 26)] + public decimal? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 27)] + public decimal? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 28)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 29)] + public decimal? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 30)] + public decimal? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 31)] + public decimal? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 32)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 33)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 34)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 35)] + public decimal? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 36)] + public decimal? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 37)] + public decimal? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 38)] + public decimal? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 39)] + public decimal? PersonalFouls { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Points", Order = 40)] + public decimal? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 41)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 42)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 43)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 44)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 45)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 46)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 47)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 48)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 49)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 50)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 51)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 52)] + public decimal? PlusMinus { get; set; } + + /// + /// Total double-doubles scored + /// + [Description("Total double-doubles scored")] + [DataMember(Name = "DoubleDoubles", Order = 53)] + public decimal? DoubleDoubles { get; set; } + + /// + /// Total triple-doubles scored + /// + [Description("Total triple-doubles scored")] + [DataMember(Name = "TripleDoubles", Order = 54)] + public decimal? TripleDoubles { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 55)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Indicates whether the game is over and the stats for this player have been verified and closed out. + /// + [Description("Indicates whether the game is over and the stats for this player have been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 56)] + public bool IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/PlayerSeasonProjection.cs b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerSeasonProjection.cs new file mode 100644 index 0000000..2bb8de3 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/PlayerSeasonProjection.cs @@ -0,0 +1,405 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="PlayerSeasonProjection")] + [Serializable] + public partial class PlayerSeasonProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The NBA regular season for which these totals apply + /// + [Description("The NBA regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 9)] + public int? Started { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 10)] + public int? GlobalTeamID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 12)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 13)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 14)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 15)] + public int? Seconds { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 16)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 17)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 18)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 19)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 20)] + public decimal? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 21)] + public decimal? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 22)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 23)] + public decimal? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 24)] + public decimal? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 25)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 26)] + public decimal? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 27)] + public decimal? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 28)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 29)] + public decimal? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 30)] + public decimal? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 31)] + public decimal? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 32)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 33)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 34)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 35)] + public decimal? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 36)] + public decimal? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 37)] + public decimal? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 38)] + public decimal? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 39)] + public decimal? PersonalFouls { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Points", Order = 40)] + public decimal? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 41)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 42)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 43)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 44)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 45)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 46)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 47)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 48)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 49)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 50)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 51)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 52)] + public decimal? PlusMinus { get; set; } + + /// + /// Total double-doubles scored + /// + [Description("Total double-doubles scored")] + [DataMember(Name = "DoubleDoubles", Order = 53)] + public decimal? DoubleDoubles { get; set; } + + /// + /// Total triple-doubles scored + /// + [Description("Total triple-doubles scored")] + [DataMember(Name = "TripleDoubles", Order = 54)] + public decimal? TripleDoubles { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 55)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Indicates whether the game is over and the stats for this player have been verified and closed out. + /// + [Description("Indicates whether the game is over and the stats for this player have been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 56)] + public bool IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Quarter.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Quarter.cs new file mode 100644 index 0000000..f2c92f6 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Quarter.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Quarter")] + [Serializable] + public partial class Quarter + { + /// + /// Unique identifier for each Quarter. + /// + [Description("Unique identifier for each Quarter.")] + [DataMember(Name = "QuarterID", Order = 1)] + public int QuarterID { get; set; } + + /// + /// The unique ID for this game. + /// + [Description("The unique ID for this game.")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The Number (Order) of the Quarter in the scope of the Game. + /// + [Description("The Number (Order) of the Quarter in the scope of the Game.")] + [DataMember(Name = "Number", Order = 3)] + public int Number { get; set; } + + /// + /// The Name of the Quarter (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc) + /// + [Description("The Name of the Quarter (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc)")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The total points scored by the away team in this Quarter. + /// + [Description("The total points scored by the away team in this Quarter.")] + [DataMember(Name = "AwayScore", Order = 5)] + public int? AwayScore { get; set; } + + /// + /// The total points scored by the home team in this Quarter. + /// + [Description("The total points scored by the home team in this Quarter.")] + [DataMember(Name = "HomeScore", Order = 6)] + public int? HomeScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Season.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Season.cs new file mode 100644 index 0000000..9c903ff --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Season.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The NBA regular season for which these totals apply + /// + [Description("The NBA regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 1)] + public int Year { get; set; } + + /// + /// The year in which the season started + /// + [Description("The year in which the season started")] + [DataMember(Name = "StartYear", Order = 2)] + public int StartYear { get; set; } + + /// + /// The year in which the season ended + /// + [Description("The year in which the season ended")] + [DataMember(Name = "EndYear", Order = 3)] + public int EndYear { get; set; } + + /// + /// The description of the season for display purposes (possible values include: 2017-18, 2018-19, etc) + /// + [Description("The description of the season for display purposes (possible values include: 2017-18, 2018-19, etc)")] + [DataMember(Name = "Description", Order = 4)] + public string Description { get; set; } + + /// + /// The start date of the regular season + /// + [Description("The start date of the regular season")] + [DataMember(Name = "RegularSeasonStartDate", Order = 5)] + public DateTime? RegularSeasonStartDate { get; set; } + + /// + /// The start date of the postseason + /// + [Description("The start date of the postseason")] + [DataMember(Name = "PostSeasonStartDate", Order = 6)] + public DateTime? PostSeasonStartDate { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 7)] + public string SeasonType { get; set; } + + /// + /// The string to pass into subsequent API calls in the season parameter + /// + [Description("The string to pass into subsequent API calls in the season parameter")] + [DataMember(Name = "ApiSeason", Order = 8)] + public string ApiSeason { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Stadium.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Stadium.cs new file mode 100644 index 0000000..816e3c5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Stadium.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Stadium")] + [Serializable] + public partial class Stadium + { + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 1)] + public int StadiumID { get; set; } + + /// + /// Whether or not this stadium is the home venue for an active team + /// + [Description("Whether or not this stadium is the home venue for an active team")] + [DataMember(Name = "Active", Order = 2)] + public bool Active { get; set; } + + /// + /// The full name of the stadium + /// + [Description("The full name of the stadium")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The address where the stadium is located + /// + [Description("The address where the stadium is located")] + [DataMember(Name = "Address", Order = 4)] + public string Address { get; set; } + + /// + /// The city where the stadium is located + /// + [Description("The city where the stadium is located")] + [DataMember(Name = "City", Order = 5)] + public string City { get; set; } + + /// + /// The US state where the stadium is located (if Stadium is outside US, this value is NULL) + /// + [Description("The US state where the stadium is located (if Stadium is outside US, this value is NULL)")] + [DataMember(Name = "State", Order = 6)] + public string State { get; set; } + + /// + /// The zip code of the stadium + /// + [Description("The zip code of the stadium")] + [DataMember(Name = "Zip", Order = 7)] + public string Zip { get; set; } + + /// + /// The 2-digit country code where the stadium is located + /// + [Description("The 2-digit country code where the stadium is located")] + [DataMember(Name = "Country", Order = 8)] + public string Country { get; set; } + + /// + /// The estimated seating capacity of the stadium + /// + [Description("The estimated seating capacity of the stadium")] + [DataMember(Name = "Capacity", Order = 9)] + public int? Capacity { get; set; } + + /// + /// The geographic latitude coordinate of this venue. + /// + [Description("The geographic latitude coordinate of this venue.")] + [DataMember(Name = "GeoLat", Order = 10)] + public decimal? GeoLat { get; set; } + + /// + /// The geographic longitude coordinate of this venue. + /// + [Description("The geographic longitude coordinate of this venue.")] + [DataMember(Name = "GeoLong", Order = 11)] + public decimal? GeoLong { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Standing.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Standing.cs new file mode 100644 index 0000000..56e64c0 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Standing.cs @@ -0,0 +1,202 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + /// + /// The NBA regular season for which these totals apply + /// + [Description("The NBA regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 1)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The unique ID for the team + /// + [Description("The unique ID for the team")] + [DataMember(Name = "TeamID", Order = 3)] + public int TeamID { get; set; } + + /// + /// Whether or not the team is active + /// + [Description("Whether or not the team is active")] + [DataMember(Name = "Key", Order = 4)] + public string Key { get; set; } + + /// + /// The name of the city + /// + [Description("The name of the city")] + [DataMember(Name = "City", Order = 5)] + public string City { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The conference of the team (Eastern or Western) + /// + [Description("The conference of the team (Eastern or Western)")] + [DataMember(Name = "Conference", Order = 7)] + public string Conference { get; set; } + + /// + /// The division of the team (e.g. Atlantic, Central, Southeast, etc.) + /// + [Description("The division of the team (e.g. Atlantic, Central, Southeast, etc.)")] + [DataMember(Name = "Division", Order = 8)] + public string Division { get; set; } + + /// + /// Regular season wins + /// + [Description("Regular season wins")] + [DataMember(Name = "Wins", Order = 9)] + public int? Wins { get; set; } + + /// + /// Regular season losses + /// + [Description("Regular season losses")] + [DataMember(Name = "Losses", Order = 10)] + public int? Losses { get; set; } + + /// + /// Winning percentage + /// + [Description("Winning percentage")] + [DataMember(Name = "Percentage", Order = 11)] + public decimal? Percentage { get; set; } + + /// + /// Regular season conference wins + /// + [Description("Regular season conference wins")] + [DataMember(Name = "ConferenceWins", Order = 12)] + public int? ConferenceWins { get; set; } + + /// + /// Regular season conference losses + /// + [Description("Regular season conference losses")] + [DataMember(Name = "ConferenceLosses", Order = 13)] + public int? ConferenceLosses { get; set; } + + /// + /// Regular season division wins + /// + [Description("Regular season division wins")] + [DataMember(Name = "DivisionWins", Order = 14)] + public int? DivisionWins { get; set; } + + /// + /// Regular season division losses + /// + [Description("Regular season division losses")] + [DataMember(Name = "DivisionLosses", Order = 15)] + public int? DivisionLosses { get; set; } + + /// + /// Regular season wins at home + /// + [Description("Regular season wins at home")] + [DataMember(Name = "HomeWins", Order = 16)] + public int? HomeWins { get; set; } + + /// + /// Regular season losses at home + /// + [Description("Regular season losses at home")] + [DataMember(Name = "HomeLosses", Order = 17)] + public int? HomeLosses { get; set; } + + /// + /// Regular season wins on the road + /// + [Description("Regular season wins on the road")] + [DataMember(Name = "AwayWins", Order = 18)] + public int? AwayWins { get; set; } + + /// + /// Regular season losses on the road + /// + [Description("Regular season losses on the road")] + [DataMember(Name = "AwayLosses", Order = 19)] + public int? AwayLosses { get; set; } + + /// + /// Regular season wins in last 10 games + /// + [Description("Regular season wins in last 10 games")] + [DataMember(Name = "LastTenWins", Order = 20)] + public int? LastTenWins { get; set; } + + /// + /// Regular season losses in last 10 games + /// + [Description("Regular season losses in last 10 games")] + [DataMember(Name = "LastTenLosses", Order = 21)] + public int? LastTenLosses { get; set; } + + /// + /// Average Points Scored + /// + [Description("Average Points Scored")] + [DataMember(Name = "PointsPerGameFor", Order = 22)] + public decimal? PointsPerGameFor { get; set; } + + /// + /// Average Points Scored Against + /// + [Description("Average Points Scored Against")] + [DataMember(Name = "PointsPerGameAgainst", Order = 23)] + public decimal? PointsPerGameAgainst { get; set; } + + /// + /// Winning or Losing Streak + /// + [Description("Winning or Losing Streak")] + [DataMember(Name = "Streak", Order = 24)] + public int? Streak { get; set; } + + /// + /// Games behind the leader + /// + [Description("Games behind the leader")] + [DataMember(Name = "GamesBack", Order = 25)] + public decimal? GamesBack { get; set; } + + /// + /// Winning or Losing Streak written in the form W5 or L1 + /// + [Description("Winning or Losing Streak written in the form W5 or L1")] + [DataMember(Name = "StreakDescription", Order = 26)] + public string StreakDescription { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 27)] + public int? GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Stat.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Stat.cs new file mode 100644 index 0000000..0bb0da7 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Stat.cs @@ -0,0 +1,335 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Stat")] + [Serializable] + public partial class Stat + { + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 1)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 2)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 3)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 4)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 5)] + public int? Seconds { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 6)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 7)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 8)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 9)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 10)] + public decimal? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 11)] + public decimal? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 12)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 13)] + public decimal? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 14)] + public decimal? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 15)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 16)] + public decimal? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 17)] + public decimal? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 18)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 19)] + public decimal? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 20)] + public decimal? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 21)] + public decimal? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 22)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 23)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 24)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 25)] + public decimal? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 26)] + public decimal? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 27)] + public decimal? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 28)] + public decimal? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 29)] + public decimal? PersonalFouls { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Points", Order = 30)] + public decimal? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 31)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 32)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 33)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 34)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 35)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 36)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 37)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 38)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 39)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 40)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 41)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 42)] + public decimal? PlusMinus { get; set; } + + /// + /// Total double-doubles scored + /// + [Description("Total double-doubles scored")] + [DataMember(Name = "DoubleDoubles", Order = 43)] + public decimal? DoubleDoubles { get; set; } + + /// + /// Total triple-doubles scored + /// + [Description("Total triple-doubles scored")] + [DataMember(Name = "TripleDoubles", Order = 44)] + public decimal? TripleDoubles { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 45)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Indicates whether the game is over and the stats for this player have been verified and closed out. + /// + [Description("Indicates whether the game is over and the stats for this player have been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 46)] + public bool IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/Team.cs b/FantasyData.Api.Client.NetCore/Model/NBA/Team.cs new file mode 100644 index 0000000..e95a0f4 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/Team.cs @@ -0,0 +1,132 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamID", Order = 1)] + public int TeamID { get; set; } + + /// + /// Abbreviation of the team (e.g. LAL, PHI, BOS, CHI, etc.) + /// + [Description("Abbreviation of the team (e.g. LAL, PHI, BOS, CHI, etc.)")] + [DataMember(Name = "Key", Order = 2)] + public string Key { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 3)] + public bool Active { get; set; } + + /// + /// The city/location of the team (e.g. Los Angeles, Philadelphia, Boston, Chicago, etc.) + /// + [Description("The city/location of the team (e.g. Los Angeles, Philadelphia, Boston, Chicago, etc.)")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The mascot of the team (e.g. Lakers, 76ers, Celtics, Bulls, etc.) + /// + [Description("The mascot of the team (e.g. Lakers, 76ers, Celtics, Bulls, etc.)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The league of the team (possible values: Eastern, Western) + /// + [Description("The league of the team (possible values: Eastern, Western)")] + [DataMember(Name = "LeagueID", Order = 6)] + public int? LeagueID { get; set; } + + /// + /// The unique ID of the team's current home stadium + /// + [Description("The unique ID of the team's current home stadium")] + [DataMember(Name = "StadiumID", Order = 7)] + public int? StadiumID { get; set; } + + /// + /// The conference of the team (possible values: Eastern, Western) + /// + [Description("The conference of the team (possible values: Eastern, Western)")] + [DataMember(Name = "Conference", Order = 8)] + public string Conference { get; set; } + + /// + /// The division of the team (e.g. Atlantic, Central, Southeast, etc) + /// + [Description("The division of the team (e.g. Atlantic, Central, Southeast, etc)")] + [DataMember(Name = "Division", Order = 9)] + public string Division { get; set; } + + /// + /// The team's primary color. (This is not licensed for public or commercial use) + /// + [Description("The team's primary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "PrimaryColor", Order = 10)] + public string PrimaryColor { get; set; } + + /// + /// The team's secondary color. (This is not licensed for public or commercial use) + /// + [Description("The team's secondary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "SecondaryColor", Order = 11)] + public string SecondaryColor { get; set; } + + /// + /// The team's tertiary color. (This is not licensed for public or commercial use) + /// + [Description("The team's tertiary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "TertiaryColor", Order = 12)] + public string TertiaryColor { get; set; } + + /// + /// The team's quaternary color. (This is not licensed for public or commercial use) + /// + [Description("The team's quaternary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "QuaternaryColor", Order = 13)] + public string QuaternaryColor { get; set; } + + /// + /// The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaLogoUrl", Order = 14)] + public string WikipediaLogoUrl { get; set; } + + /// + /// The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaWordMarkUrl", Order = 15)] + public string WikipediaWordMarkUrl { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 16)] + public int GlobalTeamID { get; set; } + + /// + /// The team's ID on nba dot com + /// + [Description("The team's ID on nba dot com")] + [DataMember(Name = "NbaDotComTeamID", Order = 17)] + public int? NbaDotComTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/TeamGame.cs b/FantasyData.Api.Client.NetCore/Model/NBA/TeamGame.cs new file mode 100644 index 0000000..709d17b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/TeamGame.cs @@ -0,0 +1,468 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="TeamGame")] + [Serializable] + public partial class TeamGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The NBA season of the game + /// + [Description("The NBA season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team's name + /// + [Description("Team's name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// Total number of team wins + /// + [Description("Total number of team wins")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// Total number of team losses + /// + [Description("Total number of team losses")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// Total number of team possessions + /// + [Description("Total number of team possessions")] + [DataMember(Name = "Possessions", Order = 9)] + public decimal? Possessions { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 10)] + public int? GlobalTeamID { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 11)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 12)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 13)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 14)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 15)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 16)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 17)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 18)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 19)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 20)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 21)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 22)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 23)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 24)] + public int? Seconds { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 25)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 26)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 27)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 28)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 29)] + public decimal? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 30)] + public decimal? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 31)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 32)] + public decimal? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 33)] + public decimal? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 34)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 35)] + public decimal? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 36)] + public decimal? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 37)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 38)] + public decimal? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 39)] + public decimal? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 40)] + public decimal? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 41)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 42)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 43)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 44)] + public decimal? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 45)] + public decimal? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 46)] + public decimal? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 47)] + public decimal? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 48)] + public decimal? PersonalFouls { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Points", Order = 49)] + public decimal? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 50)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 51)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 52)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 53)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 54)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 55)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 56)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 57)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 58)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 59)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 60)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 61)] + public decimal? PlusMinus { get; set; } + + /// + /// Total double-doubles scored + /// + [Description("Total double-doubles scored")] + [DataMember(Name = "DoubleDoubles", Order = 62)] + public decimal? DoubleDoubles { get; set; } + + /// + /// Total triple-doubles scored + /// + [Description("Total triple-doubles scored")] + [DataMember(Name = "TripleDoubles", Order = 63)] + public decimal? TripleDoubles { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 64)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Indicates whether the game is over and the stats for this player have been verified and closed out. + /// + [Description("Indicates whether the game is over and the stats for this player have been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 65)] + public bool IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NBA/TeamSeason.cs b/FantasyData.Api.Client.NetCore/Model/NBA/TeamSeason.cs new file mode 100644 index 0000000..0a1fecd --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NBA/TeamSeason.cs @@ -0,0 +1,419 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NBA +{ + [DataContract(Namespace="", Name="TeamSeason")] + [Serializable] + public partial class TeamSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The NBA regular season for which these totals apply + /// + [Description("The NBA regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team name + /// + [Description("Team name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// Total number of wins + /// + [Description("Total number of wins")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// Total number of losses + /// + [Description("Total number of losses")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// Indicates which position is included in opponent stats that are aggregated together + /// + [Description("Indicates which position is included in opponent stats that are aggregated together")] + [DataMember(Name = "OpponentPosition", Order = 9)] + public string OpponentPosition { get; set; } + + /// + /// The team's estimated number of possessions as defined by the formula here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The team's estimated number of possessions as defined by the formula here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "Possessions", Order = 10)] + public decimal? Possessions { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 11)] + public int? GlobalTeamID { get; set; } + + /// + /// The aggregated season stats for this team's opponents + /// + [Description("The aggregated season stats for this team's opponents")] + [DataMember(Name = "OpponentStat", Order = 10012)] + public OpponentSeason OpponentStat { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 13)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 14)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 15)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 16)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 17)] + public int? Seconds { get; set; } + + /// + /// Total number of field goals made + /// + [Description("Total number of field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 18)] + public decimal? FieldGoalsMade { get; set; } + + /// + /// Total number of field goals attempted + /// + [Description("Total number of field goals attempted")] + [DataMember(Name = "FieldGoalsAttempted", Order = 19)] + public decimal? FieldGoalsAttempted { get; set; } + + /// + /// Total field goal percentage + /// + [Description("Total field goal percentage")] + [DataMember(Name = "FieldGoalsPercentage", Order = 20)] + public decimal? FieldGoalsPercentage { get; set; } + + /// + /// Total effective field goals percentage + /// + [Description("Total effective field goals percentage")] + [DataMember(Name = "EffectiveFieldGoalsPercentage", Order = 21)] + public decimal? EffectiveFieldGoalsPercentage { get; set; } + + /// + /// Total two pointers made + /// + [Description("Total two pointers made")] + [DataMember(Name = "TwoPointersMade", Order = 22)] + public decimal? TwoPointersMade { get; set; } + + /// + /// Total two pointers attempted + /// + [Description("Total two pointers attempted")] + [DataMember(Name = "TwoPointersAttempted", Order = 23)] + public decimal? TwoPointersAttempted { get; set; } + + /// + /// Total two pointers percentage + /// + [Description("Total two pointers percentage")] + [DataMember(Name = "TwoPointersPercentage", Order = 24)] + public decimal? TwoPointersPercentage { get; set; } + + /// + /// Total three pointers made + /// + [Description("Total three pointers made")] + [DataMember(Name = "ThreePointersMade", Order = 25)] + public decimal? ThreePointersMade { get; set; } + + /// + /// Total three pointers attempted + /// + [Description("Total three pointers attempted")] + [DataMember(Name = "ThreePointersAttempted", Order = 26)] + public decimal? ThreePointersAttempted { get; set; } + + /// + /// Total three pointers percentage + /// + [Description("Total three pointers percentage")] + [DataMember(Name = "ThreePointersPercentage", Order = 27)] + public decimal? ThreePointersPercentage { get; set; } + + /// + /// Total free throws made + /// + [Description("Total free throws made")] + [DataMember(Name = "FreeThrowsMade", Order = 28)] + public decimal? FreeThrowsMade { get; set; } + + /// + /// Total free throws attempted + /// + [Description("Total free throws attempted")] + [DataMember(Name = "FreeThrowsAttempted", Order = 29)] + public decimal? FreeThrowsAttempted { get; set; } + + /// + /// Total free throws percentage + /// + [Description("Total free throws percentage")] + [DataMember(Name = "FreeThrowsPercentage", Order = 30)] + public decimal? FreeThrowsPercentage { get; set; } + + /// + /// Total offensive rebounds + /// + [Description("Total offensive rebounds")] + [DataMember(Name = "OffensiveRebounds", Order = 31)] + public decimal? OffensiveRebounds { get; set; } + + /// + /// Total defensive rebounds + /// + [Description("Total defensive rebounds")] + [DataMember(Name = "DefensiveRebounds", Order = 32)] + public decimal? DefensiveRebounds { get; set; } + + /// + /// Total rebounds + /// + [Description("Total rebounds")] + [DataMember(Name = "Rebounds", Order = 33)] + public decimal? Rebounds { get; set; } + + /// + /// Total offensive rebounds percentage + /// + [Description("Total offensive rebounds percentage")] + [DataMember(Name = "OffensiveReboundsPercentage", Order = 34)] + public decimal? OffensiveReboundsPercentage { get; set; } + + /// + /// Total defensive rebounds percentage + /// + [Description("Total defensive rebounds percentage")] + [DataMember(Name = "DefensiveReboundsPercentage", Order = 35)] + public decimal? DefensiveReboundsPercentage { get; set; } + + /// + /// The player/team total rebounds percentage + /// + [Description("The player/team total rebounds percentage")] + [DataMember(Name = "TotalReboundsPercentage", Order = 36)] + public decimal? TotalReboundsPercentage { get; set; } + + /// + /// Total assists + /// + [Description("Total assists")] + [DataMember(Name = "Assists", Order = 37)] + public decimal? Assists { get; set; } + + /// + /// Total steals + /// + [Description("Total steals")] + [DataMember(Name = "Steals", Order = 38)] + public decimal? Steals { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "BlockedShots", Order = 39)] + public decimal? BlockedShots { get; set; } + + /// + /// Total turnovers + /// + [Description("Total turnovers")] + [DataMember(Name = "Turnovers", Order = 40)] + public decimal? Turnovers { get; set; } + + /// + /// Total personal fouls + /// + [Description("Total personal fouls")] + [DataMember(Name = "PersonalFouls", Order = 41)] + public decimal? PersonalFouls { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Points", Order = 42)] + public decimal? Points { get; set; } + + /// + /// The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting attempts as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingAttempts", Order = 43)] + public decimal? TrueShootingAttempts { get; set; } + + /// + /// The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's true shooting percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TrueShootingPercentage", Order = 44)] + public decimal? TrueShootingPercentage { get; set; } + + /// + /// The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess + /// + [Description("The player's linear weight efficiency rating as defined here: http://bleacherreport.com/articles/113144-cracking-the-code-how-to-calculate-hollingers-per-without-all-the-mess")] + [DataMember(Name = "PlayerEfficiencyRating", Order = 45)] + public decimal? PlayerEfficiencyRating { get; set; } + + /// + /// The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's assist percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "AssistsPercentage", Order = 46)] + public decimal? AssistsPercentage { get; set; } + + /// + /// The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's steal percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "StealsPercentage", Order = 47)] + public decimal? StealsPercentage { get; set; } + + /// + /// The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's block percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "BlocksPercentage", Order = 48)] + public decimal? BlocksPercentage { get; set; } + + /// + /// The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's turnover percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "TurnOversPercentage", Order = 49)] + public decimal? TurnOversPercentage { get; set; } + + /// + /// The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html + /// + [Description("The player's usage rate percentage as defined here: http://www.basketball-reference.com/about/glossary.html")] + [DataMember(Name = "UsageRatePercentage", Order = 50)] + public decimal? UsageRatePercentage { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 51)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 52)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 53)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 54)] + public decimal? PlusMinus { get; set; } + + /// + /// Total double-doubles scored + /// + [Description("Total double-doubles scored")] + [DataMember(Name = "DoubleDoubles", Order = 55)] + public decimal? DoubleDoubles { get; set; } + + /// + /// Total triple-doubles scored + /// + [Description("Total triple-doubles scored")] + [DataMember(Name = "TripleDoubles", Order = 56)] + public decimal? TripleDoubles { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 57)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// Indicates whether the game is over and the stats for this player have been verified and closed out. + /// + [Description("Indicates whether the game is over and the stats for this player have been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 58)] + public bool IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayer.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayer.cs new file mode 100644 index 0000000..c5707cc --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayer.cs @@ -0,0 +1,169 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="AdvancedPlayer")] + [Serializable] + public partial class AdvancedPlayer + { + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + [DataMember(Name = "FantasyPosition", Order = 6)] + public string FantasyPosition { get; set; } + + [DataMember(Name = "PositionGroup", Order = 7)] + public string PositionGroup { get; set; } + + [DataMember(Name = "BMI", Order = 8)] + public decimal? BMI { get; set; } + + [DataMember(Name = "BMIRank", Order = 9)] + public int? BMIRank { get; set; } + + [DataMember(Name = "HandSize", Order = 10)] + public decimal? HandSize { get; set; } + + [DataMember(Name = "HandSizeRank", Order = 11)] + public int? HandSizeRank { get; set; } + + [DataMember(Name = "ArmLength", Order = 12)] + public decimal? ArmLength { get; set; } + + [DataMember(Name = "ArmLengthRank", Order = 13)] + public int? ArmLengthRank { get; set; } + + [DataMember(Name = "QualityScore", Order = 14)] + public decimal? QualityScore { get; set; } + + [DataMember(Name = "QualityScoreRank", Order = 15)] + public int? QualityScoreRank { get; set; } + + [DataMember(Name = "FortyYardDash", Order = 16)] + public decimal? FortyYardDash { get; set; } + + [DataMember(Name = "FortyYardDashRank", Order = 17)] + public int? FortyYardDashRank { get; set; } + + [DataMember(Name = "ThreeConeDrill", Order = 18)] + public decimal? ThreeConeDrill { get; set; } + + [DataMember(Name = "ThreeConeDrillRank", Order = 19)] + public int? ThreeConeDrillRank { get; set; } + + [DataMember(Name = "TwentyYardShuttle", Order = 20)] + public decimal? TwentyYardShuttle { get; set; } + + [DataMember(Name = "TwentyYardShuttleRank", Order = 21)] + public int? TwentyYardShuttleRank { get; set; } + + [DataMember(Name = "AgilityScore", Order = 22)] + public decimal? AgilityScore { get; set; } + + [DataMember(Name = "AgilityScoreRank", Order = 23)] + public int? AgilityScoreRank { get; set; } + + [DataMember(Name = "VerticalJump", Order = 24)] + public decimal? VerticalJump { get; set; } + + [DataMember(Name = "VerticalJumpRank", Order = 25)] + public int? VerticalJumpRank { get; set; } + + [DataMember(Name = "BroadJump", Order = 26)] + public decimal? BroadJump { get; set; } + + [DataMember(Name = "BroadJumpRank", Order = 27)] + public int? BroadJumpRank { get; set; } + + [DataMember(Name = "BurstScore", Order = 28)] + public decimal? BurstScore { get; set; } + + [DataMember(Name = "BurstScoreRank", Order = 29)] + public int? BurstScoreRank { get; set; } + + [DataMember(Name = "SPARQx", Order = 30)] + public decimal? SPARQx { get; set; } + + [DataMember(Name = "SPARQxRank", Order = 31)] + public int? SPARQxRank { get; set; } + + [DataMember(Name = "AthleticismScore", Order = 32)] + public decimal? AthleticismScore { get; set; } + + [DataMember(Name = "AthleticismScoreRank", Order = 33)] + public int? AthleticismScoreRank { get; set; } + + [DataMember(Name = "SpeedScore", Order = 34)] + public decimal? SpeedScore { get; set; } + + [DataMember(Name = "SpeedScoreRank", Order = 35)] + public int? SpeedScoreRank { get; set; } + + [DataMember(Name = "ThrowVelocity", Order = 36)] + public decimal? ThrowVelocity { get; set; } + + [DataMember(Name = "ThrowVelocityRank", Order = 37)] + public int? ThrowVelocityRank { get; set; } + + [DataMember(Name = "WonderlicScore", Order = 38)] + public decimal? WonderlicScore { get; set; } + + [DataMember(Name = "WonderlicScoreRank", Order = 39)] + public int? WonderlicScoreRank { get; set; } + + [DataMember(Name = "HeightAdjustedSpeedScore", Order = 40)] + public decimal? HeightAdjustedSpeedScore { get; set; } + + [DataMember(Name = "HeightAdjustedSpeedScoreRank", Order = 41)] + public int? HeightAdjustedSpeedScoreRank { get; set; } + + [DataMember(Name = "CatchRadius", Order = 42)] + public decimal? CatchRadius { get; set; } + + [DataMember(Name = "CatchRadiusRank", Order = 43)] + public int? CatchRadiusRank { get; set; } + + [DataMember(Name = "BenchPress", Order = 44)] + public decimal? BenchPress { get; set; } + + [DataMember(Name = "BenchPressRank", Order = 45)] + public int? BenchPressRank { get; set; } + + [DataMember(Name = "PlaymakingRadius", Order = 46)] + public decimal? PlaymakingRadius { get; set; } + + [DataMember(Name = "PlaymakingRadiusRank", Order = 47)] + public int? PlaymakingRadiusRank { get; set; } + + [DataMember(Name = "HighlightClip", Order = 48)] + public string HighlightClip { get; set; } + + [DataMember(Name = "MedicalHistory", Order = 20049)] + public AdvancedPlayerMedical[] MedicalHistory { get; set; } + + [DataMember(Name = "ComparablePlayers", Order = 20050)] + public PlayerInfo[] ComparablePlayers { get; set; } + + [DataMember(Name = "AdvancedPlayerSeasons", Order = 20051)] + public AdvancedPlayerSeason[] AdvancedPlayerSeasons { get; set; } + + [DataMember(Name = "AdvancedPlayerGames", Order = 20052)] + public AdvancedPlayerGame[] AdvancedPlayerGames { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayerGame.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayerGame.cs new file mode 100644 index 0000000..1159ef8 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayerGame.cs @@ -0,0 +1,262 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="AdvancedPlayerGame")] + [Serializable] + public partial class AdvancedPlayerGame + { + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + [DataMember(Name = "FantasyPosition", Order = 6)] + public string FantasyPosition { get; set; } + + [DataMember(Name = "PositionGroup", Order = 7)] + public string PositionGroup { get; set; } + + [DataMember(Name = "Season", Order = 8)] + public int Season { get; set; } + + [DataMember(Name = "SeasonType", Order = 9)] + public int SeasonType { get; set; } + + [DataMember(Name = "Week", Order = 10)] + public int Week { get; set; } + + [DataMember(Name = "Opponent", Order = 11)] + public string Opponent { get; set; } + + [DataMember(Name = "OpponentID", Order = 12)] + public int? OpponentID { get; set; } + + [DataMember(Name = "Snaps", Order = 13)] + public decimal? Snaps { get; set; } + + [DataMember(Name = "SnapShare", Order = 14)] + public decimal? SnapShare { get; set; } + + [DataMember(Name = "PassingAttempts", Order = 15)] + public decimal? PassingAttempts { get; set; } + + [DataMember(Name = "Completions", Order = 16)] + public decimal? Completions { get; set; } + + [DataMember(Name = "CompletionPercentage", Order = 17)] + public decimal? CompletionPercentage { get; set; } + + [DataMember(Name = "PassingYards", Order = 18)] + public decimal? PassingYards { get; set; } + + [DataMember(Name = "PassingYardsPerAttempt", Order = 19)] + public decimal? PassingYardsPerAttempt { get; set; } + + [DataMember(Name = "PassingTouchdowns", Order = 20)] + public decimal? PassingTouchdowns { get; set; } + + [DataMember(Name = "PassingTDs", Order = 21)] + public decimal? PassingTDs { get; set; } + + [DataMember(Name = "Interceptions", Order = 22)] + public decimal? Interceptions { get; set; } + + [DataMember(Name = "RedZoneAttempts", Order = 23)] + public decimal? RedZoneAttempts { get; set; } + + [DataMember(Name = "RedZoneCompletionPercentage", Order = 24)] + public decimal? RedZoneCompletionPercentage { get; set; } + + [DataMember(Name = "DeepBallAttempts", Order = 25)] + public decimal? DeepBallAttempts { get; set; } + + [DataMember(Name = "DeepBallCompletions", Order = 26)] + public decimal? DeepBallCompletions { get; set; } + + [DataMember(Name = "Carries", Order = 27)] + public decimal? Carries { get; set; } + + [DataMember(Name = "RushingYards", Order = 28)] + public decimal? RushingYards { get; set; } + + [DataMember(Name = "RushingTouchdowns", Order = 29)] + public decimal? RushingTouchdowns { get; set; } + + [DataMember(Name = "Targets", Order = 30)] + public decimal? Targets { get; set; } + + [DataMember(Name = "Receptions", Order = 31)] + public decimal? Receptions { get; set; } + + [DataMember(Name = "ReceivingYards", Order = 32)] + public decimal? ReceivingYards { get; set; } + + [DataMember(Name = "ReceivingTouchdowns", Order = 33)] + public decimal? ReceivingTouchdowns { get; set; } + + [DataMember(Name = "TotalYards", Order = 34)] + public decimal? TotalYards { get; set; } + + [DataMember(Name = "TotalTouches", Order = 35)] + public decimal? TotalTouches { get; set; } + + [DataMember(Name = "YardsPerTouch", Order = 36)] + public decimal? YardsPerTouch { get; set; } + + [DataMember(Name = "Opportunities", Order = 37)] + public decimal? Opportunities { get; set; } + + [DataMember(Name = "OpportunityShare", Order = 38)] + public decimal? OpportunityShare { get; set; } + + [DataMember(Name = "TotalTouchdowns", Order = 39)] + public decimal? TotalTouchdowns { get; set; } + + [DataMember(Name = "EvadedTackles", Order = 40)] + public decimal? EvadedTackles { get; set; } + + [DataMember(Name = "JukeRate", Order = 41)] + public decimal? JukeRate { get; set; } + + [DataMember(Name = "CatchRate", Order = 42)] + public decimal? CatchRate { get; set; } + + [DataMember(Name = "TargetShare", Order = 43)] + public decimal? TargetShare { get; set; } + + [DataMember(Name = "HogRate", Order = 44)] + public decimal? HogRate { get; set; } + + [DataMember(Name = "ContestedTargets", Order = 45)] + public decimal? ContestedTargets { get; set; } + + [DataMember(Name = "ContestedCatches", Order = 46)] + public decimal? ContestedCatches { get; set; } + + [DataMember(Name = "RedZoneCarries", Order = 47)] + public decimal? RedZoneCarries { get; set; } + + [DataMember(Name = "RedZoneTargets", Order = 48)] + public decimal? RedZoneTargets { get; set; } + + [DataMember(Name = "RedZoneOpportunities", Order = 49)] + public decimal? RedZoneOpportunities { get; set; } + + [DataMember(Name = "RedZoneTouches", Order = 50)] + public decimal? RedZoneTouches { get; set; } + + [DataMember(Name = "RedZoneReceptions", Order = 51)] + public decimal? RedZoneReceptions { get; set; } + + [DataMember(Name = "RedZoneCatchRate", Order = 52)] + public decimal? RedZoneCatchRate { get; set; } + + [DataMember(Name = "YardsPerCarry", Order = 53)] + public decimal? YardsPerCarry { get; set; } + + [DataMember(Name = "YardsPerTarget", Order = 54)] + public decimal? YardsPerTarget { get; set; } + + [DataMember(Name = "YardsPerOpportunity", Order = 55)] + public decimal? YardsPerOpportunity { get; set; } + + [DataMember(Name = "YardsPerReception", Order = 56)] + public decimal? YardsPerReception { get; set; } + + [DataMember(Name = "EndZoneTargets", Order = 57)] + public decimal? EndZoneTargets { get; set; } + + [DataMember(Name = "RoutesRun", Order = 58)] + public decimal? RoutesRun { get; set; } + + [DataMember(Name = "Burns", Order = 59)] + public decimal? Burns { get; set; } + + [DataMember(Name = "Hurries", Order = 60)] + public decimal? Hurries { get; set; } + + [DataMember(Name = "YardsCreated", Order = 61)] + public decimal? YardsCreated { get; set; } + + [DataMember(Name = "PassAttemptsInside5", Order = 62)] + public decimal? PassAttemptsInside5 { get; set; } + + [DataMember(Name = "PassAttemptsInside10", Order = 63)] + public decimal? PassAttemptsInside10 { get; set; } + + [DataMember(Name = "CarriesInside5", Order = 64)] + public decimal? CarriesInside5 { get; set; } + + [DataMember(Name = "CarriesInside10", Order = 65)] + public decimal? CarriesInside10 { get; set; } + + [DataMember(Name = "TargetsInside5", Order = 66)] + public decimal? TargetsInside5 { get; set; } + + [DataMember(Name = "TargetsInside10", Order = 67)] + public decimal? TargetsInside10 { get; set; } + + [DataMember(Name = "PrimaryCorner", Order = 68)] + public decimal? PrimaryCorner { get; set; } + + [DataMember(Name = "RoutesDefended", Order = 69)] + public decimal? RoutesDefended { get; set; } + + [DataMember(Name = "TargetsAllowed", Order = 70)] + public decimal? TargetsAllowed { get; set; } + + [DataMember(Name = "ReceptionsAllowed", Order = 71)] + public decimal? ReceptionsAllowed { get; set; } + + [DataMember(Name = "YardsAllowed", Order = 72)] + public decimal? YardsAllowed { get; set; } + + [DataMember(Name = "BurnsCB", Order = 73)] + public decimal? BurnsCB { get; set; } + + [DataMember(Name = "PassBreakups", Order = 74)] + public decimal? PassBreakups { get; set; } + + [DataMember(Name = "InterceptionsCB", Order = 75)] + public decimal? InterceptionsCB { get; set; } + + [DataMember(Name = "WRMatchup", Order = 76)] + public decimal? WRMatchup { get; set; } + + [DataMember(Name = "FantasyPoints", Order = 77)] + public decimal? FantasyPoints { get; set; } + + [DataMember(Name = "FantasyPointsRank", Order = 78)] + public int? FantasyPointsRank { get; set; } + + [DataMember(Name = "FantasyPointsPerAttempt", Order = 79)] + public decimal? FantasyPointsPerAttempt { get; set; } + + [DataMember(Name = "FantasyPointsPerTarget", Order = 80)] + public decimal? FantasyPointsPerTarget { get; set; } + + [DataMember(Name = "FantasyPointsPerOpportunity", Order = 81)] + public decimal? FantasyPointsPerOpportunity { get; set; } + + [DataMember(Name = "FantasyPointsAllowed", Order = 82)] + public decimal? FantasyPointsAllowed { get; set; } + + [DataMember(Name = "FantasyPointsAllowedWeekRank", Order = 83)] + public int? FantasyPointsAllowedWeekRank { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayerMedical.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayerMedical.cs new file mode 100644 index 0000000..ee57313 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayerMedical.cs @@ -0,0 +1,46 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="AdvancedPlayerMedical")] + [Serializable] + public partial class AdvancedPlayerMedical + { + [DataMember(Name = "AdvancedPlayerMedicalID", Order = 1)] + public int AdvancedPlayerMedicalID { get; set; } + + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + [DataMember(Name = "Team", Order = 3)] + public string Team { get; set; } + + [DataMember(Name = "Season", Order = 4)] + public int Season { get; set; } + + [DataMember(Name = "IncidentDate", Order = 5)] + public string IncidentDate { get; set; } + + [DataMember(Name = "InjuryDescription", Order = 6)] + public string InjuryDescription { get; set; } + + [DataMember(Name = "Severity", Order = 7)] + public string Severity { get; set; } + + [DataMember(Name = "GamesMissed", Order = 8)] + public int? GamesMissed { get; set; } + + [DataMember(Name = "GamesOnInjuryReport", Order = 9)] + public int? GamesOnInjuryReport { get; set; } + + [DataMember(Name = "Surgery", Order = 10)] + public string Surgery { get; set; } + + [DataMember(Name = "RecoveryTimetable", Order = 11)] + public string RecoveryTimetable { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayerSeason.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayerSeason.cs new file mode 100644 index 0000000..f339762 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/AdvancedPlayerSeason.cs @@ -0,0 +1,1348 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="AdvancedPlayerSeason")] + [Serializable] + public partial class AdvancedPlayerSeason + { + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + [DataMember(Name = "FantasyPosition", Order = 6)] + public string FantasyPosition { get; set; } + + [DataMember(Name = "PositionGroup", Order = 7)] + public string PositionGroup { get; set; } + + [DataMember(Name = "Season", Order = 8)] + public int Season { get; set; } + + [DataMember(Name = "SeasonType", Order = 9)] + public int SeasonType { get; set; } + + [DataMember(Name = "Games", Order = 10)] + public int? Games { get; set; } + + [DataMember(Name = "Snaps", Order = 11)] + public decimal? Snaps { get; set; } + + [DataMember(Name = "SnapShare", Order = 12)] + public decimal? SnapShare { get; set; } + + [DataMember(Name = "SnapShareRank", Order = 13)] + public int? SnapShareRank { get; set; } + + [DataMember(Name = "SlotRate", Order = 14)] + public decimal? SlotRate { get; set; } + + [DataMember(Name = "SlotRateRank", Order = 15)] + public int? SlotRateRank { get; set; } + + [DataMember(Name = "TargetSeparation", Order = 16)] + public decimal? TargetSeparation { get; set; } + + [DataMember(Name = "TargetSeparationRank", Order = 17)] + public int? TargetSeparationRank { get; set; } + + [DataMember(Name = "BurnRate", Order = 18)] + public decimal? BurnRate { get; set; } + + [DataMember(Name = "AirYards", Order = 19)] + public decimal? AirYards { get; set; } + + [DataMember(Name = "AirYardsPerGame", Order = 20)] + public decimal? AirYardsPerGame { get; set; } + + [DataMember(Name = "AirYardsRank", Order = 21)] + public int? AirYardsRank { get; set; } + + [DataMember(Name = "Carries", Order = 22)] + public decimal? Carries { get; set; } + + [DataMember(Name = "CarriesInside10", Order = 23)] + public decimal? CarriesInside10 { get; set; } + + [DataMember(Name = "CarriesInside10PerGame", Order = 24)] + public decimal? CarriesInside10PerGame { get; set; } + + [DataMember(Name = "CarriesInside5", Order = 25)] + public decimal? CarriesInside5 { get; set; } + + [DataMember(Name = "CarriesInside5PerGame", Order = 26)] + public decimal? CarriesInside5PerGame { get; set; } + + [DataMember(Name = "CarriesPerGame", Order = 27)] + public decimal? CarriesPerGame { get; set; } + + [DataMember(Name = "CarriesPerGameRank", Order = 28)] + public int? CarriesPerGameRank { get; set; } + + [DataMember(Name = "CarriesRank", Order = 29)] + public int? CarriesRank { get; set; } + + [DataMember(Name = "GameScript", Order = 30)] + public decimal? GameScript { get; set; } + + [DataMember(Name = "GameScriptRank", Order = 31)] + public int? GameScriptRank { get; set; } + + [DataMember(Name = "GoalLineCarries", Order = 32)] + public decimal? GoalLineCarries { get; set; } + + [DataMember(Name = "GoalLineCarriesPerGame", Order = 33)] + public decimal? GoalLineCarriesPerGame { get; set; } + + [DataMember(Name = "GoalLineCarriesPerGameRank", Order = 34)] + public int? GoalLineCarriesPerGameRank { get; set; } + + [DataMember(Name = "GoalLineCarriesRank", Order = 35)] + public int? GoalLineCarriesRank { get; set; } + + [DataMember(Name = "ProductionPremium", Order = 36)] + public decimal? ProductionPremium { get; set; } + + [DataMember(Name = "ProductionPremiumRank", Order = 37)] + public int? ProductionPremiumRank { get; set; } + + [DataMember(Name = "RedZoneCarries", Order = 38)] + public decimal? RedZoneCarries { get; set; } + + [DataMember(Name = "RedZoneCarriesPerGame", Order = 39)] + public decimal? RedZoneCarriesPerGame { get; set; } + + [DataMember(Name = "RedZoneCarriesPerGameRank", Order = 40)] + public int? RedZoneCarriesPerGameRank { get; set; } + + [DataMember(Name = "RedZoneCarriesRank", Order = 41)] + public int? RedZoneCarriesRank { get; set; } + + [DataMember(Name = "RushingTouchdowns", Order = 42)] + public decimal? RushingTouchdowns { get; set; } + + [DataMember(Name = "RushingTouchdownsRank", Order = 43)] + public int? RushingTouchdownsRank { get; set; } + + [DataMember(Name = "RushingYards", Order = 44)] + public decimal? RushingYards { get; set; } + + [DataMember(Name = "RushingYardsRank", Order = 45)] + public int? RushingYardsRank { get; set; } + + [DataMember(Name = "RushYardsPerGame", Order = 46)] + public decimal? RushYardsPerGame { get; set; } + + [DataMember(Name = "RedZoneSnaps", Order = 47)] + public decimal? RedZoneSnaps { get; set; } + + [DataMember(Name = "RunSnaps", Order = 48)] + public decimal? RunSnaps { get; set; } + + [DataMember(Name = "PassSnaps", Order = 49)] + public decimal? PassSnaps { get; set; } + + [DataMember(Name = "SnapweightedGameScript", Order = 50)] + public decimal? SnapweightedGameScript { get; set; } + + [DataMember(Name = "SnapweightedGameScriptRank", Order = 51)] + public int? SnapweightedGameScriptRank { get; set; } + + [DataMember(Name = "TeamPassPlays", Order = 52)] + public decimal? TeamPassPlays { get; set; } + + [DataMember(Name = "TeamPassPlaysRank", Order = 53)] + public int? TeamPassPlaysRank { get; set; } + + [DataMember(Name = "TouchdownRate", Order = 54)] + public decimal? TouchdownRate { get; set; } + + [DataMember(Name = "WeeklyVolatility", Order = 55)] + public decimal? WeeklyVolatility { get; set; } + + [DataMember(Name = "WeeklyVolatilityRank", Order = 56)] + public int? WeeklyVolatilityRank { get; set; } + + [DataMember(Name = "VOS", Order = 57)] + public decimal? VOS { get; set; } + + [DataMember(Name = "VOSRank", Order = 58)] + public int? VOSRank { get; set; } + + [DataMember(Name = "YardsPerTarget", Order = 59)] + public decimal? YardsPerTarget { get; set; } + + [DataMember(Name = "YardsPerTargetRank", Order = 60)] + public int? YardsPerTargetRank { get; set; } + + [DataMember(Name = "YardsPerReception", Order = 61)] + public decimal? YardsPerReception { get; set; } + + [DataMember(Name = "YardsAfterCatch", Order = 62)] + public decimal? YardsAfterCatch { get; set; } + + [DataMember(Name = "YardsAfterCatchPerGame", Order = 63)] + public decimal? YardsAfterCatchPerGame { get; set; } + + [DataMember(Name = "YardsAfterCatchPerReception", Order = 64)] + public decimal? YardsAfterCatchPerReception { get; set; } + + [DataMember(Name = "YardsAfterCatchPerTarget", Order = 65)] + public decimal? YardsAfterCatchPerTarget { get; set; } + + [DataMember(Name = "YardsAfterCatchRank", Order = 66)] + public int? YardsAfterCatchRank { get; set; } + + [DataMember(Name = "TotalTouchdowns", Order = 67)] + public decimal? TotalTouchdowns { get; set; } + + [DataMember(Name = "TotalTouchdownsRank", Order = 68)] + public int? TotalTouchdownsRank { get; set; } + + [DataMember(Name = "TotalTouches", Order = 69)] + public decimal? TotalTouches { get; set; } + + [DataMember(Name = "TotalYards", Order = 70)] + public decimal? TotalYards { get; set; } + + [DataMember(Name = "TotalYardsPerGame", Order = 71)] + public decimal? TotalYardsPerGame { get; set; } + + [DataMember(Name = "Targets", Order = 72)] + public decimal? Targets { get; set; } + + [DataMember(Name = "TargetShare", Order = 73)] + public decimal? TargetShare { get; set; } + + [DataMember(Name = "TargetShareRank", Order = 74)] + public int? TargetShareRank { get; set; } + + [DataMember(Name = "TargetsInside10", Order = 75)] + public decimal? TargetsInside10 { get; set; } + + [DataMember(Name = "TargetsInside10PerGame", Order = 76)] + public decimal? TargetsInside10PerGame { get; set; } + + [DataMember(Name = "TargetsInside5", Order = 77)] + public decimal? TargetsInside5 { get; set; } + + [DataMember(Name = "TargetsInside5PerGame", Order = 78)] + public decimal? TargetsInside5PerGame { get; set; } + + [DataMember(Name = "TargetsPerGame", Order = 79)] + public decimal? TargetsPerGame { get; set; } + + [DataMember(Name = "TargetsPerGameRank", Order = 80)] + public int? TargetsPerGameRank { get; set; } + + [DataMember(Name = "TargetsRank", Order = 81)] + public int? TargetsRank { get; set; } + + [DataMember(Name = "SlotSnaps", Order = 82)] + public decimal? SlotSnaps { get; set; } + + [DataMember(Name = "SlotYPR", Order = 83)] + public decimal? SlotYPR { get; set; } + + [DataMember(Name = "SlotYPRRank", Order = 84)] + public int? SlotYPRRank { get; set; } + + [DataMember(Name = "SlotYPT", Order = 85)] + public decimal? SlotYPT { get; set; } + + [DataMember(Name = "SlotYPTRank", Order = 86)] + public int? SlotYPTRank { get; set; } + + [DataMember(Name = "RedZoneSnapShare", Order = 87)] + public decimal? RedZoneSnapShare { get; set; } + + [DataMember(Name = "RedZoneSnapShareRank", Order = 88)] + public int? RedZoneSnapShareRank { get; set; } + + [DataMember(Name = "RouteParticipation", Order = 89)] + public decimal? RouteParticipation { get; set; } + + [DataMember(Name = "RouteParticipationRank", Order = 90)] + public int? RouteParticipationRank { get; set; } + + [DataMember(Name = "PassRoutes", Order = 91)] + public decimal? PassRoutes { get; set; } + + [DataMember(Name = "PassRoutesPerGame", Order = 92)] + public decimal? PassRoutesPerGame { get; set; } + + [DataMember(Name = "PassRoutesPerGameRank", Order = 93)] + public int? PassRoutesPerGameRank { get; set; } + + [DataMember(Name = "RedZoneReceptions", Order = 94)] + public decimal? RedZoneReceptions { get; set; } + + [DataMember(Name = "RedZoneReceptionsRank", Order = 95)] + public int? RedZoneReceptionsRank { get; set; } + + [DataMember(Name = "RedZoneTargets", Order = 96)] + public decimal? RedZoneTargets { get; set; } + + [DataMember(Name = "RedZoneTargetShare", Order = 97)] + public decimal? RedZoneTargetShare { get; set; } + + [DataMember(Name = "RedZoneTargetShareRank", Order = 98)] + public int? RedZoneTargetShareRank { get; set; } + + [DataMember(Name = "RedZoneTargetsRank", Order = 99)] + public int? RedZoneTargetsRank { get; set; } + + [DataMember(Name = "RedZoneTouches", Order = 100)] + public decimal? RedZoneTouches { get; set; } + + [DataMember(Name = "RedZoneTouchesPerGame", Order = 101)] + public decimal? RedZoneTouchesPerGame { get; set; } + + [DataMember(Name = "QBRatingWhenTargeted", Order = 102)] + public decimal? QBRatingWhenTargeted { get; set; } + + [DataMember(Name = "QBRatingWhenTargetedRank", Order = 103)] + public int? QBRatingWhenTargetedRank { get; set; } + + [DataMember(Name = "ReceivingTDs", Order = 104)] + public decimal? ReceivingTDs { get; set; } + + [DataMember(Name = "ReceivingYards", Order = 105)] + public decimal? ReceivingYards { get; set; } + + [DataMember(Name = "ReceivingYardsPerGame", Order = 106)] + public decimal? ReceivingYardsPerGame { get; set; } + + [DataMember(Name = "ReceivingYardsPerGameRank", Order = 107)] + public int? ReceivingYardsPerGameRank { get; set; } + + [DataMember(Name = "ReceivingYardsRank", Order = 108)] + public int? ReceivingYardsRank { get; set; } + + [DataMember(Name = "Receptions", Order = 109)] + public decimal? Receptions { get; set; } + + [DataMember(Name = "ReceptionsPerGame", Order = 110)] + public decimal? ReceptionsPerGame { get; set; } + + [DataMember(Name = "ReceptionsPerGameRank", Order = 111)] + public int? ReceptionsPerGameRank { get; set; } + + [DataMember(Name = "ReceptionsRank", Order = 112)] + public int? ReceptionsRank { get; set; } + + [DataMember(Name = "RedZoneCatchRate", Order = 113)] + public decimal? RedZoneCatchRate { get; set; } + + [DataMember(Name = "RedZoneCatchRateRank", Order = 114)] + public int? RedZoneCatchRateRank { get; set; } + + [DataMember(Name = "CatchableTargetRate", Order = 115)] + public decimal? CatchableTargetRate { get; set; } + + [DataMember(Name = "CatchableTargetRateRank", Order = 116)] + public int? CatchableTargetRateRank { get; set; } + + [DataMember(Name = "CatchableTargets", Order = 117)] + public decimal? CatchableTargets { get; set; } + + [DataMember(Name = "CatchRate", Order = 118)] + public decimal? CatchRate { get; set; } + + [DataMember(Name = "CatchRateRank", Order = 119)] + public int? CatchRateRank { get; set; } + + [DataMember(Name = "DominatorRating", Order = 120)] + public decimal? DominatorRating { get; set; } + + [DataMember(Name = "DominatorRatingRank", Order = 121)] + public int? DominatorRatingRank { get; set; } + + [DataMember(Name = "Drops", Order = 122)] + public decimal? Drops { get; set; } + + [DataMember(Name = "DropsPerGame", Order = 123)] + public decimal? DropsPerGame { get; set; } + + [DataMember(Name = "DropsPerGameRank", Order = 124)] + public int? DropsPerGameRank { get; set; } + + [DataMember(Name = "DropRate", Order = 125)] + public decimal? DropRate { get; set; } + + [DataMember(Name = "DropRateRank", Order = 126)] + public int? DropRateRank { get; set; } + + [DataMember(Name = "DropsRank", Order = 127)] + public int? DropsRank { get; set; } + + [DataMember(Name = "EndzoneTargets", Order = 128)] + public decimal? EndzoneTargets { get; set; } + + [DataMember(Name = "EndzoneTargetShare", Order = 129)] + public decimal? EndzoneTargetShare { get; set; } + + [DataMember(Name = "EndzoneTargetShareRank", Order = 130)] + public int? EndzoneTargetShareRank { get; set; } + + [DataMember(Name = "AccuracyRating", Order = 131)] + public decimal? AccuracyRating { get; set; } + + [DataMember(Name = "AccuracyRatingRank", Order = 132)] + public int? AccuracyRatingRank { get; set; } + + [DataMember(Name = "AdjustedAttempts", Order = 133)] + public decimal? AdjustedAttempts { get; set; } + + [DataMember(Name = "AdjustedYardsPerAttempt", Order = 134)] + public decimal? AdjustedYardsPerAttempt { get; set; } + + [DataMember(Name = "AdjustedYardsPerAttemptRank", Order = 135)] + public int? AdjustedYardsPerAttemptRank { get; set; } + + [DataMember(Name = "AirYardsPerAttempt", Order = 136)] + public decimal? AirYardsPerAttempt { get; set; } + + [DataMember(Name = "AirYardsPerAttemptRank", Order = 137)] + public int? AirYardsPerAttemptRank { get; set; } + + [DataMember(Name = "AttemptsInside10", Order = 138)] + public decimal? AttemptsInside10 { get; set; } + + [DataMember(Name = "AttemptsInside10PerGame", Order = 139)] + public decimal? AttemptsInside10PerGame { get; set; } + + [DataMember(Name = "AttemptsInside5", Order = 140)] + public decimal? AttemptsInside5 { get; set; } + + [DataMember(Name = "AttemptsInside5PerGame", Order = 141)] + public decimal? AttemptsInside5PerGame { get; set; } + + [DataMember(Name = "AttemptsPerGame", Order = 142)] + public decimal? AttemptsPerGame { get; set; } + + [DataMember(Name = "CatchablePasses", Order = 143)] + public decimal? CatchablePasses { get; set; } + + [DataMember(Name = "CatchablePassesPerGame", Order = 144)] + public decimal? CatchablePassesPerGame { get; set; } + + [DataMember(Name = "CatchablePassesRank", Order = 145)] + public int? CatchablePassesRank { get; set; } + + [DataMember(Name = "CompletionPercentage", Order = 146)] + public decimal? CompletionPercentage { get; set; } + + [DataMember(Name = "CompletionPercentageRank", Order = 147)] + public int? CompletionPercentageRank { get; set; } + + [DataMember(Name = "Completions", Order = 148)] + public decimal? Completions { get; set; } + + [DataMember(Name = "DangerPlays", Order = 149)] + public decimal? DangerPlays { get; set; } + + [DataMember(Name = "DangerPlaysPerGame", Order = 150)] + public decimal? DangerPlaysPerGame { get; set; } + + [DataMember(Name = "DangerPlaysRank", Order = 151)] + public int? DangerPlaysRank { get; set; } + + [DataMember(Name = "DeepBallAttempts", Order = 152)] + public decimal? DeepBallAttempts { get; set; } + + [DataMember(Name = "DeepBallAttemptsPerGame", Order = 153)] + public decimal? DeepBallAttemptsPerGame { get; set; } + + [DataMember(Name = "DeepBallAttemptsPerGameRank", Order = 154)] + public int? DeepBallAttemptsPerGameRank { get; set; } + + [DataMember(Name = "DeepBallAttemptsRank", Order = 155)] + public int? DeepBallAttemptsRank { get; set; } + + [DataMember(Name = "DeepBallCompletionPercentage", Order = 156)] + public decimal? DeepBallCompletionPercentage { get; set; } + + [DataMember(Name = "DeepBallCompletionPercentageRank", Order = 157)] + public int? DeepBallCompletionPercentageRank { get; set; } + + [DataMember(Name = "DeepBallCompletions", Order = 158)] + public decimal? DeepBallCompletions { get; set; } + + [DataMember(Name = "DeepBallCompletionsRank", Order = 159)] + public int? DeepBallCompletionsRank { get; set; } + + [DataMember(Name = "DroppedPasses", Order = 160)] + public decimal? DroppedPasses { get; set; } + + [DataMember(Name = "DroppedPassesRank", Order = 161)] + public int? DroppedPassesRank { get; set; } + + [DataMember(Name = "DroppedPassesPerGame", Order = 162)] + public decimal? DroppedPassesPerGame { get; set; } + + [DataMember(Name = "DropsPerAttempt", Order = 163)] + public decimal? DropsPerAttempt { get; set; } + + [DataMember(Name = "DropsPerAttemptRank", Order = 164)] + public int? DropsPerAttemptRank { get; set; } + + [DataMember(Name = "DropBacks", Order = 165)] + public decimal? DropBacks { get; set; } + + [DataMember(Name = "InterceptablePasses", Order = 166)] + public decimal? InterceptablePasses { get; set; } + + [DataMember(Name = "InterceptablePassesPerGame", Order = 167)] + public decimal? InterceptablePassesPerGame { get; set; } + + [DataMember(Name = "InterceptablePassesRank", Order = 168)] + public int? InterceptablePassesRank { get; set; } + + [DataMember(Name = "MoneyThrows", Order = 169)] + public decimal? MoneyThrows { get; set; } + + [DataMember(Name = "MoneyThrowsPerGame", Order = 170)] + public decimal? MoneyThrowsPerGame { get; set; } + + [DataMember(Name = "MoneyThrowsRank", Order = 171)] + public int? MoneyThrowsRank { get; set; } + + [DataMember(Name = "PassAttempts", Order = 172)] + public decimal? PassAttempts { get; set; } + + [DataMember(Name = "PassAttemptsRank", Order = 173)] + public int? PassAttemptsRank { get; set; } + + [DataMember(Name = "PassAttemptDistance", Order = 174)] + public decimal? PassAttemptDistance { get; set; } + + [DataMember(Name = "PassAttemptDistanceRank", Order = 175)] + public int? PassAttemptDistanceRank { get; set; } + + [DataMember(Name = "PassAttemptDistancePerAttempt", Order = 176)] + public decimal? PassAttemptDistancePerAttempt { get; set; } + + [DataMember(Name = "PassAttemptDistancePerAttemptRank", Order = 177)] + public int? PassAttemptDistancePerAttemptRank { get; set; } + + [DataMember(Name = "PassingAttempts", Order = 178)] + public decimal? PassingAttempts { get; set; } + + [DataMember(Name = "PassingTouchdowns", Order = 179)] + public decimal? PassingTouchdowns { get; set; } + + [DataMember(Name = "PassingTouchdownsRank", Order = 180)] + public int? PassingTouchdownsRank { get; set; } + + [DataMember(Name = "PassingYards", Order = 181)] + public decimal? PassingYards { get; set; } + + [DataMember(Name = "PassingYardsPerAttempt", Order = 182)] + public decimal? PassingYardsPerAttempt { get; set; } + + [DataMember(Name = "PassingYardsPerAttemptRank", Order = 183)] + public int? PassingYardsPerAttemptRank { get; set; } + + [DataMember(Name = "PassingYardsPerGame", Order = 184)] + public decimal? PassingYardsPerGame { get; set; } + + [DataMember(Name = "PassingYardsPerGameRank", Order = 185)] + public int? PassingYardsPerGameRank { get; set; } + + [DataMember(Name = "PassingYardsRank", Order = 186)] + public int? PassingYardsRank { get; set; } + + [DataMember(Name = "PlayactionPassAttempts", Order = 187)] + public decimal? PlayactionPassAttempts { get; set; } + + [DataMember(Name = "PlayactionPassAttemptsPerGame", Order = 188)] + public decimal? PlayactionPassAttemptsPerGame { get; set; } + + [DataMember(Name = "PlayactionPassAttemptsRank", Order = 189)] + public int? PlayactionPassAttemptsRank { get; set; } + + [DataMember(Name = "PlayactionPassCompletionPercentage", Order = 190)] + public decimal? PlayactionPassCompletionPercentage { get; set; } + + [DataMember(Name = "PlayactionPassCompletionPercentageRank", Order = 191)] + public int? PlayactionPassCompletionPercentageRank { get; set; } + + [DataMember(Name = "ProtectionRate", Order = 192)] + public decimal? ProtectionRate { get; set; } + + [DataMember(Name = "ProtectionRateRank", Order = 193)] + public int? ProtectionRateRank { get; set; } + + [DataMember(Name = "RedZoneAttempts", Order = 194)] + public decimal? RedZoneAttempts { get; set; } + + [DataMember(Name = "RedZoneAttemptsPerGame", Order = 195)] + public decimal? RedZoneAttemptsPerGame { get; set; } + + [DataMember(Name = "RedZoneAttemptsRank", Order = 196)] + public int? RedZoneAttemptsRank { get; set; } + + [DataMember(Name = "RedZoneCompletionPercentage", Order = 197)] + public decimal? RedZoneCompletionPercentage { get; set; } + + [DataMember(Name = "RedZoneCompletionPercentageRank", Order = 198)] + public int? RedZoneCompletionPercentageRank { get; set; } + + [DataMember(Name = "RedZoneTDtoINTRatio", Order = 199)] + public decimal? RedZoneTDtoINTRatio { get; set; } + + [DataMember(Name = "RushingTDs", Order = 200)] + public decimal? RushingTDs { get; set; } + + [DataMember(Name = "RushingYardsPerGameRank", Order = 201)] + public int? RushingYardsPerGameRank { get; set; } + + [DataMember(Name = "ShotgunCompletionPercentage", Order = 202)] + public decimal? ShotgunCompletionPercentage { get; set; } + + [DataMember(Name = "ShotgunSnaps", Order = 203)] + public decimal? ShotgunSnaps { get; set; } + + [DataMember(Name = "UnderCenterCompletionPercentage", Order = 204)] + public decimal? UnderCenterCompletionPercentage { get; set; } + + [DataMember(Name = "UnderCenterSnaps", Order = 205)] + public decimal? UnderCenterSnaps { get; set; } + + [DataMember(Name = "ReceiverContestedCatchRate", Order = 206)] + public decimal? ReceiverContestedCatchRate { get; set; } + + [DataMember(Name = "ReceiverContestedCatchRateRank", Order = 207)] + public int? ReceiverContestedCatchRateRank { get; set; } + + [DataMember(Name = "ReceiverTargetSeparation", Order = 208)] + public decimal? ReceiverTargetSeparation { get; set; } + + [DataMember(Name = "ReceiverTargetSeparationRank", Order = 209)] + public int? ReceiverTargetSeparationRank { get; set; } + + [DataMember(Name = "ReceiverYardsAfterTheCatch", Order = 210)] + public decimal? ReceiverYardsAfterTheCatch { get; set; } + + [DataMember(Name = "ReceiverYardsAfterTheCatchRank", Order = 211)] + public int? ReceiverYardsAfterTheCatchRank { get; set; } + + [DataMember(Name = "ReceiverYardsAfterTheCatchPerTarget", Order = 212)] + public decimal? ReceiverYardsAfterTheCatchPerTarget { get; set; } + + [DataMember(Name = "SupportingCastEfficiency", Order = 213)] + public decimal? SupportingCastEfficiency { get; set; } + + [DataMember(Name = "SupportingCastEfficiencyRank", Order = 214)] + public int? SupportingCastEfficiencyRank { get; set; } + + [DataMember(Name = "TotalQBR", Order = 215)] + public decimal? TotalQBR { get; set; } + + [DataMember(Name = "TotalQBRRank", Order = 216)] + public int? TotalQBRRank { get; set; } + + [DataMember(Name = "TrueCompletionPercentage", Order = 217)] + public decimal? TrueCompletionPercentage { get; set; } + + [DataMember(Name = "TrueCompletionPercentageRank", Order = 218)] + public int? TrueCompletionPercentageRank { get; set; } + + [DataMember(Name = "TruePasserRating", Order = 219)] + public decimal? TruePasserRating { get; set; } + + [DataMember(Name = "TruePasserRatingRank", Order = 220)] + public int? TruePasserRatingRank { get; set; } + + [DataMember(Name = "UncatchablePasses", Order = 221)] + public decimal? UncatchablePasses { get; set; } + + [DataMember(Name = "UncatchablePassesPerGame", Order = 222)] + public decimal? UncatchablePassesPerGame { get; set; } + + [DataMember(Name = "UncatchablePassesRank", Order = 223)] + public int? UncatchablePassesRank { get; set; } + + [DataMember(Name = "UnderPressureAttempts", Order = 224)] + public decimal? UnderPressureAttempts { get; set; } + + [DataMember(Name = "UnderPressureAttemptsRank", Order = 225)] + public int? UnderPressureAttemptsRank { get; set; } + + [DataMember(Name = "UnderPressureAttemptsPerGame", Order = 226)] + public decimal? UnderPressureAttemptsPerGame { get; set; } + + [DataMember(Name = "PressuredCompletionPercentage", Order = 227)] + public decimal? PressuredCompletionPercentage { get; set; } + + [DataMember(Name = "PressuredCompletionPercentageRank", Order = 228)] + public int? PressuredCompletionPercentageRank { get; set; } + + [DataMember(Name = "AverageDefendersInTheBox", Order = 229)] + public decimal? AverageDefendersInTheBox { get; set; } + + [DataMember(Name = "AverageDefendersInTheBoxRank", Order = 230)] + public int? AverageDefendersInTheBoxRank { get; set; } + + [DataMember(Name = "BaseFrontCarryRate", Order = 231)] + public decimal? BaseFrontCarryRate { get; set; } + + [DataMember(Name = "BaseFrontCarryRateRank", Order = 232)] + public int? BaseFrontCarryRateRank { get; set; } + + [DataMember(Name = "BaseFrontYardsPerCarry", Order = 233)] + public decimal? BaseFrontYardsPerCarry { get; set; } + + [DataMember(Name = "BaseFrontYardsPerCarryRank", Order = 234)] + public int? BaseFrontYardsPerCarryRank { get; set; } + + [DataMember(Name = "BreakawayRunRate", Order = 235)] + public decimal? BreakawayRunRate { get; set; } + + [DataMember(Name = "BreakawayRunRateRank", Order = 236)] + public int? BreakawayRunRateRank { get; set; } + + [DataMember(Name = "BreakawayRuns", Order = 237)] + public decimal? BreakawayRuns { get; set; } + + [DataMember(Name = "BreakawayRunsPerGame", Order = 238)] + public decimal? BreakawayRunsPerGame { get; set; } + + [DataMember(Name = "BreakawayRunsPerGameRank", Order = 239)] + public int? BreakawayRunsPerGameRank { get; set; } + + [DataMember(Name = "BreakawayRunsRank", Order = 240)] + public int? BreakawayRunsRank { get; set; } + + [DataMember(Name = "EvadedTackles", Order = 241)] + public decimal? EvadedTackles { get; set; } + + [DataMember(Name = "EvadedTacklesPerGame", Order = 242)] + public decimal? EvadedTacklesPerGame { get; set; } + + [DataMember(Name = "EvadedTacklesPerGameRank", Order = 243)] + public int? EvadedTacklesPerGameRank { get; set; } + + [DataMember(Name = "EvadedTacklesRank", Order = 244)] + public int? EvadedTacklesRank { get; set; } + + [DataMember(Name = "JukeRate", Order = 245)] + public decimal? JukeRate { get; set; } + + [DataMember(Name = "JukeRateRank", Order = 246)] + public int? JukeRateRank { get; set; } + + [DataMember(Name = "LightFrontCarryRate", Order = 247)] + public decimal? LightFrontCarryRate { get; set; } + + [DataMember(Name = "LightFrontCarryRateRank", Order = 248)] + public int? LightFrontCarryRateRank { get; set; } + + [DataMember(Name = "LightFrontYardsPerCarry", Order = 249)] + public decimal? LightFrontYardsPerCarry { get; set; } + + [DataMember(Name = "LightFrontYardsPerCarryRank", Order = 250)] + public int? LightFrontYardsPerCarryRank { get; set; } + + [DataMember(Name = "Opportunities", Order = 251)] + public decimal? Opportunities { get; set; } + + [DataMember(Name = "OpportunityShare", Order = 252)] + public decimal? OpportunityShare { get; set; } + + [DataMember(Name = "OpportunityShareRank", Order = 253)] + public int? OpportunityShareRank { get; set; } + + [DataMember(Name = "RedZoneOpportunities", Order = 254)] + public decimal? RedZoneOpportunities { get; set; } + + [DataMember(Name = "RedZoneTouchesPerGameRank", Order = 255)] + public int? RedZoneTouchesPerGameRank { get; set; } + + [DataMember(Name = "RedZoneTouchesRank", Order = 256)] + public int? RedZoneTouchesRank { get; set; } + + [DataMember(Name = "RunBlockingEfficiency", Order = 257)] + public decimal? RunBlockingEfficiency { get; set; } + + [DataMember(Name = "RunBlockingEfficiencyRank", Order = 258)] + public int? RunBlockingEfficiencyRank { get; set; } + + [DataMember(Name = "RushYardsPerGameRank", Order = 259)] + public int? RushYardsPerGameRank { get; set; } + + [DataMember(Name = "ShotgunCarryRate", Order = 260)] + public decimal? ShotgunCarryRate { get; set; } + + [DataMember(Name = "ShotgunCarryRateRank", Order = 261)] + public int? ShotgunCarryRateRank { get; set; } + + [DataMember(Name = "ShotgunYardsPerCarry", Order = 262)] + public decimal? ShotgunYardsPerCarry { get; set; } + + [DataMember(Name = "ShotgunYardsPerCarryRank", Order = 263)] + public int? ShotgunYardsPerCarryRank { get; set; } + + [DataMember(Name = "RedZoneOpportunityShare", Order = 264)] + public decimal? RedZoneOpportunityShare { get; set; } + + [DataMember(Name = "RedZoneOpportunityShareRank", Order = 265)] + public int? RedZoneOpportunityShareRank { get; set; } + + [DataMember(Name = "RedZoneTDConversionRate", Order = 266)] + public decimal? RedZoneTDConversionRate { get; set; } + + [DataMember(Name = "RedZoneTDConversionRateRank", Order = 267)] + public int? RedZoneTDConversionRateRank { get; set; } + + [DataMember(Name = "StackedFrontCarryRate", Order = 268)] + public decimal? StackedFrontCarryRate { get; set; } + + [DataMember(Name = "StackedFrontCarryRateRank", Order = 269)] + public int? StackedFrontCarryRateRank { get; set; } + + [DataMember(Name = "StackedFrontYardsPerCarry", Order = 270)] + public decimal? StackedFrontYardsPerCarry { get; set; } + + [DataMember(Name = "StackedFrontYardsPerCarryRank", Order = 271)] + public int? StackedFrontYardsPerCarryRank { get; set; } + + [DataMember(Name = "StuffedRuns", Order = 272)] + public decimal? StuffedRuns { get; set; } + + [DataMember(Name = "StuffedRunsRank", Order = 273)] + public int? StuffedRunsRank { get; set; } + + [DataMember(Name = "StuffedRunRate", Order = 274)] + public decimal? StuffedRunRate { get; set; } + + [DataMember(Name = "StuffedRunRateRank", Order = 275)] + public int? StuffedRunRateRank { get; set; } + + [DataMember(Name = "TeamRunPlays", Order = 276)] + public decimal? TeamRunPlays { get; set; } + + [DataMember(Name = "TeamRunPlaysRank", Order = 277)] + public int? TeamRunPlaysRank { get; set; } + + [DataMember(Name = "TotalYardsPerGameRank", Order = 278)] + public int? TotalYardsPerGameRank { get; set; } + + [DataMember(Name = "TotalYardsRank", Order = 279)] + public int? TotalYardsRank { get; set; } + + [DataMember(Name = "TrueYardsPerCarry", Order = 280)] + public decimal? TrueYardsPerCarry { get; set; } + + [DataMember(Name = "TrueYardsPerCarryRank", Order = 281)] + public int? TrueYardsPerCarryRank { get; set; } + + [DataMember(Name = "UnderCenterCarryRate", Order = 282)] + public decimal? UnderCenterCarryRate { get; set; } + + [DataMember(Name = "UnderCenterCarryRateRank", Order = 283)] + public int? UnderCenterCarryRateRank { get; set; } + + [DataMember(Name = "UnderCenterYardsPerCarry", Order = 284)] + public decimal? UnderCenterYardsPerCarry { get; set; } + + [DataMember(Name = "UnderCenterYardsPerCarryRank", Order = 285)] + public int? UnderCenterYardsPerCarryRank { get; set; } + + [DataMember(Name = "WeightedOpportunities", Order = 286)] + public decimal? WeightedOpportunities { get; set; } + + [DataMember(Name = "WeightedOpportunitiesRank", Order = 287)] + public int? WeightedOpportunitiesRank { get; set; } + + [DataMember(Name = "WeightedOpportunitiesPerGame", Order = 288)] + public decimal? WeightedOpportunitiesPerGame { get; set; } + + [DataMember(Name = "WeightedOpportunitiesPerGameRank", Order = 289)] + public int? WeightedOpportunitiesPerGameRank { get; set; } + + [DataMember(Name = "YardsCreated", Order = 290)] + public decimal? YardsCreated { get; set; } + + [DataMember(Name = "YardsCreatedPerGame", Order = 291)] + public decimal? YardsCreatedPerGame { get; set; } + + [DataMember(Name = "YardsCreatedPerGameRank", Order = 292)] + public int? YardsCreatedPerGameRank { get; set; } + + [DataMember(Name = "YardsCreatedPerCarry", Order = 293)] + public decimal? YardsCreatedPerCarry { get; set; } + + [DataMember(Name = "YardsCreatedPerCarryRank", Order = 294)] + public int? YardsCreatedPerCarryRank { get; set; } + + [DataMember(Name = "YardsCreatedRank", Order = 295)] + public int? YardsCreatedRank { get; set; } + + [DataMember(Name = "YardsPerCarry", Order = 296)] + public decimal? YardsPerCarry { get; set; } + + [DataMember(Name = "YardsPerCarryRank", Order = 297)] + public int? YardsPerCarryRank { get; set; } + + [DataMember(Name = "YardsPerOpportunity", Order = 298)] + public decimal? YardsPerOpportunity { get; set; } + + [DataMember(Name = "YardsPerRouteRun", Order = 299)] + public decimal? YardsPerRouteRun { get; set; } + + [DataMember(Name = "YardsPerRouteRunRank", Order = 300)] + public int? YardsPerRouteRunRank { get; set; } + + [DataMember(Name = "YardsPerTouch", Order = 301)] + public decimal? YardsPerTouch { get; set; } + + [DataMember(Name = "YardsPerTouchRank", Order = 302)] + public int? YardsPerTouchRank { get; set; } + + [DataMember(Name = "AirYardsPerReception", Order = 303)] + public decimal? AirYardsPerReception { get; set; } + + [DataMember(Name = "AirYardsPerTarget", Order = 304)] + public decimal? AirYardsPerTarget { get; set; } + + [DataMember(Name = "Cushion", Order = 305)] + public decimal? Cushion { get; set; } + + [DataMember(Name = "CushionRank", Order = 306)] + public int? CushionRank { get; set; } + + [DataMember(Name = "AverageTargetDistance", Order = 307)] + public decimal? AverageTargetDistance { get; set; } + + [DataMember(Name = "AverageTargetDistanceRank", Order = 308)] + public int? AverageTargetDistanceRank { get; set; } + + [DataMember(Name = "Burns", Order = 309)] + public decimal? Burns { get; set; } + + [DataMember(Name = "CatchableTargetsPerGame", Order = 310)] + public decimal? CatchableTargetsPerGame { get; set; } + + [DataMember(Name = "CatchableTargetsRank", Order = 311)] + public int? CatchableTargetsRank { get; set; } + + [DataMember(Name = "ContestedCatchConversionRate", Order = 312)] + public decimal? ContestedCatchConversionRate { get; set; } + + [DataMember(Name = "ContestedCatchConversionRateRank", Order = 313)] + public int? ContestedCatchConversionRateRank { get; set; } + + [DataMember(Name = "ContestedCatches", Order = 314)] + public decimal? ContestedCatches { get; set; } + + [DataMember(Name = "ContestedTargets", Order = 315)] + public decimal? ContestedTargets { get; set; } + + [DataMember(Name = "HogRate", Order = 316)] + public decimal? HogRate { get; set; } + + [DataMember(Name = "HogRateRank", Order = 317)] + public int? HogRateRank { get; set; } + + [DataMember(Name = "PassSnapsRank", Order = 318)] + public int? PassSnapsRank { get; set; } + + [DataMember(Name = "RunSnapsRank", Order = 319)] + public int? RunSnapsRank { get; set; } + + [DataMember(Name = "SlotCatchRate", Order = 320)] + public decimal? SlotCatchRate { get; set; } + + [DataMember(Name = "SlotCatchRateRank", Order = 321)] + public int? SlotCatchRateRank { get; set; } + + [DataMember(Name = "SlotSnapsRank", Order = 322)] + public int? SlotSnapsRank { get; set; } + + [DataMember(Name = "SnapweighedGameScript", Order = 323)] + public decimal? SnapweighedGameScript { get; set; } + + [DataMember(Name = "SnapweighedGameScriptRank", Order = 324)] + public int? SnapweighedGameScriptRank { get; set; } + + [DataMember(Name = "TargetPremium", Order = 325)] + public decimal? TargetPremium { get; set; } + + [DataMember(Name = "TargetPremiumRank", Order = 326)] + public int? TargetPremiumRank { get; set; } + + [DataMember(Name = "TargetQualityRating", Order = 327)] + public decimal? TargetQualityRating { get; set; } + + [DataMember(Name = "TargetQualityRatingRank", Order = 328)] + public int? TargetQualityRatingRank { get; set; } + + [DataMember(Name = "TargetAccuracy", Order = 329)] + public decimal? TargetAccuracy { get; set; } + + [DataMember(Name = "TargetAccuracyRank", Order = 330)] + public int? TargetAccuracyRank { get; set; } + + [DataMember(Name = "TargetDistance", Order = 331)] + public decimal? TargetDistance { get; set; } + + [DataMember(Name = "TargetDistancePerGame", Order = 332)] + public decimal? TargetDistancePerGame { get; set; } + + [DataMember(Name = "TargetDistanceRank", Order = 333)] + public int? TargetDistanceRank { get; set; } + + [DataMember(Name = "TrueCatchRate", Order = 334)] + public decimal? TrueCatchRate { get; set; } + + [DataMember(Name = "TrueCatchRateRank", Order = 335)] + public int? TrueCatchRateRank { get; set; } + + [DataMember(Name = "UncatchableTargets", Order = 336)] + public decimal? UncatchableTargets { get; set; } + + [DataMember(Name = "UncatchableTargetsGame", Order = 337)] + public decimal? UncatchableTargetsGame { get; set; } + + [DataMember(Name = "YardsPerReceptionRank", Order = 338)] + public int? YardsPerReceptionRank { get; set; } + + [DataMember(Name = "YardsPerPassRoute", Order = 339)] + public decimal? YardsPerPassRoute { get; set; } + + [DataMember(Name = "YardsPerPassRouteRank", Order = 340)] + public int? YardsPerPassRouteRank { get; set; } + + [DataMember(Name = "TeamDefensiveSnaps", Order = 341)] + public decimal? TeamDefensiveSnaps { get; set; } + + [DataMember(Name = "SoloTackles", Order = 342)] + public decimal? SoloTackles { get; set; } + + [DataMember(Name = "SoloTacklesRank", Order = 343)] + public int? SoloTacklesRank { get; set; } + + [DataMember(Name = "SoloTacklesPerGame", Order = 344)] + public decimal? SoloTacklesPerGame { get; set; } + + [DataMember(Name = "AssistedTackles", Order = 345)] + public decimal? AssistedTackles { get; set; } + + [DataMember(Name = "AssistedTacklesRank", Order = 346)] + public int? AssistedTacklesRank { get; set; } + + [DataMember(Name = "AssistedTacklesPerGame", Order = 347)] + public decimal? AssistedTacklesPerGame { get; set; } + + [DataMember(Name = "TotalTackles", Order = 348)] + public decimal? TotalTackles { get; set; } + + [DataMember(Name = "TotalTacklesRank", Order = 349)] + public int? TotalTacklesRank { get; set; } + + [DataMember(Name = "TotalTacklesPerGame", Order = 350)] + public decimal? TotalTacklesPerGame { get; set; } + + [DataMember(Name = "Sacks", Order = 351)] + public decimal? Sacks { get; set; } + + [DataMember(Name = "SacksRank", Order = 352)] + public int? SacksRank { get; set; } + + [DataMember(Name = "SackYards", Order = 353)] + public decimal? SackYards { get; set; } + + [DataMember(Name = "ForcedFumbles", Order = 354)] + public decimal? ForcedFumbles { get; set; } + + [DataMember(Name = "ForcedFumblesRank", Order = 355)] + public int? ForcedFumblesRank { get; set; } + + [DataMember(Name = "FumbleRecoveries", Order = 356)] + public decimal? FumbleRecoveries { get; set; } + + [DataMember(Name = "FumbleRecoveriesRank", Order = 357)] + public int? FumbleRecoveriesRank { get; set; } + + [DataMember(Name = "BattedPasses", Order = 358)] + public decimal? BattedPasses { get; set; } + + [DataMember(Name = "BattedPassesRank", Order = 359)] + public int? BattedPassesRank { get; set; } + + [DataMember(Name = "TacklesForLoss", Order = 360)] + public decimal? TacklesForLoss { get; set; } + + [DataMember(Name = "TacklesForLossRank", Order = 361)] + public int? TacklesForLossRank { get; set; } + + [DataMember(Name = "RunStuffs", Order = 362)] + public decimal? RunStuffs { get; set; } + + [DataMember(Name = "RunStuffsRank", Order = 363)] + public int? RunStuffsRank { get; set; } + + [DataMember(Name = "PassBreakups", Order = 364)] + public decimal? PassBreakups { get; set; } + + [DataMember(Name = "PassBreakupsRank", Order = 365)] + public int? PassBreakupsRank { get; set; } + + [DataMember(Name = "PassBreakupsPerGame", Order = 366)] + public decimal? PassBreakupsPerGame { get; set; } + + [DataMember(Name = "PassBreakupsPerGameRank", Order = 367)] + public int? PassBreakupsPerGameRank { get; set; } + + [DataMember(Name = "PassBreakupsPerTarget", Order = 368)] + public decimal? PassBreakupsPerTarget { get; set; } + + [DataMember(Name = "PassBreakupsPerTargetRank", Order = 369)] + public int? PassBreakupsPerTargetRank { get; set; } + + [DataMember(Name = "Interceptions", Order = 370)] + public decimal? Interceptions { get; set; } + + [DataMember(Name = "InterceptionsRank", Order = 371)] + public int? InterceptionsRank { get; set; } + + [DataMember(Name = "TargetsAllowed", Order = 372)] + public decimal? TargetsAllowed { get; set; } + + [DataMember(Name = "TargetsAllowedRank", Order = 373)] + public int? TargetsAllowedRank { get; set; } + + [DataMember(Name = "ReceptionsAllowed", Order = 374)] + public decimal? ReceptionsAllowed { get; set; } + + [DataMember(Name = "ReceptionsAllowedRank", Order = 375)] + public int? ReceptionsAllowedRank { get; set; } + + [DataMember(Name = "YardsAllowed", Order = 376)] + public decimal? YardsAllowed { get; set; } + + [DataMember(Name = "YardsAllowedRank", Order = 377)] + public int? YardsAllowedRank { get; set; } + + [DataMember(Name = "YardsAllowedPerGame", Order = 378)] + public decimal? YardsAllowedPerGame { get; set; } + + [DataMember(Name = "YardsAllowedPerGameRank", Order = 379)] + public int? YardsAllowedPerGameRank { get; set; } + + [DataMember(Name = "YardsPerReceptionAllowed", Order = 380)] + public decimal? YardsPerReceptionAllowed { get; set; } + + [DataMember(Name = "YardsPerReceptionAllowedRank", Order = 381)] + public int? YardsPerReceptionAllowedRank { get; set; } + + [DataMember(Name = "CatchRateAllowed", Order = 382)] + public decimal? CatchRateAllowed { get; set; } + + [DataMember(Name = "CatchRateAllowedRank", Order = 383)] + public int? CatchRateAllowedRank { get; set; } + + [DataMember(Name = "PasserRatingAllowed", Order = 384)] + public decimal? PasserRatingAllowed { get; set; } + + [DataMember(Name = "PasserRatingAllowedRank", Order = 385)] + public int? PasserRatingAllowedRank { get; set; } + + [DataMember(Name = "TouchdownsAllowed", Order = 386)] + public decimal? TouchdownsAllowed { get; set; } + + [DataMember(Name = "TouchdownsAllowedRank", Order = 387)] + public int? TouchdownsAllowedRank { get; set; } + + [DataMember(Name = "InterceptionsPerTarget", Order = 388)] + public decimal? InterceptionsPerTarget { get; set; } + + [DataMember(Name = "InterceptionsPerTargetRank", Order = 389)] + public int? InterceptionsPerTargetRank { get; set; } + + [DataMember(Name = "CoverageRating", Order = 390)] + public decimal? CoverageRating { get; set; } + + [DataMember(Name = "CoverageRatingRank", Order = 391)] + public int? CoverageRatingRank { get; set; } + + [DataMember(Name = "RunPlayStops", Order = 392)] + public decimal? RunPlayStops { get; set; } + + [DataMember(Name = "RunPlayStopsRank", Order = 393)] + public int? RunPlayStopsRank { get; set; } + + [DataMember(Name = "TargetsAllowedPerGame", Order = 394)] + public decimal? TargetsAllowedPerGame { get; set; } + + [DataMember(Name = "TargetsAllowedPerGameRank", Order = 395)] + public int? TargetsAllowedPerGameRank { get; set; } + + [DataMember(Name = "ReceptionsAllowedPerGame", Order = 396)] + public decimal? ReceptionsAllowedPerGame { get; set; } + + [DataMember(Name = "ReceptionsAllowedPerGameRank", Order = 397)] + public int? ReceptionsAllowedPerGameRank { get; set; } + + [DataMember(Name = "TargetRate", Order = 398)] + public decimal? TargetRate { get; set; } + + [DataMember(Name = "TargetRateRank", Order = 399)] + public int? TargetRateRank { get; set; } + + [DataMember(Name = "BurnRateRank", Order = 400)] + public int? BurnRateRank { get; set; } + + [DataMember(Name = "AverageCushion", Order = 401)] + public decimal? AverageCushion { get; set; } + + [DataMember(Name = "AverageCushionRank", Order = 402)] + public int? AverageCushionRank { get; set; } + + [DataMember(Name = "YardsPerTargetAllowed", Order = 403)] + public decimal? YardsPerTargetAllowed { get; set; } + + [DataMember(Name = "YardsPerTargetAllowedRank", Order = 404)] + public int? YardsPerTargetAllowedRank { get; set; } + + [DataMember(Name = "RoutesDefended", Order = 405)] + public decimal? RoutesDefended { get; set; } + + [DataMember(Name = "RoutesDefendedRank", Order = 406)] + public int? RoutesDefendedRank { get; set; } + + [DataMember(Name = "RoutesDefendedPerGame", Order = 407)] + public decimal? RoutesDefendedPerGame { get; set; } + + [DataMember(Name = "RoutesDefendedPerGameRank", Order = 408)] + public int? RoutesDefendedPerGameRank { get; set; } + + [DataMember(Name = "FantasyPoints", Order = 409)] + public decimal? FantasyPoints { get; set; } + + [DataMember(Name = "FantasyPointsPerAttempt", Order = 410)] + public decimal? FantasyPointsPerAttempt { get; set; } + + [DataMember(Name = "FantasyPointsPerAttemptRank", Order = 411)] + public int? FantasyPointsPerAttemptRank { get; set; } + + [DataMember(Name = "FantasyPointsPerDropBack", Order = 412)] + public decimal? FantasyPointsPerDropBack { get; set; } + + [DataMember(Name = "FantasyPointsPerDropBackRank", Order = 413)] + public int? FantasyPointsPerDropBackRank { get; set; } + + [DataMember(Name = "FantasyPointsPerGame", Order = 414)] + public decimal? FantasyPointsPerGame { get; set; } + + [DataMember(Name = "FantasyPointsPerGameDifferential", Order = 415)] + public decimal? FantasyPointsPerGameDifferential { get; set; } + + [DataMember(Name = "FantasyPointsPerGameRank", Order = 416)] + public int? FantasyPointsPerGameRank { get; set; } + + [DataMember(Name = "FantasyPointsPerOpportunity", Order = 417)] + public decimal? FantasyPointsPerOpportunity { get; set; } + + [DataMember(Name = "FantasyPointsPerOpportunityRank", Order = 418)] + public int? FantasyPointsPerOpportunityRank { get; set; } + + [DataMember(Name = "FantasyPointsPerSnap", Order = 419)] + public decimal? FantasyPointsPerSnap { get; set; } + + [DataMember(Name = "FantasyPointsPerSnapRank", Order = 420)] + public int? FantasyPointsPerSnapRank { get; set; } + + [DataMember(Name = "FantasyPointsPerPassRoute", Order = 421)] + public decimal? FantasyPointsPerPassRoute { get; set; } + + [DataMember(Name = "FantasyPointsPerPassRouteRank", Order = 422)] + public int? FantasyPointsPerPassRouteRank { get; set; } + + [DataMember(Name = "FantasyPointsPerTarget", Order = 423)] + public decimal? FantasyPointsPerTarget { get; set; } + + [DataMember(Name = "FantasyPointsPerTargetRank", Order = 424)] + public int? FantasyPointsPerTargetRank { get; set; } + + [DataMember(Name = "SlotFantasyPoints", Order = 425)] + public decimal? SlotFantasyPoints { get; set; } + + [DataMember(Name = "SlotFantasyPointsRank", Order = 426)] + public int? SlotFantasyPointsRank { get; set; } + + [DataMember(Name = "SlotFantasyPointsPerGame", Order = 427)] + public decimal? SlotFantasyPointsPerGame { get; set; } + + [DataMember(Name = "SlotFantasyPointsPerGameRank", Order = 428)] + public int? SlotFantasyPointsPerGameRank { get; set; } + + [DataMember(Name = "SlotFantasyPointsPerTarget", Order = 429)] + public decimal? SlotFantasyPointsPerTarget { get; set; } + + [DataMember(Name = "SlotFantasyPointsPerTargetRank", Order = 430)] + public int? SlotFantasyPointsPerTargetRank { get; set; } + + [DataMember(Name = "FantasyPointsAllowed", Order = 431)] + public decimal? FantasyPointsAllowed { get; set; } + + [DataMember(Name = "FantasyPointsAllowedPerTarget", Order = 432)] + public decimal? FantasyPointsAllowedPerTarget { get; set; } + + [DataMember(Name = "FantasyPointsAllowedPerTargetRank", Order = 433)] + public int? FantasyPointsAllowedPerTargetRank { get; set; } + + [DataMember(Name = "FantasyPointsAllowedPerGame", Order = 434)] + public decimal? FantasyPointsAllowedPerGame { get; set; } + + [DataMember(Name = "FantasyPointsAllowedPerGameRank", Order = 435)] + public int? FantasyPointsAllowedPerGameRank { get; set; } + + [DataMember(Name = "FantasyPointsAllowedPerSnap", Order = 436)] + public decimal? FantasyPointsAllowedPerSnap { get; set; } + + [DataMember(Name = "FantasyPointsAllowedPerSnapRank", Order = 437)] + public int? FantasyPointsAllowedPerSnapRank { get; set; } + + [DataMember(Name = "FantasyPointsAllowedPerCoverSnap", Order = 438)] + public decimal? FantasyPointsAllowedPerCoverSnap { get; set; } + + [DataMember(Name = "FantasyPointsAllowedPerCoverSnapRank", Order = 439)] + public int? FantasyPointsAllowedPerCoverSnapRank { get; set; } + + [DataMember(Name = "ExpectedFantasyPoints", Order = 440)] + public decimal? ExpectedFantasyPoints { get; set; } + + [DataMember(Name = "ExpectedFantasyPointsRank", Order = 441)] + public int? ExpectedFantasyPointsRank { get; set; } + + [DataMember(Name = "ExpectedFantasyPointsPerGame", Order = 442)] + public decimal? ExpectedFantasyPointsPerGame { get; set; } + + [DataMember(Name = "ExpectedFantasyPointsPerGameRank", Order = 443)] + public int? ExpectedFantasyPointsPerGameRank { get; set; } + + [DataMember(Name = "NormalizedFantasyPointsPerGame", Order = 444)] + public decimal? NormalizedFantasyPointsPerGame { get; set; } + + [DataMember(Name = "NormalizedFantasyPointsPerGameRank", Order = 445)] + public int? NormalizedFantasyPointsPerGameRank { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Article.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Article.cs new file mode 100644 index 0000000..d56c3d5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Article.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Article")] + [Serializable] + public partial class Article + { + /// + /// Unique ID of the Article (assigned by FantasyData) + /// + [Description("Unique ID of the Article (assigned by FantasyData)")] + [DataMember(Name = "ArticleID", Order = 1)] + public int ArticleID { get; set; } + + /// + /// Article title + /// + [Description("Article title")] + [DataMember(Name = "Title", Order = 2)] + public string Title { get; set; } + + /// + /// Article source company + /// + [Description("Article source company")] + [DataMember(Name = "Source", Order = 3)] + public string Source { get; set; } + + /// + /// Article publish/last updated date + /// + [Description("Article publish/last updated date")] + [DataMember(Name = "Updated", Order = 4)] + public DateTime Updated { get; set; } + + /// + /// Main Content of the article + /// + [Description("Main Content of the article")] + [DataMember(Name = "Content", Order = 5)] + public string Content { get; set; } + + /// + /// Source company article url + /// + [Description("Source company article url")] + [DataMember(Name = "Url", Order = 6)] + public string Url { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 7)] + public string TermsOfUse { get; set; } + + /// + /// Article Author + /// + [Description("Article Author")] + [DataMember(Name = "Author", Order = 8)] + public string Author { get; set; } + + /// + /// Basic info on players included in the article + /// + [Description("Basic info on players included in the article")] + [DataMember(Name = "Players", Order = 20009)] + public PlayerInfo[] Players { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/BoxScore.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/BoxScore.cs new file mode 100644 index 0000000..da9b955 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/BoxScore.cs @@ -0,0 +1,153 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="BoxScore")] + [Serializable] + public partial class BoxScore + { + /// + /// The game score/status associated with this box score + /// + [Description("The game score/status associated with this box score")] + [DataMember(Name = "Score", Order = 10001)] + public Score Score { get; set; } + + /// + /// The game stats associated with this box score + /// + [Description("The game stats associated with this box score")] + [DataMember(Name = "Game", Order = 10002)] + public Game Game { get; set; } + + /// + /// The scoring plays associated with this box score + /// + [Description("The scoring plays associated with this box score")] + [DataMember(Name = "ScoringPlays", Order = 20003)] + public ScoringPlay[] ScoringPlays { get; set; } + + /// + /// The scoring details associated with this box score + /// + [Description("The scoring details associated with this box score")] + [DataMember(Name = "ScoringDetails", Order = 20004)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// The away fantasy defense stats associated with this box score + /// + [Description("The away fantasy defense stats associated with this box score")] + [DataMember(Name = "AwayFantasyDefense", Order = 10005)] + public FantasyDefenseGame AwayFantasyDefense { get; set; } + + /// + /// The home fantasy defense stats associated with this box score + /// + [Description("The home fantasy defense stats associated with this box score")] + [DataMember(Name = "HomeFantasyDefense", Order = 10006)] + public FantasyDefenseGame HomeFantasyDefense { get; set; } + + /// + /// The away passing stats associated with this box score + /// + [Description("The away passing stats associated with this box score")] + [DataMember(Name = "AwayPassing", Order = 20007)] + public PlayerPassing[] AwayPassing { get; set; } + + /// + /// The away rushing stats associated with this box score + /// + [Description("The away rushing stats associated with this box score")] + [DataMember(Name = "AwayRushing", Order = 20008)] + public PlayerRushing[] AwayRushing { get; set; } + + /// + /// The away receiving stats associated with this box score + /// + [Description("The away receiving stats associated with this box score")] + [DataMember(Name = "AwayReceiving", Order = 20009)] + public PlayerReceiving[] AwayReceiving { get; set; } + + /// + /// The away kicking stats associated with this box score + /// + [Description("The away kicking stats associated with this box score")] + [DataMember(Name = "AwayKicking", Order = 20010)] + public PlayerKicking[] AwayKicking { get; set; } + + /// + /// The away punting stats associated with this box score + /// + [Description("The away punting stats associated with this box score")] + [DataMember(Name = "AwayPunting", Order = 20011)] + public PlayerPunting[] AwayPunting { get; set; } + + /// + /// The away kick punt returns stats associated with this box score + /// + [Description("The away kick punt returns stats associated with this box score")] + [DataMember(Name = "AwayKickPuntReturns", Order = 20012)] + public PlayerKickPuntReturns[] AwayKickPuntReturns { get; set; } + + /// + /// The away defense stats associated with this box score + /// + [Description("The away defense stats associated with this box score")] + [DataMember(Name = "AwayDefense", Order = 20013)] + public PlayerDefense[] AwayDefense { get; set; } + + /// + /// The home passing stats associated with this box score + /// + [Description("The home passing stats associated with this box score")] + [DataMember(Name = "HomePassing", Order = 20014)] + public PlayerPassing[] HomePassing { get; set; } + + /// + /// The home rushing stats associated with this box score + /// + [Description("The home rushing stats associated with this box score")] + [DataMember(Name = "HomeRushing", Order = 20015)] + public PlayerRushing[] HomeRushing { get; set; } + + /// + /// The home receiving stats associated with this box score + /// + [Description("The home receiving stats associated with this box score")] + [DataMember(Name = "HomeReceiving", Order = 20016)] + public PlayerReceiving[] HomeReceiving { get; set; } + + /// + /// The home kicking stats associated with this box score + /// + [Description("The home kicking stats associated with this box score")] + [DataMember(Name = "HomeKicking", Order = 20017)] + public PlayerKicking[] HomeKicking { get; set; } + + /// + /// The home punting stats associated with this box score + /// + [Description("The home punting stats associated with this box score")] + [DataMember(Name = "HomePunting", Order = 20018)] + public PlayerPunting[] HomePunting { get; set; } + + /// + /// The home kick punt returns stats associated with this box score + /// + [Description("The home kick punt returns stats associated with this box score")] + [DataMember(Name = "HomeKickPuntReturns", Order = 20019)] + public PlayerKickPuntReturns[] HomeKickPuntReturns { get; set; } + + /// + /// The home defense stats associated with this box score + /// + [Description("The home defense stats associated with this box score")] + [DataMember(Name = "HomeDefense", Order = 20020)] + public PlayerDefense[] HomeDefense { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/BoxScorePlayer.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/BoxScorePlayer.cs new file mode 100644 index 0000000..9f5b847 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/BoxScorePlayer.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="BoxScorePlayer")] + [Serializable] + public partial class BoxScorePlayer + { + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 1)] + public int? PlayerGameID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 3)] + public string ShortName { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 6)] + public int Number { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 9)] + public string FantasyPosition { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// The date and time that this player game was last updated (US Eastern Time) + /// + [Description("The date and time that this player game was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/BoxScoreV3.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/BoxScoreV3.cs new file mode 100644 index 0000000..823656a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/BoxScoreV3.cs @@ -0,0 +1,62 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="BoxScoreV3")] + [Serializable] + public partial class BoxScoreV3 + { + /// + /// The Score object related to this game + /// + [Description("The Score object related to this game")] + [DataMember(Name = "Score", Order = 10001)] + public Score Score { get; set; } + + /// + /// The Quarters objects related to this game + /// + [Description("The Quarters objects related to this game")] + [DataMember(Name = "Quarters", Order = 20002)] + public Quarter[] Quarters { get; set; } + + /// + /// The TeamGame objects related to this game + /// + [Description("The TeamGame objects related to this game")] + [DataMember(Name = "TeamGames", Order = 20003)] + public TeamGame[] TeamGames { get; set; } + + /// + /// The PlayerGame objects related to this game + /// + [Description("The PlayerGame objects related to this game")] + [DataMember(Name = "PlayerGames", Order = 20004)] + public PlayerGame[] PlayerGames { get; set; } + + /// + /// The FantasyDefenseGame objects related to this game + /// + [Description("The FantasyDefenseGame objects related to this game")] + [DataMember(Name = "FantasyDefenseGames", Order = 20005)] + public FantasyDefenseGame[] FantasyDefenseGames { get; set; } + + /// + /// The ScoringPlay objects related to this game + /// + [Description("The ScoringPlay objects related to this game")] + [DataMember(Name = "ScoringPlays", Order = 20006)] + public ScoringPlay[] ScoringPlays { get; set; } + + /// + /// The ScoringDetail objects related to this game + /// + [Description("The ScoringDetail objects related to this game")] + [DataMember(Name = "ScoringDetails", Order = 20007)] + public ScoringDetail[] ScoringDetails { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Bye.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Bye.cs new file mode 100644 index 0000000..0703dd5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Bye.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Bye")] + [Serializable] + public partial class Bye + { + /// + /// The NFL season during this bye week + /// + [Description("The NFL season during this bye week")] + [DataMember(Name = "Season", Order = 1)] + public int Season { get; set; } + + /// + /// The NFL week during this bye week + /// + [Description("The NFL week during this bye week")] + [DataMember(Name = "Week", Order = 2)] + public int Week { get; set; } + + /// + /// The NFL team who is on bye during this week + /// + [Description("The NFL team who is on bye during this week")] + [DataMember(Name = "Team", Order = 3)] + public string Team { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/DailyFantasyPlayer.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/DailyFantasyPlayer.cs new file mode 100644 index 0000000..f6246d1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/DailyFantasyPlayer.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="DailyFantasyPlayer")] + [Serializable] + public partial class DailyFantasyPlayer + { + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The date/time of the event + /// + [Description("The date/time of the event")] + [DataMember(Name = "Date", Order = 2)] + public DateTime Date { get; set; } + + /// + /// Player's short name (typically first initial and last name) + /// + [Description("Player's short name (typically first initial and last name)")] + [DataMember(Name = "ShortName", Order = 3)] + public string ShortName { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The abbreviation of the team of this player + /// + [Description("The abbreviation of the team of this player")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The abbreviation of the upcoming opponent + /// + [Description("The abbreviation of the upcoming opponent")] + [DataMember(Name = "Opponent", Order = 6)] + public string Opponent { get; set; } + + /// + /// Whether the player is Home or Away + /// + [Description("Whether the player is Home or Away")] + [DataMember(Name = "HomeOrAway", Order = 7)] + public string HomeOrAway { get; set; } + + /// + /// The player's daily fantasy position + /// + [Description("The player's daily fantasy position")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The player's daily fantasy salary as determined by FantasyData, based on a $60,000 salary cap + /// + [Description("The player's daily fantasy salary as determined by FantasyData, based on a $60,000 salary cap")] + [DataMember(Name = "Salary", Order = 9)] + public int Salary { get; set; } + + /// + /// The fantasy points scored by this player in the last game played + /// + [Description("The fantasy points scored by this player in the last game played")] + [DataMember(Name = "LastGameFantasyPoints", Order = 10)] + public decimal? LastGameFantasyPoints { get; set; } + + /// + /// The projected fantasy points this player will score in the upcoming event + /// + [Description("The projected fantasy points this player will score in the upcoming event")] + [DataMember(Name = "ProjectedFantasyPoints", Order = 11)] + public decimal? ProjectedFantasyPoints { get; set; } + + /// + /// The upcoming opponent's rank in fantasy points allowed + /// + [Description("The upcoming opponent's rank in fantasy points allowed")] + [DataMember(Name = "OpponentRank", Order = 12)] + public int? OpponentRank { get; set; } + + /// + /// The upcoming opponent's rank in fantasy points allowed to players at this player's position + /// + [Description("The upcoming opponent's rank in fantasy points allowed to players at this player's position")] + [DataMember(Name = "OpponentPositionRank", Order = 13)] + public int? OpponentPositionRank { get; set; } + + /// + /// The player's current status (including Healthy, Probable, Questionable, Doubtful, Out, Injured Reserve, Suspended, Practice Squad, and more) + /// + [Description("The player's current status (including Healthy, Probable, Questionable, Doubtful, Out, Injured Reserve, Suspended, Practice Squad, and more)")] + [DataMember(Name = "Status", Order = 14)] + public string Status { get; set; } + + /// + /// The shortened code representing the player's Status + /// + [Description("The shortened code representing the player's Status")] + [DataMember(Name = "StatusCode", Order = 15)] + public string StatusCode { get; set; } + + /// + /// The color indicating how attractive this players status is (red, yellow, green) + /// + [Description("The color indicating how attractive this players status is (red, yellow, green)")] + [DataMember(Name = "StatusColor", Order = 16)] + public string StatusColor { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 17)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 18)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 19)] + public int? YahooSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData. Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData. Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 20)] + public int? FantasyDataSalary { get; set; } + + /// + /// The team's DEF/ST salary for FantasyDraft daily fantasy contests. + /// + [Description("The team's DEF/ST salary for FantasyDraft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 21)] + public int? FantasyDraftSalary { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/DailyFantasyScoring.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/DailyFantasyScoring.cs new file mode 100644 index 0000000..44be207 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/DailyFantasyScoring.cs @@ -0,0 +1,111 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="DailyFantasyScoring")] + [Serializable] + public partial class DailyFantasyScoring + { + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The abbreviation of the team of this player + /// + [Description("The abbreviation of the team of this player")] + [DataMember(Name = "Team", Order = 3)] + public string Team { get; set; } + + /// + /// The player's daily fantasy position + /// + [Description("The player's daily fantasy position")] + [DataMember(Name = "Position", Order = 4)] + public string Position { get; set; } + + /// + /// The player's current fantasy points scored + /// + [Description("The player's current fantasy points scored")] + [DataMember(Name = "FantasyPoints", Order = 5)] + public decimal? FantasyPoints { get; set; } + + /// + /// The player's current fantasy points scored in PPR scoring systems + /// + [Description("The player's current fantasy points scored in PPR scoring systems")] + [DataMember(Name = "FantasyPointsPPR", Order = 6)] + public decimal? FantasyPointsPPR { get; set; } + + /// + /// The player's current fantasy points scored in FanDuel's daily fantasy scoring system + /// + [Description("The player's current fantasy points scored in FanDuel's daily fantasy scoring system")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 7)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// The player's current fantasy points scored in DraftKings' daily fantasy scoring system + /// + [Description("The player's current fantasy points scored in DraftKings' daily fantasy scoring system")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 8)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The player's current fantasy points scored in Yahoo's daily fantasy scoring system + /// + [Description("The player's current fantasy points scored in Yahoo's daily fantasy scoring system")] + [DataMember(Name = "FantasyPointsYahoo", Order = 9)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Whether this player's game has started + /// + [Description("Whether this player's game has started")] + [DataMember(Name = "HasStarted", Order = 10)] + public bool HasStarted { get; set; } + + /// + /// Whether this player's game is in progress + /// + [Description("Whether this player's game is in progress")] + [DataMember(Name = "IsInProgress", Order = 11)] + public bool IsInProgress { get; set; } + + /// + /// Whether this player's game is over + /// + [Description("Whether this player's game is over")] + [DataMember(Name = "IsOver", Order = 12)] + public bool IsOver { get; set; } + + /// + /// The date/time that this player's game started + /// + [Description("The date/time that this player's game started")] + [DataMember(Name = "Date", Order = 13)] + public DateTime? Date { get; set; } + + /// + /// The player's current fantasy points scored in FantasyDraft's daily fantasy scoring system + /// + [Description("The player's current fantasy points scored in FantasyDraft's daily fantasy scoring system")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 14)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/DfsSlate.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/DfsSlate.cs new file mode 100644 index 0000000..405f763 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/DfsSlate.cs @@ -0,0 +1,111 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="DfsSlate")] + [Serializable] + public partial class DfsSlate + { + /// + /// Unique ID of a Slate (assigned by FantasyData). + /// + [Description("Unique ID of a Slate (assigned by FantasyData).")] + [DataMember(Name = "SlateID", Order = 1)] + public int SlateID { get; set; } + + /// + /// The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc. + /// + [Description("The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc.")] + [DataMember(Name = "Operator", Order = 2)] + public string Operator { get; set; } + + /// + /// Unique ID of a slate (assigned by the operator). + /// + [Description("Unique ID of a slate (assigned by the operator).")] + [DataMember(Name = "OperatorSlateID", Order = 3)] + public int? OperatorSlateID { get; set; } + + /// + /// The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc. + /// + [Description("The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc.")] + [DataMember(Name = "OperatorName", Order = 4)] + public string OperatorName { get; set; } + + /// + /// The day (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The day (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorDay", Order = 5)] + public DateTime? OperatorDay { get; set; } + + /// + /// The date/time (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The date/time (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorStartTime", Order = 6)] + public DateTime? OperatorStartTime { get; set; } + + /// + /// The number of actual games that this slate covers. + /// + [Description("The number of actual games that this slate covers.")] + [DataMember(Name = "NumberOfGames", Order = 7)] + public int? NumberOfGames { get; set; } + + /// + /// Whether this slate uses games that take place on different days. + /// + [Description("Whether this slate uses games that take place on different days.")] + [DataMember(Name = "IsMultiDaySlate", Order = 8)] + public bool? IsMultiDaySlate { get; set; } + + /// + /// Indicates whether this slate was removed/deleted by the operator. + /// + [Description("Indicates whether this slate was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 9)] + public bool? RemovedByOperator { get; set; } + + /// + /// The game type of the slate. Will often be null as most operators only have one game type. + /// + [Description("The game type of the slate. Will often be null as most operators only have one game type.")] + [DataMember(Name = "OperatorGameType", Order = 10)] + public string OperatorGameType { get; set; } + + /// + /// The games that are included in this slate. + /// + [Description("The games that are included in this slate.")] + [DataMember(Name = "DfsSlateGames", Order = 20011)] + public DfsSlateGame[] DfsSlateGames { get; set; } + + /// + /// The players that are included in this slate. + /// + [Description("The players that are included in this slate.")] + [DataMember(Name = "DfsSlatePlayers", Order = 20012)] + public DfsSlatePlayer[] DfsSlatePlayers { get; set; } + + /// + /// The positions that need to be filled for this particular slate + /// + [Description("The positions that need to be filled for this particular slate")] + [DataMember(Name = "SlateRosterSlots", Order = 10013)] + public string[] SlateRosterSlots { get; set; } + + /// + /// The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes) + /// + [Description("The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes)")] + [DataMember(Name = "SalaryCap", Order = 14)] + public int? SalaryCap { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/DfsSlateGame.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/DfsSlateGame.cs new file mode 100644 index 0000000..669ee7d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/DfsSlateGame.cs @@ -0,0 +1,62 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="DfsSlateGame")] + [Serializable] + public partial class DfsSlateGame + { + /// + /// Unique ID of a SlateGame (assigned by FantasyData). + /// + [Description("Unique ID of a SlateGame (assigned by FantasyData).")] + [DataMember(Name = "SlateGameID", Order = 1)] + public int SlateGameID { get; set; } + + /// + /// The SlateID that this SlateGame refers to. + /// + [Description("The SlateID that this SlateGame refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds. + /// + [Description("The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds.")] + [DataMember(Name = "GameID", Order = 3)] + public int? GameID { get; set; } + + /// + /// Unique ID of a SlateGame (assigned by the operator). + /// + [Description("Unique ID of a SlateGame (assigned by the operator).")] + [DataMember(Name = "OperatorGameID", Order = 4)] + public int? OperatorGameID { get; set; } + + /// + /// Indicates whether this game was removed/deleted by the operator. + /// + [Description("Indicates whether this game was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 5)] + public bool? RemovedByOperator { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 6)] + public int? ScoreID { get; set; } + + /// + /// The details of the Score/Game that this SlateGame refers to. + /// + [Description("The details of the Score/Game that this SlateGame refers to.")] + [DataMember(Name = "Game", Order = 10007)] + public Schedule Game { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/DfsSlatePlayer.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/DfsSlatePlayer.cs new file mode 100644 index 0000000..ccf5514 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/DfsSlatePlayer.cs @@ -0,0 +1,111 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="DfsSlatePlayer")] + [Serializable] + public partial class DfsSlatePlayer + { + /// + /// Unique ID of a SlatePlayer (assigned by FantasyData). + /// + [Description("Unique ID of a SlatePlayer (assigned by FantasyData).")] + [DataMember(Name = "SlatePlayerID", Order = 1)] + public int SlatePlayerID { get; set; } + + /// + /// The SlateID that this SlatePlayer refers to. + /// + [Description("The SlateID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The SlateGameID that this SlatePlayer refers to. + /// + [Description("The SlateGameID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateGameID", Order = 3)] + public int? SlateGameID { get; set; } + + /// + /// The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds. + /// + [Description("The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds.")] + [DataMember(Name = "PlayerID", Order = 4)] + public int? PlayerID { get; set; } + + /// + /// The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds. This field is only filled for Players. For the NFL feeds, this is the PlayerGameProjection.PlayerGameID. + /// + [Description("The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds. This field is only filled for Players. For the NFL feeds, this is the PlayerGameProjection.PlayerGameID.")] + [DataMember(Name = "PlayerGameProjectionStatID", Order = 5)] + public int? PlayerGameProjectionStatID { get; set; } + + /// + /// The FantasyData StatID that this SlatePlayer refers to. This field is only filled for Defense/Special Teams. For the NFL feeds, this is the FantasyDefenseGameProjection.FantasyDefenseID. + /// + [Description("The FantasyData StatID that this SlatePlayer refers to. This field is only filled for Defense/Special Teams. For the NFL feeds, this is the FantasyDefenseGameProjection.FantasyDefenseID.")] + [DataMember(Name = "FantasyDefenseProjectionStatID", Order = 6)] + public int? FantasyDefenseProjectionStatID { get; set; } + + /// + /// Unique ID of the Player (assigned by the operator). + /// + [Description("Unique ID of the Player (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerID", Order = 7)] + public string OperatorPlayerID { get; set; } + + /// + /// Unique ID of the SlatePlayer (assigned by the operator). + /// + [Description("Unique ID of the SlatePlayer (assigned by the operator).")] + [DataMember(Name = "OperatorSlatePlayerID", Order = 8)] + public string OperatorSlatePlayerID { get; set; } + + /// + /// The player's name (assigned by the operator). + /// + [Description("The player's name (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerName", Order = 9)] + public string OperatorPlayerName { get; set; } + + /// + /// The player's eligible positions (assigned by the operator). + /// + [Description("The player's eligible positions (assigned by the operator).")] + [DataMember(Name = "OperatorPosition", Order = 10)] + public string OperatorPosition { get; set; } + + /// + /// The player's eligible positions to be played in the contest (assigned by the operator). This would include FLEX, etc plays for those that are eligible. + /// + [Description("The player's eligible positions to be played in the contest (assigned by the operator). This would include FLEX, etc plays for those that are eligible.")] + [DataMember(Name = "OperatorRosterSlots", Order = 10011)] + public string[] OperatorRosterSlots { get; set; } + + /// + /// The player's salary for the contest (assigned by the operator). + /// + [Description("The player's salary for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorSalary", Order = 12)] + public int? OperatorSalary { get; set; } + + /// + /// The fantasy data team key for team the player belongs to + /// + [Description("The fantasy data team key for team the player belongs to")] + [DataMember(Name = "Team", Order = 13)] + public string Team { get; set; } + + /// + /// The fantasy data team id for team the player belongs to + /// + [Description("The fantasy data team id for team the player belongs to")] + [DataMember(Name = "TeamID", Order = 14)] + public int? TeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseGame.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseGame.cs new file mode 100644 index 0000000..00fe309 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseGame.cs @@ -0,0 +1,783 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="FantasyDefenseGame")] + [Serializable] + public partial class FantasyDefenseGame + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 4)] + public int? Week { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "Date", Order = 5)] + public DateTime? Date { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// The abbreviation of the Opponent + /// + [Description("The abbreviation of the Opponent")] + [DataMember(Name = "Opponent", Order = 7)] + public string Opponent { get; set; } + + /// + /// Number of points allowed + /// + [Description("Number of points allowed")] + [DataMember(Name = "PointsAllowed", Order = 8)] + public decimal PointsAllowed { get; set; } + + /// + /// Defensive and special teams touchdowns scores + /// + [Description("Defensive and special teams touchdowns scores")] + [DataMember(Name = "TouchdownsScored", Order = 9)] + public decimal TouchdownsScored { get; set; } + + /// + /// Total number solo tackles + /// + [Description("Total number solo tackles")] + [DataMember(Name = "SoloTackles", Order = 10)] + public decimal SoloTackles { get; set; } + + /// + /// Total number assisted tackles + /// + [Description("Total number assisted tackles")] + [DataMember(Name = "AssistedTackles", Order = 11)] + public decimal AssistedTackles { get; set; } + + /// + /// Total number of sacks of the opposing quarterback + /// + [Description("Total number of sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 12)] + public decimal Sacks { get; set; } + + /// + /// Total number of yards lost when sacking the opposing quarterback + /// + [Description("Total number of yards lost when sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 13)] + public decimal SackYards { get; set; } + + /// + /// Total number of passes defended + /// + [Description("Total number of passes defended")] + [DataMember(Name = "PassesDefended", Order = 14)] + public decimal PassesDefended { get; set; } + + /// + /// Total number of fumbles forced + /// + [Description("Total number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 15)] + public decimal FumblesForced { get; set; } + + /// + /// Total number of fumbles recovered + /// + [Description("Total number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 16)] + public decimal FumblesRecovered { get; set; } + + /// + /// Total return yards from fumbles recovered + /// + [Description("Total return yards from fumbles recovered")] + [DataMember(Name = "FumbleReturnYards", Order = 17)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Total touchdowns from fumbles recovered + /// + [Description("Total touchdowns from fumbles recovered")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 18)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Total number of interceptions + /// + [Description("Total number of interceptions")] + [DataMember(Name = "Interceptions", Order = 19)] + public decimal Interceptions { get; set; } + + /// + /// Total number of interception return yards + /// + [Description("Total number of interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 20)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Total number of interception returns for touchdowns + /// + [Description("Total number of interception returns for touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 21)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of blocked field goals and blocked punts + /// + [Description("Total number of blocked field goals and blocked punts")] + [DataMember(Name = "BlockedKicks", Order = 22)] + public decimal BlockedKicks { get; set; } + + /// + /// Total safeties scored + /// + [Description("Total safeties scored")] + [DataMember(Name = "Safeties", Order = 23)] + public decimal Safeties { get; set; } + + /// + /// Total number of punt returns + /// + [Description("Total number of punt returns")] + [DataMember(Name = "PuntReturns", Order = 24)] + public decimal PuntReturns { get; set; } + + /// + /// Total number of punt return yards + /// + [Description("Total number of punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 25)] + public decimal PuntReturnYards { get; set; } + + /// + /// Total number of punt returns for touchdowns + /// + [Description("Total number of punt returns for touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 26)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 27)] + public decimal PuntReturnLong { get; set; } + + /// + /// Total number of kick returns + /// + [Description("Total number of kick returns")] + [DataMember(Name = "KickReturns", Order = 28)] + public decimal KickReturns { get; set; } + + /// + /// Total number of kick return yards + /// + [Description("Total number of kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 29)] + public decimal KickReturnYards { get; set; } + + /// + /// Total number of kick returns for touchdowns + /// + [Description("Total number of kick returns for touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 30)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 31)] + public decimal KickReturnLong { get; set; } + + /// + /// Blocked kicks returned for a touchdown + /// + [Description("Blocked kicks returned for a touchdown")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 32)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal returns for touchdowns + /// + [Description("Field goal returns for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 33)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyPointsAllowed", Order = 34)] + public decimal? FantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing quarterbacks + /// + [Description("Fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "QuarterbackFantasyPointsAllowed", Order = 35)] + public decimal? QuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing running backs + /// + [Description("Fantasy points allowed to opposing running backs")] + [DataMember(Name = "RunningbackFantasyPointsAllowed", Order = 36)] + public decimal? RunningbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing wide receivers + /// + [Description("Fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "WideReceiverFantasyPointsAllowed", Order = 37)] + public decimal? WideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing tight ends + /// + [Description("Fantasy points allowed to opposing tight ends")] + [DataMember(Name = "TightEndFantasyPointsAllowed", Order = 38)] + public decimal? TightEndFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing kickers + /// + [Description("Fantasy points allowed to opposing kickers")] + [DataMember(Name = "KickerFantasyPointsAllowed", Order = 39)] + public decimal? KickerFantasyPointsAllowed { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 40)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 41)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Quarterback hits + /// + [Description("Quarterback hits")] + [DataMember(Name = "QuarterbackHits", Order = 42)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Tackles for a loss + /// + [Description("Tackles for a loss")] + [DataMember(Name = "TacklesForLoss", Order = 43)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total touchdowns scored by the defense + /// + [Description("Total touchdowns scored by the defense")] + [DataMember(Name = "DefensiveTouchdowns", Order = 44)] + public decimal? DefensiveTouchdowns { get; set; } + + /// + /// Total touchdowns scored by the special teams + /// + [Description("Total touchdowns scored by the special teams")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 45)] + public decimal? SpecialTeamsTouchdowns { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 46)] + public bool? IsGameOver { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 47)] + public decimal? FantasyPoints { get; set; } + + /// + /// Stadium of the event + /// + [Description("Stadium of the event")] + [DataMember(Name = "Stadium", Order = 48)] + public string Stadium { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 49)] + public int? Temperature { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Humidity", Order = 50)] + public int? Humidity { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "WindSpeed", Order = 51)] + public int? WindSpeed { get; set; } + + /// + /// Opponent's third down attempts + /// + [Description("Opponent's third down attempts")] + [DataMember(Name = "ThirdDownAttempts", Order = 52)] + public decimal? ThirdDownAttempts { get; set; } + + /// + /// Opponent's third down conversions + /// + [Description("Opponent's third down conversions")] + [DataMember(Name = "ThirdDownConversions", Order = 53)] + public decimal? ThirdDownConversions { get; set; } + + /// + /// Opponent's fourth down attempts + /// + [Description("Opponent's fourth down attempts")] + [DataMember(Name = "FourthDownAttempts", Order = 54)] + public decimal? FourthDownAttempts { get; set; } + + /// + /// Opponent's fourth down conversions + /// + [Description("Opponent's fourth down conversions")] + [DataMember(Name = "FourthDownConversions", Order = 55)] + public decimal? FourthDownConversions { get; set; } + + /// + /// Number of points allowed to opposing offense and special teams. This excludes points scored by the opponent's defense. + /// + [Description("Number of points allowed to opposing offense and special teams. This excludes points scored by the opponent's defense.")] + [DataMember(Name = "PointsAllowedByDefenseSpecialTeams", Order = 56)] + public decimal? PointsAllowedByDefenseSpecialTeams { get; set; } + + /// + /// The team's DEF/ST salary for FanDuel daily fantasy contests. + /// + [Description("The team's DEF/ST salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 57)] + public int? FanDuelSalary { get; set; } + + /// + /// The team's DEF/ST salary for DraftKings daily fantasy contests. + /// + [Description("The team's DEF/ST salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 58)] + public int? DraftKingsSalary { get; set; } + + /// + /// The team's DST salary as calculated by FantasyData. Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The team's DST salary as calculated by FantasyData. Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 59)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for Victiv daily fantasy contests. + /// + [Description("The player's salary for Victiv daily fantasy contests.")] + [DataMember(Name = "VictivSalary", Order = 60)] + public int? VictivSalary { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 61)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 62)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 63)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Offensive yards allowed by this team's defense. + /// + [Description("Offensive yards allowed by this team's defense.")] + [DataMember(Name = "OffensiveYardsAllowed", Order = 64)] + public decimal? OffensiveYardsAllowed { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 65)] + public int? YahooSalary { get; set; } + + /// + /// The team's unique PlayerID for use when combining with player feeds. + /// + [Description("The team's unique PlayerID for use when combining with player feeds.")] + [DataMember(Name = "PlayerID", Order = 66)] + public int? PlayerID { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 67)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Whether the Team is Home or Away (possible values: HOME, AWAY) + /// + [Description("Whether the Team is Home or Away (possible values: HOME, AWAY)")] + [DataMember(Name = "HomeOrAway", Order = 68)] + public string HomeOrAway { get; set; } + + /// + /// The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST. + /// + [Description("The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST.")] + [DataMember(Name = "OpponentRank", Order = 69)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST. + /// + [Description("The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST.")] + [DataMember(Name = "OpponentPositionRank", Order = 70)] + public int? OpponentPositionRank { get; set; } + + /// + /// The team's DEF/ST salary for FantasyDraft daily fantasy contests. + /// + [Description("The team's DEF/ST salary for FantasyDraft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 71)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The ID of the team. + /// + [Description("The ID of the team.")] + [DataMember(Name = "TeamID", Order = 72)] + public int? TeamID { get; set; } + + /// + /// The ID of the team's opponent. + /// + [Description("The ID of the team's opponent.")] + [DataMember(Name = "OpponentID", Order = 73)] + public int? OpponentID { get; set; } + + /// + /// The day of the game. + /// + [Description("The day of the game.")] + [DataMember(Name = "Day", Order = 74)] + public DateTime? Day { get; set; } + + /// + /// The date/time of the game. + /// + [Description("The date/time of the game.")] + [DataMember(Name = "DateTime", Order = 75)] + public DateTime? DateTime { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 76)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 77)] + public int? GlobalTeamID { get; set; } + + /// + /// A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 78)] + public int? GlobalOpponentID { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by DraftKings. + /// + [Description("The position of this team's DEF/ST, as listed by DraftKings.")] + [DataMember(Name = "DraftKingsPosition", Order = 79)] + public string DraftKingsPosition { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by FanDuel. + /// + [Description("The position of this team's DEF/ST, as listed by FanDuel.")] + [DataMember(Name = "FanDuelPosition", Order = 80)] + public string FanDuelPosition { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by FantasyDraft. + /// + [Description("The position of this team's DEF/ST, as listed by FantasyDraft.")] + [DataMember(Name = "FantasyDraftPosition", Order = 81)] + public string FantasyDraftPosition { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by Yahoo DFS. + /// + [Description("The position of this team's DEF/ST, as listed by Yahoo DFS.")] + [DataMember(Name = "YahooPosition", Order = 82)] + public string YahooPosition { get; set; } + + /// + /// Unique ID of FantasyDefense record (subject to change, although it very rarely does). For a guaranteed static ID, use a combination of GameKey and Team. + /// + [Description("Unique ID of FantasyDefense record (subject to change, although it very rarely does). For a guaranteed static ID, use a combination of GameKey and Team.")] + [DataMember(Name = "FantasyDefenseID", Order = 83)] + public int? FantasyDefenseID { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 84)] + public int ScoreID { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FanDuelFantasyPointsAllowed", Order = 85)] + public decimal? FanDuelFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing quarterbacks + /// + [Description("FanDuel fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FanDuelQuarterbackFantasyPointsAllowed", Order = 86)] + public decimal? FanDuelQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing running backs + /// + [Description("FanDuel fantasy points allowed to opposing running backs")] + [DataMember(Name = "FanDuelRunningbackFantasyPointsAllowed", Order = 87)] + public decimal? FanDuelRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing wide receivers + /// + [Description("FanDuel fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FanDuelWideReceiverFantasyPointsAllowed", Order = 88)] + public decimal? FanDuelWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing tight ends + /// + [Description("FanDuel fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FanDuelTightEndFantasyPointsAllowed", Order = 89)] + public decimal? FanDuelTightEndFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing kickers + /// + [Description("FanDuel fantasy points allowed to opposing kickers")] + [DataMember(Name = "FanDuelKickerFantasyPointsAllowed", Order = 90)] + public decimal? FanDuelKickerFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "DraftKingsFantasyPointsAllowed", Order = 91)] + public decimal? DraftKingsFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing quarterbacks + /// + [Description("DraftKings fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "DraftKingsQuarterbackFantasyPointsAllowed", Order = 92)] + public decimal? DraftKingsQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing running backs + /// + [Description("DraftKings fantasy points allowed to opposing running backs")] + [DataMember(Name = "DraftKingsRunningbackFantasyPointsAllowed", Order = 93)] + public decimal? DraftKingsRunningbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing wide receivers + /// + [Description("DraftKings fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "DraftKingsWideReceiverFantasyPointsAllowed", Order = 94)] + public decimal? DraftKingsWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing tight ends + /// + [Description("DraftKings fantasy points allowed to opposing tight ends")] + [DataMember(Name = "DraftKingsTightEndFantasyPointsAllowed", Order = 95)] + public decimal? DraftKingsTightEndFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing kickers + /// + [Description("DraftKings fantasy points allowed to opposing kickers")] + [DataMember(Name = "DraftKingsKickerFantasyPointsAllowed", Order = 96)] + public decimal? DraftKingsKickerFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "YahooFantasyPointsAllowed", Order = 97)] + public decimal? YahooFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing quarterbacks + /// + [Description("Yahoo fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "YahooQuarterbackFantasyPointsAllowed", Order = 98)] + public decimal? YahooQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing running backs + /// + [Description("Yahoo fantasy points allowed to opposing running backs")] + [DataMember(Name = "YahooRunningbackFantasyPointsAllowed", Order = 99)] + public decimal? YahooRunningbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing wide receivers + /// + [Description("Yahoo fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "YahooWideReceiverFantasyPointsAllowed", Order = 100)] + public decimal? YahooWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing tight ends + /// + [Description("Yahoo fantasy points allowed to opposing tight ends")] + [DataMember(Name = "YahooTightEndFantasyPointsAllowed", Order = 101)] + public decimal? YahooTightEndFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing kickers + /// + [Description("Yahoo fantasy points allowed to opposing kickers")] + [DataMember(Name = "YahooKickerFantasyPointsAllowed", Order = 102)] + public decimal? YahooKickerFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 103)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyDraftFantasyPointsAllowed", Order = 104)] + public decimal? FantasyDraftFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing quarterbacks + /// + [Description("FantasyDraft fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FantasyDraftQuarterbackFantasyPointsAllowed", Order = 105)] + public decimal? FantasyDraftQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing running backs + /// + [Description("FantasyDraft fantasy points allowed to opposing running backs")] + [DataMember(Name = "FantasyDraftRunningbackFantasyPointsAllowed", Order = 106)] + public decimal? FantasyDraftRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing wide receivers + /// + [Description("FantasyDraft fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FantasyDraftWideReceiverFantasyPointsAllowed", Order = 107)] + public decimal? FantasyDraftWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing tight ends + /// + [Description("FantasyDraft fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FantasyDraftTightEndFantasyPointsAllowed", Order = 108)] + public decimal? FantasyDraftTightEndFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing kickers + /// + [Description("FantasyDraft fantasy points allowed to opposing kickers")] + [DataMember(Name = "FantasyDraftKickerFantasyPointsAllowed", Order = 109)] + public decimal? FantasyDraftKickerFantasyPointsAllowed { get; set; } + + /// + /// The details of the scoring plays this fantasy DST recorded + /// + [Description("The details of the scoring plays this fantasy DST recorded")] + [DataMember(Name = "ScoringDetails", Order = 20110)] + public ScoringDetail[] ScoringDetails { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseGameProjection.cs new file mode 100644 index 0000000..ce97568 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseGameProjection.cs @@ -0,0 +1,783 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="FantasyDefenseGameProjection")] + [Serializable] + public partial class FantasyDefenseGameProjection + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 4)] + public int? Week { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "Date", Order = 5)] + public DateTime? Date { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// The abbreviation of the Opponent + /// + [Description("The abbreviation of the Opponent")] + [DataMember(Name = "Opponent", Order = 7)] + public string Opponent { get; set; } + + /// + /// Number of points allowed + /// + [Description("Number of points allowed")] + [DataMember(Name = "PointsAllowed", Order = 8)] + public decimal PointsAllowed { get; set; } + + /// + /// Defensive and special teams touchdowns scores + /// + [Description("Defensive and special teams touchdowns scores")] + [DataMember(Name = "TouchdownsScored", Order = 9)] + public decimal TouchdownsScored { get; set; } + + /// + /// Total number solo tackles + /// + [Description("Total number solo tackles")] + [DataMember(Name = "SoloTackles", Order = 10)] + public decimal SoloTackles { get; set; } + + /// + /// Total number assisted tackles + /// + [Description("Total number assisted tackles")] + [DataMember(Name = "AssistedTackles", Order = 11)] + public decimal AssistedTackles { get; set; } + + /// + /// Total number of sacks of the opposing quarterback + /// + [Description("Total number of sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 12)] + public decimal Sacks { get; set; } + + /// + /// Total number of yards lost when sacking the opposing quarterback + /// + [Description("Total number of yards lost when sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 13)] + public decimal SackYards { get; set; } + + /// + /// Total number of passes defended + /// + [Description("Total number of passes defended")] + [DataMember(Name = "PassesDefended", Order = 14)] + public decimal PassesDefended { get; set; } + + /// + /// Total number of fumbles forced + /// + [Description("Total number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 15)] + public decimal FumblesForced { get; set; } + + /// + /// Total number of fumbles recovered + /// + [Description("Total number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 16)] + public decimal FumblesRecovered { get; set; } + + /// + /// Total return yards from fumbles recovered + /// + [Description("Total return yards from fumbles recovered")] + [DataMember(Name = "FumbleReturnYards", Order = 17)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Total touchdowns from fumbles recovered + /// + [Description("Total touchdowns from fumbles recovered")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 18)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Total number of interceptions + /// + [Description("Total number of interceptions")] + [DataMember(Name = "Interceptions", Order = 19)] + public decimal Interceptions { get; set; } + + /// + /// Total number of interception return yards + /// + [Description("Total number of interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 20)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Total number of interception returns for touchdowns + /// + [Description("Total number of interception returns for touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 21)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of blocked field goals and blocked punts + /// + [Description("Total number of blocked field goals and blocked punts")] + [DataMember(Name = "BlockedKicks", Order = 22)] + public decimal BlockedKicks { get; set; } + + /// + /// Total safeties scored + /// + [Description("Total safeties scored")] + [DataMember(Name = "Safeties", Order = 23)] + public decimal Safeties { get; set; } + + /// + /// Total number of punt returns + /// + [Description("Total number of punt returns")] + [DataMember(Name = "PuntReturns", Order = 24)] + public decimal PuntReturns { get; set; } + + /// + /// Total number of punt return yards + /// + [Description("Total number of punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 25)] + public decimal PuntReturnYards { get; set; } + + /// + /// Total number of punt returns for touchdowns + /// + [Description("Total number of punt returns for touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 26)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 27)] + public decimal PuntReturnLong { get; set; } + + /// + /// Total number of kick returns + /// + [Description("Total number of kick returns")] + [DataMember(Name = "KickReturns", Order = 28)] + public decimal KickReturns { get; set; } + + /// + /// Total number of kick return yards + /// + [Description("Total number of kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 29)] + public decimal KickReturnYards { get; set; } + + /// + /// Total number of kick returns for touchdowns + /// + [Description("Total number of kick returns for touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 30)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 31)] + public decimal KickReturnLong { get; set; } + + /// + /// Blocked kicks returned for a touchdown + /// + [Description("Blocked kicks returned for a touchdown")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 32)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal returns for touchdowns + /// + [Description("Field goal returns for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 33)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyPointsAllowed", Order = 34)] + public decimal? FantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing quarterbacks + /// + [Description("Fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "QuarterbackFantasyPointsAllowed", Order = 35)] + public decimal? QuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing running backs + /// + [Description("Fantasy points allowed to opposing running backs")] + [DataMember(Name = "RunningbackFantasyPointsAllowed", Order = 36)] + public decimal? RunningbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing wide receivers + /// + [Description("Fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "WideReceiverFantasyPointsAllowed", Order = 37)] + public decimal? WideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing tight ends + /// + [Description("Fantasy points allowed to opposing tight ends")] + [DataMember(Name = "TightEndFantasyPointsAllowed", Order = 38)] + public decimal? TightEndFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing kickers + /// + [Description("Fantasy points allowed to opposing kickers")] + [DataMember(Name = "KickerFantasyPointsAllowed", Order = 39)] + public decimal? KickerFantasyPointsAllowed { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 40)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 41)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Quarterback hits + /// + [Description("Quarterback hits")] + [DataMember(Name = "QuarterbackHits", Order = 42)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Tackles for a loss + /// + [Description("Tackles for a loss")] + [DataMember(Name = "TacklesForLoss", Order = 43)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total touchdowns scored by the defense + /// + [Description("Total touchdowns scored by the defense")] + [DataMember(Name = "DefensiveTouchdowns", Order = 44)] + public decimal? DefensiveTouchdowns { get; set; } + + /// + /// Total touchdowns scored by the special teams + /// + [Description("Total touchdowns scored by the special teams")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 45)] + public decimal? SpecialTeamsTouchdowns { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 46)] + public bool? IsGameOver { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 47)] + public decimal? FantasyPoints { get; set; } + + /// + /// Stadium of the event + /// + [Description("Stadium of the event")] + [DataMember(Name = "Stadium", Order = 48)] + public string Stadium { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 49)] + public int? Temperature { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Humidity", Order = 50)] + public int? Humidity { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "WindSpeed", Order = 51)] + public int? WindSpeed { get; set; } + + /// + /// Opponent's third down attempts + /// + [Description("Opponent's third down attempts")] + [DataMember(Name = "ThirdDownAttempts", Order = 52)] + public decimal? ThirdDownAttempts { get; set; } + + /// + /// Opponent's third down conversions + /// + [Description("Opponent's third down conversions")] + [DataMember(Name = "ThirdDownConversions", Order = 53)] + public decimal? ThirdDownConversions { get; set; } + + /// + /// Opponent's fourth down attempts + /// + [Description("Opponent's fourth down attempts")] + [DataMember(Name = "FourthDownAttempts", Order = 54)] + public decimal? FourthDownAttempts { get; set; } + + /// + /// Opponent's fourth down conversions + /// + [Description("Opponent's fourth down conversions")] + [DataMember(Name = "FourthDownConversions", Order = 55)] + public decimal? FourthDownConversions { get; set; } + + /// + /// Number of points allowed to opposing offense and special teams. This excludes points scored by the opponent's defense. + /// + [Description("Number of points allowed to opposing offense and special teams. This excludes points scored by the opponent's defense.")] + [DataMember(Name = "PointsAllowedByDefenseSpecialTeams", Order = 56)] + public decimal? PointsAllowedByDefenseSpecialTeams { get; set; } + + /// + /// The team's DEF/ST salary for FanDuel daily fantasy contests. + /// + [Description("The team's DEF/ST salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 57)] + public int? FanDuelSalary { get; set; } + + /// + /// The team's DEF/ST salary for DraftKings daily fantasy contests. + /// + [Description("The team's DEF/ST salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 58)] + public int? DraftKingsSalary { get; set; } + + /// + /// The team's DST salary as calculated by FantasyData. Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The team's DST salary as calculated by FantasyData. Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 59)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for Victiv daily fantasy contests. + /// + [Description("The player's salary for Victiv daily fantasy contests.")] + [DataMember(Name = "VictivSalary", Order = 60)] + public int? VictivSalary { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 61)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 62)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 63)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Offensive yards allowed by this team's defense. + /// + [Description("Offensive yards allowed by this team's defense.")] + [DataMember(Name = "OffensiveYardsAllowed", Order = 64)] + public decimal? OffensiveYardsAllowed { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 65)] + public int? YahooSalary { get; set; } + + /// + /// The team's unique PlayerID for use when combining with player feeds. + /// + [Description("The team's unique PlayerID for use when combining with player feeds.")] + [DataMember(Name = "PlayerID", Order = 66)] + public int? PlayerID { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 67)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Whether the Team is Home or Away (possible values: HOME, AWAY) + /// + [Description("Whether the Team is Home or Away (possible values: HOME, AWAY)")] + [DataMember(Name = "HomeOrAway", Order = 68)] + public string HomeOrAway { get; set; } + + /// + /// The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST. + /// + [Description("The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST.")] + [DataMember(Name = "OpponentRank", Order = 69)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST. + /// + [Description("The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST.")] + [DataMember(Name = "OpponentPositionRank", Order = 70)] + public int? OpponentPositionRank { get; set; } + + /// + /// The team's DEF/ST salary for FantasyDraft daily fantasy contests. + /// + [Description("The team's DEF/ST salary for FantasyDraft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 71)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The ID of the team. + /// + [Description("The ID of the team.")] + [DataMember(Name = "TeamID", Order = 72)] + public int? TeamID { get; set; } + + /// + /// The ID of the team's opponent. + /// + [Description("The ID of the team's opponent.")] + [DataMember(Name = "OpponentID", Order = 73)] + public int? OpponentID { get; set; } + + /// + /// The day of the game. + /// + [Description("The day of the game.")] + [DataMember(Name = "Day", Order = 74)] + public DateTime? Day { get; set; } + + /// + /// The date/time of the game. + /// + [Description("The date/time of the game.")] + [DataMember(Name = "DateTime", Order = 75)] + public DateTime? DateTime { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 76)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 77)] + public int? GlobalTeamID { get; set; } + + /// + /// A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 78)] + public int? GlobalOpponentID { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by DraftKings. + /// + [Description("The position of this team's DEF/ST, as listed by DraftKings.")] + [DataMember(Name = "DraftKingsPosition", Order = 79)] + public string DraftKingsPosition { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by FanDuel. + /// + [Description("The position of this team's DEF/ST, as listed by FanDuel.")] + [DataMember(Name = "FanDuelPosition", Order = 80)] + public string FanDuelPosition { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by FantasyDraft. + /// + [Description("The position of this team's DEF/ST, as listed by FantasyDraft.")] + [DataMember(Name = "FantasyDraftPosition", Order = 81)] + public string FantasyDraftPosition { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by Yahoo DFS. + /// + [Description("The position of this team's DEF/ST, as listed by Yahoo DFS.")] + [DataMember(Name = "YahooPosition", Order = 82)] + public string YahooPosition { get; set; } + + /// + /// Unique ID of FantasyDefense record (subject to change, although it very rarely does). For a guaranteed static ID, use a combination of GameKey and Team. + /// + [Description("Unique ID of FantasyDefense record (subject to change, although it very rarely does). For a guaranteed static ID, use a combination of GameKey and Team.")] + [DataMember(Name = "FantasyDefenseID", Order = 83)] + public int? FantasyDefenseID { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 84)] + public int ScoreID { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FanDuelFantasyPointsAllowed", Order = 85)] + public decimal? FanDuelFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing quarterbacks + /// + [Description("FanDuel fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FanDuelQuarterbackFantasyPointsAllowed", Order = 86)] + public decimal? FanDuelQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing running backs + /// + [Description("FanDuel fantasy points allowed to opposing running backs")] + [DataMember(Name = "FanDuelRunningbackFantasyPointsAllowed", Order = 87)] + public decimal? FanDuelRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing wide receivers + /// + [Description("FanDuel fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FanDuelWideReceiverFantasyPointsAllowed", Order = 88)] + public decimal? FanDuelWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing tight ends + /// + [Description("FanDuel fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FanDuelTightEndFantasyPointsAllowed", Order = 89)] + public decimal? FanDuelTightEndFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing kickers + /// + [Description("FanDuel fantasy points allowed to opposing kickers")] + [DataMember(Name = "FanDuelKickerFantasyPointsAllowed", Order = 90)] + public decimal? FanDuelKickerFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "DraftKingsFantasyPointsAllowed", Order = 91)] + public decimal? DraftKingsFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing quarterbacks + /// + [Description("DraftKings fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "DraftKingsQuarterbackFantasyPointsAllowed", Order = 92)] + public decimal? DraftKingsQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing running backs + /// + [Description("DraftKings fantasy points allowed to opposing running backs")] + [DataMember(Name = "DraftKingsRunningbackFantasyPointsAllowed", Order = 93)] + public decimal? DraftKingsRunningbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing wide receivers + /// + [Description("DraftKings fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "DraftKingsWideReceiverFantasyPointsAllowed", Order = 94)] + public decimal? DraftKingsWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing tight ends + /// + [Description("DraftKings fantasy points allowed to opposing tight ends")] + [DataMember(Name = "DraftKingsTightEndFantasyPointsAllowed", Order = 95)] + public decimal? DraftKingsTightEndFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing kickers + /// + [Description("DraftKings fantasy points allowed to opposing kickers")] + [DataMember(Name = "DraftKingsKickerFantasyPointsAllowed", Order = 96)] + public decimal? DraftKingsKickerFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "YahooFantasyPointsAllowed", Order = 97)] + public decimal? YahooFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing quarterbacks + /// + [Description("Yahoo fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "YahooQuarterbackFantasyPointsAllowed", Order = 98)] + public decimal? YahooQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing running backs + /// + [Description("Yahoo fantasy points allowed to opposing running backs")] + [DataMember(Name = "YahooRunningbackFantasyPointsAllowed", Order = 99)] + public decimal? YahooRunningbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing wide receivers + /// + [Description("Yahoo fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "YahooWideReceiverFantasyPointsAllowed", Order = 100)] + public decimal? YahooWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing tight ends + /// + [Description("Yahoo fantasy points allowed to opposing tight ends")] + [DataMember(Name = "YahooTightEndFantasyPointsAllowed", Order = 101)] + public decimal? YahooTightEndFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing kickers + /// + [Description("Yahoo fantasy points allowed to opposing kickers")] + [DataMember(Name = "YahooKickerFantasyPointsAllowed", Order = 102)] + public decimal? YahooKickerFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 103)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyDraftFantasyPointsAllowed", Order = 104)] + public decimal? FantasyDraftFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing quarterbacks + /// + [Description("FantasyDraft fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FantasyDraftQuarterbackFantasyPointsAllowed", Order = 105)] + public decimal? FantasyDraftQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing running backs + /// + [Description("FantasyDraft fantasy points allowed to opposing running backs")] + [DataMember(Name = "FantasyDraftRunningbackFantasyPointsAllowed", Order = 106)] + public decimal? FantasyDraftRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing wide receivers + /// + [Description("FantasyDraft fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FantasyDraftWideReceiverFantasyPointsAllowed", Order = 107)] + public decimal? FantasyDraftWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing tight ends + /// + [Description("FantasyDraft fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FantasyDraftTightEndFantasyPointsAllowed", Order = 108)] + public decimal? FantasyDraftTightEndFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing kickers + /// + [Description("FantasyDraft fantasy points allowed to opposing kickers")] + [DataMember(Name = "FantasyDraftKickerFantasyPointsAllowed", Order = 109)] + public decimal? FantasyDraftKickerFantasyPointsAllowed { get; set; } + + /// + /// The details of the scoring plays this fantasy DST recorded + /// + [Description("The details of the scoring plays this fantasy DST recorded")] + [DataMember(Name = "ScoringDetails", Order = 20110)] + public ScoringDetail[] ScoringDetails { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseGameProjectionDfsr.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseGameProjectionDfsr.cs new file mode 100644 index 0000000..5c9adba --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseGameProjectionDfsr.cs @@ -0,0 +1,783 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="FantasyDefenseGameProjectionDfsr")] + [Serializable] + public partial class FantasyDefenseGameProjectionDfsr + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 4)] + public int? Week { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "Date", Order = 5)] + public DateTime? Date { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// The abbreviation of the Opponent + /// + [Description("The abbreviation of the Opponent")] + [DataMember(Name = "Opponent", Order = 7)] + public string Opponent { get; set; } + + /// + /// Number of points allowed + /// + [Description("Number of points allowed")] + [DataMember(Name = "PointsAllowed", Order = 8)] + public decimal PointsAllowed { get; set; } + + /// + /// Defensive and special teams touchdowns scores + /// + [Description("Defensive and special teams touchdowns scores")] + [DataMember(Name = "TouchdownsScored", Order = 9)] + public decimal TouchdownsScored { get; set; } + + /// + /// Total number solo tackles + /// + [Description("Total number solo tackles")] + [DataMember(Name = "SoloTackles", Order = 10)] + public decimal SoloTackles { get; set; } + + /// + /// Total number assisted tackles + /// + [Description("Total number assisted tackles")] + [DataMember(Name = "AssistedTackles", Order = 11)] + public decimal AssistedTackles { get; set; } + + /// + /// Total number of sacks of the opposing quarterback + /// + [Description("Total number of sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 12)] + public decimal Sacks { get; set; } + + /// + /// Total number of yards lost when sacking the opposing quarterback + /// + [Description("Total number of yards lost when sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 13)] + public decimal SackYards { get; set; } + + /// + /// Total number of passes defended + /// + [Description("Total number of passes defended")] + [DataMember(Name = "PassesDefended", Order = 14)] + public decimal PassesDefended { get; set; } + + /// + /// Total number of fumbles forced + /// + [Description("Total number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 15)] + public decimal FumblesForced { get; set; } + + /// + /// Total number of fumbles recovered + /// + [Description("Total number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 16)] + public decimal FumblesRecovered { get; set; } + + /// + /// Total return yards from fumbles recovered + /// + [Description("Total return yards from fumbles recovered")] + [DataMember(Name = "FumbleReturnYards", Order = 17)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Total touchdowns from fumbles recovered + /// + [Description("Total touchdowns from fumbles recovered")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 18)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Total number of interceptions + /// + [Description("Total number of interceptions")] + [DataMember(Name = "Interceptions", Order = 19)] + public decimal Interceptions { get; set; } + + /// + /// Total number of interception return yards + /// + [Description("Total number of interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 20)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Total number of interception returns for touchdowns + /// + [Description("Total number of interception returns for touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 21)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of blocked field goals and blocked punts + /// + [Description("Total number of blocked field goals and blocked punts")] + [DataMember(Name = "BlockedKicks", Order = 22)] + public decimal BlockedKicks { get; set; } + + /// + /// Total safeties scored + /// + [Description("Total safeties scored")] + [DataMember(Name = "Safeties", Order = 23)] + public decimal Safeties { get; set; } + + /// + /// Total number of punt returns + /// + [Description("Total number of punt returns")] + [DataMember(Name = "PuntReturns", Order = 24)] + public decimal PuntReturns { get; set; } + + /// + /// Total number of punt return yards + /// + [Description("Total number of punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 25)] + public decimal PuntReturnYards { get; set; } + + /// + /// Total number of punt returns for touchdowns + /// + [Description("Total number of punt returns for touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 26)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 27)] + public decimal PuntReturnLong { get; set; } + + /// + /// Total number of kick returns + /// + [Description("Total number of kick returns")] + [DataMember(Name = "KickReturns", Order = 28)] + public decimal KickReturns { get; set; } + + /// + /// Total number of kick return yards + /// + [Description("Total number of kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 29)] + public decimal KickReturnYards { get; set; } + + /// + /// Total number of kick returns for touchdowns + /// + [Description("Total number of kick returns for touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 30)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 31)] + public decimal KickReturnLong { get; set; } + + /// + /// Blocked kicks returned for a touchdown + /// + [Description("Blocked kicks returned for a touchdown")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 32)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal returns for touchdowns + /// + [Description("Field goal returns for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 33)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyPointsAllowed", Order = 34)] + public decimal? FantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing quarterbacks + /// + [Description("Fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "QuarterbackFantasyPointsAllowed", Order = 35)] + public decimal? QuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing running backs + /// + [Description("Fantasy points allowed to opposing running backs")] + [DataMember(Name = "RunningbackFantasyPointsAllowed", Order = 36)] + public decimal? RunningbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing wide receivers + /// + [Description("Fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "WideReceiverFantasyPointsAllowed", Order = 37)] + public decimal? WideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing tight ends + /// + [Description("Fantasy points allowed to opposing tight ends")] + [DataMember(Name = "TightEndFantasyPointsAllowed", Order = 38)] + public decimal? TightEndFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing kickers + /// + [Description("Fantasy points allowed to opposing kickers")] + [DataMember(Name = "KickerFantasyPointsAllowed", Order = 39)] + public decimal? KickerFantasyPointsAllowed { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 40)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 41)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Quarterback hits + /// + [Description("Quarterback hits")] + [DataMember(Name = "QuarterbackHits", Order = 42)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Tackles for a loss + /// + [Description("Tackles for a loss")] + [DataMember(Name = "TacklesForLoss", Order = 43)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total touchdowns scored by the defense + /// + [Description("Total touchdowns scored by the defense")] + [DataMember(Name = "DefensiveTouchdowns", Order = 44)] + public decimal? DefensiveTouchdowns { get; set; } + + /// + /// Total touchdowns scored by the special teams + /// + [Description("Total touchdowns scored by the special teams")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 45)] + public decimal? SpecialTeamsTouchdowns { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 46)] + public bool? IsGameOver { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 47)] + public decimal? FantasyPoints { get; set; } + + /// + /// Stadium of the event + /// + [Description("Stadium of the event")] + [DataMember(Name = "Stadium", Order = 48)] + public string Stadium { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 49)] + public int? Temperature { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Humidity", Order = 50)] + public int? Humidity { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "WindSpeed", Order = 51)] + public int? WindSpeed { get; set; } + + /// + /// Opponent's third down attempts + /// + [Description("Opponent's third down attempts")] + [DataMember(Name = "ThirdDownAttempts", Order = 52)] + public decimal? ThirdDownAttempts { get; set; } + + /// + /// Opponent's third down conversions + /// + [Description("Opponent's third down conversions")] + [DataMember(Name = "ThirdDownConversions", Order = 53)] + public decimal? ThirdDownConversions { get; set; } + + /// + /// Opponent's fourth down attempts + /// + [Description("Opponent's fourth down attempts")] + [DataMember(Name = "FourthDownAttempts", Order = 54)] + public decimal? FourthDownAttempts { get; set; } + + /// + /// Opponent's fourth down conversions + /// + [Description("Opponent's fourth down conversions")] + [DataMember(Name = "FourthDownConversions", Order = 55)] + public decimal? FourthDownConversions { get; set; } + + /// + /// Number of points allowed to opposing offense and special teams. This excludes points scored by the opponent's defense. + /// + [Description("Number of points allowed to opposing offense and special teams. This excludes points scored by the opponent's defense.")] + [DataMember(Name = "PointsAllowedByDefenseSpecialTeams", Order = 56)] + public decimal? PointsAllowedByDefenseSpecialTeams { get; set; } + + /// + /// The team's DEF/ST salary for FanDuel daily fantasy contests. + /// + [Description("The team's DEF/ST salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 57)] + public int? FanDuelSalary { get; set; } + + /// + /// The team's DEF/ST salary for DraftKings daily fantasy contests. + /// + [Description("The team's DEF/ST salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 58)] + public int? DraftKingsSalary { get; set; } + + /// + /// The team's DST salary as calculated by FantasyData. Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The team's DST salary as calculated by FantasyData. Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 59)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for Victiv daily fantasy contests. + /// + [Description("The player's salary for Victiv daily fantasy contests.")] + [DataMember(Name = "VictivSalary", Order = 60)] + public int? VictivSalary { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 61)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 62)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 63)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Offensive yards allowed by this team's defense. + /// + [Description("Offensive yards allowed by this team's defense.")] + [DataMember(Name = "OffensiveYardsAllowed", Order = 64)] + public decimal? OffensiveYardsAllowed { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 65)] + public int? YahooSalary { get; set; } + + /// + /// The team's unique PlayerID for use when combining with player feeds. + /// + [Description("The team's unique PlayerID for use when combining with player feeds.")] + [DataMember(Name = "PlayerID", Order = 66)] + public int? PlayerID { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 67)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Whether the Team is Home or Away (possible values: HOME, AWAY) + /// + [Description("Whether the Team is Home or Away (possible values: HOME, AWAY)")] + [DataMember(Name = "HomeOrAway", Order = 68)] + public string HomeOrAway { get; set; } + + /// + /// The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST. + /// + [Description("The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST.")] + [DataMember(Name = "OpponentRank", Order = 69)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST. + /// + [Description("The ranking of the opposing team's offense with regards to fantasy points allowed to fantasy DST.")] + [DataMember(Name = "OpponentPositionRank", Order = 70)] + public int? OpponentPositionRank { get; set; } + + /// + /// The team's DEF/ST salary for FantasyDraft daily fantasy contests. + /// + [Description("The team's DEF/ST salary for FantasyDraft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 71)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The ID of the team. + /// + [Description("The ID of the team.")] + [DataMember(Name = "TeamID", Order = 72)] + public int? TeamID { get; set; } + + /// + /// The ID of the team's opponent. + /// + [Description("The ID of the team's opponent.")] + [DataMember(Name = "OpponentID", Order = 73)] + public int? OpponentID { get; set; } + + /// + /// The day of the game. + /// + [Description("The day of the game.")] + [DataMember(Name = "Day", Order = 74)] + public DateTime? Day { get; set; } + + /// + /// The date/time of the game. + /// + [Description("The date/time of the game.")] + [DataMember(Name = "DateTime", Order = 75)] + public DateTime? DateTime { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 76)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 77)] + public int? GlobalTeamID { get; set; } + + /// + /// A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 78)] + public int? GlobalOpponentID { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by DraftKings. + /// + [Description("The position of this team's DEF/ST, as listed by DraftKings.")] + [DataMember(Name = "DraftKingsPosition", Order = 79)] + public string DraftKingsPosition { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by FanDuel. + /// + [Description("The position of this team's DEF/ST, as listed by FanDuel.")] + [DataMember(Name = "FanDuelPosition", Order = 80)] + public string FanDuelPosition { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by FantasyDraft. + /// + [Description("The position of this team's DEF/ST, as listed by FantasyDraft.")] + [DataMember(Name = "FantasyDraftPosition", Order = 81)] + public string FantasyDraftPosition { get; set; } + + /// + /// The position of this team's DEF/ST, as listed by Yahoo DFS. + /// + [Description("The position of this team's DEF/ST, as listed by Yahoo DFS.")] + [DataMember(Name = "YahooPosition", Order = 82)] + public string YahooPosition { get; set; } + + /// + /// Unique ID of FantasyDefense record (subject to change, although it very rarely does). For a guaranteed static ID, use a combination of GameKey and Team. + /// + [Description("Unique ID of FantasyDefense record (subject to change, although it very rarely does). For a guaranteed static ID, use a combination of GameKey and Team.")] + [DataMember(Name = "FantasyDefenseID", Order = 83)] + public int? FantasyDefenseID { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 84)] + public int ScoreID { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FanDuelFantasyPointsAllowed", Order = 85)] + public decimal? FanDuelFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing quarterbacks + /// + [Description("FanDuel fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FanDuelQuarterbackFantasyPointsAllowed", Order = 86)] + public decimal? FanDuelQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing running backs + /// + [Description("FanDuel fantasy points allowed to opposing running backs")] + [DataMember(Name = "FanDuelRunningbackFantasyPointsAllowed", Order = 87)] + public decimal? FanDuelRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing wide receivers + /// + [Description("FanDuel fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FanDuelWideReceiverFantasyPointsAllowed", Order = 88)] + public decimal? FanDuelWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing tight ends + /// + [Description("FanDuel fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FanDuelTightEndFantasyPointsAllowed", Order = 89)] + public decimal? FanDuelTightEndFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing kickers + /// + [Description("FanDuel fantasy points allowed to opposing kickers")] + [DataMember(Name = "FanDuelKickerFantasyPointsAllowed", Order = 90)] + public decimal? FanDuelKickerFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "DraftKingsFantasyPointsAllowed", Order = 91)] + public decimal? DraftKingsFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing quarterbacks + /// + [Description("DraftKings fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "DraftKingsQuarterbackFantasyPointsAllowed", Order = 92)] + public decimal? DraftKingsQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing running backs + /// + [Description("DraftKings fantasy points allowed to opposing running backs")] + [DataMember(Name = "DraftKingsRunningbackFantasyPointsAllowed", Order = 93)] + public decimal? DraftKingsRunningbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing wide receivers + /// + [Description("DraftKings fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "DraftKingsWideReceiverFantasyPointsAllowed", Order = 94)] + public decimal? DraftKingsWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing tight ends + /// + [Description("DraftKings fantasy points allowed to opposing tight ends")] + [DataMember(Name = "DraftKingsTightEndFantasyPointsAllowed", Order = 95)] + public decimal? DraftKingsTightEndFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing kickers + /// + [Description("DraftKings fantasy points allowed to opposing kickers")] + [DataMember(Name = "DraftKingsKickerFantasyPointsAllowed", Order = 96)] + public decimal? DraftKingsKickerFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "YahooFantasyPointsAllowed", Order = 97)] + public decimal? YahooFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing quarterbacks + /// + [Description("Yahoo fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "YahooQuarterbackFantasyPointsAllowed", Order = 98)] + public decimal? YahooQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing running backs + /// + [Description("Yahoo fantasy points allowed to opposing running backs")] + [DataMember(Name = "YahooRunningbackFantasyPointsAllowed", Order = 99)] + public decimal? YahooRunningbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing wide receivers + /// + [Description("Yahoo fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "YahooWideReceiverFantasyPointsAllowed", Order = 100)] + public decimal? YahooWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing tight ends + /// + [Description("Yahoo fantasy points allowed to opposing tight ends")] + [DataMember(Name = "YahooTightEndFantasyPointsAllowed", Order = 101)] + public decimal? YahooTightEndFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing kickers + /// + [Description("Yahoo fantasy points allowed to opposing kickers")] + [DataMember(Name = "YahooKickerFantasyPointsAllowed", Order = 102)] + public decimal? YahooKickerFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 103)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyDraftFantasyPointsAllowed", Order = 104)] + public decimal? FantasyDraftFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing quarterbacks + /// + [Description("FantasyDraft fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FantasyDraftQuarterbackFantasyPointsAllowed", Order = 105)] + public decimal? FantasyDraftQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing running backs + /// + [Description("FantasyDraft fantasy points allowed to opposing running backs")] + [DataMember(Name = "FantasyDraftRunningbackFantasyPointsAllowed", Order = 106)] + public decimal? FantasyDraftRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing wide receivers + /// + [Description("FantasyDraft fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FantasyDraftWideReceiverFantasyPointsAllowed", Order = 107)] + public decimal? FantasyDraftWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing tight ends + /// + [Description("FantasyDraft fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FantasyDraftTightEndFantasyPointsAllowed", Order = 108)] + public decimal? FantasyDraftTightEndFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing kickers + /// + [Description("FantasyDraft fantasy points allowed to opposing kickers")] + [DataMember(Name = "FantasyDraftKickerFantasyPointsAllowed", Order = 109)] + public decimal? FantasyDraftKickerFantasyPointsAllowed { get; set; } + + /// + /// The details of the scoring plays this fantasy DST recorded + /// + [Description("The details of the scoring plays this fantasy DST recorded")] + [DataMember(Name = "ScoringDetails", Order = 20110)] + public ScoringDetail[] ScoringDetails { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseSeason.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseSeason.cs new file mode 100644 index 0000000..65118dd --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseSeason.cs @@ -0,0 +1,650 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="FantasyDefenseSeason")] + [Serializable] + public partial class FantasyDefenseSeason + { + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 1)] + public int SeasonType { get; set; } + + /// + /// The NFL regular season for which these totals apply + /// + [Description("The NFL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 3)] + public string Team { get; set; } + + /// + /// Number of points allowed + /// + [Description("Number of points allowed")] + [DataMember(Name = "PointsAllowed", Order = 4)] + public decimal PointsAllowed { get; set; } + + /// + /// Defensive and special teams touchdowns scores + /// + [Description("Defensive and special teams touchdowns scores")] + [DataMember(Name = "TouchdownsScored", Order = 5)] + public decimal TouchdownsScored { get; set; } + + /// + /// Total number solo tackles + /// + [Description("Total number solo tackles")] + [DataMember(Name = "SoloTackles", Order = 6)] + public decimal SoloTackles { get; set; } + + /// + /// Total number assisted tackles + /// + [Description("Total number assisted tackles")] + [DataMember(Name = "AssistedTackles", Order = 7)] + public decimal AssistedTackles { get; set; } + + /// + /// Total number of sacks of the opposing quarterback + /// + [Description("Total number of sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 8)] + public decimal Sacks { get; set; } + + /// + /// Total number of yards lost when sacking the opposing quarterback + /// + [Description("Total number of yards lost when sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 9)] + public decimal SackYards { get; set; } + + /// + /// Total number of passes defended + /// + [Description("Total number of passes defended")] + [DataMember(Name = "PassesDefended", Order = 10)] + public decimal PassesDefended { get; set; } + + /// + /// Total number of fumbles forced + /// + [Description("Total number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 11)] + public decimal FumblesForced { get; set; } + + /// + /// Total number of fumbles recovered + /// + [Description("Total number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 12)] + public decimal FumblesRecovered { get; set; } + + /// + /// Total return yards from fumbles recovered + /// + [Description("Total return yards from fumbles recovered")] + [DataMember(Name = "FumbleReturnYards", Order = 13)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Total touchdowns from fumbles recovered + /// + [Description("Total touchdowns from fumbles recovered")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 14)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Total number of interceptions + /// + [Description("Total number of interceptions")] + [DataMember(Name = "Interceptions", Order = 15)] + public decimal Interceptions { get; set; } + + /// + /// Total number of interception return yards + /// + [Description("Total number of interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 16)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Total number of interception returns for touchdowns + /// + [Description("Total number of interception returns for touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 17)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of blocked field goals and blocked punts + /// + [Description("Total number of blocked field goals and blocked punts")] + [DataMember(Name = "BlockedKicks", Order = 18)] + public decimal BlockedKicks { get; set; } + + /// + /// Total safeties scored + /// + [Description("Total safeties scored")] + [DataMember(Name = "Safeties", Order = 19)] + public decimal Safeties { get; set; } + + /// + /// Total number of punt returns + /// + [Description("Total number of punt returns")] + [DataMember(Name = "PuntReturns", Order = 20)] + public decimal PuntReturns { get; set; } + + /// + /// Total number of punt return yards + /// + [Description("Total number of punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 21)] + public decimal PuntReturnYards { get; set; } + + /// + /// Total number of punt returns for touchdowns + /// + [Description("Total number of punt returns for touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 22)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 23)] + public decimal PuntReturnLong { get; set; } + + /// + /// Total number of kick returns + /// + [Description("Total number of kick returns")] + [DataMember(Name = "KickReturns", Order = 24)] + public decimal KickReturns { get; set; } + + /// + /// Total number of kick return yards + /// + [Description("Total number of kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 25)] + public decimal KickReturnYards { get; set; } + + /// + /// Total number of kick returns for touchdowns + /// + [Description("Total number of kick returns for touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 26)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 27)] + public decimal KickReturnLong { get; set; } + + /// + /// Blocked kicks returned for a touchdown + /// + [Description("Blocked kicks returned for a touchdown")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 28)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal returns for touchdowns + /// + [Description("Field goal returns for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 29)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyPointsAllowed", Order = 30)] + public decimal? FantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing quarterbacks + /// + [Description("Fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "QuarterbackFantasyPointsAllowed", Order = 31)] + public decimal? QuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing running backs + /// + [Description("Fantasy points allowed to opposing running backs")] + [DataMember(Name = "RunningbackFantasyPointsAllowed", Order = 32)] + public decimal? RunningbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing wide receivers + /// + [Description("Fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "WideReceiverFantasyPointsAllowed", Order = 33)] + public decimal? WideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing tight ends + /// + [Description("Fantasy points allowed to opposing tight ends")] + [DataMember(Name = "TightEndFantasyPointsAllowed", Order = 34)] + public decimal? TightEndFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing kickers + /// + [Description("Fantasy points allowed to opposing kickers")] + [DataMember(Name = "KickerFantasyPointsAllowed", Order = 35)] + public decimal? KickerFantasyPointsAllowed { get; set; } + + /// + /// Games played + /// + [Description("Games played")] + [DataMember(Name = "Games", Order = 36)] + public int? Games { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 37)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 38)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Quarterback hits + /// + [Description("Quarterback hits")] + [DataMember(Name = "QuarterbackHits", Order = 39)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Tackles for a loss + /// + [Description("Tackles for a loss")] + [DataMember(Name = "TacklesForLoss", Order = 40)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total touchdowns scored by the defense + /// + [Description("Total touchdowns scored by the defense")] + [DataMember(Name = "DefensiveTouchdowns", Order = 41)] + public decimal? DefensiveTouchdowns { get; set; } + + /// + /// Total touchdowns scored by the special teams + /// + [Description("Total touchdowns scored by the special teams")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 42)] + public decimal? SpecialTeamsTouchdowns { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 43)] + public decimal? FantasyPoints { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 44)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 45)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 46)] + public int? WindSpeed { get; set; } + + /// + /// Opponent's third down attempts + /// + [Description("Opponent's third down attempts")] + [DataMember(Name = "ThirdDownAttempts", Order = 47)] + public decimal? ThirdDownAttempts { get; set; } + + /// + /// Opponent's third down conversions + /// + [Description("Opponent's third down conversions")] + [DataMember(Name = "ThirdDownConversions", Order = 48)] + public decimal? ThirdDownConversions { get; set; } + + /// + /// Opponent's fourth down attempts + /// + [Description("Opponent's fourth down attempts")] + [DataMember(Name = "FourthDownAttempts", Order = 49)] + public decimal? FourthDownAttempts { get; set; } + + /// + /// Opponent's fourth down conversions + /// + [Description("Opponent's fourth down conversions")] + [DataMember(Name = "FourthDownConversions", Order = 50)] + public decimal? FourthDownConversions { get; set; } + + /// + /// Number of points allowed to opposing offense and special teams.  This excludes points scored by the opponent's defense. + /// + [Description("Number of points allowed to opposing offense and special teams.  This excludes points scored by the opponent's defense.")] + [DataMember(Name = "PointsAllowedByDefenseSpecialTeams", Order = 51)] + public decimal? PointsAllowedByDefenseSpecialTeams { get; set; } + + /// + /// Player's dollar value in a $200 salary cap auction draft. + /// + [Description("Player's dollar value in a $200 salary cap auction draft.")] + [DataMember(Name = "AuctionValue", Order = 52)] + public decimal? AuctionValue { get; set; } + + /// + /// Player's dollar value in a $200 salary cap PPR auction draft. + /// + [Description("Player's dollar value in a $200 salary cap PPR auction draft.")] + [DataMember(Name = "AuctionValuePPR", Order = 53)] + public decimal? AuctionValuePPR { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 54)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 55)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 56)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Offensive yards allowed by this team's defense. + /// + [Description("Offensive yards allowed by this team's defense.")] + [DataMember(Name = "OffensiveYardsAllowed", Order = 57)] + public decimal? OffensiveYardsAllowed { get; set; } + + /// + /// The team's unique PlayerID for use when mixing with player feeds. + /// + [Description("The team's unique PlayerID for use when mixing with player feeds.")] + [DataMember(Name = "PlayerID", Order = 58)] + public int? PlayerID { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 59)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) + /// + [Description("The average draft position of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPosition", Order = 60)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The average draft position in PPR leagues of the team's fantasy defense (DST) + /// + [Description("The average draft position in PPR leagues of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPositionPPR", Order = 61)] + public decimal? AverageDraftPositionPPR { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 62)] + public int? TeamID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 63)] + public int? GlobalTeamID { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FanDuelFantasyPointsAllowed", Order = 64)] + public decimal? FanDuelFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing quarterbacks + /// + [Description("FanDuel fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FanDuelQuarterbackFantasyPointsAllowed", Order = 65)] + public decimal? FanDuelQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing running backs + /// + [Description("FanDuel fantasy points allowed to opposing running backs")] + [DataMember(Name = "FanDuelRunningbackFantasyPointsAllowed", Order = 66)] + public decimal? FanDuelRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing wide receivers + /// + [Description("FanDuel fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FanDuelWideReceiverFantasyPointsAllowed", Order = 67)] + public decimal? FanDuelWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing tight ends + /// + [Description("FanDuel fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FanDuelTightEndFantasyPointsAllowed", Order = 68)] + public decimal? FanDuelTightEndFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing kickers + /// + [Description("FanDuel fantasy points allowed to opposing kickers")] + [DataMember(Name = "FanDuelKickerFantasyPointsAllowed", Order = 69)] + public decimal? FanDuelKickerFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "DraftKingsFantasyPointsAllowed", Order = 70)] + public decimal? DraftKingsFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing quarterbacks + /// + [Description("DraftKings fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "DraftKingsQuarterbackFantasyPointsAllowed", Order = 71)] + public decimal? DraftKingsQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing running backs + /// + [Description("DraftKings fantasy points allowed to opposing running backs")] + [DataMember(Name = "DraftKingsRunningbackFantasyPointsAllowed", Order = 72)] + public decimal? DraftKingsRunningbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing wide receivers + /// + [Description("DraftKings fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "DraftKingsWideReceiverFantasyPointsAllowed", Order = 73)] + public decimal? DraftKingsWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing tight ends + /// + [Description("DraftKings fantasy points allowed to opposing tight ends")] + [DataMember(Name = "DraftKingsTightEndFantasyPointsAllowed", Order = 74)] + public decimal? DraftKingsTightEndFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing kickers + /// + [Description("DraftKings fantasy points allowed to opposing kickers")] + [DataMember(Name = "DraftKingsKickerFantasyPointsAllowed", Order = 75)] + public decimal? DraftKingsKickerFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "YahooFantasyPointsAllowed", Order = 76)] + public decimal? YahooFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing quarterbacks + /// + [Description("Yahoo fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "YahooQuarterbackFantasyPointsAllowed", Order = 77)] + public decimal? YahooQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing running backs + /// + [Description("Yahoo fantasy points allowed to opposing running backs")] + [DataMember(Name = "YahooRunningbackFantasyPointsAllowed", Order = 78)] + public decimal? YahooRunningbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing wide receivers + /// + [Description("Yahoo fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "YahooWideReceiverFantasyPointsAllowed", Order = 79)] + public decimal? YahooWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing tight ends + /// + [Description("Yahoo fantasy points allowed to opposing tight ends")] + [DataMember(Name = "YahooTightEndFantasyPointsAllowed", Order = 80)] + public decimal? YahooTightEndFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing kickers + /// + [Description("Yahoo fantasy points allowed to opposing kickers")] + [DataMember(Name = "YahooKickerFantasyPointsAllowed", Order = 81)] + public decimal? YahooKickerFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 82)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyDraftFantasyPointsAllowed", Order = 83)] + public decimal? FantasyDraftFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing quarterbacks + /// + [Description("FantasyDraft fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FantasyDraftQuarterbackFantasyPointsAllowed", Order = 84)] + public decimal? FantasyDraftQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing running backs + /// + [Description("FantasyDraft fantasy points allowed to opposing running backs")] + [DataMember(Name = "FantasyDraftRunningbackFantasyPointsAllowed", Order = 85)] + public decimal? FantasyDraftRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing wide receivers + /// + [Description("FantasyDraft fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FantasyDraftWideReceiverFantasyPointsAllowed", Order = 86)] + public decimal? FantasyDraftWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing tight ends + /// + [Description("FantasyDraft fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FantasyDraftTightEndFantasyPointsAllowed", Order = 87)] + public decimal? FantasyDraftTightEndFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing kickers + /// + [Description("FantasyDraft fantasy points allowed to opposing kickers")] + [DataMember(Name = "FantasyDraftKickerFantasyPointsAllowed", Order = 88)] + public decimal? FantasyDraftKickerFantasyPointsAllowed { get; set; } + + /// + /// The details of the scoring plays this fantasy DST recorded + /// + [Description("The details of the scoring plays this fantasy DST recorded")] + [DataMember(Name = "ScoringDetails", Order = 20089)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) in dynasty leagues + /// + [Description("The average draft position of the team's fantasy defense (DST) in dynasty leagues")] + [DataMember(Name = "AverageDraftPositionDynasty", Order = 90)] + public decimal? AverageDraftPositionDynasty { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) in 2 Quarterback Leagues + /// + [Description("The average draft position of the team's fantasy defense (DST) in 2 Quarterback Leagues")] + [DataMember(Name = "AverageDraftPosition2QB", Order = 91)] + public decimal? AverageDraftPosition2QB { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseSeasonProjection.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseSeasonProjection.cs new file mode 100644 index 0000000..2a9a818 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyDefenseSeasonProjection.cs @@ -0,0 +1,650 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="FantasyDefenseSeasonProjection")] + [Serializable] + public partial class FantasyDefenseSeasonProjection + { + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 1)] + public int SeasonType { get; set; } + + /// + /// The NFL regular season for which these totals apply + /// + [Description("The NFL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 3)] + public string Team { get; set; } + + /// + /// Number of points allowed + /// + [Description("Number of points allowed")] + [DataMember(Name = "PointsAllowed", Order = 4)] + public decimal PointsAllowed { get; set; } + + /// + /// Defensive and special teams touchdowns scores + /// + [Description("Defensive and special teams touchdowns scores")] + [DataMember(Name = "TouchdownsScored", Order = 5)] + public decimal TouchdownsScored { get; set; } + + /// + /// Total number solo tackles + /// + [Description("Total number solo tackles")] + [DataMember(Name = "SoloTackles", Order = 6)] + public decimal SoloTackles { get; set; } + + /// + /// Total number assisted tackles + /// + [Description("Total number assisted tackles")] + [DataMember(Name = "AssistedTackles", Order = 7)] + public decimal AssistedTackles { get; set; } + + /// + /// Total number of sacks of the opposing quarterback + /// + [Description("Total number of sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 8)] + public decimal Sacks { get; set; } + + /// + /// Total number of yards lost when sacking the opposing quarterback + /// + [Description("Total number of yards lost when sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 9)] + public decimal SackYards { get; set; } + + /// + /// Total number of passes defended + /// + [Description("Total number of passes defended")] + [DataMember(Name = "PassesDefended", Order = 10)] + public decimal PassesDefended { get; set; } + + /// + /// Total number of fumbles forced + /// + [Description("Total number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 11)] + public decimal FumblesForced { get; set; } + + /// + /// Total number of fumbles recovered + /// + [Description("Total number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 12)] + public decimal FumblesRecovered { get; set; } + + /// + /// Total return yards from fumbles recovered + /// + [Description("Total return yards from fumbles recovered")] + [DataMember(Name = "FumbleReturnYards", Order = 13)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Total touchdowns from fumbles recovered + /// + [Description("Total touchdowns from fumbles recovered")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 14)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Total number of interceptions + /// + [Description("Total number of interceptions")] + [DataMember(Name = "Interceptions", Order = 15)] + public decimal Interceptions { get; set; } + + /// + /// Total number of interception return yards + /// + [Description("Total number of interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 16)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Total number of interception returns for touchdowns + /// + [Description("Total number of interception returns for touchdowns")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 17)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of blocked field goals and blocked punts + /// + [Description("Total number of blocked field goals and blocked punts")] + [DataMember(Name = "BlockedKicks", Order = 18)] + public decimal BlockedKicks { get; set; } + + /// + /// Total safeties scored + /// + [Description("Total safeties scored")] + [DataMember(Name = "Safeties", Order = 19)] + public decimal Safeties { get; set; } + + /// + /// Total number of punt returns + /// + [Description("Total number of punt returns")] + [DataMember(Name = "PuntReturns", Order = 20)] + public decimal PuntReturns { get; set; } + + /// + /// Total number of punt return yards + /// + [Description("Total number of punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 21)] + public decimal PuntReturnYards { get; set; } + + /// + /// Total number of punt returns for touchdowns + /// + [Description("Total number of punt returns for touchdowns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 22)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 23)] + public decimal PuntReturnLong { get; set; } + + /// + /// Total number of kick returns + /// + [Description("Total number of kick returns")] + [DataMember(Name = "KickReturns", Order = 24)] + public decimal KickReturns { get; set; } + + /// + /// Total number of kick return yards + /// + [Description("Total number of kick return yards")] + [DataMember(Name = "KickReturnYards", Order = 25)] + public decimal KickReturnYards { get; set; } + + /// + /// Total number of kick returns for touchdowns + /// + [Description("Total number of kick returns for touchdowns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 26)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 27)] + public decimal KickReturnLong { get; set; } + + /// + /// Blocked kicks returned for a touchdown + /// + [Description("Blocked kicks returned for a touchdown")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 28)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal returns for touchdowns + /// + [Description("Field goal returns for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 29)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyPointsAllowed", Order = 30)] + public decimal? FantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing quarterbacks + /// + [Description("Fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "QuarterbackFantasyPointsAllowed", Order = 31)] + public decimal? QuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing running backs + /// + [Description("Fantasy points allowed to opposing running backs")] + [DataMember(Name = "RunningbackFantasyPointsAllowed", Order = 32)] + public decimal? RunningbackFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing wide receivers + /// + [Description("Fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "WideReceiverFantasyPointsAllowed", Order = 33)] + public decimal? WideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing tight ends + /// + [Description("Fantasy points allowed to opposing tight ends")] + [DataMember(Name = "TightEndFantasyPointsAllowed", Order = 34)] + public decimal? TightEndFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points allowed to opposing kickers + /// + [Description("Fantasy points allowed to opposing kickers")] + [DataMember(Name = "KickerFantasyPointsAllowed", Order = 35)] + public decimal? KickerFantasyPointsAllowed { get; set; } + + /// + /// Games played + /// + [Description("Games played")] + [DataMember(Name = "Games", Order = 36)] + public int? Games { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 37)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 38)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Quarterback hits + /// + [Description("Quarterback hits")] + [DataMember(Name = "QuarterbackHits", Order = 39)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Tackles for a loss + /// + [Description("Tackles for a loss")] + [DataMember(Name = "TacklesForLoss", Order = 40)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Total touchdowns scored by the defense + /// + [Description("Total touchdowns scored by the defense")] + [DataMember(Name = "DefensiveTouchdowns", Order = 41)] + public decimal? DefensiveTouchdowns { get; set; } + + /// + /// Total touchdowns scored by the special teams + /// + [Description("Total touchdowns scored by the special teams")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 42)] + public decimal? SpecialTeamsTouchdowns { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 43)] + public decimal? FantasyPoints { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 44)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 45)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 46)] + public int? WindSpeed { get; set; } + + /// + /// Opponent's third down attempts + /// + [Description("Opponent's third down attempts")] + [DataMember(Name = "ThirdDownAttempts", Order = 47)] + public decimal? ThirdDownAttempts { get; set; } + + /// + /// Opponent's third down conversions + /// + [Description("Opponent's third down conversions")] + [DataMember(Name = "ThirdDownConversions", Order = 48)] + public decimal? ThirdDownConversions { get; set; } + + /// + /// Opponent's fourth down attempts + /// + [Description("Opponent's fourth down attempts")] + [DataMember(Name = "FourthDownAttempts", Order = 49)] + public decimal? FourthDownAttempts { get; set; } + + /// + /// Opponent's fourth down conversions + /// + [Description("Opponent's fourth down conversions")] + [DataMember(Name = "FourthDownConversions", Order = 50)] + public decimal? FourthDownConversions { get; set; } + + /// + /// Number of points allowed to opposing offense and special teams.  This excludes points scored by the opponent's defense. + /// + [Description("Number of points allowed to opposing offense and special teams.  This excludes points scored by the opponent's defense.")] + [DataMember(Name = "PointsAllowedByDefenseSpecialTeams", Order = 51)] + public decimal? PointsAllowedByDefenseSpecialTeams { get; set; } + + /// + /// Player's dollar value in a $200 salary cap auction draft. + /// + [Description("Player's dollar value in a $200 salary cap auction draft.")] + [DataMember(Name = "AuctionValue", Order = 52)] + public decimal? AuctionValue { get; set; } + + /// + /// Player's dollar value in a $200 salary cap PPR auction draft. + /// + [Description("Player's dollar value in a $200 salary cap PPR auction draft.")] + [DataMember(Name = "AuctionValuePPR", Order = 53)] + public decimal? AuctionValuePPR { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 54)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 55)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 56)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Offensive yards allowed by this team's defense. + /// + [Description("Offensive yards allowed by this team's defense.")] + [DataMember(Name = "OffensiveYardsAllowed", Order = 57)] + public decimal? OffensiveYardsAllowed { get; set; } + + /// + /// The team's unique PlayerID for use when mixing with player feeds. + /// + [Description("The team's unique PlayerID for use when mixing with player feeds.")] + [DataMember(Name = "PlayerID", Order = 58)] + public int? PlayerID { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 59)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) + /// + [Description("The average draft position of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPosition", Order = 60)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The average draft position in PPR leagues of the team's fantasy defense (DST) + /// + [Description("The average draft position in PPR leagues of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPositionPPR", Order = 61)] + public decimal? AverageDraftPositionPPR { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 62)] + public int? TeamID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 63)] + public int? GlobalTeamID { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FanDuel fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FanDuelFantasyPointsAllowed", Order = 64)] + public decimal? FanDuelFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing quarterbacks + /// + [Description("FanDuel fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FanDuelQuarterbackFantasyPointsAllowed", Order = 65)] + public decimal? FanDuelQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing running backs + /// + [Description("FanDuel fantasy points allowed to opposing running backs")] + [DataMember(Name = "FanDuelRunningbackFantasyPointsAllowed", Order = 66)] + public decimal? FanDuelRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing wide receivers + /// + [Description("FanDuel fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FanDuelWideReceiverFantasyPointsAllowed", Order = 67)] + public decimal? FanDuelWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing tight ends + /// + [Description("FanDuel fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FanDuelTightEndFantasyPointsAllowed", Order = 68)] + public decimal? FanDuelTightEndFantasyPointsAllowed { get; set; } + + /// + /// FanDuel fantasy points allowed to opposing kickers + /// + [Description("FanDuel fantasy points allowed to opposing kickers")] + [DataMember(Name = "FanDuelKickerFantasyPointsAllowed", Order = 69)] + public decimal? FanDuelKickerFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("DraftKings fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "DraftKingsFantasyPointsAllowed", Order = 70)] + public decimal? DraftKingsFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing quarterbacks + /// + [Description("DraftKings fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "DraftKingsQuarterbackFantasyPointsAllowed", Order = 71)] + public decimal? DraftKingsQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing running backs + /// + [Description("DraftKings fantasy points allowed to opposing running backs")] + [DataMember(Name = "DraftKingsRunningbackFantasyPointsAllowed", Order = 72)] + public decimal? DraftKingsRunningbackFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing wide receivers + /// + [Description("DraftKings fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "DraftKingsWideReceiverFantasyPointsAllowed", Order = 73)] + public decimal? DraftKingsWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing tight ends + /// + [Description("DraftKings fantasy points allowed to opposing tight ends")] + [DataMember(Name = "DraftKingsTightEndFantasyPointsAllowed", Order = 74)] + public decimal? DraftKingsTightEndFantasyPointsAllowed { get; set; } + + /// + /// DraftKings fantasy points allowed to opposing kickers + /// + [Description("DraftKings fantasy points allowed to opposing kickers")] + [DataMember(Name = "DraftKingsKickerFantasyPointsAllowed", Order = 75)] + public decimal? DraftKingsKickerFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("Yahoo fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "YahooFantasyPointsAllowed", Order = 76)] + public decimal? YahooFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing quarterbacks + /// + [Description("Yahoo fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "YahooQuarterbackFantasyPointsAllowed", Order = 77)] + public decimal? YahooQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing running backs + /// + [Description("Yahoo fantasy points allowed to opposing running backs")] + [DataMember(Name = "YahooRunningbackFantasyPointsAllowed", Order = 78)] + public decimal? YahooRunningbackFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing wide receivers + /// + [Description("Yahoo fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "YahooWideReceiverFantasyPointsAllowed", Order = 79)] + public decimal? YahooWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing tight ends + /// + [Description("Yahoo fantasy points allowed to opposing tight ends")] + [DataMember(Name = "YahooTightEndFantasyPointsAllowed", Order = 80)] + public decimal? YahooTightEndFantasyPointsAllowed { get; set; } + + /// + /// Yahoo fantasy points allowed to opposing kickers + /// + [Description("Yahoo fantasy points allowed to opposing kickers")] + [DataMember(Name = "YahooKickerFantasyPointsAllowed", Order = 81)] + public decimal? YahooKickerFantasyPointsAllowed { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 82)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE) + /// + [Description("FantasyDraft fantasy points allowed to opposing offensive players (QB, RB, WR and TE)")] + [DataMember(Name = "FantasyDraftFantasyPointsAllowed", Order = 83)] + public decimal? FantasyDraftFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing quarterbacks + /// + [Description("FantasyDraft fantasy points allowed to opposing quarterbacks")] + [DataMember(Name = "FantasyDraftQuarterbackFantasyPointsAllowed", Order = 84)] + public decimal? FantasyDraftQuarterbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing running backs + /// + [Description("FantasyDraft fantasy points allowed to opposing running backs")] + [DataMember(Name = "FantasyDraftRunningbackFantasyPointsAllowed", Order = 85)] + public decimal? FantasyDraftRunningbackFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing wide receivers + /// + [Description("FantasyDraft fantasy points allowed to opposing wide receivers")] + [DataMember(Name = "FantasyDraftWideReceiverFantasyPointsAllowed", Order = 86)] + public decimal? FantasyDraftWideReceiverFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing tight ends + /// + [Description("FantasyDraft fantasy points allowed to opposing tight ends")] + [DataMember(Name = "FantasyDraftTightEndFantasyPointsAllowed", Order = 87)] + public decimal? FantasyDraftTightEndFantasyPointsAllowed { get; set; } + + /// + /// FantasyDraft fantasy points allowed to opposing kickers + /// + [Description("FantasyDraft fantasy points allowed to opposing kickers")] + [DataMember(Name = "FantasyDraftKickerFantasyPointsAllowed", Order = 88)] + public decimal? FantasyDraftKickerFantasyPointsAllowed { get; set; } + + /// + /// The details of the scoring plays this fantasy DST recorded + /// + [Description("The details of the scoring plays this fantasy DST recorded")] + [DataMember(Name = "ScoringDetails", Order = 20089)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) in dynasty leagues + /// + [Description("The average draft position of the team's fantasy defense (DST) in dynasty leagues")] + [DataMember(Name = "AverageDraftPositionDynasty", Order = 90)] + public decimal? AverageDraftPositionDynasty { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) in 2 Quarterback Leagues + /// + [Description("The average draft position of the team's fantasy defense (DST) in 2 Quarterback Leagues")] + [DataMember(Name = "AverageDraftPosition2QB", Order = 91)] + public decimal? AverageDraftPosition2QB { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyPlayer.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyPlayer.cs new file mode 100644 index 0000000..f8c8fb1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/FantasyPlayer.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="FantasyPlayer")] + [Serializable] + public partial class FantasyPlayer + { + /// + /// Unique identifier of this fantasy player. If this is a team defense, then this is the abbreviation of the team. This field contains both integers and strings and should be treated as a string. This value is guaranteed to be unique among all players and teams and can be used as the primary key for the FantasyPlayer table. + /// + [Description("Unique identifier of this fantasy player. If this is a team defense, then this is the abbreviation of the team. This field contains both integers and strings and should be treated as a string. This value is guaranteed to be unique among all players and teams and can be used as the primary key for the FantasyPlayer table.")] + [DataMember(Name = "FantasyPlayerKey", Order = 1)] + public string FantasyPlayerKey { get; set; } + + /// + /// PlayerID of this FantasyPlayer. For players, this is the same as the PlayerID. For teams, this is the uniquely generated PlayerID on the Team table. This number is guaranteed to be unique among all players and teams and can be used as the primary key for the FantasyPlayer table. + /// + [Description("PlayerID of this FantasyPlayer. For players, this is the same as the PlayerID. For teams, this is the uniquely generated PlayerID on the Team table. This number is guaranteed to be unique among all players and teams and can be used as the primary key for the FantasyPlayer table.")] + [DataMember(Name = "PlayerID", Order = 2)] + public int PlayerID { get; set; } + + /// + /// The name of the player or team. + /// + [Description("The name of the player or team.")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The abbreviation of the team this player is on. If player is a free agent, this field is NULL. + /// + [Description("The abbreviation of the team this player is on. If player is a free agent, this field is NULL.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// The fantasy position of this player or team (QB, RB, WR, TE, K, DEF) + /// + [Description("The fantasy position of this player or team (QB, RB, WR, TE, K, DEF)")] + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + /// + /// The average draft position of this player in re-draft leagues. + /// + [Description("The average draft position of this player in re-draft leagues.")] + [DataMember(Name = "AverageDraftPosition", Order = 6)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The average draft position of this player in PPR re-draft leagues. + /// + [Description("The average draft position of this player in PPR re-draft leagues.")] + [DataMember(Name = "AverageDraftPositionPPR", Order = 7)] + public decimal? AverageDraftPositionPPR { get; set; } + + /// + /// The bye week of the team this player is currently on. + /// + [Description("The bye week of the team this player is currently on.")] + [DataMember(Name = "ByeWeek", Order = 8)] + public int? ByeWeek { get; set; } + + /// + /// The fantasy points scored by this player or team last season. + /// + [Description("The fantasy points scored by this player or team last season.")] + [DataMember(Name = "LastSeasonFantasyPoints", Order = 9)] + public decimal? LastSeasonFantasyPoints { get; set; } + + /// + /// The projected fantasy points this player will score this upcoming season. + /// + [Description("The projected fantasy points this player will score this upcoming season.")] + [DataMember(Name = "ProjectedFantasyPoints", Order = 10)] + public decimal? ProjectedFantasyPoints { get; set; } + + /// + /// Player's dollar value in a $200 salary cap auction draft. + /// + [Description("Player's dollar value in a $200 salary cap auction draft.")] + [DataMember(Name = "AuctionValue", Order = 11)] + public int? AuctionValue { get; set; } + + /// + /// Player's dollar value in a $200 salary cap PPR auction draft. + /// + [Description("Player's dollar value in a $200 salary cap PPR auction draft.")] + [DataMember(Name = "AuctionValuePPR", Order = 12)] + public int? AuctionValuePPR { get; set; } + + /// + /// The average draft position of this player in IDP re-draft leagues. + /// + [Description("The average draft position of this player in IDP re-draft leagues.")] + [DataMember(Name = "AverageDraftPositionIDP", Order = 13)] + public int? AverageDraftPositionIDP { get; set; } + + /// + /// The average draft position of this player in rookie drafts. + /// + [Description("The average draft position of this player in rookie drafts.")] + [DataMember(Name = "AverageDraftPositionRookie", Order = 14)] + public decimal? AverageDraftPositionRookie { get; set; } + + /// + /// The average draft position of this player in dynasty leagues. + /// + [Description("The average draft position of this player in dynasty leagues.")] + [DataMember(Name = "AverageDraftPositionDynasty", Order = 15)] + public decimal? AverageDraftPositionDynasty { get; set; } + + /// + /// The average draft position of this player in 2 Quarterback re-draft leagues. + /// + [Description("The average draft position of this player in 2 Quarterback re-draft leagues.")] + [DataMember(Name = "AverageDraftPosition2QB", Order = 16)] + public decimal? AverageDraftPosition2QB { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Game.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Game.cs new file mode 100644 index 0000000..1fcdeda --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Game.cs @@ -0,0 +1,1497 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "Date", Order = 2)] + public DateTime Date { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int Season { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 5)] + public int Week { get; set; } + + /// + /// Stadium of the event + /// + [Description("Stadium of the event")] + [DataMember(Name = "Stadium", Order = 6)] + public string Stadium { get; set; } + + /// + /// Playing surface of the stadium + /// + [Description("Playing surface of the stadium")] + [DataMember(Name = "PlayingSurface", Order = 7)] + public string PlayingSurface { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 8)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 9)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 10)] + public int? WindSpeed { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 11)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 12)] + public string HomeTeam { get; set; } + + /// + /// The final score of the Away Team + /// + [Description("The final score of the Away Team")] + [DataMember(Name = "AwayScore", Order = 13)] + public int AwayScore { get; set; } + + /// + /// The final score of the Home Team + /// + [Description("The final score of the Home Team")] + [DataMember(Name = "HomeScore", Order = 14)] + public int HomeScore { get; set; } + + /// + /// The total score of both teams + /// + [Description("The total score of both teams")] + [DataMember(Name = "TotalScore", Order = 15)] + public int? TotalScore { get; set; } + + /// + /// The oddsmaker Over/Under at game start + /// + [Description("The oddsmaker Over/Under at game start")] + [DataMember(Name = "OverUnder", Order = 16)] + public decimal? OverUnder { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored)")] + [DataMember(Name = "PointSpread", Order = 17)] + public decimal? PointSpread { get; set; } + + /// + /// Points scored during Quarter 1 + /// + [Description("Points scored during Quarter 1")] + [DataMember(Name = "AwayScoreQuarter1", Order = 18)] + public int? AwayScoreQuarter1 { get; set; } + + /// + /// Points scored during Quarter 2 + /// + [Description("Points scored during Quarter 2")] + [DataMember(Name = "AwayScoreQuarter2", Order = 19)] + public int? AwayScoreQuarter2 { get; set; } + + /// + /// Points scored during Quarter 3 + /// + [Description("Points scored during Quarter 3")] + [DataMember(Name = "AwayScoreQuarter3", Order = 20)] + public int? AwayScoreQuarter3 { get; set; } + + /// + /// Points scored during Quarter 4 + /// + [Description("Points scored during Quarter 4")] + [DataMember(Name = "AwayScoreQuarter4", Order = 21)] + public int? AwayScoreQuarter4 { get; set; } + + /// + /// Points scored during Overtime + /// + [Description("Points scored during Overtime")] + [DataMember(Name = "AwayScoreOvertime", Order = 22)] + public int? AwayScoreOvertime { get; set; } + + /// + /// Points scored during Quarter 1 + /// + [Description("Points scored during Quarter 1")] + [DataMember(Name = "HomeScoreQuarter1", Order = 23)] + public int? HomeScoreQuarter1 { get; set; } + + /// + /// Points scored during Quarter 2 + /// + [Description("Points scored during Quarter 2")] + [DataMember(Name = "HomeScoreQuarter2", Order = 24)] + public int? HomeScoreQuarter2 { get; set; } + + /// + /// Points scored during Quarter 3 + /// + [Description("Points scored during Quarter 3")] + [DataMember(Name = "HomeScoreQuarter3", Order = 25)] + public int? HomeScoreQuarter3 { get; set; } + + /// + /// Points scored during Quarter 4 + /// + [Description("Points scored during Quarter 4")] + [DataMember(Name = "HomeScoreQuarter4", Order = 26)] + public int? HomeScoreQuarter4 { get; set; } + + /// + /// Points scored during Overtime + /// + [Description("Points scored during Overtime")] + [DataMember(Name = "HomeScoreOvertime", Order = 27)] + public int? HomeScoreOvertime { get; set; } + + /// + /// Time of Possession + /// + [Description("Time of Possession")] + [DataMember(Name = "AwayTimeOfPossession", Order = 28)] + public string AwayTimeOfPossession { get; set; } + + /// + /// Time of Possession + /// + [Description("Time of Possession")] + [DataMember(Name = "HomeTimeOfPossession", Order = 29)] + public string HomeTimeOfPossession { get; set; } + + /// + /// Total First Downs + /// + [Description("Total First Downs")] + [DataMember(Name = "AwayFirstDowns", Order = 30)] + public int? AwayFirstDowns { get; set; } + + /// + /// Total First Downs + /// + [Description("Total First Downs")] + [DataMember(Name = "HomeFirstDowns", Order = 31)] + public int? HomeFirstDowns { get; set; } + + /// + /// Rushing First Downs + /// + [Description("Rushing First Downs")] + [DataMember(Name = "AwayFirstDownsByRushing", Order = 32)] + public int? AwayFirstDownsByRushing { get; set; } + + /// + /// Rushing First Downs + /// + [Description("Rushing First Downs")] + [DataMember(Name = "HomeFirstDownsByRushing", Order = 33)] + public int? HomeFirstDownsByRushing { get; set; } + + /// + /// Passing First Downs + /// + [Description("Passing First Downs")] + [DataMember(Name = "AwayFirstDownsByPassing", Order = 34)] + public int? AwayFirstDownsByPassing { get; set; } + + /// + /// Passing First Downs + /// + [Description("Passing First Downs")] + [DataMember(Name = "HomeFirstDownsByPassing", Order = 35)] + public int? HomeFirstDownsByPassing { get; set; } + + /// + /// First Downs (via Penalty) + /// + [Description("First Downs (via Penalty)")] + [DataMember(Name = "AwayFirstDownsByPenalty", Order = 36)] + public int? AwayFirstDownsByPenalty { get; set; } + + /// + /// First Downs (via Penalty) + /// + [Description("First Downs (via Penalty)")] + [DataMember(Name = "HomeFirstDownsByPenalty", Order = 37)] + public int? HomeFirstDownsByPenalty { get; set; } + + /// + /// Number of offensive plays run + /// + [Description("Number of offensive plays run")] + [DataMember(Name = "AwayOffensivePlays", Order = 38)] + public int? AwayOffensivePlays { get; set; } + + /// + /// Number of offensive plays run + /// + [Description("Number of offensive plays run")] + [DataMember(Name = "HomeOffensivePlays", Order = 39)] + public int? HomeOffensivePlays { get; set; } + + /// + /// Number of offensive yards gained + /// + [Description("Number of offensive yards gained")] + [DataMember(Name = "AwayOffensiveYards", Order = 40)] + public int? AwayOffensiveYards { get; set; } + + /// + /// Number of offensive yards gained + /// + [Description("Number of offensive yards gained")] + [DataMember(Name = "HomeOffensiveYards", Order = 41)] + public int? HomeOffensiveYards { get; set; } + + /// + /// Average yards gained per offensive play + /// + [Description("Average yards gained per offensive play")] + [DataMember(Name = "AwayOffensiveYardsPerPlay", Order = 42)] + public decimal? AwayOffensiveYardsPerPlay { get; set; } + + /// + /// Average yards gained per offensive play + /// + [Description("Average yards gained per offensive play")] + [DataMember(Name = "HomeOffensiveYardsPerPlay", Order = 43)] + public decimal? HomeOffensiveYardsPerPlay { get; set; } + + /// + /// Touchdowns scored + /// + [Description("Touchdowns scored")] + [DataMember(Name = "AwayTouchdowns", Order = 44)] + public int? AwayTouchdowns { get; set; } + + /// + /// Touchdowns scored + /// + [Description("Touchdowns scored")] + [DataMember(Name = "HomeTouchdowns", Order = 45)] + public int? HomeTouchdowns { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "AwayRushingAttempts", Order = 46)] + public int? AwayRushingAttempts { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "HomeRushingAttempts", Order = 47)] + public int? HomeRushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "AwayRushingYards", Order = 48)] + public int? AwayRushingYards { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "HomeRushingYards", Order = 49)] + public int? HomeRushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "AwayRushingYardsPerAttempt", Order = 50)] + public decimal? AwayRushingYardsPerAttempt { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "HomeRushingYardsPerAttempt", Order = 51)] + public decimal? HomeRushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "AwayRushingTouchdowns", Order = 52)] + public int? AwayRushingTouchdowns { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "HomeRushingTouchdowns", Order = 53)] + public int? HomeRushingTouchdowns { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "AwayPassingAttempts", Order = 54)] + public int? AwayPassingAttempts { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "HomePassingAttempts", Order = 55)] + public int? HomePassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "AwayPassingCompletions", Order = 56)] + public int? AwayPassingCompletions { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "HomePassingCompletions", Order = 57)] + public int? HomePassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "AwayPassingYards", Order = 58)] + public int? AwayPassingYards { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "HomePassingYards", Order = 59)] + public int? HomePassingYards { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "AwayPassingTouchdowns", Order = 60)] + public int? AwayPassingTouchdowns { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "HomePassingTouchdowns", Order = 61)] + public int? HomePassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "AwayPassingInterceptions", Order = 62)] + public int? AwayPassingInterceptions { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "HomePassingInterceptions", Order = 63)] + public int? HomePassingInterceptions { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "AwayPassingYardsPerAttempt", Order = 64)] + public decimal? AwayPassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "HomePassingYardsPerAttempt", Order = 65)] + public decimal? HomePassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "AwayPassingYardsPerCompletion", Order = 66)] + public decimal? AwayPassingYardsPerCompletion { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "HomePassingYardsPerCompletion", Order = 67)] + public decimal? HomePassingYardsPerCompletion { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "AwayCompletionPercentage", Order = 68)] + public decimal? AwayCompletionPercentage { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "HomeCompletionPercentage", Order = 69)] + public decimal? HomeCompletionPercentage { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "AwayPasserRating", Order = 70)] + public decimal? AwayPasserRating { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "HomePasserRating", Order = 71)] + public decimal? HomePasserRating { get; set; } + + /// + /// Third down attempts + /// + [Description("Third down attempts")] + [DataMember(Name = "AwayThirdDownAttempts", Order = 72)] + public int? AwayThirdDownAttempts { get; set; } + + /// + /// Third down attempts + /// + [Description("Third down attempts")] + [DataMember(Name = "HomeThirdDownAttempts", Order = 73)] + public int? HomeThirdDownAttempts { get; set; } + + /// + /// Third down conversions + /// + [Description("Third down conversions")] + [DataMember(Name = "AwayThirdDownConversions", Order = 74)] + public int? AwayThirdDownConversions { get; set; } + + /// + /// Third down conversions + /// + [Description("Third down conversions")] + [DataMember(Name = "HomeThirdDownConversions", Order = 75)] + public int? HomeThirdDownConversions { get; set; } + + /// + /// Percentage of third downs converted + /// + [Description("Percentage of third downs converted")] + [DataMember(Name = "AwayThirdDownPercentage", Order = 76)] + public decimal? AwayThirdDownPercentage { get; set; } + + /// + /// Percentage of third downs converted + /// + [Description("Percentage of third downs converted")] + [DataMember(Name = "HomeThirdDownPercentage", Order = 77)] + public decimal? HomeThirdDownPercentage { get; set; } + + /// + /// Fourth down attempts + /// + [Description("Fourth down attempts")] + [DataMember(Name = "AwayFourthDownAttempts", Order = 78)] + public int? AwayFourthDownAttempts { get; set; } + + /// + /// Fourth down attempts + /// + [Description("Fourth down attempts")] + [DataMember(Name = "HomeFourthDownAttempts", Order = 79)] + public int? HomeFourthDownAttempts { get; set; } + + /// + /// Fourth down conversions + /// + [Description("Fourth down conversions")] + [DataMember(Name = "AwayFourthDownConversions", Order = 80)] + public int? AwayFourthDownConversions { get; set; } + + /// + /// Fourth down conversions + /// + [Description("Fourth down conversions")] + [DataMember(Name = "HomeFourthDownConversions", Order = 81)] + public int? HomeFourthDownConversions { get; set; } + + /// + /// Percentage of fourth downs converted + /// + [Description("Percentage of fourth downs converted")] + [DataMember(Name = "AwayFourthDownPercentage", Order = 82)] + public decimal? AwayFourthDownPercentage { get; set; } + + /// + /// Percentage of fourth downs converted + /// + [Description("Percentage of fourth downs converted")] + [DataMember(Name = "HomeFourthDownPercentage", Order = 83)] + public decimal? HomeFourthDownPercentage { get; set; } + + /// + /// Red zone opportunities + /// + [Description("Red zone opportunities")] + [DataMember(Name = "AwayRedZoneAttempts", Order = 84)] + public int? AwayRedZoneAttempts { get; set; } + + /// + /// Red zone opportunities + /// + [Description("Red zone opportunities")] + [DataMember(Name = "HomeRedZoneAttempts", Order = 85)] + public int? HomeRedZoneAttempts { get; set; } + + /// + /// Red zone opportunities converted to touchdowns + /// + [Description("Red zone opportunities converted to touchdowns")] + [DataMember(Name = "AwayRedZoneConversions", Order = 86)] + public int? AwayRedZoneConversions { get; set; } + + /// + /// Red zone opportunities converted to touchdowns + /// + [Description("Red zone opportunities converted to touchdowns")] + [DataMember(Name = "HomeRedZoneConversions", Order = 87)] + public int? HomeRedZoneConversions { get; set; } + + /// + /// 1st & Goal opportunities + /// + [Description("1st & Goal opportunities")] + [DataMember(Name = "AwayGoalToGoAttempts", Order = 88)] + public int? AwayGoalToGoAttempts { get; set; } + + /// + /// 1st & Goal opportunities + /// + [Description("1st & Goal opportunities")] + [DataMember(Name = "HomeGoalToGoAttempts", Order = 89)] + public int? HomeGoalToGoAttempts { get; set; } + + /// + /// 1st & Goal opportunities converted to touchdowns + /// + [Description("1st & Goal opportunities converted to touchdowns")] + [DataMember(Name = "AwayGoalToGoConversions", Order = 90)] + public int? AwayGoalToGoConversions { get; set; } + + /// + /// 1st & Goal opportunities converted to touchdowns + /// + [Description("1st & Goal opportunities converted to touchdowns")] + [DataMember(Name = "HomeGoalToGoConversions", Order = 91)] + public int? HomeGoalToGoConversions { get; set; } + + /// + /// Total punt and defensive return yards + /// + [Description("Total punt and defensive return yards")] + [DataMember(Name = "AwayReturnYards", Order = 92)] + public int? AwayReturnYards { get; set; } + + /// + /// Total punt and defensive return yards + /// + [Description("Total punt and defensive return yards")] + [DataMember(Name = "HomeReturnYards", Order = 93)] + public int? HomeReturnYards { get; set; } + + /// + /// Penalties committed + /// + [Description("Penalties committed")] + [DataMember(Name = "AwayPenalties", Order = 94)] + public int? AwayPenalties { get; set; } + + /// + /// Penalties committed + /// + [Description("Penalties committed")] + [DataMember(Name = "HomePenalties", Order = 95)] + public int? HomePenalties { get; set; } + + /// + /// Penalty yards enforced against the away team + /// + [Description("Penalty yards enforced against the away team")] + [DataMember(Name = "AwayPenaltyYards", Order = 96)] + public int? AwayPenaltyYards { get; set; } + + /// + /// Penalty yards enforced against the away team + /// + [Description("Penalty yards enforced against the away team")] + [DataMember(Name = "HomePenaltyYards", Order = 97)] + public int? HomePenaltyYards { get; set; } + + /// + /// Fumbles + /// + [Description("Fumbles")] + [DataMember(Name = "AwayFumbles", Order = 98)] + public int? AwayFumbles { get; set; } + + /// + /// Fumbles + /// + [Description("Fumbles")] + [DataMember(Name = "HomeFumbles", Order = 99)] + public int? HomeFumbles { get; set; } + + /// + /// Fumbles lost + /// + [Description("Fumbles lost")] + [DataMember(Name = "AwayFumblesLost", Order = 100)] + public int? AwayFumblesLost { get; set; } + + /// + /// Fumbles lost + /// + [Description("Fumbles lost")] + [DataMember(Name = "HomeFumblesLost", Order = 101)] + public int? HomeFumblesLost { get; set; } + + /// + /// Number of times the away team was sacked + /// + [Description("Number of times the away team was sacked")] + [DataMember(Name = "AwayTimesSacked", Order = 102)] + public int? AwayTimesSacked { get; set; } + + /// + /// Number of times the away team was sacked + /// + [Description("Number of times the away team was sacked")] + [DataMember(Name = "HomeTimesSacked", Order = 103)] + public int? HomeTimesSacked { get; set; } + + /// + /// Number of yards lost as a result of being sacked + /// + [Description("Number of yards lost as a result of being sacked")] + [DataMember(Name = "AwayTimesSackedYards", Order = 104)] + public int? AwayTimesSackedYards { get; set; } + + /// + /// Number of yards lost as a result of being sacked + /// + [Description("Number of yards lost as a result of being sacked")] + [DataMember(Name = "HomeTimesSackedYards", Order = 105)] + public int? HomeTimesSackedYards { get; set; } + + /// + /// Safeties scored + /// + [Description("Safeties scored")] + [DataMember(Name = "AwaySafeties", Order = 106)] + public int? AwaySafeties { get; set; } + + /// + /// Safeties scored + /// + [Description("Safeties scored")] + [DataMember(Name = "HomeSafeties", Order = 107)] + public int? HomeSafeties { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "AwayPunts", Order = 108)] + public int? AwayPunts { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "HomePunts", Order = 109)] + public int? HomePunts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "AwayPuntYards", Order = 110)] + public int? AwayPuntYards { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "HomePuntYards", Order = 111)] + public int? HomePuntYards { get; set; } + + /// + /// Average number of yards per punt + /// + [Description("Average number of yards per punt")] + [DataMember(Name = "AwayPuntAverage", Order = 112)] + public decimal? AwayPuntAverage { get; set; } + + /// + /// Average number of yards per punt + /// + [Description("Average number of yards per punt")] + [DataMember(Name = "HomePuntAverage", Order = 113)] + public decimal? HomePuntAverage { get; set; } + + /// + /// Number of giveaways + /// + [Description("Number of giveaways")] + [DataMember(Name = "AwayGiveaways", Order = 114)] + public int? AwayGiveaways { get; set; } + + /// + /// Number of giveaways + /// + [Description("Number of giveaways")] + [DataMember(Name = "HomeGiveaways", Order = 115)] + public int? HomeGiveaways { get; set; } + + /// + /// Number of takeaways + /// + [Description("Number of takeaways")] + [DataMember(Name = "AwayTakeaways", Order = 116)] + public int? AwayTakeaways { get; set; } + + /// + /// Number of takeaways + /// + [Description("Number of takeaways")] + [DataMember(Name = "HomeTakeaways", Order = 117)] + public int? HomeTakeaways { get; set; } + + /// + /// Number of takeaways minus giveaways + /// + [Description("Number of takeaways minus giveaways")] + [DataMember(Name = "AwayTurnoverDifferential", Order = 118)] + public int? AwayTurnoverDifferential { get; set; } + + /// + /// Number of takeaways minus giveaways + /// + [Description("Number of takeaways minus giveaways")] + [DataMember(Name = "HomeTurnoverDifferential", Order = 119)] + public int? HomeTurnoverDifferential { get; set; } + + /// + /// Number of kickoffs + /// + [Description("Number of kickoffs")] + [DataMember(Name = "AwayKickoffs", Order = 120)] + public int? AwayKickoffs { get; set; } + + /// + /// Number of kickoffs + /// + [Description("Number of kickoffs")] + [DataMember(Name = "HomeKickoffs", Order = 121)] + public int? HomeKickoffs { get; set; } + + /// + /// Number of kickoffs that went into the end zone + /// + [Description("Number of kickoffs that went into the end zone")] + [DataMember(Name = "AwayKickoffsInEndZone", Order = 122)] + public int? AwayKickoffsInEndZone { get; set; } + + /// + /// Number of kickoffs that went into the end zone + /// + [Description("Number of kickoffs that went into the end zone")] + [DataMember(Name = "HomeKickoffsInEndZone", Order = 123)] + public int? HomeKickoffsInEndZone { get; set; } + + /// + /// Number of kickoffs that resulted in touchbacks + /// + [Description("Number of kickoffs that resulted in touchbacks")] + [DataMember(Name = "AwayKickoffTouchbacks", Order = 124)] + public int? AwayKickoffTouchbacks { get; set; } + + /// + /// Number of kickoffs that resulted in touchbacks + /// + [Description("Number of kickoffs that resulted in touchbacks")] + [DataMember(Name = "HomeKickoffTouchbacks", Order = 125)] + public int? HomeKickoffTouchbacks { get; set; } + + /// + /// Number of punts that were blocked + /// + [Description("Number of punts that were blocked")] + [DataMember(Name = "AwayPuntsHadBlocked", Order = 126)] + public int? AwayPuntsHadBlocked { get; set; } + + /// + /// Number of punts that were blocked + /// + [Description("Number of punts that were blocked")] + [DataMember(Name = "HomePuntsHadBlocked", Order = 127)] + public int? HomePuntsHadBlocked { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "AwayPuntNetAverage", Order = 128)] + public decimal? AwayPuntNetAverage { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "HomePuntNetAverage", Order = 129)] + public decimal? HomePuntNetAverage { get; set; } + + /// + /// Extra point kick attempts + /// + [Description("Extra point kick attempts")] + [DataMember(Name = "AwayExtraPointKickingAttempts", Order = 130)] + public int? AwayExtraPointKickingAttempts { get; set; } + + /// + /// Extra point kick attempts + /// + [Description("Extra point kick attempts")] + [DataMember(Name = "HomeExtraPointKickingAttempts", Order = 131)] + public int? HomeExtraPointKickingAttempts { get; set; } + + /// + /// Extra point kicks made + /// + [Description("Extra point kicks made")] + [DataMember(Name = "AwayExtraPointKickingConversions", Order = 132)] + public int? AwayExtraPointKickingConversions { get; set; } + + /// + /// Extra point kicks made + /// + [Description("Extra point kicks made")] + [DataMember(Name = "HomeExtraPointKickingConversions", Order = 133)] + public int? HomeExtraPointKickingConversions { get; set; } + + /// + /// Extra point kick attempts that were blocked + /// + [Description("Extra point kick attempts that were blocked")] + [DataMember(Name = "AwayExtraPointsHadBlocked", Order = 134)] + public int? AwayExtraPointsHadBlocked { get; set; } + + /// + /// Extra point kick attempts that were blocked + /// + [Description("Extra point kick attempts that were blocked")] + [DataMember(Name = "HomeExtraPointsHadBlocked", Order = 135)] + public int? HomeExtraPointsHadBlocked { get; set; } + + /// + /// Two point conversion passing attempts + /// + [Description("Two point conversion passing attempts")] + [DataMember(Name = "AwayExtraPointPassingAttempts", Order = 136)] + public int? AwayExtraPointPassingAttempts { get; set; } + + /// + /// Two point conversion passing attempts + /// + [Description("Two point conversion passing attempts")] + [DataMember(Name = "HomeExtraPointPassingAttempts", Order = 137)] + public int? HomeExtraPointPassingAttempts { get; set; } + + /// + /// Two point conversion passing conversions + /// + [Description("Two point conversion passing conversions")] + [DataMember(Name = "AwayExtraPointPassingConversions", Order = 138)] + public int? AwayExtraPointPassingConversions { get; set; } + + /// + /// Two point conversion passing conversions + /// + [Description("Two point conversion passing conversions")] + [DataMember(Name = "HomeExtraPointPassingConversions", Order = 139)] + public int? HomeExtraPointPassingConversions { get; set; } + + /// + /// Two point conversion rushing attempts + /// + [Description("Two point conversion rushing attempts")] + [DataMember(Name = "AwayExtraPointRushingAttempts", Order = 140)] + public int? AwayExtraPointRushingAttempts { get; set; } + + /// + /// Two point conversion rushing attempts + /// + [Description("Two point conversion rushing attempts")] + [DataMember(Name = "HomeExtraPointRushingAttempts", Order = 141)] + public int? HomeExtraPointRushingAttempts { get; set; } + + /// + /// Two point conversion rushing conversions + /// + [Description("Two point conversion rushing conversions")] + [DataMember(Name = "AwayExtraPointRushingConversions", Order = 142)] + public int? AwayExtraPointRushingConversions { get; set; } + + /// + /// Two point conversion rushing conversions + /// + [Description("Two point conversion rushing conversions")] + [DataMember(Name = "HomeExtraPointRushingConversions", Order = 143)] + public int? HomeExtraPointRushingConversions { get; set; } + + /// + /// Field goal attempts + /// + [Description("Field goal attempts")] + [DataMember(Name = "AwayFieldGoalAttempts", Order = 144)] + public int? AwayFieldGoalAttempts { get; set; } + + /// + /// Field goal attempts + /// + [Description("Field goal attempts")] + [DataMember(Name = "HomeFieldGoalAttempts", Order = 145)] + public int? HomeFieldGoalAttempts { get; set; } + + /// + /// Field goals made + /// + [Description("Field goals made")] + [DataMember(Name = "AwayFieldGoalsMade", Order = 146)] + public int? AwayFieldGoalsMade { get; set; } + + /// + /// Field goals made + /// + [Description("Field goals made")] + [DataMember(Name = "HomeFieldGoalsMade", Order = 147)] + public int? HomeFieldGoalsMade { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "AwayFieldGoalsHadBlocked", Order = 148)] + public int? AwayFieldGoalsHadBlocked { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "HomeFieldGoalsHadBlocked", Order = 149)] + public int? HomeFieldGoalsHadBlocked { get; set; } + + /// + /// Punt returns + /// + [Description("Punt returns")] + [DataMember(Name = "AwayPuntReturns", Order = 150)] + public int? AwayPuntReturns { get; set; } + + /// + /// Punt returns + /// + [Description("Punt returns")] + [DataMember(Name = "HomePuntReturns", Order = 151)] + public int? HomePuntReturns { get; set; } + + /// + /// Punt return yards + /// + [Description("Punt return yards")] + [DataMember(Name = "AwayPuntReturnYards", Order = 152)] + public int? AwayPuntReturnYards { get; set; } + + /// + /// Punt return yards + /// + [Description("Punt return yards")] + [DataMember(Name = "HomePuntReturnYards", Order = 153)] + public int? HomePuntReturnYards { get; set; } + + /// + /// Kickoff returns + /// + [Description("Kickoff returns")] + [DataMember(Name = "AwayKickReturns", Order = 154)] + public int? AwayKickReturns { get; set; } + + /// + /// Kickoff returns + /// + [Description("Kickoff returns")] + [DataMember(Name = "HomeKickReturns", Order = 155)] + public int? HomeKickReturns { get; set; } + + /// + /// Kickoff return yards + /// + [Description("Kickoff return yards")] + [DataMember(Name = "AwayKickReturnYards", Order = 156)] + public int? AwayKickReturnYards { get; set; } + + /// + /// Kickoff return yards + /// + [Description("Kickoff return yards")] + [DataMember(Name = "HomeKickReturnYards", Order = 157)] + public int? HomeKickReturnYards { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "AwayInterceptionReturns", Order = 158)] + public int? AwayInterceptionReturns { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "HomeInterceptionReturns", Order = 159)] + public int? HomeInterceptionReturns { get; set; } + + /// + /// Interception return yards + /// + [Description("Interception return yards")] + [DataMember(Name = "AwayInterceptionReturnYards", Order = 160)] + public int? AwayInterceptionReturnYards { get; set; } + + /// + /// Interception return yards + /// + [Description("Interception return yards")] + [DataMember(Name = "HomeInterceptionReturnYards", Order = 161)] + public int? HomeInterceptionReturnYards { get; set; } + + /// + /// Defensive solo tackles + /// + [Description("Defensive solo tackles")] + [DataMember(Name = "AwaySoloTackles", Order = 162)] + public int? AwaySoloTackles { get; set; } + + /// + /// Defensive assisted tackles + /// + [Description("Defensive assisted tackles")] + [DataMember(Name = "AwayAssistedTackles", Order = 163)] + public int? AwayAssistedTackles { get; set; } + + /// + /// Defensive QB hits + /// + [Description("Defensive QB hits")] + [DataMember(Name = "AwayQuarterbackHits", Order = 164)] + public int? AwayQuarterbackHits { get; set; } + + /// + /// Defensive tackles for a loss + /// + [Description("Defensive tackles for a loss")] + [DataMember(Name = "AwayTacklesForLoss", Order = 165)] + public int? AwayTacklesForLoss { get; set; } + + /// + /// Defensive sacks + /// + [Description("Defensive sacks")] + [DataMember(Name = "AwaySacks", Order = 166)] + public int? AwaySacks { get; set; } + + /// + /// Defensive sack yards + /// + [Description("Defensive sack yards")] + [DataMember(Name = "AwaySackYards", Order = 167)] + public int? AwaySackYards { get; set; } + + /// + /// Defensive passes defended + /// + [Description("Defensive passes defended")] + [DataMember(Name = "AwayPassesDefended", Order = 168)] + public int? AwayPassesDefended { get; set; } + + /// + /// Defensive fumbles forced + /// + [Description("Defensive fumbles forced")] + [DataMember(Name = "AwayFumblesForced", Order = 169)] + public int? AwayFumblesForced { get; set; } + + /// + /// Fumbles recovered that resulted in change of possession + /// + [Description("Fumbles recovered that resulted in change of possession")] + [DataMember(Name = "AwayFumblesRecovered", Order = 170)] + public int? AwayFumblesRecovered { get; set; } + + /// + /// Fumble return yards + /// + [Description("Fumble return yards")] + [DataMember(Name = "AwayFumbleReturnYards", Order = 171)] + public int? AwayFumbleReturnYards { get; set; } + + /// + /// Fumble return touchdowns + /// + [Description("Fumble return touchdowns")] + [DataMember(Name = "AwayFumbleReturnTouchdowns", Order = 172)] + public int? AwayFumbleReturnTouchdowns { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "AwayInterceptionReturnTouchdowns", Order = 173)] + public int? AwayInterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of opponent's kicks that were blocked + /// + [Description("Total number of opponent's kicks that were blocked")] + [DataMember(Name = "AwayBlockedKicks", Order = 174)] + public int? AwayBlockedKicks { get; set; } + + /// + /// Punt return touchdown + /// + [Description("Punt return touchdown")] + [DataMember(Name = "AwayPuntReturnTouchdowns", Order = 175)] + public int? AwayPuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "AwayPuntReturnLong", Order = 176)] + public int? AwayPuntReturnLong { get; set; } + + /// + /// Kick return touchdown + /// + [Description("Kick return touchdown")] + [DataMember(Name = "AwayKickReturnTouchdowns", Order = 177)] + public int? AwayKickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "AwayKickReturnLong", Order = 178)] + public int? AwayKickReturnLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "AwayBlockedKickReturnYards", Order = 179)] + public int? AwayBlockedKickReturnYards { get; set; } + + /// + /// Blocked kick recovery return touchdowns + /// + [Description("Blocked kick recovery return touchdowns")] + [DataMember(Name = "AwayBlockedKickReturnTouchdowns", Order = 180)] + public int? AwayBlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "AwayFieldGoalReturnYards", Order = 181)] + public int? AwayFieldGoalReturnYards { get; set; } + + /// + /// Field goal return touchdowns (excluding blocked field goals) + /// + [Description("Field goal return touchdowns (excluding blocked field goals)")] + [DataMember(Name = "AwayFieldGoalReturnTouchdowns", Order = 182)] + public int? AwayFieldGoalReturnTouchdowns { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "AwayPuntNetYards", Order = 183)] + public int? AwayPuntNetYards { get; set; } + + /// + /// Defensive solo tackles + /// + [Description("Defensive solo tackles")] + [DataMember(Name = "HomeSoloTackles", Order = 184)] + public int? HomeSoloTackles { get; set; } + + /// + /// Defensive assisted tackles + /// + [Description("Defensive assisted tackles")] + [DataMember(Name = "HomeAssistedTackles", Order = 185)] + public int? HomeAssistedTackles { get; set; } + + /// + /// Defensive QB hits + /// + [Description("Defensive QB hits")] + [DataMember(Name = "HomeQuarterbackHits", Order = 186)] + public int? HomeQuarterbackHits { get; set; } + + /// + /// Defensive tackles for a loss + /// + [Description("Defensive tackles for a loss")] + [DataMember(Name = "HomeTacklesForLoss", Order = 187)] + public int? HomeTacklesForLoss { get; set; } + + /// + /// Defensive sacks + /// + [Description("Defensive sacks")] + [DataMember(Name = "HomeSacks", Order = 188)] + public int? HomeSacks { get; set; } + + /// + /// Defensive sack yards + /// + [Description("Defensive sack yards")] + [DataMember(Name = "HomeSackYards", Order = 189)] + public int? HomeSackYards { get; set; } + + /// + /// Defensive passes defended + /// + [Description("Defensive passes defended")] + [DataMember(Name = "HomePassesDefended", Order = 190)] + public int? HomePassesDefended { get; set; } + + /// + /// Defensive fumbles forced + /// + [Description("Defensive fumbles forced")] + [DataMember(Name = "HomeFumblesForced", Order = 191)] + public int? HomeFumblesForced { get; set; } + + /// + /// Fumbles recovered that resulted in change of possession + /// + [Description("Fumbles recovered that resulted in change of possession")] + [DataMember(Name = "HomeFumblesRecovered", Order = 192)] + public int? HomeFumblesRecovered { get; set; } + + /// + /// Fumble return yards + /// + [Description("Fumble return yards")] + [DataMember(Name = "HomeFumbleReturnYards", Order = 193)] + public int? HomeFumbleReturnYards { get; set; } + + /// + /// Fumble return touchdowns + /// + [Description("Fumble return touchdowns")] + [DataMember(Name = "HomeFumbleReturnTouchdowns", Order = 194)] + public int? HomeFumbleReturnTouchdowns { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "HomeInterceptionReturnTouchdowns", Order = 195)] + public int? HomeInterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of opponent's kicks that were blocked + /// + [Description("Total number of opponent's kicks that were blocked")] + [DataMember(Name = "HomeBlockedKicks", Order = 196)] + public int? HomeBlockedKicks { get; set; } + + /// + /// Punt return touchdown + /// + [Description("Punt return touchdown")] + [DataMember(Name = "HomePuntReturnTouchdowns", Order = 197)] + public int? HomePuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "HomePuntReturnLong", Order = 198)] + public int? HomePuntReturnLong { get; set; } + + /// + /// Kick return touchdown + /// + [Description("Kick return touchdown")] + [DataMember(Name = "HomeKickReturnTouchdowns", Order = 199)] + public int? HomeKickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "HomeKickReturnLong", Order = 200)] + public int? HomeKickReturnLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "HomeBlockedKickReturnYards", Order = 201)] + public int? HomeBlockedKickReturnYards { get; set; } + + /// + /// Blocked kick recovery return touchdowns + /// + [Description("Blocked kick recovery return touchdowns")] + [DataMember(Name = "HomeBlockedKickReturnTouchdowns", Order = 202)] + public int? HomeBlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "HomeFieldGoalReturnYards", Order = 203)] + public int? HomeFieldGoalReturnYards { get; set; } + + /// + /// Field goal return touchdowns (excluding blocked field goals) + /// + [Description("Field goal return touchdowns (excluding blocked field goals)")] + [DataMember(Name = "HomeFieldGoalReturnTouchdowns", Order = 204)] + public int? HomeFieldGoalReturnTouchdowns { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "HomePuntNetYards", Order = 205)] + public int? HomePuntNetYards { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 206)] + public bool? IsGameOver { get; set; } + + /// + /// Auto generated unique ID for this game (subject to change, although it very rarely does). For a static ID, use GameKey. + /// + [Description("Auto generated unique ID for this game (subject to change, although it very rarely does). For a static ID, use GameKey.")] + [DataMember(Name = "GameID", Order = 207)] + public int GameID { get; set; } + + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 208)] + public int? StadiumID { get; set; } + + /// + /// Two point conversion returns for two points. + /// + [Description("Two point conversion returns for two points.")] + [DataMember(Name = "AwayTwoPointConversionReturns", Order = 209)] + public int? AwayTwoPointConversionReturns { get; set; } + + /// + /// Two point conversion returns for two points. + /// + [Description("Two point conversion returns for two points.")] + [DataMember(Name = "HomeTwoPointConversionReturns", Order = 210)] + public int? HomeTwoPointConversionReturns { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 211)] + public int ScoreID { get; set; } + + /// + /// The details of the stadium where this game is played + /// + [Description("The details of the stadium where this game is played")] + [DataMember(Name = "StadiumDetails", Order = 10212)] + public Stadium StadiumDetails { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/GameInfo.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/GameInfo.cs new file mode 100644 index 0000000..50abbdd --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/GameInfo.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="GameInfo")] + [Serializable] + public partial class GameInfo + { + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreId", Order = 1)] + public int ScoreId { get; set; } + + /// + /// The calendar year of the season during which this game occurs. + /// + [Description("The calendar year of the season during which this game occurs.")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The week during the season/round in which this game occurs. + /// + [Description("The week during the season/round in which this game occurs.")] + [DataMember(Name = "Week", Order = 4)] + public int? Week { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC. + /// + [Description("The day that the game is scheduled to be played in UTC.")] + [DataMember(Name = "Day", Order = 5)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC. + /// + [Description("The date/time that the game is scheduled to be played in UTC.")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime? DateTime { get; set; } + + /// + /// The TeamId of the away team. + /// + [Description("The TeamId of the away team.")] + [DataMember(Name = "AwayTeamId", Order = 7)] + public int? AwayTeamId { get; set; } + + /// + /// The TeamId of the home team. + /// + [Description("The TeamId of the home team.")] + [DataMember(Name = "HomeTeamId", Order = 8)] + public int? HomeTeamId { get; set; } + + /// + /// The name of the away team. + /// + [Description("The name of the away team.")] + [DataMember(Name = "AwayTeamName", Order = 9)] + public string AwayTeamName { get; set; } + + /// + /// The name of the home team. + /// + [Description("The name of the home team.")] + [DataMember(Name = "HomeTeamName", Order = 10)] + public string HomeTeamName { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 11)] + public int GlobalGameId { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamId", Order = 12)] + public int? GlobalAwayTeamId { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamId", Order = 13)] + public int? GlobalHomeTeamId { get; set; } + + /// + /// List of Pregame Odds from different sportsbooks + /// + [Description("List of Pregame Odds from different sportsbooks")] + [DataMember(Name = "PregameOdds", Order = 20014)] + public GameOdd[] PregameOdds { get; set; } + + /// + /// List of Live Odds from different sportsbooks + /// + [Description("List of Live Odds from different sportsbooks")] + [DataMember(Name = "LiveOdds", Order = 20015)] + public GameOdd[] LiveOdds { get; set; } + + /// + /// Score of the home team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the home team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "HomeTeamScore", Order = 16)] + public int? HomeTeamScore { get; set; } + + /// + /// Score of the away team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the away team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "AwayTeamScore", Order = 17)] + public int? AwayTeamScore { get; set; } + + /// + /// Total scored points in the game (updated after game ends to allow for resolving bets) + /// + [Description("Total scored points in the game (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "TotalScore", Order = 18)] + public int? TotalScore { get; set; } + + /// + /// Rotation Number of home team in this game + /// + [Description("Rotation Number of home team in this game")] + [DataMember(Name = "HomeRotationNumber", Order = 19)] + public int? HomeRotationNumber { get; set; } + + /// + /// Rotation Number of away team in this game + /// + [Description("Rotation Number of away team in this game")] + [DataMember(Name = "AwayRotationNumber", Order = 20)] + public int? AwayRotationNumber { get; set; } + + /// + /// List of Alternate Market Pregame odds from different sportsbooks (such as 1st-half, 1st-qtr, etc) + /// + [Description("List of Alternate Market Pregame odds from different sportsbooks (such as 1st-half, 1st-qtr, etc)")] + [DataMember(Name = "AlternateMarketPregameOdds", Order = 20021)] + public GameOdd[] AlternateMarketPregameOdds { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/GameOdd.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/GameOdd.cs new file mode 100644 index 0000000..2f39a65 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/GameOdd.cs @@ -0,0 +1,132 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="GameOdd")] + [Serializable] + public partial class GameOdd + { + /// + /// Unique ID of this odd + /// + [Description("Unique ID of this odd")] + [DataMember(Name = "GameOddId", Order = 1)] + public int GameOddId { get; set; } + + /// + /// Name of sportsbook + /// + [Description("Name of sportsbook")] + [DataMember(Name = "Sportsbook", Order = 2)] + public string Sportsbook { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreId", Order = 3)] + public int ScoreId { get; set; } + + /// + /// The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT). + /// + [Description("The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT).")] + [DataMember(Name = "Created", Order = 4)] + public DateTime Created { get; set; } + + /// + /// The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook. + /// + [Description("The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook.")] + [DataMember(Name = "Updated", Order = 5)] + public DateTime Updated { get; set; } + + /// + /// The sportsbook's money line for the home team + /// + [Description("The sportsbook's money line for the home team")] + [DataMember(Name = "HomeMoneyLine", Order = 6)] + public int? HomeMoneyLine { get; set; } + + /// + /// The sportsbook's money line for the away team + /// + [Description("The sportsbook's money line for the away team")] + [DataMember(Name = "AwayMoneyLine", Order = 7)] + public int? AwayMoneyLine { get; set; } + + /// + /// The sportsbook's money line for a draw + /// + [Description("The sportsbook's money line for a draw")] + [DataMember(Name = "DrawMoneyLine", Order = 8)] + public int? DrawMoneyLine { get; set; } + + /// + /// The sportsbook's point spread for the home team + /// + [Description("The sportsbook's point spread for the home team")] + [DataMember(Name = "HomePointSpread", Order = 9)] + public decimal? HomePointSpread { get; set; } + + /// + /// The sportsbook's point spread for the away team + /// + [Description("The sportsbook's point spread for the away team")] + [DataMember(Name = "AwayPointSpread", Order = 10)] + public decimal? AwayPointSpread { get; set; } + + /// + /// The sportsbook's point spread payout for the home team + /// + [Description("The sportsbook's point spread payout for the home team")] + [DataMember(Name = "HomePointSpreadPayout", Order = 11)] + public int? HomePointSpreadPayout { get; set; } + + /// + /// The sportsbook's point spread payout for the away team + /// + [Description("The sportsbook's point spread payout for the away team")] + [DataMember(Name = "AwayPointSpreadPayout", Order = 12)] + public int? AwayPointSpreadPayout { get; set; } + + /// + /// The sportsbook's total points scored over under for the game + /// + [Description("The sportsbook's total points scored over under for the game")] + [DataMember(Name = "OverUnder", Order = 13)] + public decimal? OverUnder { get; set; } + + /// + /// The sportsbook's payout for the over + /// + [Description("The sportsbook's payout for the over")] + [DataMember(Name = "OverPayout", Order = 14)] + public int? OverPayout { get; set; } + + /// + /// The sportsbook's payout for the under + /// + [Description("The sportsbook's payout for the under")] + [DataMember(Name = "UnderPayout", Order = 15)] + public int? UnderPayout { get; set; } + + /// + /// Unique ID of the Sportsbook + /// + [Description("Unique ID of the Sportsbook")] + [DataMember(Name = "SportsbookId", Order = 16)] + public int? SportsbookId { get; set; } + + /// + /// The market type of this odd (ex: live, pregame, 1st-half, 1st-qtr, etc) + /// + [Description("The market type of this odd (ex: live, pregame, 1st-half, 1st-qtr, etc)")] + [DataMember(Name = "OddType", Order = 17)] + public string OddType { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/GamePrediction.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/GamePrediction.cs new file mode 100644 index 0000000..36d179e --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/GamePrediction.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="GamePrediction")] + [Serializable] + public partial class GamePrediction + { + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 1)] + public int ScoreID { get; set; } + + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 2)] + public string GameKey { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The type of season that this game corresponds to (1=Regular Season, 2=Preseason, 3=Postseason). + /// + [Description("The type of season that this game corresponds to (1=Regular Season, 2=Preseason, 3=Postseason).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int SeasonType { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 5)] + public int Week { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "Date", Order = 6)] + public DateTime? Date { get; set; } + + /// + /// The unique ID of the away team + /// + [Description("The unique ID of the away team")] + [DataMember(Name = "AwayTeamID", Order = 7)] + public int? AwayTeamID { get; set; } + + /// + /// The unique ID of the home team  + /// + [Description("The unique ID of the home team ")] + [DataMember(Name = "HomeTeamID", Order = 8)] + public int? HomeTeamID { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 9)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 10)] + public string HomeTeam { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 11)] + public string Status { get; set; } + + /// + /// Money line from the perspective of the away team + /// + [Description("Money line from the perspective of the away team")] + [DataMember(Name = "AwayTeamMoneyLine", Order = 12)] + public int? AwayTeamMoneyLine { get; set; } + + /// + /// Money line from the perspective of the home team + /// + [Description("Money line from the perspective of the home team")] + [DataMember(Name = "HomeTeamMoneyLine", Order = 13)] + public int? HomeTeamMoneyLine { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored)")] + [DataMember(Name = "PointSpread", Order = 14)] + public decimal? PointSpread { get; set; } + + /// + /// The oddsmaker Over/Under (O/U) at game start + /// + [Description("The oddsmaker Over/Under (O/U) at game start")] + [DataMember(Name = "OverUnder", Order = 15)] + public decimal? OverUnder { get; set; } + + /// + /// Percentage chance the Away Team covers the spread + /// + [Description("Percentage chance the Away Team covers the spread")] + [DataMember(Name = "AwayTeamCoverSpreadChance", Order = 16)] + public decimal? AwayTeamCoverSpreadChance { get; set; } + + /// + /// Percentage chance the Home Team covers the spread + /// + [Description("Percentage chance the Home Team covers the spread")] + [DataMember(Name = "HomeTeamCoverSpreadChance", Order = 17)] + public decimal? HomeTeamCoverSpreadChance { get; set; } + + /// + /// Percentage chance the total points scored is over the O/U (i.e. O/U is 45, total points scored 49) + /// + [Description("Percentage chance the total points scored is over the O/U (i.e. O/U is 45, total points scored 49)")] + [DataMember(Name = "OverChance", Order = 18)] + public decimal? OverChance { get; set; } + + /// + /// Percentage chance the total points scored is under the O/U (i.e. O/U is 45, total points scored 42) + /// + [Description("Percentage chance the total points scored is under the O/U (i.e. O/U is 45, total points scored 42)")] + [DataMember(Name = "UnderChance", Order = 19)] + public decimal? UnderChance { get; set; } + + /// + /// Percentage chance the Away team wins + /// + [Description("Percentage chance the Away team wins")] + [DataMember(Name = "AwayTeamWinChance", Order = 20)] + public decimal? AwayTeamWinChance { get; set; } + + /// + /// Percentage chance the Home team wins + /// + [Description("Percentage chance the Home team wins")] + [DataMember(Name = "HomeTeamWinChance", Order = 21)] + public decimal? HomeTeamWinChance { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Headshot.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Headshot.cs new file mode 100644 index 0000000..3ba6706 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Headshot.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Headshot")] + [Serializable] + public partial class Headshot + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Name of Player. + /// + [Description("Name of Player.")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// Unique ID of the Team the player belongs to (assigned by FantasyData). + /// + [Description("Unique ID of the Team the player belongs to (assigned by FantasyData).")] + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + /// + /// Name of the team the player belongs to. + /// + [Description("Name of the team the player belongs to.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Position player plays. + /// + [Description("Position player plays.")] + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + /// + /// The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available. + /// + [Description("The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available.")] + [DataMember(Name = "PreferredHostedHeadshotUrl", Order = 6)] + public string PreferredHostedHeadshotUrl { get; set; } + + /// + /// The last updated date of the player's preferred hosted headshot. + /// + [Description("The last updated date of the player's preferred hosted headshot.")] + [DataMember(Name = "PreferredHostedHeadshotUpdated", Order = 7)] + public DateTime? PreferredHostedHeadshotUpdated { get; set; } + + /// + /// The player's hosted headshot URL. + /// + [Description("The player's hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUrl", Order = 8)] + public string HostedHeadshotWithBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's hosted headshot. + /// + [Description("The last updated date of the player's hosted headshot.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUpdated", Order = 9)] + public DateTime? HostedHeadshotWithBackgroundUpdated { get; set; } + + /// + /// The player's transparent background hosted headshot URL. + /// + [Description("The player's transparent background hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUrl", Order = 10)] + public string HostedHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's transparent background hosted headshot. + /// + [Description("The last updated date of the player's transparent background hosted headshot.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUpdated", Order = 11)] + public DateTime? HostedHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Injury.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Injury.cs new file mode 100644 index 0000000..e40a050 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Injury.cs @@ -0,0 +1,139 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Injury")] + [Serializable] + public partial class Injury + { + /// + /// Unique ID of the injury status + /// + [Description("Unique ID of the injury status")] + [DataMember(Name = "InjuryID", Order = 1)] + public int InjuryID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The season of the game that this injury leads up to + /// + [Description("The season of the game that this injury leads up to")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The week of the game that this injury leads up to + /// + [Description("The week of the game that this injury leads up to")] + [DataMember(Name = "Week", Order = 4)] + public int Week { get; set; } + + /// + /// The PlayerID of the injured player + /// + [Description("The PlayerID of the injured player")] + [DataMember(Name = "PlayerID", Order = 5)] + public int PlayerID { get; set; } + + /// + /// The full name of the injured player + /// + [Description("The full name of the injured player")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The position of the injured player + /// + [Description("The position of the injured player")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// The jersey number of the injured player + /// + [Description("The jersey number of the injured player")] + [DataMember(Name = "Number", Order = 8)] + public int Number { get; set; } + + /// + /// The team the injured player is on + /// + [Description("The team the injured player is on")] + [DataMember(Name = "Team", Order = 9)] + public string Team { get; set; } + + /// + /// The upcoming opponent of the injured player + /// + [Description("The upcoming opponent of the injured player")] + [DataMember(Name = "Opponent", Order = 10)] + public string Opponent { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "BodyPart", Order = 11)] + public string BodyPart { get; set; } + + /// + /// Likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("Likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "Status", Order = 12)] + public string Status { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "Practice", Order = 13)] + public string Practice { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "PracticeDescription", Order = 14)] + public string PracticeDescription { get; set; } + + /// + /// The date/time the injury status was updated + /// + [Description("The date/time the injury status was updated")] + [DataMember(Name = "Updated", Order = 15)] + public DateTime Updated { get; set; } + + /// + /// Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE) + /// + [Description("Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE)")] + [DataMember(Name = "DeclaredInactive", Order = 16)] + public bool? DeclaredInactive { get; set; } + + /// + /// The TeamID of the team this player played on during this game. + /// + [Description("The TeamID of the team this player played on during this game.")] + [DataMember(Name = "TeamID", Order = 17)] + public int? TeamID { get; set; } + + /// + /// The TeamID of the opponent this player played on during this game. + /// + [Description("The TeamID of the opponent this player played on during this game.")] + [DataMember(Name = "OpponentID", Order = 18)] + public int? OpponentID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/News.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/News.cs new file mode 100644 index 0000000..25a3d1a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/News.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="News")] + [Serializable] + public partial class News + { + /// + /// Unique ID of news story + /// + [Description("Unique ID of news story")] + [DataMember(Name = "NewsID", Order = 1)] + public int NewsID { get; set; } + + /// + /// The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.) + /// + [Description("The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.)")] + [DataMember(Name = "Source", Order = 2)] + public string Source { get; set; } + + /// + /// The date/time that the content was published (UTC time zone) + /// + [Description("The date/time that the content was published (UTC time zone)")] + [DataMember(Name = "Updated", Order = 3)] + public DateTime Updated { get; set; } + + /// + /// A description of how long ago this content was published + /// + [Description("A description of how long ago this content was published")] + [DataMember(Name = "TimeAgo", Order = 4)] + public string TimeAgo { get; set; } + + /// + /// The brief title of the news (typically less than 100 characters) + /// + [Description("The brief title of the news (typically less than 100 characters)")] + [DataMember(Name = "Title", Order = 5)] + public string Title { get; set; } + + /// + /// The full body content of the story + /// + [Description("The full body content of the story")] + [DataMember(Name = "Content", Order = 6)] + public string Content { get; set; } + + /// + /// The url of the full story + /// + [Description("The url of the full story")] + [DataMember(Name = "Url", Order = 7)] + public string Url { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 8)] + public string TermsOfUse { get; set; } + + /// + /// The author of the content + /// + [Description("The author of the content")] + [DataMember(Name = "Author", Order = 9)] + public string Author { get; set; } + + /// + /// Comma delimited meta tags describing the categories of this content. Possible tags include: Top Headlines, Breaking News, Injury, Sit/Start, Waiver Wire, Risers, Fallers, Lineups, Transactions, Free Agents, Prospects/Rookies, Game Recap, Matchup Outlook, NFL Draft + /// + [Description("Comma delimited meta tags describing the categories of this content. Possible tags include: Top Headlines, Breaking News, Injury, Sit/Start, Waiver Wire, Risers, Fallers, Lineups, Transactions, Free Agents, Prospects/Rookies, Game Recap, Matchup Outlook, NFL Draft")] + [DataMember(Name = "Categories", Order = 10)] + public string Categories { get; set; } + + /// + /// The PlayerID of the player who relates to this story + /// + [Description("The PlayerID of the player who relates to this story")] + [DataMember(Name = "PlayerID", Order = 11)] + public int? PlayerID { get; set; } + + /// + /// The TeamID of the team that relates to this story + /// + [Description("The TeamID of the team that relates to this story")] + [DataMember(Name = "TeamID", Order = 12)] + public int? TeamID { get; set; } + + /// + /// The team that relates to this story + /// + [Description("The team that relates to this story")] + [DataMember(Name = "Team", Order = 13)] + public string Team { get; set; } + + /// + /// The PlayerID of the player who relates to this story + /// + [Description("The PlayerID of the player who relates to this story")] + [DataMember(Name = "PlayerID2", Order = 14)] + public int? PlayerID2 { get; set; } + + /// + /// The TeamID of the team that relates to this story + /// + [Description("The TeamID of the team that relates to this story")] + [DataMember(Name = "TeamID2", Order = 15)] + public int? TeamID2 { get; set; } + + /// + /// The team that relates to this story + /// + [Description("The team that relates to this story")] + [DataMember(Name = "Team2", Order = 16)] + public string Team2 { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Play.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Play.cs new file mode 100644 index 0000000..b47e74e --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Play.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Play")] + [Serializable] + public partial class Play + { + /// + /// Unique identifier for each Play. + /// + [Description("Unique identifier for each Play.")] + [DataMember(Name = "PlayID", Order = 1)] + public int PlayID { get; set; } + + /// + /// The QuarterID of the Quarter record, in which this Play occurred. + /// + [Description("The QuarterID of the Quarter record, in which this Play occurred.")] + [DataMember(Name = "QuarterID", Order = 2)] + public int QuarterID { get; set; } + + /// + /// The Name of the Quarter, in which this Play occurred. + /// + [Description("The Name of the Quarter, in which this Play occurred.")] + [DataMember(Name = "QuarterName", Order = 3)] + public string QuarterName { get; set; } + + /// + /// The order in which this Play / Event happened over the course of the Game. + /// + [Description("The order in which this Play / Event happened over the course of the Game.")] + [DataMember(Name = "Sequence", Order = 4)] + public int? Sequence { get; set; } + + /// + /// The minutes of the time remaining in the Quarter, when this play occurred. + /// + [Description("The minutes of the time remaining in the Quarter, when this play occurred.")] + [DataMember(Name = "TimeRemainingMinutes", Order = 5)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// The seconds of the time remaining in the Quarter, when this play occurred. + /// + [Description("The seconds of the time remaining in the Quarter, when this play occurred.")] + [DataMember(Name = "TimeRemainingSeconds", Order = 6)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// The estimated timestamp of when this Play occurred on the field. Please note that we do not have scouts at the venue, so this is an estimate based on our TV feed and estimated TV feed delay. + /// + [Description("The estimated timestamp of when this Play occurred on the field. Please note that we do not have scouts at the venue, so this is an estimate based on our TV feed and estimated TV feed delay.")] + [DataMember(Name = "PlayTime", Order = 7)] + public DateTime? PlayTime { get; set; } + + /// + /// The database generated timestamp of when this Play was last updated. + /// + [Description("The database generated timestamp of when this Play was last updated.")] + [DataMember(Name = "Updated", Order = 8)] + public DateTime? Updated { get; set; } + + /// + /// The database generated timestamp of when this Play was first created. + /// + [Description("The database generated timestamp of when this Play was first created.")] + [DataMember(Name = "Created", Order = 9)] + public DateTime? Created { get; set; } + + /// + /// The abbreviation of the Team that this Play was executed by. + /// + [Description("The abbreviation of the Team that this Play was executed by.")] + [DataMember(Name = "Team", Order = 10)] + public string Team { get; set; } + + /// + /// The abbreviation of the Opponent of the Team that this Play was executed by. + /// + [Description("The abbreviation of the Opponent of the Team that this Play was executed by.")] + [DataMember(Name = "Opponent", Order = 11)] + public string Opponent { get; set; } + + /// + /// The Down when this Play occurred. + /// + [Description("The Down when this Play occurred.")] + [DataMember(Name = "Down", Order = 12)] + public int? Down { get; set; } + + /// + /// The Distance when this Play occurred. + /// + [Description("The Distance when this Play occurred.")] + [DataMember(Name = "Distance", Order = 13)] + public int? Distance { get; set; } + + /// + /// The Yard Line of where this Play occurred. + /// + [Description("The Yard Line of where this Play occurred.")] + [DataMember(Name = "YardLine", Order = 14)] + public int? YardLine { get; set; } + + /// + /// The Territory of the Yard Line of where this Play occurred. + /// + [Description("The Territory of the Yard Line of where this Play occurred.")] + [DataMember(Name = "YardLineTerritory", Order = 15)] + public string YardLineTerritory { get; set; } + + /// + /// The number of yards to go to reach the end zone at the start of the Play. + /// + [Description("The number of yards to go to reach the end zone at the start of the Play.")] + [DataMember(Name = "YardsToEndZone", Order = 16)] + public int? YardsToEndZone { get; set; } + + /// + /// The Type of Play that occurred (possible values: Rush, PassCompleted, PassIncomplete, PassIntercepted, TwoPointConversion, Punt, Kickoff, FieldGoal, ExtraPoint, Fumble, Penalty, Sack, Timeout, Period) + /// + [Description("The Type of Play that occurred (possible values: Rush, PassCompleted, PassIncomplete, PassIntercepted, TwoPointConversion, Punt, Kickoff, FieldGoal, ExtraPoint, Fumble, Penalty, Sack, Timeout, Period)")] + [DataMember(Name = "Type", Order = 17)] + public string Type { get; set; } + + /// + /// The yards gained or lost on the play + /// + [Description("The yards gained or lost on the play")] + [DataMember(Name = "YardsGained", Order = 18)] + public int? YardsGained { get; set; } + + /// + /// The description of the Play. + /// + [Description("The description of the Play.")] + [DataMember(Name = "Description", Order = 19)] + public string Description { get; set; } + + /// + /// Indicates whether this Play was a scoring play. + /// + [Description("Indicates whether this Play was a scoring play.")] + [DataMember(Name = "IsScoringPlay", Order = 20)] + public bool? IsScoringPlay { get; set; } + + /// + /// The details of the scoring play attached to this play (if any). + /// + [Description("The details of the scoring play attached to this play (if any).")] + [DataMember(Name = "ScoringPlay", Order = 10021)] + public ScoringPlay ScoringPlay { get; set; } + + /// + /// The player stats accumulated during this play. + /// + [Description("The player stats accumulated during this play.")] + [DataMember(Name = "PlayStats", Order = 20022)] + public PlayStat[] PlayStats { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayByPlay.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayByPlay.cs new file mode 100644 index 0000000..09c49f9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayByPlay.cs @@ -0,0 +1,34 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayByPlay")] + [Serializable] + public partial class PlayByPlay + { + /// + /// The latest regular season stats for this player + /// + [Description("The latest regular season stats for this player")] + [DataMember(Name = "Score", Order = 10001)] + public Score Score { get; set; } + + /// + /// The latest regular season stats for this player + /// + [Description("The latest regular season stats for this player")] + [DataMember(Name = "Quarters", Order = 20002)] + public Quarter[] Quarters { get; set; } + + /// + /// The latest regular season stats for this player + /// + [Description("The latest regular season stats for this player")] + [DataMember(Name = "Plays", Order = 20003)] + public Play[] Plays { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayStat.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayStat.cs new file mode 100644 index 0000000..a76be6f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayStat.cs @@ -0,0 +1,538 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayStat")] + [Serializable] + public partial class PlayStat + { + /// + /// Unique identifier for each PlayStat. + /// + [Description("Unique identifier for each PlayStat.")] + [DataMember(Name = "PlayStatID", Order = 1)] + public int PlayStatID { get; set; } + + /// + /// The PlayID of the Play record, in which this PlayStat occurred. + /// + [Description("The PlayID of the Play record, in which this PlayStat occurred.")] + [DataMember(Name = "PlayID", Order = 2)] + public int PlayID { get; set; } + + /// + /// The order in which the PlayStat was registered to the Play. + /// + [Description("The order in which the PlayStat was registered to the Play.")] + [DataMember(Name = "Sequence", Order = 3)] + public int Sequence { get; set; } + + /// + /// The PlayerID of the Player whose stats this represents. + /// + [Description("The PlayerID of the Player whose stats this represents.")] + [DataMember(Name = "PlayerID", Order = 4)] + public int PlayerID { get; set; } + + /// + /// The Name of the Player whose stats this represents. + /// + [Description("The Name of the Player whose stats this represents.")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The Team of the Player. + /// + [Description("The Team of the Player.")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// The Opponent of the Player. + /// + [Description("The Opponent of the Player.")] + [DataMember(Name = "Opponent", Order = 7)] + public string Opponent { get; set; } + + /// + /// Whether the Player was Home or Away (possible values: HOME, AWAY) + /// + [Description("Whether the Player was Home or Away (possible values: HOME, AWAY)")] + [DataMember(Name = "HomeOrAway", Order = 8)] + public string HomeOrAway { get; set; } + + /// + /// The Direction this Play occurred (possible values: Left, Middle, Right) + /// + [Description("The Direction this Play occurred (possible values: Left, Middle, Right)")] + [DataMember(Name = "Direction", Order = 9)] + public string Direction { get; set; } + + /// + /// The database generated timestamp of when this PlayStat was last updated. + /// + [Description("The database generated timestamp of when this PlayStat was last updated.")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The database generated timestamp of when this PlayStat was first created. + /// + [Description("The database generated timestamp of when this PlayStat was first created.")] + [DataMember(Name = "Created", Order = 11)] + public DateTime? Created { get; set; } + + /// + /// Passing attempts on the play + /// + [Description("Passing attempts on the play")] + [DataMember(Name = "PassingAttempts", Order = 12)] + public int? PassingAttempts { get; set; } + + /// + /// Passing completions on the play + /// + [Description("Passing completions on the play")] + [DataMember(Name = "PassingCompletions", Order = 13)] + public int? PassingCompletions { get; set; } + + /// + /// Passing yards on the play + /// + [Description("Passing yards on the play")] + [DataMember(Name = "PassingYards", Order = 14)] + public int? PassingYards { get; set; } + + /// + /// Passing touchdowns thrown on the play + /// + [Description("Passing touchdowns thrown on the play")] + [DataMember(Name = "PassingTouchdowns", Order = 15)] + public int? PassingTouchdowns { get; set; } + + /// + /// Passing interceptions thrown on the play + /// + [Description("Passing interceptions thrown on the play")] + [DataMember(Name = "PassingInterceptions", Order = 16)] + public int? PassingInterceptions { get; set; } + + /// + /// Times sacked on the play + /// + [Description("Times sacked on the play")] + [DataMember(Name = "PassingSacks", Order = 17)] + public int? PassingSacks { get; set; } + + /// + /// Yards lost from being sacked on the play + /// + [Description("Yards lost from being sacked on the play")] + [DataMember(Name = "PassingSackYards", Order = 18)] + public int? PassingSackYards { get; set; } + + /// + /// Rushing attempts on the play + /// + [Description("Rushing attempts on the play")] + [DataMember(Name = "RushingAttempts", Order = 19)] + public int? RushingAttempts { get; set; } + + /// + /// Rushing yards on the play + /// + [Description("Rushing yards on the play")] + [DataMember(Name = "RushingYards", Order = 20)] + public int? RushingYards { get; set; } + + /// + /// Rushing touchdowns on the play + /// + [Description("Rushing touchdowns on the play")] + [DataMember(Name = "RushingTouchdowns", Order = 21)] + public int? RushingTouchdowns { get; set; } + + /// + /// Receiving targets on the play + /// + [Description("Receiving targets on the play")] + [DataMember(Name = "ReceivingTargets", Order = 22)] + public int? ReceivingTargets { get; set; } + + /// + /// Receptions on the play + /// + [Description("Receptions on the play")] + [DataMember(Name = "Receptions", Order = 23)] + public int? Receptions { get; set; } + + /// + /// Receiving yards on the play + /// + [Description("Receiving yards on the play")] + [DataMember(Name = "ReceivingYards", Order = 24)] + public int? ReceivingYards { get; set; } + + /// + /// Receiving touchdowns on the play + /// + [Description("Receiving touchdowns on the play")] + [DataMember(Name = "ReceivingTouchdowns", Order = 25)] + public int? ReceivingTouchdowns { get; set; } + + /// + /// Times fumbled on the play + /// + [Description("Times fumbled on the play")] + [DataMember(Name = "Fumbles", Order = 26)] + public int? Fumbles { get; set; } + + /// + /// Fumbles lost on the play + /// + [Description("Fumbles lost on the play")] + [DataMember(Name = "FumblesLost", Order = 27)] + public int? FumblesLost { get; set; } + + /// + /// Two point conversion attempts on the play + /// + [Description("Two point conversion attempts on the play")] + [DataMember(Name = "TwoPointConversionAttempts", Order = 28)] + public int? TwoPointConversionAttempts { get; set; } + + /// + /// Two point conversion passes on the play + /// + [Description("Two point conversion passes on the play")] + [DataMember(Name = "TwoPointConversionPasses", Order = 29)] + public int? TwoPointConversionPasses { get; set; } + + /// + /// Two point conversion runs on the play + /// + [Description("Two point conversion runs on the play")] + [DataMember(Name = "TwoPointConversionRuns", Order = 30)] + public int? TwoPointConversionRuns { get; set; } + + /// + /// Two point conversion receptions on the play + /// + [Description("Two point conversion receptions on the play")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 31)] + public int? TwoPointConversionReceptions { get; set; } + + /// + /// Two point conversion returns on the play + /// + [Description("Two point conversion returns on the play")] + [DataMember(Name = "TwoPointConversionReturns", Order = 32)] + public int? TwoPointConversionReturns { get; set; } + + /// + /// Solo tackles on the play + /// + [Description("Solo tackles on the play")] + [DataMember(Name = "SoloTackles", Order = 33)] + public int? SoloTackles { get; set; } + + /// + /// Assisted tackles on the play + /// + [Description("Assisted tackles on the play")] + [DataMember(Name = "AssistedTackles", Order = 34)] + public int? AssistedTackles { get; set; } + + /// + /// Tackles for loss of yards on the play + /// + [Description("Tackles for loss of yards on the play")] + [DataMember(Name = "TacklesForLoss", Order = 35)] + public int? TacklesForLoss { get; set; } + + /// + /// Sacks by this player on the play + /// + [Description("Sacks by this player on the play")] + [DataMember(Name = "Sacks", Order = 36)] + public decimal? Sacks { get; set; } + + /// + /// Sack yards by this player on the play + /// + [Description("Sack yards by this player on the play")] + [DataMember(Name = "SackYards", Order = 37)] + public decimal? SackYards { get; set; } + + /// + /// Passes defended on the play + /// + [Description("Passes defended on the play")] + [DataMember(Name = "PassesDefended", Order = 38)] + public int? PassesDefended { get; set; } + + /// + /// Safeties scored by this player on the play + /// + [Description("Safeties scored by this player on the play")] + [DataMember(Name = "Safeties", Order = 39)] + public int? Safeties { get; set; } + + /// + /// Fumbles forced on the play + /// + [Description("Fumbles forced on the play")] + [DataMember(Name = "FumblesForced", Order = 40)] + public int? FumblesForced { get; set; } + + /// + /// Fumbles recovered on the play + /// + [Description("Fumbles recovered on the play")] + [DataMember(Name = "FumblesRecovered", Order = 41)] + public int? FumblesRecovered { get; set; } + + /// + /// Fumble recovery return yards on the play + /// + [Description("Fumble recovery return yards on the play")] + [DataMember(Name = "FumbleReturnYards", Order = 42)] + public int? FumbleReturnYards { get; set; } + + /// + /// Fumble recoveries returned for touchdowns on the play + /// + [Description("Fumble recoveries returned for touchdowns on the play")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 43)] + public int? FumbleReturnTouchdowns { get; set; } + + /// + /// Interceptions made on the play + /// + [Description("Interceptions made on the play")] + [DataMember(Name = "Interceptions", Order = 44)] + public int? Interceptions { get; set; } + + /// + /// Interception return yards on the play + /// + [Description("Interception return yards on the play")] + [DataMember(Name = "InterceptionReturnYards", Order = 45)] + public int? InterceptionReturnYards { get; set; } + + /// + /// Interception return touchdowns on the play + /// + [Description("Interception return touchdowns on the play")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 46)] + public int? InterceptionReturnTouchdowns { get; set; } + + /// + /// Punts returned on the play + /// + [Description("Punts returned on the play")] + [DataMember(Name = "PuntReturns", Order = 47)] + public int? PuntReturns { get; set; } + + /// + /// Punt return yards on the play + /// + [Description("Punt return yards on the play")] + [DataMember(Name = "PuntReturnYards", Order = 48)] + public int? PuntReturnYards { get; set; } + + /// + /// Punt returns for touchdowns on the play + /// + [Description("Punt returns for touchdowns on the play")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 49)] + public int? PuntReturnTouchdowns { get; set; } + + /// + /// Kicks returned on the play + /// + [Description("Kicks returned on the play")] + [DataMember(Name = "KickReturns", Order = 50)] + public int? KickReturns { get; set; } + + /// + /// Kick return yards on the play + /// + [Description("Kick return yards on the play")] + [DataMember(Name = "KickReturnYards", Order = 51)] + public int? KickReturnYards { get; set; } + + /// + /// Kick return touchdowns on the play + /// + [Description("Kick return touchdowns on the play")] + [DataMember(Name = "KickReturnTouchdowns", Order = 52)] + public int? KickReturnTouchdowns { get; set; } + + /// + /// Blocked kicks on the play + /// + [Description("Blocked kicks on the play")] + [DataMember(Name = "BlockedKicks", Order = 53)] + public int? BlockedKicks { get; set; } + + /// + /// Blocked kick returns on the play + /// + [Description("Blocked kick returns on the play")] + [DataMember(Name = "BlockedKickReturns", Order = 54)] + public int? BlockedKickReturns { get; set; } + + /// + /// Blocked kick return yards on the play + /// + [Description("Blocked kick return yards on the play")] + [DataMember(Name = "BlockedKickReturnYards", Order = 55)] + public int? BlockedKickReturnYards { get; set; } + + /// + /// Blocked kick return touchdowns on the play + /// + [Description("Blocked kick return touchdowns on the play")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 56)] + public int? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal returns on the play + /// + [Description("Field goal returns on the play")] + [DataMember(Name = "FieldGoalReturns", Order = 57)] + public int? FieldGoalReturns { get; set; } + + /// + /// Field goal return yards on the play + /// + [Description("Field goal return yards on the play")] + [DataMember(Name = "FieldGoalReturnYards", Order = 58)] + public int? FieldGoalReturnYards { get; set; } + + /// + /// Field goal return touchdowns on the play + /// + [Description("Field goal return touchdowns on the play")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 59)] + public int? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Kickoffs by this player on the play + /// + [Description("Kickoffs by this player on the play")] + [DataMember(Name = "Kickoffs", Order = 60)] + public int? Kickoffs { get; set; } + + /// + /// Gross kickoff yards by this player on the play + /// + [Description("Gross kickoff yards by this player on the play")] + [DataMember(Name = "KickoffYards", Order = 61)] + public int? KickoffYards { get; set; } + + /// + /// Kickoff touchbacks on the play + /// + [Description("Kickoff touchbacks on the play")] + [DataMember(Name = "KickoffTouchbacks", Order = 62)] + public int? KickoffTouchbacks { get; set; } + + /// + /// Punts by this player on the play + /// + [Description("Punts by this player on the play")] + [DataMember(Name = "Punts", Order = 63)] + public int? Punts { get; set; } + + /// + /// Gross punt yards by this player on the play + /// + [Description("Gross punt yards by this player on the play")] + [DataMember(Name = "PuntYards", Order = 64)] + public int? PuntYards { get; set; } + + /// + /// Punt touchbacks by this player on the play + /// + [Description("Punt touchbacks by this player on the play")] + [DataMember(Name = "PuntTouchbacks", Order = 65)] + public int? PuntTouchbacks { get; set; } + + /// + /// Punts by this player that were blocked on the play + /// + [Description("Punts by this player that were blocked on the play")] + [DataMember(Name = "PuntsHadBlocked", Order = 66)] + public int? PuntsHadBlocked { get; set; } + + /// + /// Field goals attempted on the play + /// + [Description("Field goals attempted on the play")] + [DataMember(Name = "FieldGoalsAttempted", Order = 67)] + public int? FieldGoalsAttempted { get; set; } + + /// + /// Field goals made on the play + /// + [Description("Field goals made on the play")] + [DataMember(Name = "FieldGoalsMade", Order = 68)] + public int? FieldGoalsMade { get; set; } + + /// + /// Field goal yards attempted on the play + /// + [Description("Field goal yards attempted on the play")] + [DataMember(Name = "FieldGoalsYards", Order = 69)] + public int? FieldGoalsYards { get; set; } + + /// + /// Field goals attempted by this player that were blocked on the play + /// + [Description("Field goals attempted by this player that were blocked on the play")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 70)] + public int? FieldGoalsHadBlocked { get; set; } + + /// + /// Extra points attempted by this player on the play + /// + [Description("Extra points attempted by this player on the play")] + [DataMember(Name = "ExtraPointsAttempted", Order = 71)] + public int? ExtraPointsAttempted { get; set; } + + /// + /// Extra points made by this player on the play + /// + [Description("Extra points made by this player on the play")] + [DataMember(Name = "ExtraPointsMade", Order = 72)] + public int? ExtraPointsMade { get; set; } + + /// + /// Extra point attempts by this player that were blocked on the play + /// + [Description("Extra point attempts by this player that were blocked on the play")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 73)] + public int? ExtraPointsHadBlocked { get; set; } + + /// + /// Penalties enforced against this player on the play + /// + [Description("Penalties enforced against this player on the play")] + [DataMember(Name = "Penalties", Order = 74)] + public int? Penalties { get; set; } + + /// + /// Penalty yards enforced against this player on the play + /// + [Description("Penalty yards enforced against this player on the play")] + [DataMember(Name = "PenaltyYards", Order = 75)] + public int? PenaltyYards { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Player.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Player.cs new file mode 100644 index 0000000..50dcc8b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Player.cs @@ -0,0 +1,531 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The abbreviation of the team this player is employed by, or if currently unemployed, the most recent team this player was employed by. + /// + [Description("The abbreviation of the team this player is employed by, or if currently unemployed, the most recent team this player was employed by.")] + [DataMember(Name = "Team", Order = 2)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 3)] + public int? Number { get; set; } + + /// + /// Player's first name + /// + [Description("Player's first name")] + [DataMember(Name = "FirstName", Order = 4)] + public string FirstName { get; set; } + + /// + /// Player's last name + /// + [Description("Player's last name")] + [DataMember(Name = "LastName", Order = 5)] + public string LastName { get; set; } + + /// + /// Player's primary position. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's primary position. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 6)] + public string Position { get; set; } + + /// + /// The player's current status. Possible values include Active, Inactive, Injured Reserve, Physically Unable to Perform, Practice Squad, Suspended and Non Football Injury. Inactive indicates that this player is a free agent. Active indicates that this player is on his team's active roster. + /// + [Description("The player's current status. Possible values include Active, Inactive, Injured Reserve, Physically Unable to Perform, Practice Squad, Suspended and Non Football Injury. Inactive indicates that this player is a free agent. Active indicates that this player is on his team's active roster.")] + [DataMember(Name = "Status", Order = 7)] + public string Status { get; set; } + + /// + /// Height in feet, inches + /// + [Description("Height in feet, inches")] + [DataMember(Name = "Height", Order = 8)] + public string Height { get; set; } + + /// + /// Weight in pounds + /// + [Description("Weight in pounds")] + [DataMember(Name = "Weight", Order = 9)] + public int? Weight { get; set; } + + /// + /// Date of birth + /// + [Description("Date of birth")] + [DataMember(Name = "BirthDate", Order = 10)] + public DateTime? BirthDate { get; set; } + + /// + /// College + /// + [Description("College")] + [DataMember(Name = "College", Order = 11)] + public string College { get; set; } + + /// + /// Number of years experience. This number is incremented every year, in the Spring, when we load the rookies following the NFL Draft. Rookies will have Experience = Zero, while second year players will have Experience = 2. + /// + [Description("Number of years experience. This number is incremented every year, in the Spring, when we load the rookies following the NFL Draft. Rookies will have Experience = Zero, while second year players will have Experience = 2.")] + [DataMember(Name = "Experience", Order = 12)] + public int? Experience { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 13)] + public string FantasyPosition { get; set; } + + /// + /// Whether the player is currently under contract with an NFL team + /// + [Description("Whether the player is currently under contract with an NFL team")] + [DataMember(Name = "Active", Order = 14)] + public bool? Active { get; set; } + + /// + /// The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST) + /// + [Description("The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 15)] + public string PositionCategory { get; set; } + + /// + /// Full name of the player (Cam Newton, Aaron Rodgers, etc.) + /// + [Description("Full name of the player (Cam Newton, Aaron Rodgers, etc.)")] + [DataMember(Name = "Name", Order = 16)] + public string Name { get; set; } + + /// + /// The player's current age + /// + [Description("The player's current age")] + [DataMember(Name = "Age", Order = 17)] + public int? Age { get; set; } + + /// + /// The player's experience converted to a string + /// + [Description("The player's experience converted to a string")] + [DataMember(Name = "ExperienceString", Order = 18)] + public string ExperienceString { get; set; } + + /// + /// The player's date of birth converted to a string + /// + [Description("The player's date of birth converted to a string")] + [DataMember(Name = "BirthDateString", Order = 19)] + public string BirthDateString { get; set; } + + /// + /// The url of the player's photo hosted on FantasyData.com (http://static.fantasydata.com/images/nfl/player/2593.jpg) + /// + [Description("The url of the player's photo hosted on FantasyData.com (http://static.fantasydata.com/images/nfl/player/2593.jpg)")] + [DataMember(Name = "PhotoUrl", Order = 20)] + public string PhotoUrl { get; set; } + + /// + /// The week the player is on Bye for the upcoming or current season + /// + [Description("The week the player is on Bye for the upcoming or current season")] + [DataMember(Name = "ByeWeek", Order = 21)] + public int? ByeWeek { get; set; } + + /// + /// The opponent the player is playing in the upcoming week + /// + [Description("The opponent the player is playing in the upcoming week")] + [DataMember(Name = "UpcomingGameOpponent", Order = 22)] + public string UpcomingGameOpponent { get; set; } + + /// + /// The week of the player's upcoming game (this will be the upcoming week unless the player is on Bye that week, which would bump it to the next week) + /// + [Description("The week of the player's upcoming game (this will be the upcoming week unless the player is on Bye that week, which would bump it to the next week)")] + [DataMember(Name = "UpcomingGameWeek", Order = 23)] + public int UpcomingGameWeek { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 24)] + public string ShortName { get; set; } + + /// + /// The average draft position of the player for the upcoming season's fantasy football draft + /// + [Description("The average draft position of the player for the upcoming season's fantasy football draft")] + [DataMember(Name = "AverageDraftPosition", Order = 25)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The category (Offense, Defense or Special Teams) of the players DepthPositionCategory (OFF, DEF, ST) + /// + [Description("The category (Offense, Defense or Special Teams) of the players DepthPositionCategory (OFF, DEF, ST)")] + [DataMember(Name = "DepthPositionCategory", Order = 26)] + public string DepthPositionCategory { get; set; } + + /// + /// The position this player is listed at on his team's depth chart (e.g. QB, LWR, RDE, LILB) + /// + [Description("The position this player is listed at on his team's depth chart (e.g. QB, LWR, RDE, LILB)")] + [DataMember(Name = "DepthPosition", Order = 27)] + public string DepthPosition { get; set; } + + /// + /// The order this player is at his position (1 = Starter, 2 = Backup, 3 = 3rd String) + /// + [Description("The order this player is at his position (1 = Starter, 2 = Backup, 3 = 3rd String)")] + [DataMember(Name = "DepthOrder", Order = 28)] + public int? DepthOrder { get; set; } + + /// + /// The display order of the positions (for display purposes) + /// + [Description("The display order of the positions (for display purposes)")] + [DataMember(Name = "DepthDisplayOrder", Order = 29)] + public int? DepthDisplayOrder { get; set; } + + /// + /// The team who currently employs this player. This value is null when this player is unemployed. + /// + [Description("The team who currently employs this player. This value is null when this player is unemployed.")] + [DataMember(Name = "CurrentTeam", Order = 30)] + public string CurrentTeam { get; set; } + + /// + /// The team who drafted this player. If this player was an Undrafted Free Agent, then it's the team who first signed him as a rookie. + /// + [Description("The team who drafted this player. If this player was an Undrafted Free Agent, then it's the team who first signed him as a rookie.")] + [DataMember(Name = "CollegeDraftTeam", Order = 31)] + public string CollegeDraftTeam { get; set; } + + /// + /// The year this player entered the NFL as rookie. + /// + [Description("The year this player entered the NFL as rookie.")] + [DataMember(Name = "CollegeDraftYear", Order = 32)] + public int? CollegeDraftYear { get; set; } + + /// + /// The round this player was drafted in. + /// + [Description("The round this player was drafted in.")] + [DataMember(Name = "CollegeDraftRound", Order = 33)] + public int? CollegeDraftRound { get; set; } + + /// + /// The overall pick in the draft this player was selected. + /// + [Description("The overall pick in the draft this player was selected.")] + [DataMember(Name = "CollegeDraftPick", Order = 34)] + public int? CollegeDraftPick { get; set; } + + /// + /// Whether this player was an undrafted free agent. This value is True if the player was drafted. + /// + [Description("Whether this player was an undrafted free agent. This value is True if the player was drafted.")] + [DataMember(Name = "IsUndraftedFreeAgent", Order = 35)] + public bool IsUndraftedFreeAgent { get; set; } + + /// + /// The feet component of a player's height (if player is 6'3", then this value would be 6) + /// + [Description("The feet component of a player's height (if player is 6'3\", then this value would be 6)")] + [DataMember(Name = "HeightFeet", Order = 36)] + public int? HeightFeet { get; set; } + + /// + /// The inches component of a player's height (if player is 6'3", then this value would be 3) + /// + [Description("The inches component of a player's height (if player is 6'3\", then this value would be 3)")] + [DataMember(Name = "HeightInches", Order = 37)] + public int? HeightInches { get; set; } + + /// + /// The player's upcoming opponent's rank in fantasy points allowed. + /// + [Description("The player's upcoming opponent's rank in fantasy points allowed.")] + [DataMember(Name = "UpcomingOpponentRank", Order = 38)] + public int? UpcomingOpponentRank { get; set; } + + /// + /// The player's upcoming opponent's rank in fantasy points allowed to his fantasy position. + /// + [Description("The player's upcoming opponent's rank in fantasy points allowed to his fantasy position.")] + [DataMember(Name = "UpcomingOpponentPositionRank", Order = 39)] + public int? UpcomingOpponentPositionRank { get; set; } + + /// + /// The player's current status, aggregated from Status and Injury Status (possible values are: Suspended, Injured Reserve, Non Football Injury, Physically Unable To Perform, Free Agent, Practice Squad, Healthy, Probable, Questionable, Doubtful, Out) + /// + [Description("The player's current status, aggregated from Status and Injury Status (possible values are: Suspended, Injured Reserve, Non Football Injury, Physically Unable To Perform, Free Agent, Practice Squad, Healthy, Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "CurrentStatus", Order = 40)] + public string CurrentStatus { get; set; } + + /// + /// The player's salary for the upcoming week in accordance with a $50,000 salary cap. This is used for daily fantasy sports salary cap contests. Salaries represent those published by DraftKings. When DraftKings doesn't publish a salary for a given game, the most recent DraftKings salary is used. + /// + [Description("The player's salary for the upcoming week in accordance with a $50,000 salary cap. This is used for daily fantasy sports salary cap contests. Salaries represent those published by DraftKings. When DraftKings doesn't publish a salary for a given game, the most recent DraftKings salary is used.")] + [DataMember(Name = "UpcomingSalary", Order = 41)] + public int? UpcomingSalary { get; set; } + + /// + /// The player's cross reference PlayerID to the FantasyAlarm news feed. + /// + [Description("The player's cross reference PlayerID to the FantasyAlarm news feed.")] + [DataMember(Name = "FantasyAlarmPlayerID", Order = 42)] + public int? FantasyAlarmPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the SportRadar API. + /// + [Description("The player's cross reference PlayerID to the SportRadar API.")] + [DataMember(Name = "SportRadarPlayerID", Order = 43)] + public string SportRadarPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the Rotoworld news feed. + /// + [Description("The player's cross reference PlayerID to the Rotoworld news feed.")] + [DataMember(Name = "RotoworldPlayerID", Order = 44)] + public int? RotoworldPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the RotoWire news feed. + /// + [Description("The player's cross reference PlayerID to the RotoWire news feed.")] + [DataMember(Name = "RotoWirePlayerID", Order = 45)] + public int? RotoWirePlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the STATS data feeds. + /// + [Description("The player's cross reference PlayerID to the STATS data feeds.")] + [DataMember(Name = "StatsPlayerID", Order = 46)] + public int? StatsPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the SportsDirect data feeds. + /// + [Description("The player's cross reference PlayerID to the SportsDirect data feeds.")] + [DataMember(Name = "SportsDirectPlayerID", Order = 47)] + public int? SportsDirectPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the XML Team data feeds. + /// + [Description("The player's cross reference PlayerID to the XML Team data feeds.")] + [DataMember(Name = "XmlTeamPlayerID", Order = 48)] + public int? XmlTeamPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to FanDuel. + /// + [Description("The player's cross reference PlayerID to FanDuel.")] + [DataMember(Name = "FanDuelPlayerID", Order = 49)] + public int? FanDuelPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to DraftKings. + /// + [Description("The player's cross reference PlayerID to DraftKings.")] + [DataMember(Name = "DraftKingsPlayerID", Order = 50)] + public int? DraftKingsPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to Yahoo Daily Fantasy Sports Contests. + /// + [Description("The player's cross reference PlayerID to Yahoo Daily Fantasy Sports Contests.")] + [DataMember(Name = "YahooPlayerID", Order = 51)] + public int? YahooPlayerID { get; set; } + + /// + /// The player's current injury status, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("The player's current injury status, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "InjuryStatus", Order = 52)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 53)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 54)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 55)] + public string InjuryNotes { get; set; } + + /// + /// The player's full name in FanDuel's daily fantasy sports platform. + /// + [Description("The player's full name in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelName", Order = 56)] + public string FanDuelName { get; set; } + + /// + /// The player's full name in DraftKings' daily fantasy sports platform. + /// + [Description("The player's full name in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsName", Order = 57)] + public string DraftKingsName { get; set; } + + /// + /// The player's full name in Yahoo's daily fantasy sports platform. + /// + [Description("The player's full name in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooName", Order = 58)] + public string YahooName { get; set; } + + /// + /// The order this player is at his team's FantasyPosition + /// + [Description("The order this player is at his team's FantasyPosition")] + [DataMember(Name = "FantasyPositionDepthOrder", Order = 59)] + public int? FantasyPositionDepthOrder { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPractice", Order = 60)] + public string InjuryPractice { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPracticeDescription", Order = 61)] + public string InjuryPracticeDescription { get; set; } + + /// + /// Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE) + /// + [Description("Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE)")] + [DataMember(Name = "DeclaredInactive", Order = 62)] + public bool DeclaredInactive { get; set; } + + /// + /// The player's FanDuel salary for the upcoming week. + /// + [Description("The player's FanDuel salary for the upcoming week.")] + [DataMember(Name = "UpcomingFanDuelSalary", Order = 63)] + public int? UpcomingFanDuelSalary { get; set; } + + /// + /// The player's DraftKings salary for the upcoming week. + /// + [Description("The player's DraftKings salary for the upcoming week.")] + [DataMember(Name = "UpcomingDraftKingsSalary", Order = 64)] + public int? UpcomingDraftKingsSalary { get; set; } + + /// + /// The player's Yahoo salary for the upcoming week. + /// + [Description("The player's Yahoo salary for the upcoming week.")] + [DataMember(Name = "UpcomingYahooSalary", Order = 65)] + public int? UpcomingYahooSalary { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 66)] + public int? TeamID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 67)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's cross reference PlayerID to FantasyDraft. + /// + [Description("The player's cross reference PlayerID to FantasyDraft.")] + [DataMember(Name = "FantasyDraftPlayerID", Order = 68)] + public int? FantasyDraftPlayerID { get; set; } + + /// + /// The player's full name in FantasyDraft's daily fantasy sports platform. + /// + [Description("The player's full name in FantasyDraft's daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftName", Order = 69)] + public string FantasyDraftName { get; set; } + + /// + /// The player's cross reference PlayerID to USA Today headshot data feeds. + /// + [Description("The player's cross reference PlayerID to USA Today headshot data feeds.")] + [DataMember(Name = "UsaTodayPlayerID", Order = 70)] + public int? UsaTodayPlayerID { get; set; } + + /// + /// The player's headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUrl", Order = 71)] + public string UsaTodayHeadshotUrl { get; set; } + + /// + /// The player's transparent background headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's transparent background headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUrl", Order = 72)] + public string UsaTodayHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUpdated", Order = 73)] + public DateTime? UsaTodayHeadshotUpdated { get; set; } + + /// + /// The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUpdated", Order = 74)] + public DateTime? UsaTodayHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerDefense.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerDefense.cs new file mode 100644 index 0000000..f28f834 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerDefense.cs @@ -0,0 +1,195 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerDefense")] + [Serializable] + public partial class PlayerDefense + { + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 1)] + public int? PlayerGameID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 3)] + public string ShortName { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 6)] + public int Number { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 9)] + public string FantasyPosition { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// The date and time that this player game was last updated (US Eastern Time) + /// + [Description("The date and time that this player game was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// Sum of SoloTackles and AssistedTackles + /// + [Description("Sum of SoloTackles and AssistedTackles")] + [DataMember(Name = "Tackles", Order = 12)] + public int Tackles { get; set; } + + /// + /// Solo, unassisted tackles + /// + [Description("Solo, unassisted tackles")] + [DataMember(Name = "SoloTackles", Order = 13)] + public int SoloTackles { get; set; } + + /// + /// Assisted tackles (also called a half tackle) + /// + [Description("Assisted tackles (also called a half tackle)")] + [DataMember(Name = "AssistedTackles", Order = 14)] + public int AssistedTackles { get; set; } + + /// + /// Sacks of the opposing quarterback + /// + [Description("Sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 15)] + public decimal Sacks { get; set; } + + /// + /// Yards lost as a result of sacking the opposing quarterback + /// + [Description("Yards lost as a result of sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 16)] + public int SackYards { get; set; } + + /// + /// Number of fumbles forced + /// + [Description("Number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 17)] + public int FumblesForced { get; set; } + + /// + /// Number of fumbles recovered + /// + [Description("Number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 18)] + public int FumblesRecovered { get; set; } + + /// + /// Passes defended or batted down + /// + [Description("Passes defended or batted down")] + [DataMember(Name = "PassesDefended", Order = 19)] + public int PassesDefended { get; set; } + + /// + /// Number of interceptions + /// + [Description("Number of interceptions")] + [DataMember(Name = "Interceptions", Order = 20)] + public int Interceptions { get; set; } + + /// + /// Return yards from interceptions + /// + [Description("Return yards from interceptions")] + [DataMember(Name = "InterceptionReturnYards", Order = 21)] + public int InterceptionReturnYards { get; set; } + + /// + /// Return touchdowns from interceptions + /// + [Description("Return touchdowns from interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 22)] + public int InterceptionReturnTouchdowns { get; set; } + + /// + /// Tackles behind the opponent's line of scrimmage + /// + [Description("Tackles behind the opponent's line of scrimmage")] + [DataMember(Name = "TacklesForLoss", Order = 23)] + public int? TacklesForLoss { get; set; } + + /// + /// Number of times hitting an opposing quarterback without sacking him + /// + [Description("Number of times hitting an opposing quarterback without sacking him")] + [DataMember(Name = "QuarterbackHits", Order = 24)] + public int QuarterbackHits { get; set; } + + /// + /// Return touchdowns from fumble recoveries + /// + [Description("Return touchdowns from fumble recoveries")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 25)] + public int FumbleReturnTouchdowns { get; set; } + + /// + /// Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone) + /// + [Description("Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone)")] + [DataMember(Name = "Safeties", Order = 26)] + public int Safeties { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerDetail.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerDetail.cs new file mode 100644 index 0000000..9db42bf --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerDetail.cs @@ -0,0 +1,545 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerDetail")] + [Serializable] + public partial class PlayerDetail + { + /// + /// The latest regular season stats for this player + /// + [Description("The latest regular season stats for this player")] + [DataMember(Name = "PlayerSeason", Order = 10001)] + public PlayerSeason PlayerSeason { get; set; } + + /// + /// The latest news associated with this player + /// + [Description("The latest news associated with this player")] + [DataMember(Name = "LatestNews", Order = 20002)] + public News[] LatestNews { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int PlayerID { get; set; } + + /// + /// The abbreviation of the team this player is employed by, or if currently unemployed, the most recent team this player was employed by. + /// + [Description("The abbreviation of the team this player is employed by, or if currently unemployed, the most recent team this player was employed by.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 5)] + public int? Number { get; set; } + + /// + /// Player's first name + /// + [Description("Player's first name")] + [DataMember(Name = "FirstName", Order = 6)] + public string FirstName { get; set; } + + /// + /// Player's last name + /// + [Description("Player's last name")] + [DataMember(Name = "LastName", Order = 7)] + public string LastName { get; set; } + + /// + /// Player's primary position. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's primary position. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The player's current status. Possible values include Active, Inactive, Injured Reserve, Physically Unable to Perform, Practice Squad, Suspended and Non Football Injury. Inactive indicates that this player is a free agent. Active indicates that this player is on his team's active roster. + /// + [Description("The player's current status. Possible values include Active, Inactive, Injured Reserve, Physically Unable to Perform, Practice Squad, Suspended and Non Football Injury. Inactive indicates that this player is a free agent. Active indicates that this player is on his team's active roster.")] + [DataMember(Name = "Status", Order = 9)] + public string Status { get; set; } + + /// + /// Height in feet, inches + /// + [Description("Height in feet, inches")] + [DataMember(Name = "Height", Order = 10)] + public string Height { get; set; } + + /// + /// Weight in pounds + /// + [Description("Weight in pounds")] + [DataMember(Name = "Weight", Order = 11)] + public int? Weight { get; set; } + + /// + /// Date of birth + /// + [Description("Date of birth")] + [DataMember(Name = "BirthDate", Order = 12)] + public DateTime? BirthDate { get; set; } + + /// + /// College + /// + [Description("College")] + [DataMember(Name = "College", Order = 13)] + public string College { get; set; } + + /// + /// Number of years experience. This number is incremented every year, in the Spring, when we load the rookies following the NFL Draft. Rookies will have Experience = Zero, while second year players will have Experience = 2. + /// + [Description("Number of years experience. This number is incremented every year, in the Spring, when we load the rookies following the NFL Draft. Rookies will have Experience = Zero, while second year players will have Experience = 2.")] + [DataMember(Name = "Experience", Order = 14)] + public int? Experience { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 15)] + public string FantasyPosition { get; set; } + + /// + /// Whether the player is currently under contract with an NFL team + /// + [Description("Whether the player is currently under contract with an NFL team")] + [DataMember(Name = "Active", Order = 16)] + public bool? Active { get; set; } + + /// + /// The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST) + /// + [Description("The category (Offense, Defense or Special Teams) of the players position (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 17)] + public string PositionCategory { get; set; } + + /// + /// Full name of the player (Cam Newton, Aaron Rodgers, etc.) + /// + [Description("Full name of the player (Cam Newton, Aaron Rodgers, etc.)")] + [DataMember(Name = "Name", Order = 18)] + public string Name { get; set; } + + /// + /// The player's current age + /// + [Description("The player's current age")] + [DataMember(Name = "Age", Order = 19)] + public int? Age { get; set; } + + /// + /// The player's experience converted to a string + /// + [Description("The player's experience converted to a string")] + [DataMember(Name = "ExperienceString", Order = 20)] + public string ExperienceString { get; set; } + + /// + /// The player's date of birth converted to a string + /// + [Description("The player's date of birth converted to a string")] + [DataMember(Name = "BirthDateString", Order = 21)] + public string BirthDateString { get; set; } + + /// + /// The url of the player's photo hosted on FantasyData.com (http://static.fantasydata.com/images/nfl/player/2593.jpg) + /// + [Description("The url of the player's photo hosted on FantasyData.com (http://static.fantasydata.com/images/nfl/player/2593.jpg)")] + [DataMember(Name = "PhotoUrl", Order = 22)] + public string PhotoUrl { get; set; } + + /// + /// The week the player is on Bye for the upcoming or current season + /// + [Description("The week the player is on Bye for the upcoming or current season")] + [DataMember(Name = "ByeWeek", Order = 23)] + public int? ByeWeek { get; set; } + + /// + /// The opponent the player is playing in the upcoming week + /// + [Description("The opponent the player is playing in the upcoming week")] + [DataMember(Name = "UpcomingGameOpponent", Order = 24)] + public string UpcomingGameOpponent { get; set; } + + /// + /// The week of the player's upcoming game (this will be the upcoming week unless the player is on Bye that week, which would bump it to the next week) + /// + [Description("The week of the player's upcoming game (this will be the upcoming week unless the player is on Bye that week, which would bump it to the next week)")] + [DataMember(Name = "UpcomingGameWeek", Order = 25)] + public int UpcomingGameWeek { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 26)] + public string ShortName { get; set; } + + /// + /// The average draft position of the player for the upcoming season's fantasy football draft + /// + [Description("The average draft position of the player for the upcoming season's fantasy football draft")] + [DataMember(Name = "AverageDraftPosition", Order = 27)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The category (Offense, Defense or Special Teams) of the players DepthPositionCategory (OFF, DEF, ST) + /// + [Description("The category (Offense, Defense or Special Teams) of the players DepthPositionCategory (OFF, DEF, ST)")] + [DataMember(Name = "DepthPositionCategory", Order = 28)] + public string DepthPositionCategory { get; set; } + + /// + /// The position this player is listed at on his team's depth chart (e.g. QB, LWR, RDE, LILB) + /// + [Description("The position this player is listed at on his team's depth chart (e.g. QB, LWR, RDE, LILB)")] + [DataMember(Name = "DepthPosition", Order = 29)] + public string DepthPosition { get; set; } + + /// + /// The order this player is at his position (1 = Starter, 2 = Backup, 3 = 3rd String) + /// + [Description("The order this player is at his position (1 = Starter, 2 = Backup, 3 = 3rd String)")] + [DataMember(Name = "DepthOrder", Order = 30)] + public int? DepthOrder { get; set; } + + /// + /// The display order of the positions (for display purposes) + /// + [Description("The display order of the positions (for display purposes)")] + [DataMember(Name = "DepthDisplayOrder", Order = 31)] + public int? DepthDisplayOrder { get; set; } + + /// + /// The team who currently employs this player. This value is null when this player is unemployed. + /// + [Description("The team who currently employs this player. This value is null when this player is unemployed.")] + [DataMember(Name = "CurrentTeam", Order = 32)] + public string CurrentTeam { get; set; } + + /// + /// The team who drafted this player. If this player was an Undrafted Free Agent, then it's the team who first signed him as a rookie. + /// + [Description("The team who drafted this player. If this player was an Undrafted Free Agent, then it's the team who first signed him as a rookie.")] + [DataMember(Name = "CollegeDraftTeam", Order = 33)] + public string CollegeDraftTeam { get; set; } + + /// + /// The year this player entered the NFL as rookie. + /// + [Description("The year this player entered the NFL as rookie.")] + [DataMember(Name = "CollegeDraftYear", Order = 34)] + public int? CollegeDraftYear { get; set; } + + /// + /// The round this player was drafted in. + /// + [Description("The round this player was drafted in.")] + [DataMember(Name = "CollegeDraftRound", Order = 35)] + public int? CollegeDraftRound { get; set; } + + /// + /// The overall pick in the draft this player was selected. + /// + [Description("The overall pick in the draft this player was selected.")] + [DataMember(Name = "CollegeDraftPick", Order = 36)] + public int? CollegeDraftPick { get; set; } + + /// + /// Whether this player was an undrafted free agent. This value is True if the player was drafted. + /// + [Description("Whether this player was an undrafted free agent. This value is True if the player was drafted.")] + [DataMember(Name = "IsUndraftedFreeAgent", Order = 37)] + public bool IsUndraftedFreeAgent { get; set; } + + /// + /// The feet component of a player's height (if player is 6'3", then this value would be 6) + /// + [Description("The feet component of a player's height (if player is 6'3\", then this value would be 6)")] + [DataMember(Name = "HeightFeet", Order = 38)] + public int? HeightFeet { get; set; } + + /// + /// The inches component of a player's height (if player is 6'3", then this value would be 3) + /// + [Description("The inches component of a player's height (if player is 6'3\", then this value would be 3)")] + [DataMember(Name = "HeightInches", Order = 39)] + public int? HeightInches { get; set; } + + /// + /// The player's upcoming opponent's rank in fantasy points allowed. + /// + [Description("The player's upcoming opponent's rank in fantasy points allowed.")] + [DataMember(Name = "UpcomingOpponentRank", Order = 40)] + public int? UpcomingOpponentRank { get; set; } + + /// + /// The player's upcoming opponent's rank in fantasy points allowed to his fantasy position. + /// + [Description("The player's upcoming opponent's rank in fantasy points allowed to his fantasy position.")] + [DataMember(Name = "UpcomingOpponentPositionRank", Order = 41)] + public int? UpcomingOpponentPositionRank { get; set; } + + /// + /// The player's current status, aggregated from Status and Injury Status (possible values are: Suspended, Injured Reserve, Non Football Injury, Physically Unable To Perform, Free Agent, Practice Squad, Healthy, Probable, Questionable, Doubtful, Out) + /// + [Description("The player's current status, aggregated from Status and Injury Status (possible values are: Suspended, Injured Reserve, Non Football Injury, Physically Unable To Perform, Free Agent, Practice Squad, Healthy, Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "CurrentStatus", Order = 42)] + public string CurrentStatus { get; set; } + + /// + /// The player's salary for the upcoming week in accordance with a $50,000 salary cap. This is used for daily fantasy sports salary cap contests. Salaries represent those published by DraftKings. When DraftKings doesn't publish a salary for a given game, the most recent DraftKings salary is used. + /// + [Description("The player's salary for the upcoming week in accordance with a $50,000 salary cap. This is used for daily fantasy sports salary cap contests. Salaries represent those published by DraftKings. When DraftKings doesn't publish a salary for a given game, the most recent DraftKings salary is used.")] + [DataMember(Name = "UpcomingSalary", Order = 43)] + public int? UpcomingSalary { get; set; } + + /// + /// The player's cross reference PlayerID to the FantasyAlarm news feed. + /// + [Description("The player's cross reference PlayerID to the FantasyAlarm news feed.")] + [DataMember(Name = "FantasyAlarmPlayerID", Order = 44)] + public int? FantasyAlarmPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the SportRadar API. + /// + [Description("The player's cross reference PlayerID to the SportRadar API.")] + [DataMember(Name = "SportRadarPlayerID", Order = 45)] + public string SportRadarPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the Rotoworld news feed. + /// + [Description("The player's cross reference PlayerID to the Rotoworld news feed.")] + [DataMember(Name = "RotoworldPlayerID", Order = 46)] + public int? RotoworldPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the RotoWire news feed. + /// + [Description("The player's cross reference PlayerID to the RotoWire news feed.")] + [DataMember(Name = "RotoWirePlayerID", Order = 47)] + public int? RotoWirePlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the STATS data feeds. + /// + [Description("The player's cross reference PlayerID to the STATS data feeds.")] + [DataMember(Name = "StatsPlayerID", Order = 48)] + public int? StatsPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the SportsDirect data feeds. + /// + [Description("The player's cross reference PlayerID to the SportsDirect data feeds.")] + [DataMember(Name = "SportsDirectPlayerID", Order = 49)] + public int? SportsDirectPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the XML Team data feeds. + /// + [Description("The player's cross reference PlayerID to the XML Team data feeds.")] + [DataMember(Name = "XmlTeamPlayerID", Order = 50)] + public int? XmlTeamPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to FanDuel. + /// + [Description("The player's cross reference PlayerID to FanDuel.")] + [DataMember(Name = "FanDuelPlayerID", Order = 51)] + public int? FanDuelPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to DraftKings. + /// + [Description("The player's cross reference PlayerID to DraftKings.")] + [DataMember(Name = "DraftKingsPlayerID", Order = 52)] + public int? DraftKingsPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to Yahoo Daily Fantasy Sports Contests. + /// + [Description("The player's cross reference PlayerID to Yahoo Daily Fantasy Sports Contests.")] + [DataMember(Name = "YahooPlayerID", Order = 53)] + public int? YahooPlayerID { get; set; } + + /// + /// The player's current injury status, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("The player's current injury status, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "InjuryStatus", Order = 54)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 55)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 56)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 57)] + public string InjuryNotes { get; set; } + + /// + /// The player's full name in FanDuel's daily fantasy sports platform. + /// + [Description("The player's full name in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelName", Order = 58)] + public string FanDuelName { get; set; } + + /// + /// The player's full name in DraftKings' daily fantasy sports platform. + /// + [Description("The player's full name in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsName", Order = 59)] + public string DraftKingsName { get; set; } + + /// + /// The player's full name in Yahoo's daily fantasy sports platform. + /// + [Description("The player's full name in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooName", Order = 60)] + public string YahooName { get; set; } + + /// + /// The order this player is at his team's FantasyPosition + /// + [Description("The order this player is at his team's FantasyPosition")] + [DataMember(Name = "FantasyPositionDepthOrder", Order = 61)] + public int? FantasyPositionDepthOrder { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPractice", Order = 62)] + public string InjuryPractice { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPracticeDescription", Order = 63)] + public string InjuryPracticeDescription { get; set; } + + /// + /// Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE) + /// + [Description("Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE)")] + [DataMember(Name = "DeclaredInactive", Order = 64)] + public bool DeclaredInactive { get; set; } + + /// + /// The player's FanDuel salary for the upcoming week. + /// + [Description("The player's FanDuel salary for the upcoming week.")] + [DataMember(Name = "UpcomingFanDuelSalary", Order = 65)] + public int? UpcomingFanDuelSalary { get; set; } + + /// + /// The player's DraftKings salary for the upcoming week. + /// + [Description("The player's DraftKings salary for the upcoming week.")] + [DataMember(Name = "UpcomingDraftKingsSalary", Order = 66)] + public int? UpcomingDraftKingsSalary { get; set; } + + /// + /// The player's Yahoo salary for the upcoming week. + /// + [Description("The player's Yahoo salary for the upcoming week.")] + [DataMember(Name = "UpcomingYahooSalary", Order = 67)] + public int? UpcomingYahooSalary { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 68)] + public int? TeamID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 69)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's cross reference PlayerID to FantasyDraft. + /// + [Description("The player's cross reference PlayerID to FantasyDraft.")] + [DataMember(Name = "FantasyDraftPlayerID", Order = 70)] + public int? FantasyDraftPlayerID { get; set; } + + /// + /// The player's full name in FantasyDraft's daily fantasy sports platform. + /// + [Description("The player's full name in FantasyDraft's daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftName", Order = 71)] + public string FantasyDraftName { get; set; } + + /// + /// The player's cross reference PlayerID to USA Today headshot data feeds. + /// + [Description("The player's cross reference PlayerID to USA Today headshot data feeds.")] + [DataMember(Name = "UsaTodayPlayerID", Order = 72)] + public int? UsaTodayPlayerID { get; set; } + + /// + /// The player's headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUrl", Order = 73)] + public string UsaTodayHeadshotUrl { get; set; } + + /// + /// The player's transparent background headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's transparent background headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUrl", Order = 74)] + public string UsaTodayHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUpdated", Order = 75)] + public DateTime? UsaTodayHeadshotUpdated { get; set; } + + /// + /// The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUpdated", Order = 76)] + public DateTime? UsaTodayHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGame.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGame.cs new file mode 100644 index 0000000..15a7e7d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGame.cs @@ -0,0 +1,1182 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerGame")] + [Serializable] + public partial class PlayerGame + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int Season { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "GameDate", Order = 5)] + public DateTime GameDate { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 6)] + public int Week { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The abbreviation of the Opponent + /// + [Description("The abbreviation of the Opponent")] + [DataMember(Name = "Opponent", Order = 8)] + public string Opponent { get; set; } + + /// + /// Whether the player is Home or Away + /// + [Description("Whether the player is Home or Away")] + [DataMember(Name = "HomeOrAway", Order = 9)] + public string HomeOrAway { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 10)] + public int Number { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 11)] + public string Name { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 12)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 13)] + public string PositionCategory { get; set; } + + /// + /// Whether the player was Active at gametime + /// + [Description("Whether the player was Active at gametime")] + [DataMember(Name = "Activated", Order = 14)] + public int Activated { get; set; } + + /// + /// Whether the player played in at least one play + /// + [Description("Whether the player played in at least one play")] + [DataMember(Name = "Played", Order = 15)] + public int Played { get; set; } + + /// + /// Whether the player started on offense or defense + /// + [Description("Whether the player started on offense or defense")] + [DataMember(Name = "Started", Order = 16)] + public int Started { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 17)] + public decimal PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 18)] + public decimal PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 19)] + public decimal PassingYards { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "PassingCompletionPercentage", Order = 20)] + public decimal PassingCompletionPercentage { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 21)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 22)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 23)] + public decimal PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 24)] + public decimal PassingInterceptions { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PassingRating", Order = 25)] + public decimal PassingRating { get; set; } + + /// + /// Longest completion + /// + [Description("Longest completion")] + [DataMember(Name = "PassingLong", Order = 26)] + public decimal PassingLong { get; set; } + + /// + /// Number of times sacked + /// + [Description("Number of times sacked")] + [DataMember(Name = "PassingSacks", Order = 27)] + public decimal PassingSacks { get; set; } + + /// + /// Yards lost as a result of being sacked + /// + [Description("Yards lost as a result of being sacked")] + [DataMember(Name = "PassingSackYards", Order = 28)] + public decimal PassingSackYards { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 29)] + public decimal RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 30)] + public decimal RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 31)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 32)] + public decimal RushingTouchdowns { get; set; } + + /// + /// Longest rush + /// + [Description("Longest rush")] + [DataMember(Name = "RushingLong", Order = 33)] + public decimal RushingLong { get; set; } + + /// + /// Number of times targeted by passer + /// + [Description("Number of times targeted by passer")] + [DataMember(Name = "ReceivingTargets", Order = 34)] + public decimal? ReceivingTargets { get; set; } + + /// + /// Number of receptions + /// + [Description("Number of receptions")] + [DataMember(Name = "Receptions", Order = 35)] + public decimal Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 36)] + public decimal ReceivingYards { get; set; } + + /// + /// Average yards gained per reception + /// + [Description("Average yards gained per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 37)] + public decimal ReceivingYardsPerReception { get; set; } + + /// + /// Receiving touchdowns + /// + [Description("Receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 38)] + public decimal ReceivingTouchdowns { get; set; } + + /// + /// Longest reception + /// + [Description("Longest reception")] + [DataMember(Name = "ReceivingLong", Order = 39)] + public decimal ReceivingLong { get; set; } + + /// + /// Times fumbled + /// + [Description("Times fumbled")] + [DataMember(Name = "Fumbles", Order = 40)] + public decimal Fumbles { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 41)] + public decimal? FumblesLost { get; set; } + + /// + /// Number of punt return attempts + /// + [Description("Number of punt return attempts")] + [DataMember(Name = "PuntReturns", Order = 42)] + public decimal PuntReturns { get; set; } + + /// + /// Total return yards on punts + /// + [Description("Total return yards on punts")] + [DataMember(Name = "PuntReturnYards", Order = 43)] + public decimal PuntReturnYards { get; set; } + + /// + /// Average yards gained per punt return + /// + [Description("Average yards gained per punt return")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 44)] + public decimal PuntReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on punt returns + /// + [Description("Number of touchdowns on punt returns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 45)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 46)] + public decimal PuntReturnLong { get; set; } + + /// + /// Number of kick return attempts + /// + [Description("Number of kick return attempts")] + [DataMember(Name = "KickReturns", Order = 47)] + public decimal KickReturns { get; set; } + + /// + /// Total return yards on kicks + /// + [Description("Total return yards on kicks")] + [DataMember(Name = "KickReturnYards", Order = 48)] + public decimal KickReturnYards { get; set; } + + /// + /// Average yards gained per kick return + /// + [Description("Average yards gained per kick return")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 49)] + public decimal KickReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on kick returns + /// + [Description("Number of touchdowns on kick returns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 50)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 51)] + public decimal KickReturnLong { get; set; } + + /// + /// Solo, unassisted tackles + /// + [Description("Solo, unassisted tackles")] + [DataMember(Name = "SoloTackles", Order = 52)] + public decimal SoloTackles { get; set; } + + /// + /// Assisted tackles (also called a half tackle) + /// + [Description("Assisted tackles (also called a half tackle)")] + [DataMember(Name = "AssistedTackles", Order = 53)] + public decimal AssistedTackles { get; set; } + + /// + /// Tackles behind the opponent's line of scrimmage + /// + [Description("Tackles behind the opponent's line of scrimmage")] + [DataMember(Name = "TacklesForLoss", Order = 54)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Sacks of the opposing quarterback + /// + [Description("Sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 55)] + public decimal Sacks { get; set; } + + /// + /// Yards lost as a result of sacking the opposing quarterback + /// + [Description("Yards lost as a result of sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 56)] + public decimal SackYards { get; set; } + + /// + /// Number of times hitting an opposing quarterback without sacking him + /// + [Description("Number of times hitting an opposing quarterback without sacking him")] + [DataMember(Name = "QuarterbackHits", Order = 57)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Passes defended or batted down + /// + [Description("Passes defended or batted down")] + [DataMember(Name = "PassesDefended", Order = 58)] + public decimal PassesDefended { get; set; } + + /// + /// Number of fumbles forced + /// + [Description("Number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 59)] + public decimal FumblesForced { get; set; } + + /// + /// Number of fumbles recovered + /// + [Description("Number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 60)] + public decimal FumblesRecovered { get; set; } + + /// + /// Return yards from fumble recoveries + /// + [Description("Return yards from fumble recoveries")] + [DataMember(Name = "FumbleReturnYards", Order = 61)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Return touchdowns from fumble recoveries + /// + [Description("Return touchdowns from fumble recoveries")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 62)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Number of interceptions + /// + [Description("Number of interceptions")] + [DataMember(Name = "Interceptions", Order = 63)] + public decimal Interceptions { get; set; } + + /// + /// Return yards from interceptions + /// + [Description("Return yards from interceptions")] + [DataMember(Name = "InterceptionReturnYards", Order = 64)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Return touchdowns from interceptions + /// + [Description("Return touchdowns from interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 65)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of field goals and punts blocked + /// + [Description("Total number of field goals and punts blocked")] + [DataMember(Name = "BlockedKicks", Order = 66)] + public decimal BlockedKicks { get; set; } + + /// + /// Solo tackles on kick and punt plays + /// + [Description("Solo tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsSoloTackles", Order = 67)] + public decimal SpecialTeamsSoloTackles { get; set; } + + /// + /// Assisted tackles on kick and punt plays + /// + [Description("Assisted tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsAssistedTackles", Order = 68)] + public decimal SpecialTeamsAssistedTackles { get; set; } + + /// + /// Solo tackles when playing offense (after a turnover) + /// + [Description("Solo tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscSoloTackles", Order = 69)] + public decimal MiscSoloTackles { get; set; } + + /// + /// Assisted tackles when playing offense (after a turnover) + /// + [Description("Assisted tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscAssistedTackles", Order = 70)] + public decimal MiscAssistedTackles { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 71)] + public decimal Punts { get; set; } + + /// + /// Total number of punt yards + /// + [Description("Total number of punt yards")] + [DataMember(Name = "PuntYards", Order = 72)] + public decimal PuntYards { get; set; } + + /// + /// Average yards per punt + /// + [Description("Average yards per punt")] + [DataMember(Name = "PuntAverage", Order = 73)] + public decimal PuntAverage { get; set; } + + /// + /// Number of field goal attempts + /// + [Description("Number of field goal attempts")] + [DataMember(Name = "FieldGoalsAttempted", Order = 74)] + public decimal FieldGoalsAttempted { get; set; } + + /// + /// Number of successful field goal attempts + /// + [Description("Number of successful field goal attempts")] + [DataMember(Name = "FieldGoalsMade", Order = 75)] + public decimal FieldGoalsMade { get; set; } + + /// + /// Longest successful field goal attempt + /// + [Description("Longest successful field goal attempt")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 76)] + public decimal FieldGoalsLongestMade { get; set; } + + /// + /// Number of successful extra points + /// + [Description("Number of successful extra points")] + [DataMember(Name = "ExtraPointsMade", Order = 77)] + public decimal ExtraPointsMade { get; set; } + + /// + /// Successful two point conversion passes + /// + [Description("Successful two point conversion passes")] + [DataMember(Name = "TwoPointConversionPasses", Order = 78)] + public decimal TwoPointConversionPasses { get; set; } + + /// + /// Successful two point conversion runs + /// + [Description("Successful two point conversion runs")] + [DataMember(Name = "TwoPointConversionRuns", Order = 79)] + public decimal TwoPointConversionRuns { get; set; } + + /// + /// Successful two point conversion receptions + /// + [Description("Successful two point conversion receptions")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 80)] + public decimal TwoPointConversionReceptions { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 81)] + public decimal FantasyPoints { get; set; } + + /// + /// Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPointsPPR", Order = 82)] + public decimal FantasyPointsPPR { get; set; } + + /// + /// Percentage of ReceivingTargets convert into Receptions + /// + [Description("Percentage of ReceivingTargets convert into Receptions")] + [DataMember(Name = "ReceptionPercentage", Order = 83)] + public decimal ReceptionPercentage { get; set; } + + /// + /// Average yards gained per ReceivingTargets + /// + [Description("Average yards gained per ReceivingTargets")] + [DataMember(Name = "ReceivingYardsPerTarget", Order = 84)] + public decimal ReceivingYardsPerTarget { get; set; } + + /// + /// Sum of SoloTackles and AssistedTackles + /// + [Description("Sum of SoloTackles and AssistedTackles")] + [DataMember(Name = "Tackles", Order = 85)] + public decimal Tackles { get; set; } + + /// + /// Offensive touchdowns scored + /// + [Description("Offensive touchdowns scored")] + [DataMember(Name = "OffensiveTouchdowns", Order = 86)] + public decimal OffensiveTouchdowns { get; set; } + + /// + /// Defensive touchdowns scored + /// + [Description("Defensive touchdowns scored")] + [DataMember(Name = "DefensiveTouchdowns", Order = 87)] + public decimal DefensiveTouchdowns { get; set; } + + /// + /// Special teams touchdowns scored + /// + [Description("Special teams touchdowns scored")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 88)] + public decimal SpecialTeamsTouchdowns { get; set; } + + /// + /// Total touchdowns scored + /// + [Description("Total touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 89)] + public decimal Touchdowns { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 90)] + public string FantasyPosition { get; set; } + + /// + /// Percentage of Field Goal attempts that we successful + /// + [Description("Percentage of Field Goal attempts that we successful")] + [DataMember(Name = "FieldGoalPercentage", Order = 91)] + public decimal FieldGoalPercentage { get; set; } + + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 92)] + public int PlayerGameID { get; set; } + + /// + /// Own team's fumbles recovered (did not result in a turnover) + /// + [Description("Own team's fumbles recovered (did not result in a turnover)")] + [DataMember(Name = "FumblesOwnRecoveries", Order = 93)] + public decimal? FumblesOwnRecoveries { get; set; } + + /// + /// Fumbles by this player that went out of bounds (no one was awarded the recovery) + /// + [Description("Fumbles by this player that went out of bounds (no one was awarded the recovery)")] + [DataMember(Name = "FumblesOutOfBounds", Order = 94)] + public decimal? FumblesOutOfBounds { get; set; } + + /// + /// Fair catches made on kickoffs + /// + [Description("Fair catches made on kickoffs")] + [DataMember(Name = "KickReturnFairCatches", Order = 95)] + public decimal? KickReturnFairCatches { get; set; } + + /// + /// Fair catches made on punts + /// + [Description("Fair catches made on punts")] + [DataMember(Name = "PuntReturnFairCatches", Order = 96)] + public decimal? PuntReturnFairCatches { get; set; } + + /// + /// Punts by this player that were touchbacks + /// + [Description("Punts by this player that were touchbacks")] + [DataMember(Name = "PuntTouchbacks", Order = 97)] + public decimal? PuntTouchbacks { get; set; } + + /// + /// Punts by this player that were downed inside the 20 yard line + /// + [Description("Punts by this player that were downed inside the 20 yard line")] + [DataMember(Name = "PuntInside20", Order = 98)] + public decimal? PuntInside20 { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 99)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kicks attempted + /// + [Description("Extra point kicks attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 100)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Blocked kicks that this player returned for touchdowns + /// + [Description("Blocked kicks that this player returned for touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 101)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goals that this player returned for touchdowns + /// + [Description("Field goals that this player returned for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 102)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone) + /// + [Description("Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone)")] + [DataMember(Name = "Safeties", Order = 103)] + public decimal? Safeties { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 104)] + public decimal? FieldGoalsHadBlocked { get; set; } + + /// + /// Punts that were blocked + /// + [Description("Punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 105)] + public decimal? PuntsHadBlocked { get; set; } + + /// + /// Extra points that were blocked + /// + [Description("Extra points that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 106)] + public decimal? ExtraPointsHadBlocked { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 107)] + public decimal? PuntLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 108)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 109)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 110)] + public decimal? PuntNetYards { get; set; } + + /// + /// Fumbles forced on special teams plays + /// + [Description("Fumbles forced on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesForced", Order = 111)] + public decimal? SpecialTeamsFumblesForced { get; set; } + + /// + /// Fumbles recovered on special teams plays + /// + [Description("Fumbles recovered on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesRecovered", Order = 112)] + public decimal? SpecialTeamsFumblesRecovered { get; set; } + + /// + /// Fumbles forced after a turnover on offensive plays + /// + [Description("Fumbles forced after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesForced", Order = 113)] + public decimal? MiscFumblesForced { get; set; } + + /// + /// Fumbles recovered after a turnover on offensive plays + /// + [Description("Fumbles recovered after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesRecovered", Order = 114)] + public decimal? MiscFumblesRecovered { get; set; } + + /// + /// Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning) + /// + [Description("Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning)")] + [DataMember(Name = "ShortName", Order = 115)] + public string ShortName { get; set; } + + /// + /// Playing surface of the stadium + /// + [Description("Playing surface of the stadium")] + [DataMember(Name = "PlayingSurface", Order = 116)] + public string PlayingSurface { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 117)] + public bool? IsGameOver { get; set; } + + /// + /// Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding) + /// + [Description("Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding)")] + [DataMember(Name = "SafetiesAllowed", Order = 118)] + public decimal? SafetiesAllowed { get; set; } + + /// + /// Stadium of the event + /// + [Description("Stadium of the event")] + [DataMember(Name = "Stadium", Order = 119)] + public string Stadium { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 120)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 121)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 122)] + public int? WindSpeed { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 123)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 124)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 125)] + public int? FantasyDataSalary { get; set; } + + /// + /// The number of snaps this player played on offense. + /// + [Description("The number of snaps this player played on offense.")] + [DataMember(Name = "OffensiveSnapsPlayed", Order = 126)] + public int? OffensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on defense. + /// + [Description("The number of snaps this player played on defense.")] + [DataMember(Name = "DefensiveSnapsPlayed", Order = 127)] + public int? DefensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on special teams. + /// + [Description("The number of snaps this player played on special teams.")] + [DataMember(Name = "SpecialTeamsSnapsPlayed", Order = 128)] + public int? SpecialTeamsSnapsPlayed { get; set; } + + /// + /// The total number of offensive snaps this player's team played. + /// + [Description("The total number of offensive snaps this player's team played.")] + [DataMember(Name = "OffensiveTeamSnaps", Order = 129)] + public int? OffensiveTeamSnaps { get; set; } + + /// + /// The total number of defensive snaps this player's team played. + /// + [Description("The total number of defensive snaps this player's team played.")] + [DataMember(Name = "DefensiveTeamSnaps", Order = 130)] + public int? DefensiveTeamSnaps { get; set; } + + /// + /// The total number of special teams snaps this player's team played. + /// + [Description("The total number of special teams snaps this player's team played.")] + [DataMember(Name = "SpecialTeamsTeamSnaps", Order = 131)] + public int? SpecialTeamsTeamSnaps { get; set; } + + /// + /// The player's salary for Victiv daily fantasy contests. + /// + [Description("The player's salary for Victiv daily fantasy contests.")] + [DataMember(Name = "VictivSalary", Order = 132)] + public int? VictivSalary { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 133)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 134)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Field goals made of 0 to 19 yards. + /// + [Description("Field goals made of 0 to 19 yards.")] + [DataMember(Name = "FieldGoalsMade0to19", Order = 135)] + public decimal? FieldGoalsMade0to19 { get; set; } + + /// + /// Field goals made of 20 to 29 yards. + /// + [Description("Field goals made of 20 to 29 yards.")] + [DataMember(Name = "FieldGoalsMade20to29", Order = 136)] + public decimal? FieldGoalsMade20to29 { get; set; } + + /// + /// Field goals made of 30 to 39 yards. + /// + [Description("Field goals made of 30 to 39 yards.")] + [DataMember(Name = "FieldGoalsMade30to39", Order = 137)] + public decimal? FieldGoalsMade30to39 { get; set; } + + /// + /// Field goals made of 40 to 49 yards. + /// + [Description("Field goals made of 40 to 49 yards.")] + [DataMember(Name = "FieldGoalsMade40to49", Order = 138)] + public decimal? FieldGoalsMade40to49 { get; set; } + + /// + /// Field goals made of 50+ yards. + /// + [Description("Field goals made of 50+ yards.")] + [DataMember(Name = "FieldGoalsMade50Plus", Order = 139)] + public decimal? FieldGoalsMade50Plus { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 140)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 141)] + public int? YahooSalary { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 142)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The player's injury status for the upcoming game, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("The player's injury status for the upcoming game, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "InjuryStatus", Order = 143)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 144)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 145)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 146)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 147)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 148)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 149)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 150)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 151)] + public int? OpponentPositionRank { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPractice", Order = 152)] + public string InjuryPractice { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPracticeDescription", Order = 153)] + public string InjuryPracticeDescription { get; set; } + + /// + /// Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE) + /// + [Description("Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE)")] + [DataMember(Name = "DeclaredInactive", Order = 154)] + public bool DeclaredInactive { get; set; } + + /// + /// The player's salary for FantasyDraft daily fantasy contests. + /// + [Description("The player's salary for FantasyDraft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 155)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in FantasyDraft's daily fantasy sports platform. + /// + [Description("The player's eligible position in FantasyDraft's daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 156)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 157)] + public int? TeamID { get; set; } + + /// + /// The unique ID of this opposing team + /// + [Description("The unique ID of this opposing team")] + [DataMember(Name = "OpponentID", Order = 158)] + public int? OpponentID { get; set; } + + /// + /// The date of the game in US Eastern Time + /// + [Description("The date of the game in US Eastern Time")] + [DataMember(Name = "Day", Order = 159)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game in US Eastern Time + /// + [Description("The date and time of the game in US Eastern Time")] + [DataMember(Name = "DateTime", Order = 160)] + public DateTime? DateTime { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 161)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 162)] + public int? GlobalTeamID { get; set; } + + /// + /// A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 163)] + public int? GlobalOpponentID { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 164)] + public int ScoreID { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 165)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// The details of the scoring plays this player recorded + /// + [Description("The details of the scoring plays this player recorded")] + [DataMember(Name = "ScoringDetails", Order = 20166)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// Touchdowns scored by an offensive player recovering a fumble + /// + [Description("Touchdowns scored by an offensive player recovering a fumble")] + [DataMember(Name = "OffensiveFumbleRecoveryTouchdowns", Order = 167)] + public decimal? OffensiveFumbleRecoveryTouchdowns { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGameProjection.cs new file mode 100644 index 0000000..d73d79f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGameProjection.cs @@ -0,0 +1,1182 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerGameProjection")] + [Serializable] + public partial class PlayerGameProjection + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int Season { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "GameDate", Order = 5)] + public DateTime GameDate { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 6)] + public int Week { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The abbreviation of the Opponent + /// + [Description("The abbreviation of the Opponent")] + [DataMember(Name = "Opponent", Order = 8)] + public string Opponent { get; set; } + + /// + /// Whether the player is Home or Away + /// + [Description("Whether the player is Home or Away")] + [DataMember(Name = "HomeOrAway", Order = 9)] + public string HomeOrAway { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 10)] + public int Number { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 11)] + public string Name { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 12)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 13)] + public string PositionCategory { get; set; } + + /// + /// Whether the player was Active at gametime + /// + [Description("Whether the player was Active at gametime")] + [DataMember(Name = "Activated", Order = 14)] + public int Activated { get; set; } + + /// + /// Whether the player played in at least one play + /// + [Description("Whether the player played in at least one play")] + [DataMember(Name = "Played", Order = 15)] + public int Played { get; set; } + + /// + /// Whether the player started on offense or defense + /// + [Description("Whether the player started on offense or defense")] + [DataMember(Name = "Started", Order = 16)] + public int Started { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 17)] + public decimal PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 18)] + public decimal PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 19)] + public decimal PassingYards { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "PassingCompletionPercentage", Order = 20)] + public decimal PassingCompletionPercentage { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 21)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 22)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 23)] + public decimal PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 24)] + public decimal PassingInterceptions { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PassingRating", Order = 25)] + public decimal PassingRating { get; set; } + + /// + /// Longest completion + /// + [Description("Longest completion")] + [DataMember(Name = "PassingLong", Order = 26)] + public decimal PassingLong { get; set; } + + /// + /// Number of times sacked + /// + [Description("Number of times sacked")] + [DataMember(Name = "PassingSacks", Order = 27)] + public decimal PassingSacks { get; set; } + + /// + /// Yards lost as a result of being sacked + /// + [Description("Yards lost as a result of being sacked")] + [DataMember(Name = "PassingSackYards", Order = 28)] + public decimal PassingSackYards { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 29)] + public decimal RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 30)] + public decimal RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 31)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 32)] + public decimal RushingTouchdowns { get; set; } + + /// + /// Longest rush + /// + [Description("Longest rush")] + [DataMember(Name = "RushingLong", Order = 33)] + public decimal RushingLong { get; set; } + + /// + /// Number of times targeted by passer + /// + [Description("Number of times targeted by passer")] + [DataMember(Name = "ReceivingTargets", Order = 34)] + public decimal? ReceivingTargets { get; set; } + + /// + /// Number of receptions + /// + [Description("Number of receptions")] + [DataMember(Name = "Receptions", Order = 35)] + public decimal Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 36)] + public decimal ReceivingYards { get; set; } + + /// + /// Average yards gained per reception + /// + [Description("Average yards gained per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 37)] + public decimal ReceivingYardsPerReception { get; set; } + + /// + /// Receiving touchdowns + /// + [Description("Receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 38)] + public decimal ReceivingTouchdowns { get; set; } + + /// + /// Longest reception + /// + [Description("Longest reception")] + [DataMember(Name = "ReceivingLong", Order = 39)] + public decimal ReceivingLong { get; set; } + + /// + /// Times fumbled + /// + [Description("Times fumbled")] + [DataMember(Name = "Fumbles", Order = 40)] + public decimal Fumbles { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 41)] + public decimal? FumblesLost { get; set; } + + /// + /// Number of punt return attempts + /// + [Description("Number of punt return attempts")] + [DataMember(Name = "PuntReturns", Order = 42)] + public decimal PuntReturns { get; set; } + + /// + /// Total return yards on punts + /// + [Description("Total return yards on punts")] + [DataMember(Name = "PuntReturnYards", Order = 43)] + public decimal PuntReturnYards { get; set; } + + /// + /// Average yards gained per punt return + /// + [Description("Average yards gained per punt return")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 44)] + public decimal PuntReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on punt returns + /// + [Description("Number of touchdowns on punt returns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 45)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 46)] + public decimal PuntReturnLong { get; set; } + + /// + /// Number of kick return attempts + /// + [Description("Number of kick return attempts")] + [DataMember(Name = "KickReturns", Order = 47)] + public decimal KickReturns { get; set; } + + /// + /// Total return yards on kicks + /// + [Description("Total return yards on kicks")] + [DataMember(Name = "KickReturnYards", Order = 48)] + public decimal KickReturnYards { get; set; } + + /// + /// Average yards gained per kick return + /// + [Description("Average yards gained per kick return")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 49)] + public decimal KickReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on kick returns + /// + [Description("Number of touchdowns on kick returns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 50)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 51)] + public decimal KickReturnLong { get; set; } + + /// + /// Solo, unassisted tackles + /// + [Description("Solo, unassisted tackles")] + [DataMember(Name = "SoloTackles", Order = 52)] + public decimal SoloTackles { get; set; } + + /// + /// Assisted tackles (also called a half tackle) + /// + [Description("Assisted tackles (also called a half tackle)")] + [DataMember(Name = "AssistedTackles", Order = 53)] + public decimal AssistedTackles { get; set; } + + /// + /// Tackles behind the opponent's line of scrimmage + /// + [Description("Tackles behind the opponent's line of scrimmage")] + [DataMember(Name = "TacklesForLoss", Order = 54)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Sacks of the opposing quarterback + /// + [Description("Sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 55)] + public decimal Sacks { get; set; } + + /// + /// Yards lost as a result of sacking the opposing quarterback + /// + [Description("Yards lost as a result of sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 56)] + public decimal SackYards { get; set; } + + /// + /// Number of times hitting an opposing quarterback without sacking him + /// + [Description("Number of times hitting an opposing quarterback without sacking him")] + [DataMember(Name = "QuarterbackHits", Order = 57)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Passes defended or batted down + /// + [Description("Passes defended or batted down")] + [DataMember(Name = "PassesDefended", Order = 58)] + public decimal PassesDefended { get; set; } + + /// + /// Number of fumbles forced + /// + [Description("Number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 59)] + public decimal FumblesForced { get; set; } + + /// + /// Number of fumbles recovered + /// + [Description("Number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 60)] + public decimal FumblesRecovered { get; set; } + + /// + /// Return yards from fumble recoveries + /// + [Description("Return yards from fumble recoveries")] + [DataMember(Name = "FumbleReturnYards", Order = 61)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Return touchdowns from fumble recoveries + /// + [Description("Return touchdowns from fumble recoveries")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 62)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Number of interceptions + /// + [Description("Number of interceptions")] + [DataMember(Name = "Interceptions", Order = 63)] + public decimal Interceptions { get; set; } + + /// + /// Return yards from interceptions + /// + [Description("Return yards from interceptions")] + [DataMember(Name = "InterceptionReturnYards", Order = 64)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Return touchdowns from interceptions + /// + [Description("Return touchdowns from interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 65)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of field goals and punts blocked + /// + [Description("Total number of field goals and punts blocked")] + [DataMember(Name = "BlockedKicks", Order = 66)] + public decimal BlockedKicks { get; set; } + + /// + /// Solo tackles on kick and punt plays + /// + [Description("Solo tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsSoloTackles", Order = 67)] + public decimal SpecialTeamsSoloTackles { get; set; } + + /// + /// Assisted tackles on kick and punt plays + /// + [Description("Assisted tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsAssistedTackles", Order = 68)] + public decimal SpecialTeamsAssistedTackles { get; set; } + + /// + /// Solo tackles when playing offense (after a turnover) + /// + [Description("Solo tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscSoloTackles", Order = 69)] + public decimal MiscSoloTackles { get; set; } + + /// + /// Assisted tackles when playing offense (after a turnover) + /// + [Description("Assisted tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscAssistedTackles", Order = 70)] + public decimal MiscAssistedTackles { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 71)] + public decimal Punts { get; set; } + + /// + /// Total number of punt yards + /// + [Description("Total number of punt yards")] + [DataMember(Name = "PuntYards", Order = 72)] + public decimal PuntYards { get; set; } + + /// + /// Average yards per punt + /// + [Description("Average yards per punt")] + [DataMember(Name = "PuntAverage", Order = 73)] + public decimal PuntAverage { get; set; } + + /// + /// Number of field goal attempts + /// + [Description("Number of field goal attempts")] + [DataMember(Name = "FieldGoalsAttempted", Order = 74)] + public decimal FieldGoalsAttempted { get; set; } + + /// + /// Number of successful field goal attempts + /// + [Description("Number of successful field goal attempts")] + [DataMember(Name = "FieldGoalsMade", Order = 75)] + public decimal FieldGoalsMade { get; set; } + + /// + /// Longest successful field goal attempt + /// + [Description("Longest successful field goal attempt")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 76)] + public decimal FieldGoalsLongestMade { get; set; } + + /// + /// Number of successful extra points + /// + [Description("Number of successful extra points")] + [DataMember(Name = "ExtraPointsMade", Order = 77)] + public decimal ExtraPointsMade { get; set; } + + /// + /// Successful two point conversion passes + /// + [Description("Successful two point conversion passes")] + [DataMember(Name = "TwoPointConversionPasses", Order = 78)] + public decimal TwoPointConversionPasses { get; set; } + + /// + /// Successful two point conversion runs + /// + [Description("Successful two point conversion runs")] + [DataMember(Name = "TwoPointConversionRuns", Order = 79)] + public decimal TwoPointConversionRuns { get; set; } + + /// + /// Successful two point conversion receptions + /// + [Description("Successful two point conversion receptions")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 80)] + public decimal TwoPointConversionReceptions { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 81)] + public decimal FantasyPoints { get; set; } + + /// + /// Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPointsPPR", Order = 82)] + public decimal FantasyPointsPPR { get; set; } + + /// + /// Percentage of ReceivingTargets convert into Receptions + /// + [Description("Percentage of ReceivingTargets convert into Receptions")] + [DataMember(Name = "ReceptionPercentage", Order = 83)] + public decimal ReceptionPercentage { get; set; } + + /// + /// Average yards gained per ReceivingTargets + /// + [Description("Average yards gained per ReceivingTargets")] + [DataMember(Name = "ReceivingYardsPerTarget", Order = 84)] + public decimal ReceivingYardsPerTarget { get; set; } + + /// + /// Sum of SoloTackles and AssistedTackles + /// + [Description("Sum of SoloTackles and AssistedTackles")] + [DataMember(Name = "Tackles", Order = 85)] + public decimal Tackles { get; set; } + + /// + /// Offensive touchdowns scored + /// + [Description("Offensive touchdowns scored")] + [DataMember(Name = "OffensiveTouchdowns", Order = 86)] + public decimal OffensiveTouchdowns { get; set; } + + /// + /// Defensive touchdowns scored + /// + [Description("Defensive touchdowns scored")] + [DataMember(Name = "DefensiveTouchdowns", Order = 87)] + public decimal DefensiveTouchdowns { get; set; } + + /// + /// Special teams touchdowns scored + /// + [Description("Special teams touchdowns scored")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 88)] + public decimal SpecialTeamsTouchdowns { get; set; } + + /// + /// Total touchdowns scored + /// + [Description("Total touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 89)] + public decimal Touchdowns { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 90)] + public string FantasyPosition { get; set; } + + /// + /// Percentage of Field Goal attempts that we successful + /// + [Description("Percentage of Field Goal attempts that we successful")] + [DataMember(Name = "FieldGoalPercentage", Order = 91)] + public decimal FieldGoalPercentage { get; set; } + + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 92)] + public int PlayerGameID { get; set; } + + /// + /// Own team's fumbles recovered (did not result in a turnover) + /// + [Description("Own team's fumbles recovered (did not result in a turnover)")] + [DataMember(Name = "FumblesOwnRecoveries", Order = 93)] + public decimal? FumblesOwnRecoveries { get; set; } + + /// + /// Fumbles by this player that went out of bounds (no one was awarded the recovery) + /// + [Description("Fumbles by this player that went out of bounds (no one was awarded the recovery)")] + [DataMember(Name = "FumblesOutOfBounds", Order = 94)] + public decimal? FumblesOutOfBounds { get; set; } + + /// + /// Fair catches made on kickoffs + /// + [Description("Fair catches made on kickoffs")] + [DataMember(Name = "KickReturnFairCatches", Order = 95)] + public decimal? KickReturnFairCatches { get; set; } + + /// + /// Fair catches made on punts + /// + [Description("Fair catches made on punts")] + [DataMember(Name = "PuntReturnFairCatches", Order = 96)] + public decimal? PuntReturnFairCatches { get; set; } + + /// + /// Punts by this player that were touchbacks + /// + [Description("Punts by this player that were touchbacks")] + [DataMember(Name = "PuntTouchbacks", Order = 97)] + public decimal? PuntTouchbacks { get; set; } + + /// + /// Punts by this player that were downed inside the 20 yard line + /// + [Description("Punts by this player that were downed inside the 20 yard line")] + [DataMember(Name = "PuntInside20", Order = 98)] + public decimal? PuntInside20 { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 99)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kicks attempted + /// + [Description("Extra point kicks attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 100)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Blocked kicks that this player returned for touchdowns + /// + [Description("Blocked kicks that this player returned for touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 101)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goals that this player returned for touchdowns + /// + [Description("Field goals that this player returned for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 102)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone) + /// + [Description("Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone)")] + [DataMember(Name = "Safeties", Order = 103)] + public decimal? Safeties { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 104)] + public decimal? FieldGoalsHadBlocked { get; set; } + + /// + /// Punts that were blocked + /// + [Description("Punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 105)] + public decimal? PuntsHadBlocked { get; set; } + + /// + /// Extra points that were blocked + /// + [Description("Extra points that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 106)] + public decimal? ExtraPointsHadBlocked { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 107)] + public decimal? PuntLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 108)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 109)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 110)] + public decimal? PuntNetYards { get; set; } + + /// + /// Fumbles forced on special teams plays + /// + [Description("Fumbles forced on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesForced", Order = 111)] + public decimal? SpecialTeamsFumblesForced { get; set; } + + /// + /// Fumbles recovered on special teams plays + /// + [Description("Fumbles recovered on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesRecovered", Order = 112)] + public decimal? SpecialTeamsFumblesRecovered { get; set; } + + /// + /// Fumbles forced after a turnover on offensive plays + /// + [Description("Fumbles forced after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesForced", Order = 113)] + public decimal? MiscFumblesForced { get; set; } + + /// + /// Fumbles recovered after a turnover on offensive plays + /// + [Description("Fumbles recovered after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesRecovered", Order = 114)] + public decimal? MiscFumblesRecovered { get; set; } + + /// + /// Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning) + /// + [Description("Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning)")] + [DataMember(Name = "ShortName", Order = 115)] + public string ShortName { get; set; } + + /// + /// Playing surface of the stadium + /// + [Description("Playing surface of the stadium")] + [DataMember(Name = "PlayingSurface", Order = 116)] + public string PlayingSurface { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 117)] + public bool? IsGameOver { get; set; } + + /// + /// Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding) + /// + [Description("Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding)")] + [DataMember(Name = "SafetiesAllowed", Order = 118)] + public decimal? SafetiesAllowed { get; set; } + + /// + /// Stadium of the event + /// + [Description("Stadium of the event")] + [DataMember(Name = "Stadium", Order = 119)] + public string Stadium { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 120)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 121)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 122)] + public int? WindSpeed { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 123)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 124)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 125)] + public int? FantasyDataSalary { get; set; } + + /// + /// The number of snaps this player played on offense. + /// + [Description("The number of snaps this player played on offense.")] + [DataMember(Name = "OffensiveSnapsPlayed", Order = 126)] + public int? OffensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on defense. + /// + [Description("The number of snaps this player played on defense.")] + [DataMember(Name = "DefensiveSnapsPlayed", Order = 127)] + public int? DefensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on special teams. + /// + [Description("The number of snaps this player played on special teams.")] + [DataMember(Name = "SpecialTeamsSnapsPlayed", Order = 128)] + public int? SpecialTeamsSnapsPlayed { get; set; } + + /// + /// The total number of offensive snaps this player's team played. + /// + [Description("The total number of offensive snaps this player's team played.")] + [DataMember(Name = "OffensiveTeamSnaps", Order = 129)] + public int? OffensiveTeamSnaps { get; set; } + + /// + /// The total number of defensive snaps this player's team played. + /// + [Description("The total number of defensive snaps this player's team played.")] + [DataMember(Name = "DefensiveTeamSnaps", Order = 130)] + public int? DefensiveTeamSnaps { get; set; } + + /// + /// The total number of special teams snaps this player's team played. + /// + [Description("The total number of special teams snaps this player's team played.")] + [DataMember(Name = "SpecialTeamsTeamSnaps", Order = 131)] + public int? SpecialTeamsTeamSnaps { get; set; } + + /// + /// The player's salary for Victiv daily fantasy contests. + /// + [Description("The player's salary for Victiv daily fantasy contests.")] + [DataMember(Name = "VictivSalary", Order = 132)] + public int? VictivSalary { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 133)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 134)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Field goals made of 0 to 19 yards. + /// + [Description("Field goals made of 0 to 19 yards.")] + [DataMember(Name = "FieldGoalsMade0to19", Order = 135)] + public decimal? FieldGoalsMade0to19 { get; set; } + + /// + /// Field goals made of 20 to 29 yards. + /// + [Description("Field goals made of 20 to 29 yards.")] + [DataMember(Name = "FieldGoalsMade20to29", Order = 136)] + public decimal? FieldGoalsMade20to29 { get; set; } + + /// + /// Field goals made of 30 to 39 yards. + /// + [Description("Field goals made of 30 to 39 yards.")] + [DataMember(Name = "FieldGoalsMade30to39", Order = 137)] + public decimal? FieldGoalsMade30to39 { get; set; } + + /// + /// Field goals made of 40 to 49 yards. + /// + [Description("Field goals made of 40 to 49 yards.")] + [DataMember(Name = "FieldGoalsMade40to49", Order = 138)] + public decimal? FieldGoalsMade40to49 { get; set; } + + /// + /// Field goals made of 50+ yards. + /// + [Description("Field goals made of 50+ yards.")] + [DataMember(Name = "FieldGoalsMade50Plus", Order = 139)] + public decimal? FieldGoalsMade50Plus { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 140)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 141)] + public int? YahooSalary { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 142)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The player's injury status for the upcoming game, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("The player's injury status for the upcoming game, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "InjuryStatus", Order = 143)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 144)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 145)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 146)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 147)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 148)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 149)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 150)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 151)] + public int? OpponentPositionRank { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPractice", Order = 152)] + public string InjuryPractice { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPracticeDescription", Order = 153)] + public string InjuryPracticeDescription { get; set; } + + /// + /// Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE) + /// + [Description("Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE)")] + [DataMember(Name = "DeclaredInactive", Order = 154)] + public bool DeclaredInactive { get; set; } + + /// + /// The player's salary for FantasyDraft daily fantasy contests. + /// + [Description("The player's salary for FantasyDraft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 155)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in FantasyDraft's daily fantasy sports platform. + /// + [Description("The player's eligible position in FantasyDraft's daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 156)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 157)] + public int? TeamID { get; set; } + + /// + /// The unique ID of this opposing team + /// + [Description("The unique ID of this opposing team")] + [DataMember(Name = "OpponentID", Order = 158)] + public int? OpponentID { get; set; } + + /// + /// The date of the game in US Eastern Time + /// + [Description("The date of the game in US Eastern Time")] + [DataMember(Name = "Day", Order = 159)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game in US Eastern Time + /// + [Description("The date and time of the game in US Eastern Time")] + [DataMember(Name = "DateTime", Order = 160)] + public DateTime? DateTime { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 161)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 162)] + public int? GlobalTeamID { get; set; } + + /// + /// A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 163)] + public int? GlobalOpponentID { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 164)] + public int ScoreID { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 165)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// The details of the scoring plays this player recorded + /// + [Description("The details of the scoring plays this player recorded")] + [DataMember(Name = "ScoringDetails", Order = 20166)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// Touchdowns scored by an offensive player recovering a fumble + /// + [Description("Touchdowns scored by an offensive player recovering a fumble")] + [DataMember(Name = "OffensiveFumbleRecoveryTouchdowns", Order = 167)] + public decimal? OffensiveFumbleRecoveryTouchdowns { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGameProjectionDfsr.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGameProjectionDfsr.cs new file mode 100644 index 0000000..cb20e04 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGameProjectionDfsr.cs @@ -0,0 +1,1182 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerGameProjectionDfsr")] + [Serializable] + public partial class PlayerGameProjectionDfsr + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int Season { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "GameDate", Order = 5)] + public DateTime GameDate { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 6)] + public int Week { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The abbreviation of the Opponent + /// + [Description("The abbreviation of the Opponent")] + [DataMember(Name = "Opponent", Order = 8)] + public string Opponent { get; set; } + + /// + /// Whether the player is Home or Away + /// + [Description("Whether the player is Home or Away")] + [DataMember(Name = "HomeOrAway", Order = 9)] + public string HomeOrAway { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 10)] + public int Number { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 11)] + public string Name { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 12)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 13)] + public string PositionCategory { get; set; } + + /// + /// Whether the player was Active at gametime + /// + [Description("Whether the player was Active at gametime")] + [DataMember(Name = "Activated", Order = 14)] + public int Activated { get; set; } + + /// + /// Whether the player played in at least one play + /// + [Description("Whether the player played in at least one play")] + [DataMember(Name = "Played", Order = 15)] + public int Played { get; set; } + + /// + /// Whether the player started on offense or defense + /// + [Description("Whether the player started on offense or defense")] + [DataMember(Name = "Started", Order = 16)] + public int Started { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 17)] + public decimal PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 18)] + public decimal PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 19)] + public decimal PassingYards { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "PassingCompletionPercentage", Order = 20)] + public decimal PassingCompletionPercentage { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 21)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 22)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 23)] + public decimal PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 24)] + public decimal PassingInterceptions { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PassingRating", Order = 25)] + public decimal PassingRating { get; set; } + + /// + /// Longest completion + /// + [Description("Longest completion")] + [DataMember(Name = "PassingLong", Order = 26)] + public decimal PassingLong { get; set; } + + /// + /// Number of times sacked + /// + [Description("Number of times sacked")] + [DataMember(Name = "PassingSacks", Order = 27)] + public decimal PassingSacks { get; set; } + + /// + /// Yards lost as a result of being sacked + /// + [Description("Yards lost as a result of being sacked")] + [DataMember(Name = "PassingSackYards", Order = 28)] + public decimal PassingSackYards { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 29)] + public decimal RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 30)] + public decimal RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 31)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 32)] + public decimal RushingTouchdowns { get; set; } + + /// + /// Longest rush + /// + [Description("Longest rush")] + [DataMember(Name = "RushingLong", Order = 33)] + public decimal RushingLong { get; set; } + + /// + /// Number of times targeted by passer + /// + [Description("Number of times targeted by passer")] + [DataMember(Name = "ReceivingTargets", Order = 34)] + public decimal? ReceivingTargets { get; set; } + + /// + /// Number of receptions + /// + [Description("Number of receptions")] + [DataMember(Name = "Receptions", Order = 35)] + public decimal Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 36)] + public decimal ReceivingYards { get; set; } + + /// + /// Average yards gained per reception + /// + [Description("Average yards gained per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 37)] + public decimal ReceivingYardsPerReception { get; set; } + + /// + /// Receiving touchdowns + /// + [Description("Receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 38)] + public decimal ReceivingTouchdowns { get; set; } + + /// + /// Longest reception + /// + [Description("Longest reception")] + [DataMember(Name = "ReceivingLong", Order = 39)] + public decimal ReceivingLong { get; set; } + + /// + /// Times fumbled + /// + [Description("Times fumbled")] + [DataMember(Name = "Fumbles", Order = 40)] + public decimal Fumbles { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 41)] + public decimal? FumblesLost { get; set; } + + /// + /// Number of punt return attempts + /// + [Description("Number of punt return attempts")] + [DataMember(Name = "PuntReturns", Order = 42)] + public decimal PuntReturns { get; set; } + + /// + /// Total return yards on punts + /// + [Description("Total return yards on punts")] + [DataMember(Name = "PuntReturnYards", Order = 43)] + public decimal PuntReturnYards { get; set; } + + /// + /// Average yards gained per punt return + /// + [Description("Average yards gained per punt return")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 44)] + public decimal PuntReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on punt returns + /// + [Description("Number of touchdowns on punt returns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 45)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 46)] + public decimal PuntReturnLong { get; set; } + + /// + /// Number of kick return attempts + /// + [Description("Number of kick return attempts")] + [DataMember(Name = "KickReturns", Order = 47)] + public decimal KickReturns { get; set; } + + /// + /// Total return yards on kicks + /// + [Description("Total return yards on kicks")] + [DataMember(Name = "KickReturnYards", Order = 48)] + public decimal KickReturnYards { get; set; } + + /// + /// Average yards gained per kick return + /// + [Description("Average yards gained per kick return")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 49)] + public decimal KickReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on kick returns + /// + [Description("Number of touchdowns on kick returns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 50)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 51)] + public decimal KickReturnLong { get; set; } + + /// + /// Solo, unassisted tackles + /// + [Description("Solo, unassisted tackles")] + [DataMember(Name = "SoloTackles", Order = 52)] + public decimal SoloTackles { get; set; } + + /// + /// Assisted tackles (also called a half tackle) + /// + [Description("Assisted tackles (also called a half tackle)")] + [DataMember(Name = "AssistedTackles", Order = 53)] + public decimal AssistedTackles { get; set; } + + /// + /// Tackles behind the opponent's line of scrimmage + /// + [Description("Tackles behind the opponent's line of scrimmage")] + [DataMember(Name = "TacklesForLoss", Order = 54)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Sacks of the opposing quarterback + /// + [Description("Sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 55)] + public decimal Sacks { get; set; } + + /// + /// Yards lost as a result of sacking the opposing quarterback + /// + [Description("Yards lost as a result of sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 56)] + public decimal SackYards { get; set; } + + /// + /// Number of times hitting an opposing quarterback without sacking him + /// + [Description("Number of times hitting an opposing quarterback without sacking him")] + [DataMember(Name = "QuarterbackHits", Order = 57)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Passes defended or batted down + /// + [Description("Passes defended or batted down")] + [DataMember(Name = "PassesDefended", Order = 58)] + public decimal PassesDefended { get; set; } + + /// + /// Number of fumbles forced + /// + [Description("Number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 59)] + public decimal FumblesForced { get; set; } + + /// + /// Number of fumbles recovered + /// + [Description("Number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 60)] + public decimal FumblesRecovered { get; set; } + + /// + /// Return yards from fumble recoveries + /// + [Description("Return yards from fumble recoveries")] + [DataMember(Name = "FumbleReturnYards", Order = 61)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Return touchdowns from fumble recoveries + /// + [Description("Return touchdowns from fumble recoveries")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 62)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Number of interceptions + /// + [Description("Number of interceptions")] + [DataMember(Name = "Interceptions", Order = 63)] + public decimal Interceptions { get; set; } + + /// + /// Return yards from interceptions + /// + [Description("Return yards from interceptions")] + [DataMember(Name = "InterceptionReturnYards", Order = 64)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Return touchdowns from interceptions + /// + [Description("Return touchdowns from interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 65)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of field goals and punts blocked + /// + [Description("Total number of field goals and punts blocked")] + [DataMember(Name = "BlockedKicks", Order = 66)] + public decimal BlockedKicks { get; set; } + + /// + /// Solo tackles on kick and punt plays + /// + [Description("Solo tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsSoloTackles", Order = 67)] + public decimal SpecialTeamsSoloTackles { get; set; } + + /// + /// Assisted tackles on kick and punt plays + /// + [Description("Assisted tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsAssistedTackles", Order = 68)] + public decimal SpecialTeamsAssistedTackles { get; set; } + + /// + /// Solo tackles when playing offense (after a turnover) + /// + [Description("Solo tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscSoloTackles", Order = 69)] + public decimal MiscSoloTackles { get; set; } + + /// + /// Assisted tackles when playing offense (after a turnover) + /// + [Description("Assisted tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscAssistedTackles", Order = 70)] + public decimal MiscAssistedTackles { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 71)] + public decimal Punts { get; set; } + + /// + /// Total number of punt yards + /// + [Description("Total number of punt yards")] + [DataMember(Name = "PuntYards", Order = 72)] + public decimal PuntYards { get; set; } + + /// + /// Average yards per punt + /// + [Description("Average yards per punt")] + [DataMember(Name = "PuntAverage", Order = 73)] + public decimal PuntAverage { get; set; } + + /// + /// Number of field goal attempts + /// + [Description("Number of field goal attempts")] + [DataMember(Name = "FieldGoalsAttempted", Order = 74)] + public decimal FieldGoalsAttempted { get; set; } + + /// + /// Number of successful field goal attempts + /// + [Description("Number of successful field goal attempts")] + [DataMember(Name = "FieldGoalsMade", Order = 75)] + public decimal FieldGoalsMade { get; set; } + + /// + /// Longest successful field goal attempt + /// + [Description("Longest successful field goal attempt")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 76)] + public decimal FieldGoalsLongestMade { get; set; } + + /// + /// Number of successful extra points + /// + [Description("Number of successful extra points")] + [DataMember(Name = "ExtraPointsMade", Order = 77)] + public decimal ExtraPointsMade { get; set; } + + /// + /// Successful two point conversion passes + /// + [Description("Successful two point conversion passes")] + [DataMember(Name = "TwoPointConversionPasses", Order = 78)] + public decimal TwoPointConversionPasses { get; set; } + + /// + /// Successful two point conversion runs + /// + [Description("Successful two point conversion runs")] + [DataMember(Name = "TwoPointConversionRuns", Order = 79)] + public decimal TwoPointConversionRuns { get; set; } + + /// + /// Successful two point conversion receptions + /// + [Description("Successful two point conversion receptions")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 80)] + public decimal TwoPointConversionReceptions { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 81)] + public decimal FantasyPoints { get; set; } + + /// + /// Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPointsPPR", Order = 82)] + public decimal FantasyPointsPPR { get; set; } + + /// + /// Percentage of ReceivingTargets convert into Receptions + /// + [Description("Percentage of ReceivingTargets convert into Receptions")] + [DataMember(Name = "ReceptionPercentage", Order = 83)] + public decimal ReceptionPercentage { get; set; } + + /// + /// Average yards gained per ReceivingTargets + /// + [Description("Average yards gained per ReceivingTargets")] + [DataMember(Name = "ReceivingYardsPerTarget", Order = 84)] + public decimal ReceivingYardsPerTarget { get; set; } + + /// + /// Sum of SoloTackles and AssistedTackles + /// + [Description("Sum of SoloTackles and AssistedTackles")] + [DataMember(Name = "Tackles", Order = 85)] + public decimal Tackles { get; set; } + + /// + /// Offensive touchdowns scored + /// + [Description("Offensive touchdowns scored")] + [DataMember(Name = "OffensiveTouchdowns", Order = 86)] + public decimal OffensiveTouchdowns { get; set; } + + /// + /// Defensive touchdowns scored + /// + [Description("Defensive touchdowns scored")] + [DataMember(Name = "DefensiveTouchdowns", Order = 87)] + public decimal DefensiveTouchdowns { get; set; } + + /// + /// Special teams touchdowns scored + /// + [Description("Special teams touchdowns scored")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 88)] + public decimal SpecialTeamsTouchdowns { get; set; } + + /// + /// Total touchdowns scored + /// + [Description("Total touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 89)] + public decimal Touchdowns { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 90)] + public string FantasyPosition { get; set; } + + /// + /// Percentage of Field Goal attempts that we successful + /// + [Description("Percentage of Field Goal attempts that we successful")] + [DataMember(Name = "FieldGoalPercentage", Order = 91)] + public decimal FieldGoalPercentage { get; set; } + + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 92)] + public int PlayerGameID { get; set; } + + /// + /// Own team's fumbles recovered (did not result in a turnover) + /// + [Description("Own team's fumbles recovered (did not result in a turnover)")] + [DataMember(Name = "FumblesOwnRecoveries", Order = 93)] + public decimal? FumblesOwnRecoveries { get; set; } + + /// + /// Fumbles by this player that went out of bounds (no one was awarded the recovery) + /// + [Description("Fumbles by this player that went out of bounds (no one was awarded the recovery)")] + [DataMember(Name = "FumblesOutOfBounds", Order = 94)] + public decimal? FumblesOutOfBounds { get; set; } + + /// + /// Fair catches made on kickoffs + /// + [Description("Fair catches made on kickoffs")] + [DataMember(Name = "KickReturnFairCatches", Order = 95)] + public decimal? KickReturnFairCatches { get; set; } + + /// + /// Fair catches made on punts + /// + [Description("Fair catches made on punts")] + [DataMember(Name = "PuntReturnFairCatches", Order = 96)] + public decimal? PuntReturnFairCatches { get; set; } + + /// + /// Punts by this player that were touchbacks + /// + [Description("Punts by this player that were touchbacks")] + [DataMember(Name = "PuntTouchbacks", Order = 97)] + public decimal? PuntTouchbacks { get; set; } + + /// + /// Punts by this player that were downed inside the 20 yard line + /// + [Description("Punts by this player that were downed inside the 20 yard line")] + [DataMember(Name = "PuntInside20", Order = 98)] + public decimal? PuntInside20 { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 99)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kicks attempted + /// + [Description("Extra point kicks attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 100)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Blocked kicks that this player returned for touchdowns + /// + [Description("Blocked kicks that this player returned for touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 101)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goals that this player returned for touchdowns + /// + [Description("Field goals that this player returned for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 102)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone) + /// + [Description("Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone)")] + [DataMember(Name = "Safeties", Order = 103)] + public decimal? Safeties { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 104)] + public decimal? FieldGoalsHadBlocked { get; set; } + + /// + /// Punts that were blocked + /// + [Description("Punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 105)] + public decimal? PuntsHadBlocked { get; set; } + + /// + /// Extra points that were blocked + /// + [Description("Extra points that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 106)] + public decimal? ExtraPointsHadBlocked { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 107)] + public decimal? PuntLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 108)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 109)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 110)] + public decimal? PuntNetYards { get; set; } + + /// + /// Fumbles forced on special teams plays + /// + [Description("Fumbles forced on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesForced", Order = 111)] + public decimal? SpecialTeamsFumblesForced { get; set; } + + /// + /// Fumbles recovered on special teams plays + /// + [Description("Fumbles recovered on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesRecovered", Order = 112)] + public decimal? SpecialTeamsFumblesRecovered { get; set; } + + /// + /// Fumbles forced after a turnover on offensive plays + /// + [Description("Fumbles forced after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesForced", Order = 113)] + public decimal? MiscFumblesForced { get; set; } + + /// + /// Fumbles recovered after a turnover on offensive plays + /// + [Description("Fumbles recovered after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesRecovered", Order = 114)] + public decimal? MiscFumblesRecovered { get; set; } + + /// + /// Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning) + /// + [Description("Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning)")] + [DataMember(Name = "ShortName", Order = 115)] + public string ShortName { get; set; } + + /// + /// Playing surface of the stadium + /// + [Description("Playing surface of the stadium")] + [DataMember(Name = "PlayingSurface", Order = 116)] + public string PlayingSurface { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 117)] + public bool? IsGameOver { get; set; } + + /// + /// Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding) + /// + [Description("Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding)")] + [DataMember(Name = "SafetiesAllowed", Order = 118)] + public decimal? SafetiesAllowed { get; set; } + + /// + /// Stadium of the event + /// + [Description("Stadium of the event")] + [DataMember(Name = "Stadium", Order = 119)] + public string Stadium { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 120)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 121)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 122)] + public int? WindSpeed { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 123)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 124)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 125)] + public int? FantasyDataSalary { get; set; } + + /// + /// The number of snaps this player played on offense. + /// + [Description("The number of snaps this player played on offense.")] + [DataMember(Name = "OffensiveSnapsPlayed", Order = 126)] + public int? OffensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on defense. + /// + [Description("The number of snaps this player played on defense.")] + [DataMember(Name = "DefensiveSnapsPlayed", Order = 127)] + public int? DefensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on special teams. + /// + [Description("The number of snaps this player played on special teams.")] + [DataMember(Name = "SpecialTeamsSnapsPlayed", Order = 128)] + public int? SpecialTeamsSnapsPlayed { get; set; } + + /// + /// The total number of offensive snaps this player's team played. + /// + [Description("The total number of offensive snaps this player's team played.")] + [DataMember(Name = "OffensiveTeamSnaps", Order = 129)] + public int? OffensiveTeamSnaps { get; set; } + + /// + /// The total number of defensive snaps this player's team played. + /// + [Description("The total number of defensive snaps this player's team played.")] + [DataMember(Name = "DefensiveTeamSnaps", Order = 130)] + public int? DefensiveTeamSnaps { get; set; } + + /// + /// The total number of special teams snaps this player's team played. + /// + [Description("The total number of special teams snaps this player's team played.")] + [DataMember(Name = "SpecialTeamsTeamSnaps", Order = 131)] + public int? SpecialTeamsTeamSnaps { get; set; } + + /// + /// The player's salary for Victiv daily fantasy contests. + /// + [Description("The player's salary for Victiv daily fantasy contests.")] + [DataMember(Name = "VictivSalary", Order = 132)] + public int? VictivSalary { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 133)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 134)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Field goals made of 0 to 19 yards. + /// + [Description("Field goals made of 0 to 19 yards.")] + [DataMember(Name = "FieldGoalsMade0to19", Order = 135)] + public decimal? FieldGoalsMade0to19 { get; set; } + + /// + /// Field goals made of 20 to 29 yards. + /// + [Description("Field goals made of 20 to 29 yards.")] + [DataMember(Name = "FieldGoalsMade20to29", Order = 136)] + public decimal? FieldGoalsMade20to29 { get; set; } + + /// + /// Field goals made of 30 to 39 yards. + /// + [Description("Field goals made of 30 to 39 yards.")] + [DataMember(Name = "FieldGoalsMade30to39", Order = 137)] + public decimal? FieldGoalsMade30to39 { get; set; } + + /// + /// Field goals made of 40 to 49 yards. + /// + [Description("Field goals made of 40 to 49 yards.")] + [DataMember(Name = "FieldGoalsMade40to49", Order = 138)] + public decimal? FieldGoalsMade40to49 { get; set; } + + /// + /// Field goals made of 50+ yards. + /// + [Description("Field goals made of 50+ yards.")] + [DataMember(Name = "FieldGoalsMade50Plus", Order = 139)] + public decimal? FieldGoalsMade50Plus { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 140)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 141)] + public int? YahooSalary { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 142)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The player's injury status for the upcoming game, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("The player's injury status for the upcoming game, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "InjuryStatus", Order = 143)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 144)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 145)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 146)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 147)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 148)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 149)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 150)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 151)] + public int? OpponentPositionRank { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPractice", Order = 152)] + public string InjuryPractice { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPracticeDescription", Order = 153)] + public string InjuryPracticeDescription { get; set; } + + /// + /// Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE) + /// + [Description("Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE)")] + [DataMember(Name = "DeclaredInactive", Order = 154)] + public bool DeclaredInactive { get; set; } + + /// + /// The player's salary for FantasyDraft daily fantasy contests. + /// + [Description("The player's salary for FantasyDraft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 155)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in FantasyDraft's daily fantasy sports platform. + /// + [Description("The player's eligible position in FantasyDraft's daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 156)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 157)] + public int? TeamID { get; set; } + + /// + /// The unique ID of this opposing team + /// + [Description("The unique ID of this opposing team")] + [DataMember(Name = "OpponentID", Order = 158)] + public int? OpponentID { get; set; } + + /// + /// The date of the game in US Eastern Time + /// + [Description("The date of the game in US Eastern Time")] + [DataMember(Name = "Day", Order = 159)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game in US Eastern Time + /// + [Description("The date and time of the game in US Eastern Time")] + [DataMember(Name = "DateTime", Order = 160)] + public DateTime? DateTime { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 161)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 162)] + public int? GlobalTeamID { get; set; } + + /// + /// A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 163)] + public int? GlobalOpponentID { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 164)] + public int ScoreID { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 165)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// The details of the scoring plays this player recorded + /// + [Description("The details of the scoring plays this player recorded")] + [DataMember(Name = "ScoringDetails", Order = 20166)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// Touchdowns scored by an offensive player recovering a fumble + /// + [Description("Touchdowns scored by an offensive player recovering a fumble")] + [DataMember(Name = "OffensiveFumbleRecoveryTouchdowns", Order = 167)] + public decimal? OffensiveFumbleRecoveryTouchdowns { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGameRedZone.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGameRedZone.cs new file mode 100644 index 0000000..5c869d5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerGameRedZone.cs @@ -0,0 +1,1182 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerGameRedZone")] + [Serializable] + public partial class PlayerGameRedZone + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int Season { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "GameDate", Order = 5)] + public DateTime GameDate { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 6)] + public int Week { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The abbreviation of the Opponent + /// + [Description("The abbreviation of the Opponent")] + [DataMember(Name = "Opponent", Order = 8)] + public string Opponent { get; set; } + + /// + /// Whether the player is Home or Away + /// + [Description("Whether the player is Home or Away")] + [DataMember(Name = "HomeOrAway", Order = 9)] + public string HomeOrAway { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 10)] + public int Number { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 11)] + public string Name { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 12)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 13)] + public string PositionCategory { get; set; } + + /// + /// Whether the player was Active at gametime + /// + [Description("Whether the player was Active at gametime")] + [DataMember(Name = "Activated", Order = 14)] + public int Activated { get; set; } + + /// + /// Whether the player played in at least one play + /// + [Description("Whether the player played in at least one play")] + [DataMember(Name = "Played", Order = 15)] + public int Played { get; set; } + + /// + /// Whether the player started on offense or defense + /// + [Description("Whether the player started on offense or defense")] + [DataMember(Name = "Started", Order = 16)] + public int Started { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 17)] + public decimal PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 18)] + public decimal PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 19)] + public decimal PassingYards { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "PassingCompletionPercentage", Order = 20)] + public decimal PassingCompletionPercentage { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 21)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 22)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 23)] + public decimal PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 24)] + public decimal PassingInterceptions { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PassingRating", Order = 25)] + public decimal PassingRating { get; set; } + + /// + /// Longest completion + /// + [Description("Longest completion")] + [DataMember(Name = "PassingLong", Order = 26)] + public decimal PassingLong { get; set; } + + /// + /// Number of times sacked + /// + [Description("Number of times sacked")] + [DataMember(Name = "PassingSacks", Order = 27)] + public decimal PassingSacks { get; set; } + + /// + /// Yards lost as a result of being sacked + /// + [Description("Yards lost as a result of being sacked")] + [DataMember(Name = "PassingSackYards", Order = 28)] + public decimal PassingSackYards { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 29)] + public decimal RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 30)] + public decimal RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 31)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 32)] + public decimal RushingTouchdowns { get; set; } + + /// + /// Longest rush + /// + [Description("Longest rush")] + [DataMember(Name = "RushingLong", Order = 33)] + public decimal RushingLong { get; set; } + + /// + /// Number of times targeted by passer + /// + [Description("Number of times targeted by passer")] + [DataMember(Name = "ReceivingTargets", Order = 34)] + public decimal? ReceivingTargets { get; set; } + + /// + /// Number of receptions + /// + [Description("Number of receptions")] + [DataMember(Name = "Receptions", Order = 35)] + public decimal Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 36)] + public decimal ReceivingYards { get; set; } + + /// + /// Average yards gained per reception + /// + [Description("Average yards gained per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 37)] + public decimal ReceivingYardsPerReception { get; set; } + + /// + /// Receiving touchdowns + /// + [Description("Receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 38)] + public decimal ReceivingTouchdowns { get; set; } + + /// + /// Longest reception + /// + [Description("Longest reception")] + [DataMember(Name = "ReceivingLong", Order = 39)] + public decimal ReceivingLong { get; set; } + + /// + /// Times fumbled + /// + [Description("Times fumbled")] + [DataMember(Name = "Fumbles", Order = 40)] + public decimal Fumbles { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 41)] + public decimal? FumblesLost { get; set; } + + /// + /// Number of punt return attempts + /// + [Description("Number of punt return attempts")] + [DataMember(Name = "PuntReturns", Order = 42)] + public decimal PuntReturns { get; set; } + + /// + /// Total return yards on punts + /// + [Description("Total return yards on punts")] + [DataMember(Name = "PuntReturnYards", Order = 43)] + public decimal PuntReturnYards { get; set; } + + /// + /// Average yards gained per punt return + /// + [Description("Average yards gained per punt return")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 44)] + public decimal PuntReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on punt returns + /// + [Description("Number of touchdowns on punt returns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 45)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 46)] + public decimal PuntReturnLong { get; set; } + + /// + /// Number of kick return attempts + /// + [Description("Number of kick return attempts")] + [DataMember(Name = "KickReturns", Order = 47)] + public decimal KickReturns { get; set; } + + /// + /// Total return yards on kicks + /// + [Description("Total return yards on kicks")] + [DataMember(Name = "KickReturnYards", Order = 48)] + public decimal KickReturnYards { get; set; } + + /// + /// Average yards gained per kick return + /// + [Description("Average yards gained per kick return")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 49)] + public decimal KickReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on kick returns + /// + [Description("Number of touchdowns on kick returns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 50)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 51)] + public decimal KickReturnLong { get; set; } + + /// + /// Solo, unassisted tackles + /// + [Description("Solo, unassisted tackles")] + [DataMember(Name = "SoloTackles", Order = 52)] + public decimal SoloTackles { get; set; } + + /// + /// Assisted tackles (also called a half tackle) + /// + [Description("Assisted tackles (also called a half tackle)")] + [DataMember(Name = "AssistedTackles", Order = 53)] + public decimal AssistedTackles { get; set; } + + /// + /// Tackles behind the opponent's line of scrimmage + /// + [Description("Tackles behind the opponent's line of scrimmage")] + [DataMember(Name = "TacklesForLoss", Order = 54)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Sacks of the opposing quarterback + /// + [Description("Sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 55)] + public decimal Sacks { get; set; } + + /// + /// Yards lost as a result of sacking the opposing quarterback + /// + [Description("Yards lost as a result of sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 56)] + public decimal SackYards { get; set; } + + /// + /// Number of times hitting an opposing quarterback without sacking him + /// + [Description("Number of times hitting an opposing quarterback without sacking him")] + [DataMember(Name = "QuarterbackHits", Order = 57)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Passes defended or batted down + /// + [Description("Passes defended or batted down")] + [DataMember(Name = "PassesDefended", Order = 58)] + public decimal PassesDefended { get; set; } + + /// + /// Number of fumbles forced + /// + [Description("Number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 59)] + public decimal FumblesForced { get; set; } + + /// + /// Number of fumbles recovered + /// + [Description("Number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 60)] + public decimal FumblesRecovered { get; set; } + + /// + /// Return yards from fumble recoveries + /// + [Description("Return yards from fumble recoveries")] + [DataMember(Name = "FumbleReturnYards", Order = 61)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Return touchdowns from fumble recoveries + /// + [Description("Return touchdowns from fumble recoveries")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 62)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Number of interceptions + /// + [Description("Number of interceptions")] + [DataMember(Name = "Interceptions", Order = 63)] + public decimal Interceptions { get; set; } + + /// + /// Return yards from interceptions + /// + [Description("Return yards from interceptions")] + [DataMember(Name = "InterceptionReturnYards", Order = 64)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Return touchdowns from interceptions + /// + [Description("Return touchdowns from interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 65)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of field goals and punts blocked + /// + [Description("Total number of field goals and punts blocked")] + [DataMember(Name = "BlockedKicks", Order = 66)] + public decimal BlockedKicks { get; set; } + + /// + /// Solo tackles on kick and punt plays + /// + [Description("Solo tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsSoloTackles", Order = 67)] + public decimal SpecialTeamsSoloTackles { get; set; } + + /// + /// Assisted tackles on kick and punt plays + /// + [Description("Assisted tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsAssistedTackles", Order = 68)] + public decimal SpecialTeamsAssistedTackles { get; set; } + + /// + /// Solo tackles when playing offense (after a turnover) + /// + [Description("Solo tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscSoloTackles", Order = 69)] + public decimal MiscSoloTackles { get; set; } + + /// + /// Assisted tackles when playing offense (after a turnover) + /// + [Description("Assisted tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscAssistedTackles", Order = 70)] + public decimal MiscAssistedTackles { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 71)] + public decimal Punts { get; set; } + + /// + /// Total number of punt yards + /// + [Description("Total number of punt yards")] + [DataMember(Name = "PuntYards", Order = 72)] + public decimal PuntYards { get; set; } + + /// + /// Average yards per punt + /// + [Description("Average yards per punt")] + [DataMember(Name = "PuntAverage", Order = 73)] + public decimal PuntAverage { get; set; } + + /// + /// Number of field goal attempts + /// + [Description("Number of field goal attempts")] + [DataMember(Name = "FieldGoalsAttempted", Order = 74)] + public decimal FieldGoalsAttempted { get; set; } + + /// + /// Number of successful field goal attempts + /// + [Description("Number of successful field goal attempts")] + [DataMember(Name = "FieldGoalsMade", Order = 75)] + public decimal FieldGoalsMade { get; set; } + + /// + /// Longest successful field goal attempt + /// + [Description("Longest successful field goal attempt")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 76)] + public decimal FieldGoalsLongestMade { get; set; } + + /// + /// Number of successful extra points + /// + [Description("Number of successful extra points")] + [DataMember(Name = "ExtraPointsMade", Order = 77)] + public decimal ExtraPointsMade { get; set; } + + /// + /// Successful two point conversion passes + /// + [Description("Successful two point conversion passes")] + [DataMember(Name = "TwoPointConversionPasses", Order = 78)] + public decimal TwoPointConversionPasses { get; set; } + + /// + /// Successful two point conversion runs + /// + [Description("Successful two point conversion runs")] + [DataMember(Name = "TwoPointConversionRuns", Order = 79)] + public decimal TwoPointConversionRuns { get; set; } + + /// + /// Successful two point conversion receptions + /// + [Description("Successful two point conversion receptions")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 80)] + public decimal TwoPointConversionReceptions { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 81)] + public decimal FantasyPoints { get; set; } + + /// + /// Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPointsPPR", Order = 82)] + public decimal FantasyPointsPPR { get; set; } + + /// + /// Percentage of ReceivingTargets convert into Receptions + /// + [Description("Percentage of ReceivingTargets convert into Receptions")] + [DataMember(Name = "ReceptionPercentage", Order = 83)] + public decimal ReceptionPercentage { get; set; } + + /// + /// Average yards gained per ReceivingTargets + /// + [Description("Average yards gained per ReceivingTargets")] + [DataMember(Name = "ReceivingYardsPerTarget", Order = 84)] + public decimal ReceivingYardsPerTarget { get; set; } + + /// + /// Sum of SoloTackles and AssistedTackles + /// + [Description("Sum of SoloTackles and AssistedTackles")] + [DataMember(Name = "Tackles", Order = 85)] + public decimal Tackles { get; set; } + + /// + /// Offensive touchdowns scored + /// + [Description("Offensive touchdowns scored")] + [DataMember(Name = "OffensiveTouchdowns", Order = 86)] + public decimal OffensiveTouchdowns { get; set; } + + /// + /// Defensive touchdowns scored + /// + [Description("Defensive touchdowns scored")] + [DataMember(Name = "DefensiveTouchdowns", Order = 87)] + public decimal DefensiveTouchdowns { get; set; } + + /// + /// Special teams touchdowns scored + /// + [Description("Special teams touchdowns scored")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 88)] + public decimal SpecialTeamsTouchdowns { get; set; } + + /// + /// Total touchdowns scored + /// + [Description("Total touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 89)] + public decimal Touchdowns { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 90)] + public string FantasyPosition { get; set; } + + /// + /// Percentage of Field Goal attempts that we successful + /// + [Description("Percentage of Field Goal attempts that we successful")] + [DataMember(Name = "FieldGoalPercentage", Order = 91)] + public decimal FieldGoalPercentage { get; set; } + + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 92)] + public int PlayerGameID { get; set; } + + /// + /// Own team's fumbles recovered (did not result in a turnover) + /// + [Description("Own team's fumbles recovered (did not result in a turnover)")] + [DataMember(Name = "FumblesOwnRecoveries", Order = 93)] + public decimal? FumblesOwnRecoveries { get; set; } + + /// + /// Fumbles by this player that went out of bounds (no one was awarded the recovery) + /// + [Description("Fumbles by this player that went out of bounds (no one was awarded the recovery)")] + [DataMember(Name = "FumblesOutOfBounds", Order = 94)] + public decimal? FumblesOutOfBounds { get; set; } + + /// + /// Fair catches made on kickoffs + /// + [Description("Fair catches made on kickoffs")] + [DataMember(Name = "KickReturnFairCatches", Order = 95)] + public decimal? KickReturnFairCatches { get; set; } + + /// + /// Fair catches made on punts + /// + [Description("Fair catches made on punts")] + [DataMember(Name = "PuntReturnFairCatches", Order = 96)] + public decimal? PuntReturnFairCatches { get; set; } + + /// + /// Punts by this player that were touchbacks + /// + [Description("Punts by this player that were touchbacks")] + [DataMember(Name = "PuntTouchbacks", Order = 97)] + public decimal? PuntTouchbacks { get; set; } + + /// + /// Punts by this player that were downed inside the 20 yard line + /// + [Description("Punts by this player that were downed inside the 20 yard line")] + [DataMember(Name = "PuntInside20", Order = 98)] + public decimal? PuntInside20 { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 99)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kicks attempted + /// + [Description("Extra point kicks attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 100)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Blocked kicks that this player returned for touchdowns + /// + [Description("Blocked kicks that this player returned for touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 101)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goals that this player returned for touchdowns + /// + [Description("Field goals that this player returned for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 102)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone) + /// + [Description("Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone)")] + [DataMember(Name = "Safeties", Order = 103)] + public decimal? Safeties { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 104)] + public decimal? FieldGoalsHadBlocked { get; set; } + + /// + /// Punts that were blocked + /// + [Description("Punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 105)] + public decimal? PuntsHadBlocked { get; set; } + + /// + /// Extra points that were blocked + /// + [Description("Extra points that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 106)] + public decimal? ExtraPointsHadBlocked { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 107)] + public decimal? PuntLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 108)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 109)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 110)] + public decimal? PuntNetYards { get; set; } + + /// + /// Fumbles forced on special teams plays + /// + [Description("Fumbles forced on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesForced", Order = 111)] + public decimal? SpecialTeamsFumblesForced { get; set; } + + /// + /// Fumbles recovered on special teams plays + /// + [Description("Fumbles recovered on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesRecovered", Order = 112)] + public decimal? SpecialTeamsFumblesRecovered { get; set; } + + /// + /// Fumbles forced after a turnover on offensive plays + /// + [Description("Fumbles forced after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesForced", Order = 113)] + public decimal? MiscFumblesForced { get; set; } + + /// + /// Fumbles recovered after a turnover on offensive plays + /// + [Description("Fumbles recovered after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesRecovered", Order = 114)] + public decimal? MiscFumblesRecovered { get; set; } + + /// + /// Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning) + /// + [Description("Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning)")] + [DataMember(Name = "ShortName", Order = 115)] + public string ShortName { get; set; } + + /// + /// Playing surface of the stadium + /// + [Description("Playing surface of the stadium")] + [DataMember(Name = "PlayingSurface", Order = 116)] + public string PlayingSurface { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 117)] + public bool? IsGameOver { get; set; } + + /// + /// Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding) + /// + [Description("Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding)")] + [DataMember(Name = "SafetiesAllowed", Order = 118)] + public decimal? SafetiesAllowed { get; set; } + + /// + /// Stadium of the event + /// + [Description("Stadium of the event")] + [DataMember(Name = "Stadium", Order = 119)] + public string Stadium { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 120)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 121)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 122)] + public int? WindSpeed { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 123)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 124)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 125)] + public int? FantasyDataSalary { get; set; } + + /// + /// The number of snaps this player played on offense. + /// + [Description("The number of snaps this player played on offense.")] + [DataMember(Name = "OffensiveSnapsPlayed", Order = 126)] + public int? OffensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on defense. + /// + [Description("The number of snaps this player played on defense.")] + [DataMember(Name = "DefensiveSnapsPlayed", Order = 127)] + public int? DefensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on special teams. + /// + [Description("The number of snaps this player played on special teams.")] + [DataMember(Name = "SpecialTeamsSnapsPlayed", Order = 128)] + public int? SpecialTeamsSnapsPlayed { get; set; } + + /// + /// The total number of offensive snaps this player's team played. + /// + [Description("The total number of offensive snaps this player's team played.")] + [DataMember(Name = "OffensiveTeamSnaps", Order = 129)] + public int? OffensiveTeamSnaps { get; set; } + + /// + /// The total number of defensive snaps this player's team played. + /// + [Description("The total number of defensive snaps this player's team played.")] + [DataMember(Name = "DefensiveTeamSnaps", Order = 130)] + public int? DefensiveTeamSnaps { get; set; } + + /// + /// The total number of special teams snaps this player's team played. + /// + [Description("The total number of special teams snaps this player's team played.")] + [DataMember(Name = "SpecialTeamsTeamSnaps", Order = 131)] + public int? SpecialTeamsTeamSnaps { get; set; } + + /// + /// The player's salary for Victiv daily fantasy contests. + /// + [Description("The player's salary for Victiv daily fantasy contests.")] + [DataMember(Name = "VictivSalary", Order = 132)] + public int? VictivSalary { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 133)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 134)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Field goals made of 0 to 19 yards. + /// + [Description("Field goals made of 0 to 19 yards.")] + [DataMember(Name = "FieldGoalsMade0to19", Order = 135)] + public decimal? FieldGoalsMade0to19 { get; set; } + + /// + /// Field goals made of 20 to 29 yards. + /// + [Description("Field goals made of 20 to 29 yards.")] + [DataMember(Name = "FieldGoalsMade20to29", Order = 136)] + public decimal? FieldGoalsMade20to29 { get; set; } + + /// + /// Field goals made of 30 to 39 yards. + /// + [Description("Field goals made of 30 to 39 yards.")] + [DataMember(Name = "FieldGoalsMade30to39", Order = 137)] + public decimal? FieldGoalsMade30to39 { get; set; } + + /// + /// Field goals made of 40 to 49 yards. + /// + [Description("Field goals made of 40 to 49 yards.")] + [DataMember(Name = "FieldGoalsMade40to49", Order = 138)] + public decimal? FieldGoalsMade40to49 { get; set; } + + /// + /// Field goals made of 50+ yards. + /// + [Description("Field goals made of 50+ yards.")] + [DataMember(Name = "FieldGoalsMade50Plus", Order = 139)] + public decimal? FieldGoalsMade50Plus { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 140)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 141)] + public int? YahooSalary { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 142)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The player's injury status for the upcoming game, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out) + /// + [Description("The player's injury status for the upcoming game, in the form of likelihood that player plays (Probable, Questionable, Doubtful, Out)")] + [DataMember(Name = "InjuryStatus", Order = 143)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 144)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 145)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 146)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 147)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 148)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 149)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 150)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 151)] + public int? OpponentPositionRank { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPractice", Order = 152)] + public string InjuryPractice { get; set; } + + /// + /// deprecated + /// + [Description("deprecated")] + [DataMember(Name = "InjuryPracticeDescription", Order = 153)] + public string InjuryPracticeDescription { get; set; } + + /// + /// Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE) + /// + [Description("Whether the player has been declared inactive. This value is updated in the hours leading up to game start time, as teams announce their inactive players. This is only updated for offensive skill position players (QB, RB, WR, TE)")] + [DataMember(Name = "DeclaredInactive", Order = 154)] + public bool DeclaredInactive { get; set; } + + /// + /// The player's salary for FantasyDraft daily fantasy contests. + /// + [Description("The player's salary for FantasyDraft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 155)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in FantasyDraft's daily fantasy sports platform. + /// + [Description("The player's eligible position in FantasyDraft's daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 156)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 157)] + public int? TeamID { get; set; } + + /// + /// The unique ID of this opposing team + /// + [Description("The unique ID of this opposing team")] + [DataMember(Name = "OpponentID", Order = 158)] + public int? OpponentID { get; set; } + + /// + /// The date of the game in US Eastern Time + /// + [Description("The date of the game in US Eastern Time")] + [DataMember(Name = "Day", Order = 159)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game in US Eastern Time + /// + [Description("The date and time of the game in US Eastern Time")] + [DataMember(Name = "DateTime", Order = 160)] + public DateTime? DateTime { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 161)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 162)] + public int? GlobalTeamID { get; set; } + + /// + /// A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 163)] + public int? GlobalOpponentID { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 164)] + public int ScoreID { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 165)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// The details of the scoring plays this player recorded + /// + [Description("The details of the scoring plays this player recorded")] + [DataMember(Name = "ScoringDetails", Order = 20166)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// Touchdowns scored by an offensive player recovering a fumble + /// + [Description("Touchdowns scored by an offensive player recovering a fumble")] + [DataMember(Name = "OffensiveFumbleRecoveryTouchdowns", Order = 167)] + public decimal? OffensiveFumbleRecoveryTouchdowns { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerInfo.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerInfo.cs new file mode 100644 index 0000000..2bf6859 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerInfo.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerInfo")] + [Serializable] + public partial class PlayerInfo + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Name of Player. + /// + [Description("Name of Player.")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// Unique ID of the Team the player belongs to (assigned by FantasyData). + /// + [Description("Unique ID of the Team the player belongs to (assigned by FantasyData).")] + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + /// + /// Name of the team the player belongs to. + /// + [Description("Name of the team the player belongs to.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Position player plays. + /// + [Description("Position player plays.")] + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerKickPuntReturns.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerKickPuntReturns.cs new file mode 100644 index 0000000..bd5c8b1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerKickPuntReturns.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerKickPuntReturns")] + [Serializable] + public partial class PlayerKickPuntReturns + { + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 1)] + public int? PlayerGameID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 3)] + public string ShortName { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 6)] + public int Number { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 9)] + public string FantasyPosition { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// The date and time that this player game was last updated (US Eastern Time) + /// + [Description("The date and time that this player game was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// Number of kick return attempts + /// + [Description("Number of kick return attempts")] + [DataMember(Name = "KickReturns", Order = 12)] + public int KickReturns { get; set; } + + /// + /// Total return yards on kicks + /// + [Description("Total return yards on kicks")] + [DataMember(Name = "KickReturnYards", Order = 13)] + public int KickReturnYards { get; set; } + + /// + /// Average yards gained per kick return + /// + [Description("Average yards gained per kick return")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 14)] + public decimal KickReturnYardsPerAttempt { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 15)] + public int KickReturnLong { get; set; } + + /// + /// Number of touchdowns on kick returns + /// + [Description("Number of touchdowns on kick returns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 16)] + public int KickReturnTouchdowns { get; set; } + + /// + /// Number of punt return attempts + /// + [Description("Number of punt return attempts")] + [DataMember(Name = "PuntReturns", Order = 17)] + public int PuntReturns { get; set; } + + /// + /// Total return yards on punts + /// + [Description("Total return yards on punts")] + [DataMember(Name = "PuntReturnYards", Order = 18)] + public int PuntReturnYards { get; set; } + + /// + /// Average yards gained per punt return + /// + [Description("Average yards gained per punt return")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 19)] + public decimal PuntReturnYardsPerAttempt { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 20)] + public int PuntReturnLong { get; set; } + + /// + /// Number of touchdowns on punt returns + /// + [Description("Number of touchdowns on punt returns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 21)] + public int PuntReturnTouchdowns { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 22)] + public int FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerKicking.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerKicking.cs new file mode 100644 index 0000000..705f64f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerKicking.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerKicking")] + [Serializable] + public partial class PlayerKicking + { + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 1)] + public int? PlayerGameID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 3)] + public string ShortName { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 6)] + public int Number { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 9)] + public string FantasyPosition { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// The date and time that this player game was last updated (US Eastern Time) + /// + [Description("The date and time that this player game was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// Number of successful extra points + /// + [Description("Number of successful extra points")] + [DataMember(Name = "ExtraPointsMade", Order = 12)] + public int ExtraPointsMade { get; set; } + + /// + /// Extra point kicks attempted + /// + [Description("Extra point kicks attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 13)] + public int ExtraPointsAttempted { get; set; } + + /// + /// Number of successful field goal attempts + /// + [Description("Number of successful field goal attempts")] + [DataMember(Name = "FieldGoalsMade", Order = 14)] + public int FieldGoalsMade { get; set; } + + /// + /// Number of field goal attempts + /// + [Description("Number of field goal attempts")] + [DataMember(Name = "FieldGoalsAttempted", Order = 15)] + public int FieldGoalsAttempted { get; set; } + + /// + /// Longest successful field goal attempt + /// + [Description("Longest successful field goal attempt")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 16)] + public int FieldGoalsLongestMade { get; set; } + + /// + /// Percentage of Field Goal attempts that we successful + /// + [Description("Percentage of Field Goal attempts that we successful")] + [DataMember(Name = "FieldGoalPercentage", Order = 17)] + public decimal FieldGoalPercentage { get; set; } + + /// + /// Field goals made of 0 to 19 yards + /// + [Description("Field goals made of 0 to 19 yards")] + [DataMember(Name = "FieldGoalsMade0to19", Order = 18)] + public int FieldGoalsMade0to19 { get; set; } + + /// + /// Field goals made of 20 to 29 yards + /// + [Description("Field goals made of 20 to 29 yards")] + [DataMember(Name = "FieldGoalsMade20to29", Order = 19)] + public int FieldGoalsMade20to29 { get; set; } + + /// + /// Field goals made of 30 to 39 yards + /// + [Description("Field goals made of 30 to 39 yards")] + [DataMember(Name = "FieldGoalsMade30to39", Order = 20)] + public int FieldGoalsMade30to39 { get; set; } + + /// + /// Field goals made of 40 to 49 yards + /// + [Description("Field goals made of 40 to 49 yards")] + [DataMember(Name = "FieldGoalsMade40to49", Order = 21)] + public int FieldGoalsMade40to49 { get; set; } + + /// + /// Field goals made of 50+ yards + /// + [Description("Field goals made of 50+ yards")] + [DataMember(Name = "FieldGoalsMade50Plus", Order = 22)] + public int FieldGoalsMade50Plus { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerOwnership.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerOwnership.cs new file mode 100644 index 0000000..5238bdb --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerOwnership.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerOwnership")] + [Serializable] + public partial class PlayerOwnership + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The NFL season of the ownership info + /// + [Description("The NFL season of the ownership info")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 4)] + public int Week { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// Player's fantasy position + /// + [Description("Player's fantasy position")] + [DataMember(Name = "Position", Order = 6)] + public string Position { get; set; } + + /// + /// Player's unique team key + /// + [Description("Player's unique team key")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's unique team ID + /// + [Description("Player's unique team ID")] + [DataMember(Name = "TeamID", Order = 8)] + public int? TeamID { get; set; } + + /// + /// Player's ownership percentage on NFL.com fantasy leagues during this week + /// + [Description("Player's ownership percentage on NFL.com fantasy leagues during this week")] + [DataMember(Name = "OwnershipPercentage", Order = 9)] + public decimal? OwnershipPercentage { get; set; } + + /// + /// Player's change in ownership percentage on NFL.com fantasy leagues during this week + /// + [Description("Player's change in ownership percentage on NFL.com fantasy leagues during this week")] + [DataMember(Name = "DeltaOwnershipPercentage", Order = 10)] + public decimal? DeltaOwnershipPercentage { get; set; } + + /// + /// Player's starting lineup percentage on NFL.com fantasy leagues during this week + /// + [Description("Player's starting lineup percentage on NFL.com fantasy leagues during this week")] + [DataMember(Name = "StartPercentage", Order = 11)] + public decimal? StartPercentage { get; set; } + + /// + /// Player's change in starting lineup percentage on NFL.com fantasy leagues during this week + /// + [Description("Player's change in starting lineup percentage on NFL.com fantasy leagues during this week")] + [DataMember(Name = "DeltaStartPercentage", Order = 12)] + public decimal? DeltaStartPercentage { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerPassing.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerPassing.cs new file mode 100644 index 0000000..f7731b3 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerPassing.cs @@ -0,0 +1,188 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerPassing")] + [Serializable] + public partial class PlayerPassing + { + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 1)] + public int? PlayerGameID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 3)] + public string ShortName { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 6)] + public int Number { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 9)] + public string FantasyPosition { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// The date and time that this player game was last updated (US Eastern Time) + /// + [Description("The date and time that this player game was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 12)] + public int PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 13)] + public int PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 14)] + public int PassingYards { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 15)] + public int PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 16)] + public int PassingInterceptions { get; set; } + + /// + /// Longest completion + /// + [Description("Longest completion")] + [DataMember(Name = "PassingLong", Order = 17)] + public int PassingLong { get; set; } + + /// + /// Number of times sacked + /// + [Description("Number of times sacked")] + [DataMember(Name = "PassingSacks", Order = 18)] + public int PassingSacks { get; set; } + + /// + /// Yards lost as a result of being sacked + /// + [Description("Yards lost as a result of being sacked")] + [DataMember(Name = "PassingSackYards", Order = 19)] + public int PassingSackYards { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "PassingCompletionPercentage", Order = 20)] + public decimal PassingCompletionPercentage { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 21)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 22)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PassingRating", Order = 23)] + public decimal PassingRating { get; set; } + + /// + /// Successful two point conversion passes + /// + [Description("Successful two point conversion passes")] + [DataMember(Name = "TwoPointConversionPasses", Order = 24)] + public int TwoPointConversionPasses { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 25)] + public int FumblesLost { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerProp.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerProp.cs new file mode 100644 index 0000000..e78acec --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerProp.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerProp")] + [Serializable] + public partial class PlayerProp + { + /// + /// The PlayerID of the player + /// + [Description("The PlayerID of the player")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The ScoreID of the game + /// + [Description("The ScoreID of the game")] + [DataMember(Name = "ScoreID", Order = 2)] + public int ScoreID { get; set; } + + /// + /// The full name of the player + /// + [Description("The full name of the player")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The TeamKey of the opponent in the game + /// + [Description("The TeamKey of the opponent in the game")] + [DataMember(Name = "Opponent", Order = 4)] + public string Opponent { get; set; } + + /// + /// The TeamKey of the player's team in the game + /// + [Description("The TeamKey of the player's team in the game")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The start time of the game (to give an idea of when prop should close) + /// + [Description("The start time of the game (to give an idea of when prop should close)")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime DateTime { get; set; } + + /// + /// A description of the stat the over/under is referring to (ex: Passing Yards) + /// + [Description("A description of the stat the over/under is referring to (ex: Passing Yards)")] + [DataMember(Name = "Description", Order = 7)] + public string Description { get; set; } + + /// + /// The over under value in question (ex: 1.5) + /// + [Description("The over under value in question (ex: 1.5)")] + [DataMember(Name = "OverUnder", Order = 8)] + public decimal OverUnder { get; set; } + + /// + /// The (american styled) payout for a successful over bet. + /// + [Description("The (american styled) payout for a successful over bet.")] + [DataMember(Name = "OverPayout", Order = 9)] + public int OverPayout { get; set; } + + /// + /// The (american styled) payout for a successful under bet. + /// + [Description("The (american styled) payout for a successful under bet.")] + [DataMember(Name = "UnderPayout", Order = 10)] + public int UnderPayout { get; set; } + + /// + /// A description of the result (Over, Under, or Push) + /// + [Description("A description of the result (Over, Under, or Push)")] + [DataMember(Name = "BetResult", Order = 11)] + public string BetResult { get; set; } + + /// + /// The final total from the game of the stat in question + /// + [Description("The final total from the game of the stat in question ")] + [DataMember(Name = "StatResult", Order = 12)] + public decimal? StatResult { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerPunting.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerPunting.cs new file mode 100644 index 0000000..c36ee34 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerPunting.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerPunting")] + [Serializable] + public partial class PlayerPunting + { + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 1)] + public int? PlayerGameID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 3)] + public string ShortName { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 6)] + public int Number { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 9)] + public string FantasyPosition { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// The date and time that this player game was last updated (US Eastern Time) + /// + [Description("The date and time that this player game was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 12)] + public int Punts { get; set; } + + /// + /// Average yards per punt + /// + [Description("Average yards per punt")] + [DataMember(Name = "PuntAverage", Order = 13)] + public decimal PuntAverage { get; set; } + + /// + /// Punts by this player that were downed inside the 20 yard line + /// + [Description("Punts by this player that were downed inside the 20 yard line")] + [DataMember(Name = "PuntInside20", Order = 14)] + public int PuntInside20 { get; set; } + + /// + /// Punts by this player that were touchbacks + /// + [Description("Punts by this player that were touchbacks")] + [DataMember(Name = "PuntTouchbacks", Order = 15)] + public int PuntTouchbacks { get; set; } + + /// + /// Total number of punt yards + /// + [Description("Total number of punt yards")] + [DataMember(Name = "PuntYards", Order = 16)] + public int PuntYards { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerReceiving.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerReceiving.cs new file mode 100644 index 0000000..ab623e1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerReceiving.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerReceiving")] + [Serializable] + public partial class PlayerReceiving + { + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 1)] + public int? PlayerGameID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 3)] + public string ShortName { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 6)] + public int Number { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 9)] + public string FantasyPosition { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// The date and time that this player game was last updated (US Eastern Time) + /// + [Description("The date and time that this player game was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// Number of receptions + /// + [Description("Number of receptions")] + [DataMember(Name = "Receptions", Order = 12)] + public int Receptions { get; set; } + + /// + /// Number of times targeted by passer + /// + [Description("Number of times targeted by passer")] + [DataMember(Name = "ReceivingTargets", Order = 13)] + public int ReceivingTargets { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 14)] + public int ReceivingYards { get; set; } + + /// + /// Receiving touchdowns + /// + [Description("Receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 15)] + public int ReceivingTouchdowns { get; set; } + + /// + /// Longest reception + /// + [Description("Longest reception")] + [DataMember(Name = "ReceivingLong", Order = 16)] + public int ReceivingLong { get; set; } + + /// + /// Average yards gained per reception + /// + [Description("Average yards gained per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 17)] + public decimal ReceivingYardsPerReception { get; set; } + + /// + /// Average yards gained per ReceivingTargets + /// + [Description("Average yards gained per ReceivingTargets")] + [DataMember(Name = "ReceivingYardsPerTarget", Order = 18)] + public decimal ReceivingYardsPerTarget { get; set; } + + /// + /// Percentage of ReceivingTargets convert into Receptions + /// + [Description("Percentage of ReceivingTargets convert into Receptions")] + [DataMember(Name = "ReceptionPercentage", Order = 19)] + public decimal ReceptionPercentage { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 20)] + public int FumblesLost { get; set; } + + /// + /// Successful two point conversion receptions + /// + [Description("Successful two point conversion receptions")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 21)] + public int TwoPointConversionReceptions { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerRushing.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerRushing.cs new file mode 100644 index 0000000..705da89 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerRushing.cs @@ -0,0 +1,139 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerRushing")] + [Serializable] + public partial class PlayerRushing + { + /// + /// Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID. + /// + [Description("Unique ID of PlayerGame record (subject to change, although it very rarely does). For a static ID, use a combination of GameKey and PlayerID.")] + [DataMember(Name = "PlayerGameID", Order = 1)] + public int? PlayerGameID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// A shortened version of the player's full name (C.Newton, A.Rodgers) + /// + [Description("A shortened version of the player's full name (C.Newton, A.Rodgers)")] + [DataMember(Name = "ShortName", Order = 3)] + public string ShortName { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 6)] + public int Number { get; set; } + + /// + /// Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR + /// + [Description("Player's position for this particular game or season. Possible values: C, CB, DB, DE, DE/LB, DL, DT, FB, FS, G, ILB, K, KR, LB, LS, NT, OL, OLB, OT, P, QB, RB, S, SS, T, TE, WR")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 9)] + public string FantasyPosition { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 10)] + public decimal? FantasyPoints { get; set; } + + /// + /// The date and time that this player game was last updated (US Eastern Time) + /// + [Description("The date and time that this player game was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 11)] + public DateTime? Updated { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 12)] + public int RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 13)] + public int RushingYards { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 14)] + public int RushingTouchdowns { get; set; } + + /// + /// Longest rush + /// + [Description("Longest rush")] + [DataMember(Name = "RushingLong", Order = 15)] + public int RushingLong { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 16)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 17)] + public int FumblesLost { get; set; } + + /// + /// Successful two point conversion runs + /// + [Description("Successful two point conversion runs")] + [DataMember(Name = "TwoPointConversionRuns", Order = 18)] + public int TwoPointConversionRuns { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeason.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeason.cs new file mode 100644 index 0000000..79d5714 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeason.cs @@ -0,0 +1,993 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerSeason")] + [Serializable] + public partial class PlayerSeason + { + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 1)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The NFL regular season for which these totals apply + /// + [Description("The NFL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 5)] + public int Number { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// Number of games player was Active on gameday + /// + [Description("Number of games player was Active on gameday")] + [DataMember(Name = "Activated", Order = 9)] + public int Activated { get; set; } + + /// + /// Number of games played in + /// + [Description("Number of games played in")] + [DataMember(Name = "Played", Order = 10)] + public int Played { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 11)] + public int Started { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 12)] + public decimal PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 13)] + public decimal PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 14)] + public decimal PassingYards { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "PassingCompletionPercentage", Order = 15)] + public decimal PassingCompletionPercentage { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 16)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 17)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 18)] + public decimal PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 19)] + public decimal PassingInterceptions { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PassingRating", Order = 20)] + public decimal PassingRating { get; set; } + + /// + /// Longest completion + /// + [Description("Longest completion")] + [DataMember(Name = "PassingLong", Order = 21)] + public decimal PassingLong { get; set; } + + /// + /// Number of times sacked + /// + [Description("Number of times sacked")] + [DataMember(Name = "PassingSacks", Order = 22)] + public decimal PassingSacks { get; set; } + + /// + /// Yards lost as a result of being sacked + /// + [Description("Yards lost as a result of being sacked")] + [DataMember(Name = "PassingSackYards", Order = 23)] + public decimal PassingSackYards { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 24)] + public decimal RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 25)] + public decimal RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 26)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 27)] + public decimal RushingTouchdowns { get; set; } + + /// + /// Longest rush + /// + [Description("Longest rush")] + [DataMember(Name = "RushingLong", Order = 28)] + public decimal RushingLong { get; set; } + + /// + /// Number of times targeted by passer + /// + [Description("Number of times targeted by passer")] + [DataMember(Name = "ReceivingTargets", Order = 29)] + public decimal? ReceivingTargets { get; set; } + + /// + /// Number of receptions + /// + [Description("Number of receptions")] + [DataMember(Name = "Receptions", Order = 30)] + public decimal Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 31)] + public decimal ReceivingYards { get; set; } + + /// + /// Average yards gained per reception + /// + [Description("Average yards gained per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 32)] + public decimal ReceivingYardsPerReception { get; set; } + + /// + /// Receiving touchdowns + /// + [Description("Receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 33)] + public decimal ReceivingTouchdowns { get; set; } + + /// + /// Longest reception + /// + [Description("Longest reception")] + [DataMember(Name = "ReceivingLong", Order = 34)] + public decimal ReceivingLong { get; set; } + + /// + /// Times fumbled + /// + [Description("Times fumbled")] + [DataMember(Name = "Fumbles", Order = 35)] + public decimal Fumbles { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 36)] + public decimal? FumblesLost { get; set; } + + /// + /// Number of punt return attempts + /// + [Description("Number of punt return attempts")] + [DataMember(Name = "PuntReturns", Order = 37)] + public decimal PuntReturns { get; set; } + + /// + /// Total return yards on punts + /// + [Description("Total return yards on punts")] + [DataMember(Name = "PuntReturnYards", Order = 38)] + public decimal PuntReturnYards { get; set; } + + /// + /// Average yards gained per punt return + /// + [Description("Average yards gained per punt return")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 39)] + public decimal PuntReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on punt returns + /// + [Description("Number of touchdowns on punt returns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 40)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 41)] + public decimal PuntReturnLong { get; set; } + + /// + /// Number of kick return attempts + /// + [Description("Number of kick return attempts")] + [DataMember(Name = "KickReturns", Order = 42)] + public decimal KickReturns { get; set; } + + /// + /// Total return yards on kicks + /// + [Description("Total return yards on kicks")] + [DataMember(Name = "KickReturnYards", Order = 43)] + public decimal KickReturnYards { get; set; } + + /// + /// Average yards gained per kick return + /// + [Description("Average yards gained per kick return")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 44)] + public decimal KickReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on kick returns + /// + [Description("Number of touchdowns on kick returns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 45)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 46)] + public decimal KickReturnLong { get; set; } + + /// + /// Solo, unassisted tackles + /// + [Description("Solo, unassisted tackles")] + [DataMember(Name = "SoloTackles", Order = 47)] + public decimal SoloTackles { get; set; } + + /// + /// Assisted tackles (also called a half tackle) + /// + [Description("Assisted tackles (also called a half tackle)")] + [DataMember(Name = "AssistedTackles", Order = 48)] + public decimal AssistedTackles { get; set; } + + /// + /// Tackles behind the opponent's line of scrimmage + /// + [Description("Tackles behind the opponent's line of scrimmage")] + [DataMember(Name = "TacklesForLoss", Order = 49)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Sacks of the opposing quarterback + /// + [Description("Sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 50)] + public decimal Sacks { get; set; } + + /// + /// Yards lost as a result of sacking the opposing quarterback + /// + [Description("Yards lost as a result of sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 51)] + public decimal SackYards { get; set; } + + /// + /// Number of times hitting an opposing quarterback without sacking him + /// + [Description("Number of times hitting an opposing quarterback without sacking him")] + [DataMember(Name = "QuarterbackHits", Order = 52)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Passes defended or batted down + /// + [Description("Passes defended or batted down")] + [DataMember(Name = "PassesDefended", Order = 53)] + public decimal PassesDefended { get; set; } + + /// + /// Number of fumbles forced + /// + [Description("Number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 54)] + public decimal FumblesForced { get; set; } + + /// + /// Number of fumbles recovered + /// + [Description("Number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 55)] + public decimal FumblesRecovered { get; set; } + + /// + /// Return yards from fumble recoveries + /// + [Description("Return yards from fumble recoveries")] + [DataMember(Name = "FumbleReturnYards", Order = 56)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Return touchdowns from fumble recoveries + /// + [Description("Return touchdowns from fumble recoveries")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 57)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Number of interceptions + /// + [Description("Number of interceptions")] + [DataMember(Name = "Interceptions", Order = 58)] + public decimal Interceptions { get; set; } + + /// + /// Return yards from interceptions + /// + [Description("Return yards from interceptions")] + [DataMember(Name = "InterceptionReturnYards", Order = 59)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Return touchdowns from interceptions + /// + [Description("Return touchdowns from interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 60)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of field goals and punts blocked + /// + [Description("Total number of field goals and punts blocked")] + [DataMember(Name = "BlockedKicks", Order = 61)] + public decimal BlockedKicks { get; set; } + + /// + /// Solo tackles on kick and punt plays + /// + [Description("Solo tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsSoloTackles", Order = 62)] + public decimal SpecialTeamsSoloTackles { get; set; } + + /// + /// Assisted tackles on kick and punt plays + /// + [Description("Assisted tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsAssistedTackles", Order = 63)] + public decimal SpecialTeamsAssistedTackles { get; set; } + + /// + /// Solo tackles when playing offense (after a turnover) + /// + [Description("Solo tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscSoloTackles", Order = 64)] + public decimal MiscSoloTackles { get; set; } + + /// + /// Assisted tackles when playing offense (after a turnover) + /// + [Description("Assisted tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscAssistedTackles", Order = 65)] + public decimal MiscAssistedTackles { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 66)] + public decimal Punts { get; set; } + + /// + /// Total number of punt yards + /// + [Description("Total number of punt yards")] + [DataMember(Name = "PuntYards", Order = 67)] + public decimal PuntYards { get; set; } + + /// + /// Average yards per punt + /// + [Description("Average yards per punt")] + [DataMember(Name = "PuntAverage", Order = 68)] + public decimal PuntAverage { get; set; } + + /// + /// Number of field goal attempts + /// + [Description("Number of field goal attempts")] + [DataMember(Name = "FieldGoalsAttempted", Order = 69)] + public decimal FieldGoalsAttempted { get; set; } + + /// + /// Number of successful field goal attempts + /// + [Description("Number of successful field goal attempts")] + [DataMember(Name = "FieldGoalsMade", Order = 70)] + public decimal FieldGoalsMade { get; set; } + + /// + /// Longest successful field goal attempt + /// + [Description("Longest successful field goal attempt")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 71)] + public decimal FieldGoalsLongestMade { get; set; } + + /// + /// Number of successful extra points + /// + [Description("Number of successful extra points")] + [DataMember(Name = "ExtraPointsMade", Order = 72)] + public decimal ExtraPointsMade { get; set; } + + /// + /// Successful two point conversion passes + /// + [Description("Successful two point conversion passes")] + [DataMember(Name = "TwoPointConversionPasses", Order = 73)] + public decimal TwoPointConversionPasses { get; set; } + + /// + /// Successful two point conversion runs + /// + [Description("Successful two point conversion runs")] + [DataMember(Name = "TwoPointConversionRuns", Order = 74)] + public decimal TwoPointConversionRuns { get; set; } + + /// + /// Successful two point conversion receptions + /// + [Description("Successful two point conversion receptions")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 75)] + public decimal TwoPointConversionReceptions { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 76)] + public decimal FantasyPoints { get; set; } + + /// + /// Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPointsPPR", Order = 77)] + public decimal FantasyPointsPPR { get; set; } + + /// + /// Percentage of ReceivingTargets convert into Receptions + /// + [Description("Percentage of ReceivingTargets convert into Receptions")] + [DataMember(Name = "ReceptionPercentage", Order = 78)] + public decimal ReceptionPercentage { get; set; } + + /// + /// Average yards gained per ReceivingTargets + /// + [Description("Average yards gained per ReceivingTargets")] + [DataMember(Name = "ReceivingYardsPerTarget", Order = 79)] + public decimal ReceivingYardsPerTarget { get; set; } + + /// + /// Sum of SoloTackles and AssistedTackles + /// + [Description("Sum of SoloTackles and AssistedTackles")] + [DataMember(Name = "Tackles", Order = 80)] + public decimal Tackles { get; set; } + + /// + /// Offensive touchdowns scored + /// + [Description("Offensive touchdowns scored")] + [DataMember(Name = "OffensiveTouchdowns", Order = 81)] + public decimal OffensiveTouchdowns { get; set; } + + /// + /// Defensive touchdowns scored + /// + [Description("Defensive touchdowns scored")] + [DataMember(Name = "DefensiveTouchdowns", Order = 82)] + public decimal DefensiveTouchdowns { get; set; } + + /// + /// Special teams touchdowns scored + /// + [Description("Special teams touchdowns scored")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 83)] + public decimal SpecialTeamsTouchdowns { get; set; } + + /// + /// Total touchdowns scored + /// + [Description("Total touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 84)] + public decimal Touchdowns { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 85)] + public string FantasyPosition { get; set; } + + /// + /// Percentage of Field Goal attempts that we successful + /// + [Description("Percentage of Field Goal attempts that we successful")] + [DataMember(Name = "FieldGoalPercentage", Order = 86)] + public decimal FieldGoalPercentage { get; set; } + + /// + /// Unique ID of PlayerSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and PlayerID. + /// + [Description("Unique ID of PlayerSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and PlayerID.")] + [DataMember(Name = "PlayerSeasonID", Order = 87)] + public int PlayerSeasonID { get; set; } + + /// + /// Own team's fumbles recovered (did not result in a turnover) + /// + [Description("Own team's fumbles recovered (did not result in a turnover)")] + [DataMember(Name = "FumblesOwnRecoveries", Order = 88)] + public decimal? FumblesOwnRecoveries { get; set; } + + /// + /// Fumbles by this player that went out of bounds (no one was awarded the recovery) + /// + [Description("Fumbles by this player that went out of bounds (no one was awarded the recovery)")] + [DataMember(Name = "FumblesOutOfBounds", Order = 89)] + public decimal? FumblesOutOfBounds { get; set; } + + /// + /// Fair catches made on kickoffs + /// + [Description("Fair catches made on kickoffs")] + [DataMember(Name = "KickReturnFairCatches", Order = 90)] + public decimal? KickReturnFairCatches { get; set; } + + /// + /// Fair catches made on punts + /// + [Description("Fair catches made on punts")] + [DataMember(Name = "PuntReturnFairCatches", Order = 91)] + public decimal? PuntReturnFairCatches { get; set; } + + /// + /// Punts by this player that were touchbacks + /// + [Description("Punts by this player that were touchbacks")] + [DataMember(Name = "PuntTouchbacks", Order = 92)] + public decimal? PuntTouchbacks { get; set; } + + /// + /// Punts by this player that were downed inside the 20 yard line + /// + [Description("Punts by this player that were downed inside the 20 yard line")] + [DataMember(Name = "PuntInside20", Order = 93)] + public decimal? PuntInside20 { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 94)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kicks attempted + /// + [Description("Extra point kicks attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 95)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Blocked kicks that this player returned for touchdowns + /// + [Description("Blocked kicks that this player returned for touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 96)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goals that this player returned for touchdowns + /// + [Description("Field goals that this player returned for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 97)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone) + /// + [Description("Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone)")] + [DataMember(Name = "Safeties", Order = 98)] + public decimal? Safeties { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 99)] + public decimal? FieldGoalsHadBlocked { get; set; } + + /// + /// Punts that were blocked + /// + [Description("Punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 100)] + public decimal? PuntsHadBlocked { get; set; } + + /// + /// Extra points that were blocked + /// + [Description("Extra points that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 101)] + public decimal? ExtraPointsHadBlocked { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 102)] + public decimal? PuntLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 103)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 104)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 105)] + public decimal? PuntNetYards { get; set; } + + /// + /// Fumbles forced on special teams plays + /// + [Description("Fumbles forced on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesForced", Order = 106)] + public decimal? SpecialTeamsFumblesForced { get; set; } + + /// + /// Fumbles recovered on special teams plays + /// + [Description("Fumbles recovered on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesRecovered", Order = 107)] + public decimal? SpecialTeamsFumblesRecovered { get; set; } + + /// + /// Fumbles forced after a turnover on offensive plays + /// + [Description("Fumbles forced after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesForced", Order = 108)] + public decimal? MiscFumblesForced { get; set; } + + /// + /// Fumbles recovered after a turnover on offensive plays + /// + [Description("Fumbles recovered after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesRecovered", Order = 109)] + public decimal? MiscFumblesRecovered { get; set; } + + /// + /// Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning) + /// + [Description("Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning)")] + [DataMember(Name = "ShortName", Order = 110)] + public string ShortName { get; set; } + + /// + /// Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding) + /// + [Description("Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding)")] + [DataMember(Name = "SafetiesAllowed", Order = 111)] + public decimal? SafetiesAllowed { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 112)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 113)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 114)] + public int? WindSpeed { get; set; } + + /// + /// The number of snaps this player played on offense. + /// + [Description("The number of snaps this player played on offense.")] + [DataMember(Name = "OffensiveSnapsPlayed", Order = 115)] + public int? OffensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on defense. + /// + [Description("The number of snaps this player played on defense.")] + [DataMember(Name = "DefensiveSnapsPlayed", Order = 116)] + public int? DefensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on special teams. + /// + [Description("The number of snaps this player played on special teams.")] + [DataMember(Name = "SpecialTeamsSnapsPlayed", Order = 117)] + public int? SpecialTeamsSnapsPlayed { get; set; } + + /// + /// The total number of offensive snaps this player's team played. + /// + [Description("The total number of offensive snaps this player's team played.")] + [DataMember(Name = "OffensiveTeamSnaps", Order = 118)] + public int? OffensiveTeamSnaps { get; set; } + + /// + /// The total number of defensive snaps this player's team played. + /// + [Description("The total number of defensive snaps this player's team played.")] + [DataMember(Name = "DefensiveTeamSnaps", Order = 119)] + public int? DefensiveTeamSnaps { get; set; } + + /// + /// The total number of special teams snaps this player's team played. + /// + [Description("The total number of special teams snaps this player's team played.")] + [DataMember(Name = "SpecialTeamsTeamSnaps", Order = 120)] + public int? SpecialTeamsTeamSnaps { get; set; } + + /// + /// Player's dollar value in a $200 salary cap auction draft. + /// + [Description("Player's dollar value in a $200 salary cap auction draft.")] + [DataMember(Name = "AuctionValue", Order = 121)] + public decimal? AuctionValue { get; set; } + + /// + /// Player's dollar value in a $200 salary cap PPR auction draft. + /// + [Description("Player's dollar value in a $200 salary cap PPR auction draft.")] + [DataMember(Name = "AuctionValuePPR", Order = 122)] + public decimal? AuctionValuePPR { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 123)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 124)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Field goals made of 0 to 19 yards. + /// + [Description("Field goals made of 0 to 19 yards.")] + [DataMember(Name = "FieldGoalsMade0to19", Order = 125)] + public decimal? FieldGoalsMade0to19 { get; set; } + + /// + /// Field goals made of 20 to 29 yards. + /// + [Description("Field goals made of 20 to 29 yards.")] + [DataMember(Name = "FieldGoalsMade20to29", Order = 126)] + public decimal? FieldGoalsMade20to29 { get; set; } + + /// + /// Field goals made of 30 to 39 yards. + /// + [Description("Field goals made of 30 to 39 yards.")] + [DataMember(Name = "FieldGoalsMade30to39", Order = 127)] + public decimal? FieldGoalsMade30to39 { get; set; } + + /// + /// Field goals made of 40 to 49 yards. + /// + [Description("Field goals made of 40 to 49 yards.")] + [DataMember(Name = "FieldGoalsMade40to49", Order = 128)] + public decimal? FieldGoalsMade40to49 { get; set; } + + /// + /// Field goals made of 50+ yards. + /// + [Description("Field goals made of 50+ yards.")] + [DataMember(Name = "FieldGoalsMade50Plus", Order = 129)] + public decimal? FieldGoalsMade50Plus { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 130)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 131)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) + /// + [Description("The average draft position of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPosition", Order = 132)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The average draft position in PPR leagues of the team's fantasy defense (DST) + /// + [Description("The average draft position in PPR leagues of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPositionPPR", Order = 133)] + public decimal? AverageDraftPositionPPR { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 134)] + public int? TeamID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 135)] + public int? GlobalTeamID { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 136)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// The details of the scoring plays this player recorded + /// + [Description("The details of the scoring plays this player recorded")] + [DataMember(Name = "ScoringDetails", Order = 20137)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// The average draft position of this player in rookie drafts + /// + [Description("The average draft position of this player in rookie drafts")] + [DataMember(Name = "AverageDraftPositionRookie", Order = 138)] + public decimal? AverageDraftPositionRookie { get; set; } + + /// + /// The average draft position of this player in dynasty drafts + /// + [Description("The average draft position of this player in dynasty drafts")] + [DataMember(Name = "AverageDraftPositionDynasty", Order = 139)] + public decimal? AverageDraftPositionDynasty { get; set; } + + /// + /// The average draft position of this player in 2 Quarterback drafts + /// + [Description("The average draft position of this player in 2 Quarterback drafts")] + [DataMember(Name = "AverageDraftPosition2QB", Order = 140)] + public decimal? AverageDraftPosition2QB { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeasonProjection.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeasonProjection.cs new file mode 100644 index 0000000..24a407f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeasonProjection.cs @@ -0,0 +1,993 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerSeasonProjection")] + [Serializable] + public partial class PlayerSeasonProjection + { + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 1)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The NFL regular season for which these totals apply + /// + [Description("The NFL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 5)] + public int Number { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// Number of games player was Active on gameday + /// + [Description("Number of games player was Active on gameday")] + [DataMember(Name = "Activated", Order = 9)] + public int Activated { get; set; } + + /// + /// Number of games played in + /// + [Description("Number of games played in")] + [DataMember(Name = "Played", Order = 10)] + public int Played { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 11)] + public int Started { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 12)] + public decimal PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 13)] + public decimal PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 14)] + public decimal PassingYards { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "PassingCompletionPercentage", Order = 15)] + public decimal PassingCompletionPercentage { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 16)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 17)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 18)] + public decimal PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 19)] + public decimal PassingInterceptions { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PassingRating", Order = 20)] + public decimal PassingRating { get; set; } + + /// + /// Longest completion + /// + [Description("Longest completion")] + [DataMember(Name = "PassingLong", Order = 21)] + public decimal PassingLong { get; set; } + + /// + /// Number of times sacked + /// + [Description("Number of times sacked")] + [DataMember(Name = "PassingSacks", Order = 22)] + public decimal PassingSacks { get; set; } + + /// + /// Yards lost as a result of being sacked + /// + [Description("Yards lost as a result of being sacked")] + [DataMember(Name = "PassingSackYards", Order = 23)] + public decimal PassingSackYards { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 24)] + public decimal RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 25)] + public decimal RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 26)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 27)] + public decimal RushingTouchdowns { get; set; } + + /// + /// Longest rush + /// + [Description("Longest rush")] + [DataMember(Name = "RushingLong", Order = 28)] + public decimal RushingLong { get; set; } + + /// + /// Number of times targeted by passer + /// + [Description("Number of times targeted by passer")] + [DataMember(Name = "ReceivingTargets", Order = 29)] + public decimal? ReceivingTargets { get; set; } + + /// + /// Number of receptions + /// + [Description("Number of receptions")] + [DataMember(Name = "Receptions", Order = 30)] + public decimal Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 31)] + public decimal ReceivingYards { get; set; } + + /// + /// Average yards gained per reception + /// + [Description("Average yards gained per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 32)] + public decimal ReceivingYardsPerReception { get; set; } + + /// + /// Receiving touchdowns + /// + [Description("Receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 33)] + public decimal ReceivingTouchdowns { get; set; } + + /// + /// Longest reception + /// + [Description("Longest reception")] + [DataMember(Name = "ReceivingLong", Order = 34)] + public decimal ReceivingLong { get; set; } + + /// + /// Times fumbled + /// + [Description("Times fumbled")] + [DataMember(Name = "Fumbles", Order = 35)] + public decimal Fumbles { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 36)] + public decimal? FumblesLost { get; set; } + + /// + /// Number of punt return attempts + /// + [Description("Number of punt return attempts")] + [DataMember(Name = "PuntReturns", Order = 37)] + public decimal PuntReturns { get; set; } + + /// + /// Total return yards on punts + /// + [Description("Total return yards on punts")] + [DataMember(Name = "PuntReturnYards", Order = 38)] + public decimal PuntReturnYards { get; set; } + + /// + /// Average yards gained per punt return + /// + [Description("Average yards gained per punt return")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 39)] + public decimal PuntReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on punt returns + /// + [Description("Number of touchdowns on punt returns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 40)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 41)] + public decimal PuntReturnLong { get; set; } + + /// + /// Number of kick return attempts + /// + [Description("Number of kick return attempts")] + [DataMember(Name = "KickReturns", Order = 42)] + public decimal KickReturns { get; set; } + + /// + /// Total return yards on kicks + /// + [Description("Total return yards on kicks")] + [DataMember(Name = "KickReturnYards", Order = 43)] + public decimal KickReturnYards { get; set; } + + /// + /// Average yards gained per kick return + /// + [Description("Average yards gained per kick return")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 44)] + public decimal KickReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on kick returns + /// + [Description("Number of touchdowns on kick returns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 45)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 46)] + public decimal KickReturnLong { get; set; } + + /// + /// Solo, unassisted tackles + /// + [Description("Solo, unassisted tackles")] + [DataMember(Name = "SoloTackles", Order = 47)] + public decimal SoloTackles { get; set; } + + /// + /// Assisted tackles (also called a half tackle) + /// + [Description("Assisted tackles (also called a half tackle)")] + [DataMember(Name = "AssistedTackles", Order = 48)] + public decimal AssistedTackles { get; set; } + + /// + /// Tackles behind the opponent's line of scrimmage + /// + [Description("Tackles behind the opponent's line of scrimmage")] + [DataMember(Name = "TacklesForLoss", Order = 49)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Sacks of the opposing quarterback + /// + [Description("Sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 50)] + public decimal Sacks { get; set; } + + /// + /// Yards lost as a result of sacking the opposing quarterback + /// + [Description("Yards lost as a result of sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 51)] + public decimal SackYards { get; set; } + + /// + /// Number of times hitting an opposing quarterback without sacking him + /// + [Description("Number of times hitting an opposing quarterback without sacking him")] + [DataMember(Name = "QuarterbackHits", Order = 52)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Passes defended or batted down + /// + [Description("Passes defended or batted down")] + [DataMember(Name = "PassesDefended", Order = 53)] + public decimal PassesDefended { get; set; } + + /// + /// Number of fumbles forced + /// + [Description("Number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 54)] + public decimal FumblesForced { get; set; } + + /// + /// Number of fumbles recovered + /// + [Description("Number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 55)] + public decimal FumblesRecovered { get; set; } + + /// + /// Return yards from fumble recoveries + /// + [Description("Return yards from fumble recoveries")] + [DataMember(Name = "FumbleReturnYards", Order = 56)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Return touchdowns from fumble recoveries + /// + [Description("Return touchdowns from fumble recoveries")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 57)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Number of interceptions + /// + [Description("Number of interceptions")] + [DataMember(Name = "Interceptions", Order = 58)] + public decimal Interceptions { get; set; } + + /// + /// Return yards from interceptions + /// + [Description("Return yards from interceptions")] + [DataMember(Name = "InterceptionReturnYards", Order = 59)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Return touchdowns from interceptions + /// + [Description("Return touchdowns from interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 60)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of field goals and punts blocked + /// + [Description("Total number of field goals and punts blocked")] + [DataMember(Name = "BlockedKicks", Order = 61)] + public decimal BlockedKicks { get; set; } + + /// + /// Solo tackles on kick and punt plays + /// + [Description("Solo tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsSoloTackles", Order = 62)] + public decimal SpecialTeamsSoloTackles { get; set; } + + /// + /// Assisted tackles on kick and punt plays + /// + [Description("Assisted tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsAssistedTackles", Order = 63)] + public decimal SpecialTeamsAssistedTackles { get; set; } + + /// + /// Solo tackles when playing offense (after a turnover) + /// + [Description("Solo tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscSoloTackles", Order = 64)] + public decimal MiscSoloTackles { get; set; } + + /// + /// Assisted tackles when playing offense (after a turnover) + /// + [Description("Assisted tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscAssistedTackles", Order = 65)] + public decimal MiscAssistedTackles { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 66)] + public decimal Punts { get; set; } + + /// + /// Total number of punt yards + /// + [Description("Total number of punt yards")] + [DataMember(Name = "PuntYards", Order = 67)] + public decimal PuntYards { get; set; } + + /// + /// Average yards per punt + /// + [Description("Average yards per punt")] + [DataMember(Name = "PuntAverage", Order = 68)] + public decimal PuntAverage { get; set; } + + /// + /// Number of field goal attempts + /// + [Description("Number of field goal attempts")] + [DataMember(Name = "FieldGoalsAttempted", Order = 69)] + public decimal FieldGoalsAttempted { get; set; } + + /// + /// Number of successful field goal attempts + /// + [Description("Number of successful field goal attempts")] + [DataMember(Name = "FieldGoalsMade", Order = 70)] + public decimal FieldGoalsMade { get; set; } + + /// + /// Longest successful field goal attempt + /// + [Description("Longest successful field goal attempt")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 71)] + public decimal FieldGoalsLongestMade { get; set; } + + /// + /// Number of successful extra points + /// + [Description("Number of successful extra points")] + [DataMember(Name = "ExtraPointsMade", Order = 72)] + public decimal ExtraPointsMade { get; set; } + + /// + /// Successful two point conversion passes + /// + [Description("Successful two point conversion passes")] + [DataMember(Name = "TwoPointConversionPasses", Order = 73)] + public decimal TwoPointConversionPasses { get; set; } + + /// + /// Successful two point conversion runs + /// + [Description("Successful two point conversion runs")] + [DataMember(Name = "TwoPointConversionRuns", Order = 74)] + public decimal TwoPointConversionRuns { get; set; } + + /// + /// Successful two point conversion receptions + /// + [Description("Successful two point conversion receptions")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 75)] + public decimal TwoPointConversionReceptions { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 76)] + public decimal FantasyPoints { get; set; } + + /// + /// Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPointsPPR", Order = 77)] + public decimal FantasyPointsPPR { get; set; } + + /// + /// Percentage of ReceivingTargets convert into Receptions + /// + [Description("Percentage of ReceivingTargets convert into Receptions")] + [DataMember(Name = "ReceptionPercentage", Order = 78)] + public decimal ReceptionPercentage { get; set; } + + /// + /// Average yards gained per ReceivingTargets + /// + [Description("Average yards gained per ReceivingTargets")] + [DataMember(Name = "ReceivingYardsPerTarget", Order = 79)] + public decimal ReceivingYardsPerTarget { get; set; } + + /// + /// Sum of SoloTackles and AssistedTackles + /// + [Description("Sum of SoloTackles and AssistedTackles")] + [DataMember(Name = "Tackles", Order = 80)] + public decimal Tackles { get; set; } + + /// + /// Offensive touchdowns scored + /// + [Description("Offensive touchdowns scored")] + [DataMember(Name = "OffensiveTouchdowns", Order = 81)] + public decimal OffensiveTouchdowns { get; set; } + + /// + /// Defensive touchdowns scored + /// + [Description("Defensive touchdowns scored")] + [DataMember(Name = "DefensiveTouchdowns", Order = 82)] + public decimal DefensiveTouchdowns { get; set; } + + /// + /// Special teams touchdowns scored + /// + [Description("Special teams touchdowns scored")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 83)] + public decimal SpecialTeamsTouchdowns { get; set; } + + /// + /// Total touchdowns scored + /// + [Description("Total touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 84)] + public decimal Touchdowns { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 85)] + public string FantasyPosition { get; set; } + + /// + /// Percentage of Field Goal attempts that we successful + /// + [Description("Percentage of Field Goal attempts that we successful")] + [DataMember(Name = "FieldGoalPercentage", Order = 86)] + public decimal FieldGoalPercentage { get; set; } + + /// + /// Unique ID of PlayerSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and PlayerID. + /// + [Description("Unique ID of PlayerSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and PlayerID.")] + [DataMember(Name = "PlayerSeasonID", Order = 87)] + public int PlayerSeasonID { get; set; } + + /// + /// Own team's fumbles recovered (did not result in a turnover) + /// + [Description("Own team's fumbles recovered (did not result in a turnover)")] + [DataMember(Name = "FumblesOwnRecoveries", Order = 88)] + public decimal? FumblesOwnRecoveries { get; set; } + + /// + /// Fumbles by this player that went out of bounds (no one was awarded the recovery) + /// + [Description("Fumbles by this player that went out of bounds (no one was awarded the recovery)")] + [DataMember(Name = "FumblesOutOfBounds", Order = 89)] + public decimal? FumblesOutOfBounds { get; set; } + + /// + /// Fair catches made on kickoffs + /// + [Description("Fair catches made on kickoffs")] + [DataMember(Name = "KickReturnFairCatches", Order = 90)] + public decimal? KickReturnFairCatches { get; set; } + + /// + /// Fair catches made on punts + /// + [Description("Fair catches made on punts")] + [DataMember(Name = "PuntReturnFairCatches", Order = 91)] + public decimal? PuntReturnFairCatches { get; set; } + + /// + /// Punts by this player that were touchbacks + /// + [Description("Punts by this player that were touchbacks")] + [DataMember(Name = "PuntTouchbacks", Order = 92)] + public decimal? PuntTouchbacks { get; set; } + + /// + /// Punts by this player that were downed inside the 20 yard line + /// + [Description("Punts by this player that were downed inside the 20 yard line")] + [DataMember(Name = "PuntInside20", Order = 93)] + public decimal? PuntInside20 { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 94)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kicks attempted + /// + [Description("Extra point kicks attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 95)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Blocked kicks that this player returned for touchdowns + /// + [Description("Blocked kicks that this player returned for touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 96)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goals that this player returned for touchdowns + /// + [Description("Field goals that this player returned for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 97)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone) + /// + [Description("Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone)")] + [DataMember(Name = "Safeties", Order = 98)] + public decimal? Safeties { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 99)] + public decimal? FieldGoalsHadBlocked { get; set; } + + /// + /// Punts that were blocked + /// + [Description("Punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 100)] + public decimal? PuntsHadBlocked { get; set; } + + /// + /// Extra points that were blocked + /// + [Description("Extra points that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 101)] + public decimal? ExtraPointsHadBlocked { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 102)] + public decimal? PuntLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 103)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 104)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 105)] + public decimal? PuntNetYards { get; set; } + + /// + /// Fumbles forced on special teams plays + /// + [Description("Fumbles forced on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesForced", Order = 106)] + public decimal? SpecialTeamsFumblesForced { get; set; } + + /// + /// Fumbles recovered on special teams plays + /// + [Description("Fumbles recovered on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesRecovered", Order = 107)] + public decimal? SpecialTeamsFumblesRecovered { get; set; } + + /// + /// Fumbles forced after a turnover on offensive plays + /// + [Description("Fumbles forced after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesForced", Order = 108)] + public decimal? MiscFumblesForced { get; set; } + + /// + /// Fumbles recovered after a turnover on offensive plays + /// + [Description("Fumbles recovered after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesRecovered", Order = 109)] + public decimal? MiscFumblesRecovered { get; set; } + + /// + /// Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning) + /// + [Description("Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning)")] + [DataMember(Name = "ShortName", Order = 110)] + public string ShortName { get; set; } + + /// + /// Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding) + /// + [Description("Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding)")] + [DataMember(Name = "SafetiesAllowed", Order = 111)] + public decimal? SafetiesAllowed { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 112)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 113)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 114)] + public int? WindSpeed { get; set; } + + /// + /// The number of snaps this player played on offense. + /// + [Description("The number of snaps this player played on offense.")] + [DataMember(Name = "OffensiveSnapsPlayed", Order = 115)] + public int? OffensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on defense. + /// + [Description("The number of snaps this player played on defense.")] + [DataMember(Name = "DefensiveSnapsPlayed", Order = 116)] + public int? DefensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on special teams. + /// + [Description("The number of snaps this player played on special teams.")] + [DataMember(Name = "SpecialTeamsSnapsPlayed", Order = 117)] + public int? SpecialTeamsSnapsPlayed { get; set; } + + /// + /// The total number of offensive snaps this player's team played. + /// + [Description("The total number of offensive snaps this player's team played.")] + [DataMember(Name = "OffensiveTeamSnaps", Order = 118)] + public int? OffensiveTeamSnaps { get; set; } + + /// + /// The total number of defensive snaps this player's team played. + /// + [Description("The total number of defensive snaps this player's team played.")] + [DataMember(Name = "DefensiveTeamSnaps", Order = 119)] + public int? DefensiveTeamSnaps { get; set; } + + /// + /// The total number of special teams snaps this player's team played. + /// + [Description("The total number of special teams snaps this player's team played.")] + [DataMember(Name = "SpecialTeamsTeamSnaps", Order = 120)] + public int? SpecialTeamsTeamSnaps { get; set; } + + /// + /// Player's dollar value in a $200 salary cap auction draft. + /// + [Description("Player's dollar value in a $200 salary cap auction draft.")] + [DataMember(Name = "AuctionValue", Order = 121)] + public decimal? AuctionValue { get; set; } + + /// + /// Player's dollar value in a $200 salary cap PPR auction draft. + /// + [Description("Player's dollar value in a $200 salary cap PPR auction draft.")] + [DataMember(Name = "AuctionValuePPR", Order = 122)] + public decimal? AuctionValuePPR { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 123)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 124)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Field goals made of 0 to 19 yards. + /// + [Description("Field goals made of 0 to 19 yards.")] + [DataMember(Name = "FieldGoalsMade0to19", Order = 125)] + public decimal? FieldGoalsMade0to19 { get; set; } + + /// + /// Field goals made of 20 to 29 yards. + /// + [Description("Field goals made of 20 to 29 yards.")] + [DataMember(Name = "FieldGoalsMade20to29", Order = 126)] + public decimal? FieldGoalsMade20to29 { get; set; } + + /// + /// Field goals made of 30 to 39 yards. + /// + [Description("Field goals made of 30 to 39 yards.")] + [DataMember(Name = "FieldGoalsMade30to39", Order = 127)] + public decimal? FieldGoalsMade30to39 { get; set; } + + /// + /// Field goals made of 40 to 49 yards. + /// + [Description("Field goals made of 40 to 49 yards.")] + [DataMember(Name = "FieldGoalsMade40to49", Order = 128)] + public decimal? FieldGoalsMade40to49 { get; set; } + + /// + /// Field goals made of 50+ yards. + /// + [Description("Field goals made of 50+ yards.")] + [DataMember(Name = "FieldGoalsMade50Plus", Order = 129)] + public decimal? FieldGoalsMade50Plus { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 130)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 131)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) + /// + [Description("The average draft position of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPosition", Order = 132)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The average draft position in PPR leagues of the team's fantasy defense (DST) + /// + [Description("The average draft position in PPR leagues of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPositionPPR", Order = 133)] + public decimal? AverageDraftPositionPPR { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 134)] + public int? TeamID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 135)] + public int? GlobalTeamID { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 136)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// The details of the scoring plays this player recorded + /// + [Description("The details of the scoring plays this player recorded")] + [DataMember(Name = "ScoringDetails", Order = 20137)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// The average draft position of this player in rookie drafts + /// + [Description("The average draft position of this player in rookie drafts")] + [DataMember(Name = "AverageDraftPositionRookie", Order = 138)] + public decimal? AverageDraftPositionRookie { get; set; } + + /// + /// The average draft position of this player in dynasty drafts + /// + [Description("The average draft position of this player in dynasty drafts")] + [DataMember(Name = "AverageDraftPositionDynasty", Order = 139)] + public decimal? AverageDraftPositionDynasty { get; set; } + + /// + /// The average draft position of this player in 2 Quarterback drafts + /// + [Description("The average draft position of this player in 2 Quarterback drafts")] + [DataMember(Name = "AverageDraftPosition2QB", Order = 140)] + public decimal? AverageDraftPosition2QB { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeasonRedZone.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeasonRedZone.cs new file mode 100644 index 0000000..693fbca --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeasonRedZone.cs @@ -0,0 +1,993 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerSeasonRedZone")] + [Serializable] + public partial class PlayerSeasonRedZone + { + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 1)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The NFL regular season for which these totals apply + /// + [Description("The NFL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 5)] + public int Number { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// Number of games player was Active on gameday + /// + [Description("Number of games player was Active on gameday")] + [DataMember(Name = "Activated", Order = 9)] + public int Activated { get; set; } + + /// + /// Number of games played in + /// + [Description("Number of games played in")] + [DataMember(Name = "Played", Order = 10)] + public int Played { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 11)] + public int Started { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 12)] + public decimal PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 13)] + public decimal PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 14)] + public decimal PassingYards { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "PassingCompletionPercentage", Order = 15)] + public decimal PassingCompletionPercentage { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 16)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 17)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 18)] + public decimal PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 19)] + public decimal PassingInterceptions { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PassingRating", Order = 20)] + public decimal PassingRating { get; set; } + + /// + /// Longest completion + /// + [Description("Longest completion")] + [DataMember(Name = "PassingLong", Order = 21)] + public decimal PassingLong { get; set; } + + /// + /// Number of times sacked + /// + [Description("Number of times sacked")] + [DataMember(Name = "PassingSacks", Order = 22)] + public decimal PassingSacks { get; set; } + + /// + /// Yards lost as a result of being sacked + /// + [Description("Yards lost as a result of being sacked")] + [DataMember(Name = "PassingSackYards", Order = 23)] + public decimal PassingSackYards { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 24)] + public decimal RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 25)] + public decimal RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 26)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 27)] + public decimal RushingTouchdowns { get; set; } + + /// + /// Longest rush + /// + [Description("Longest rush")] + [DataMember(Name = "RushingLong", Order = 28)] + public decimal RushingLong { get; set; } + + /// + /// Number of times targeted by passer + /// + [Description("Number of times targeted by passer")] + [DataMember(Name = "ReceivingTargets", Order = 29)] + public decimal? ReceivingTargets { get; set; } + + /// + /// Number of receptions + /// + [Description("Number of receptions")] + [DataMember(Name = "Receptions", Order = 30)] + public decimal Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 31)] + public decimal ReceivingYards { get; set; } + + /// + /// Average yards gained per reception + /// + [Description("Average yards gained per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 32)] + public decimal ReceivingYardsPerReception { get; set; } + + /// + /// Receiving touchdowns + /// + [Description("Receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 33)] + public decimal ReceivingTouchdowns { get; set; } + + /// + /// Longest reception + /// + [Description("Longest reception")] + [DataMember(Name = "ReceivingLong", Order = 34)] + public decimal ReceivingLong { get; set; } + + /// + /// Times fumbled + /// + [Description("Times fumbled")] + [DataMember(Name = "Fumbles", Order = 35)] + public decimal Fumbles { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 36)] + public decimal? FumblesLost { get; set; } + + /// + /// Number of punt return attempts + /// + [Description("Number of punt return attempts")] + [DataMember(Name = "PuntReturns", Order = 37)] + public decimal PuntReturns { get; set; } + + /// + /// Total return yards on punts + /// + [Description("Total return yards on punts")] + [DataMember(Name = "PuntReturnYards", Order = 38)] + public decimal PuntReturnYards { get; set; } + + /// + /// Average yards gained per punt return + /// + [Description("Average yards gained per punt return")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 39)] + public decimal PuntReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on punt returns + /// + [Description("Number of touchdowns on punt returns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 40)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 41)] + public decimal PuntReturnLong { get; set; } + + /// + /// Number of kick return attempts + /// + [Description("Number of kick return attempts")] + [DataMember(Name = "KickReturns", Order = 42)] + public decimal KickReturns { get; set; } + + /// + /// Total return yards on kicks + /// + [Description("Total return yards on kicks")] + [DataMember(Name = "KickReturnYards", Order = 43)] + public decimal KickReturnYards { get; set; } + + /// + /// Average yards gained per kick return + /// + [Description("Average yards gained per kick return")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 44)] + public decimal KickReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on kick returns + /// + [Description("Number of touchdowns on kick returns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 45)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 46)] + public decimal KickReturnLong { get; set; } + + /// + /// Solo, unassisted tackles + /// + [Description("Solo, unassisted tackles")] + [DataMember(Name = "SoloTackles", Order = 47)] + public decimal SoloTackles { get; set; } + + /// + /// Assisted tackles (also called a half tackle) + /// + [Description("Assisted tackles (also called a half tackle)")] + [DataMember(Name = "AssistedTackles", Order = 48)] + public decimal AssistedTackles { get; set; } + + /// + /// Tackles behind the opponent's line of scrimmage + /// + [Description("Tackles behind the opponent's line of scrimmage")] + [DataMember(Name = "TacklesForLoss", Order = 49)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Sacks of the opposing quarterback + /// + [Description("Sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 50)] + public decimal Sacks { get; set; } + + /// + /// Yards lost as a result of sacking the opposing quarterback + /// + [Description("Yards lost as a result of sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 51)] + public decimal SackYards { get; set; } + + /// + /// Number of times hitting an opposing quarterback without sacking him + /// + [Description("Number of times hitting an opposing quarterback without sacking him")] + [DataMember(Name = "QuarterbackHits", Order = 52)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Passes defended or batted down + /// + [Description("Passes defended or batted down")] + [DataMember(Name = "PassesDefended", Order = 53)] + public decimal PassesDefended { get; set; } + + /// + /// Number of fumbles forced + /// + [Description("Number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 54)] + public decimal FumblesForced { get; set; } + + /// + /// Number of fumbles recovered + /// + [Description("Number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 55)] + public decimal FumblesRecovered { get; set; } + + /// + /// Return yards from fumble recoveries + /// + [Description("Return yards from fumble recoveries")] + [DataMember(Name = "FumbleReturnYards", Order = 56)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Return touchdowns from fumble recoveries + /// + [Description("Return touchdowns from fumble recoveries")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 57)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Number of interceptions + /// + [Description("Number of interceptions")] + [DataMember(Name = "Interceptions", Order = 58)] + public decimal Interceptions { get; set; } + + /// + /// Return yards from interceptions + /// + [Description("Return yards from interceptions")] + [DataMember(Name = "InterceptionReturnYards", Order = 59)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Return touchdowns from interceptions + /// + [Description("Return touchdowns from interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 60)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of field goals and punts blocked + /// + [Description("Total number of field goals and punts blocked")] + [DataMember(Name = "BlockedKicks", Order = 61)] + public decimal BlockedKicks { get; set; } + + /// + /// Solo tackles on kick and punt plays + /// + [Description("Solo tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsSoloTackles", Order = 62)] + public decimal SpecialTeamsSoloTackles { get; set; } + + /// + /// Assisted tackles on kick and punt plays + /// + [Description("Assisted tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsAssistedTackles", Order = 63)] + public decimal SpecialTeamsAssistedTackles { get; set; } + + /// + /// Solo tackles when playing offense (after a turnover) + /// + [Description("Solo tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscSoloTackles", Order = 64)] + public decimal MiscSoloTackles { get; set; } + + /// + /// Assisted tackles when playing offense (after a turnover) + /// + [Description("Assisted tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscAssistedTackles", Order = 65)] + public decimal MiscAssistedTackles { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 66)] + public decimal Punts { get; set; } + + /// + /// Total number of punt yards + /// + [Description("Total number of punt yards")] + [DataMember(Name = "PuntYards", Order = 67)] + public decimal PuntYards { get; set; } + + /// + /// Average yards per punt + /// + [Description("Average yards per punt")] + [DataMember(Name = "PuntAverage", Order = 68)] + public decimal PuntAverage { get; set; } + + /// + /// Number of field goal attempts + /// + [Description("Number of field goal attempts")] + [DataMember(Name = "FieldGoalsAttempted", Order = 69)] + public decimal FieldGoalsAttempted { get; set; } + + /// + /// Number of successful field goal attempts + /// + [Description("Number of successful field goal attempts")] + [DataMember(Name = "FieldGoalsMade", Order = 70)] + public decimal FieldGoalsMade { get; set; } + + /// + /// Longest successful field goal attempt + /// + [Description("Longest successful field goal attempt")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 71)] + public decimal FieldGoalsLongestMade { get; set; } + + /// + /// Number of successful extra points + /// + [Description("Number of successful extra points")] + [DataMember(Name = "ExtraPointsMade", Order = 72)] + public decimal ExtraPointsMade { get; set; } + + /// + /// Successful two point conversion passes + /// + [Description("Successful two point conversion passes")] + [DataMember(Name = "TwoPointConversionPasses", Order = 73)] + public decimal TwoPointConversionPasses { get; set; } + + /// + /// Successful two point conversion runs + /// + [Description("Successful two point conversion runs")] + [DataMember(Name = "TwoPointConversionRuns", Order = 74)] + public decimal TwoPointConversionRuns { get; set; } + + /// + /// Successful two point conversion receptions + /// + [Description("Successful two point conversion receptions")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 75)] + public decimal TwoPointConversionReceptions { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 76)] + public decimal FantasyPoints { get; set; } + + /// + /// Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPointsPPR", Order = 77)] + public decimal FantasyPointsPPR { get; set; } + + /// + /// Percentage of ReceivingTargets convert into Receptions + /// + [Description("Percentage of ReceivingTargets convert into Receptions")] + [DataMember(Name = "ReceptionPercentage", Order = 78)] + public decimal ReceptionPercentage { get; set; } + + /// + /// Average yards gained per ReceivingTargets + /// + [Description("Average yards gained per ReceivingTargets")] + [DataMember(Name = "ReceivingYardsPerTarget", Order = 79)] + public decimal ReceivingYardsPerTarget { get; set; } + + /// + /// Sum of SoloTackles and AssistedTackles + /// + [Description("Sum of SoloTackles and AssistedTackles")] + [DataMember(Name = "Tackles", Order = 80)] + public decimal Tackles { get; set; } + + /// + /// Offensive touchdowns scored + /// + [Description("Offensive touchdowns scored")] + [DataMember(Name = "OffensiveTouchdowns", Order = 81)] + public decimal OffensiveTouchdowns { get; set; } + + /// + /// Defensive touchdowns scored + /// + [Description("Defensive touchdowns scored")] + [DataMember(Name = "DefensiveTouchdowns", Order = 82)] + public decimal DefensiveTouchdowns { get; set; } + + /// + /// Special teams touchdowns scored + /// + [Description("Special teams touchdowns scored")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 83)] + public decimal SpecialTeamsTouchdowns { get; set; } + + /// + /// Total touchdowns scored + /// + [Description("Total touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 84)] + public decimal Touchdowns { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 85)] + public string FantasyPosition { get; set; } + + /// + /// Percentage of Field Goal attempts that we successful + /// + [Description("Percentage of Field Goal attempts that we successful")] + [DataMember(Name = "FieldGoalPercentage", Order = 86)] + public decimal FieldGoalPercentage { get; set; } + + /// + /// Unique ID of PlayerSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and PlayerID. + /// + [Description("Unique ID of PlayerSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and PlayerID.")] + [DataMember(Name = "PlayerSeasonID", Order = 87)] + public int PlayerSeasonID { get; set; } + + /// + /// Own team's fumbles recovered (did not result in a turnover) + /// + [Description("Own team's fumbles recovered (did not result in a turnover)")] + [DataMember(Name = "FumblesOwnRecoveries", Order = 88)] + public decimal? FumblesOwnRecoveries { get; set; } + + /// + /// Fumbles by this player that went out of bounds (no one was awarded the recovery) + /// + [Description("Fumbles by this player that went out of bounds (no one was awarded the recovery)")] + [DataMember(Name = "FumblesOutOfBounds", Order = 89)] + public decimal? FumblesOutOfBounds { get; set; } + + /// + /// Fair catches made on kickoffs + /// + [Description("Fair catches made on kickoffs")] + [DataMember(Name = "KickReturnFairCatches", Order = 90)] + public decimal? KickReturnFairCatches { get; set; } + + /// + /// Fair catches made on punts + /// + [Description("Fair catches made on punts")] + [DataMember(Name = "PuntReturnFairCatches", Order = 91)] + public decimal? PuntReturnFairCatches { get; set; } + + /// + /// Punts by this player that were touchbacks + /// + [Description("Punts by this player that were touchbacks")] + [DataMember(Name = "PuntTouchbacks", Order = 92)] + public decimal? PuntTouchbacks { get; set; } + + /// + /// Punts by this player that were downed inside the 20 yard line + /// + [Description("Punts by this player that were downed inside the 20 yard line")] + [DataMember(Name = "PuntInside20", Order = 93)] + public decimal? PuntInside20 { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 94)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kicks attempted + /// + [Description("Extra point kicks attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 95)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Blocked kicks that this player returned for touchdowns + /// + [Description("Blocked kicks that this player returned for touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 96)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goals that this player returned for touchdowns + /// + [Description("Field goals that this player returned for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 97)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone) + /// + [Description("Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone)")] + [DataMember(Name = "Safeties", Order = 98)] + public decimal? Safeties { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 99)] + public decimal? FieldGoalsHadBlocked { get; set; } + + /// + /// Punts that were blocked + /// + [Description("Punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 100)] + public decimal? PuntsHadBlocked { get; set; } + + /// + /// Extra points that were blocked + /// + [Description("Extra points that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 101)] + public decimal? ExtraPointsHadBlocked { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 102)] + public decimal? PuntLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 103)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 104)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 105)] + public decimal? PuntNetYards { get; set; } + + /// + /// Fumbles forced on special teams plays + /// + [Description("Fumbles forced on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesForced", Order = 106)] + public decimal? SpecialTeamsFumblesForced { get; set; } + + /// + /// Fumbles recovered on special teams plays + /// + [Description("Fumbles recovered on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesRecovered", Order = 107)] + public decimal? SpecialTeamsFumblesRecovered { get; set; } + + /// + /// Fumbles forced after a turnover on offensive plays + /// + [Description("Fumbles forced after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesForced", Order = 108)] + public decimal? MiscFumblesForced { get; set; } + + /// + /// Fumbles recovered after a turnover on offensive plays + /// + [Description("Fumbles recovered after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesRecovered", Order = 109)] + public decimal? MiscFumblesRecovered { get; set; } + + /// + /// Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning) + /// + [Description("Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning)")] + [DataMember(Name = "ShortName", Order = 110)] + public string ShortName { get; set; } + + /// + /// Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding) + /// + [Description("Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding)")] + [DataMember(Name = "SafetiesAllowed", Order = 111)] + public decimal? SafetiesAllowed { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 112)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 113)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 114)] + public int? WindSpeed { get; set; } + + /// + /// The number of snaps this player played on offense. + /// + [Description("The number of snaps this player played on offense.")] + [DataMember(Name = "OffensiveSnapsPlayed", Order = 115)] + public int? OffensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on defense. + /// + [Description("The number of snaps this player played on defense.")] + [DataMember(Name = "DefensiveSnapsPlayed", Order = 116)] + public int? DefensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on special teams. + /// + [Description("The number of snaps this player played on special teams.")] + [DataMember(Name = "SpecialTeamsSnapsPlayed", Order = 117)] + public int? SpecialTeamsSnapsPlayed { get; set; } + + /// + /// The total number of offensive snaps this player's team played. + /// + [Description("The total number of offensive snaps this player's team played.")] + [DataMember(Name = "OffensiveTeamSnaps", Order = 118)] + public int? OffensiveTeamSnaps { get; set; } + + /// + /// The total number of defensive snaps this player's team played. + /// + [Description("The total number of defensive snaps this player's team played.")] + [DataMember(Name = "DefensiveTeamSnaps", Order = 119)] + public int? DefensiveTeamSnaps { get; set; } + + /// + /// The total number of special teams snaps this player's team played. + /// + [Description("The total number of special teams snaps this player's team played.")] + [DataMember(Name = "SpecialTeamsTeamSnaps", Order = 120)] + public int? SpecialTeamsTeamSnaps { get; set; } + + /// + /// Player's dollar value in a $200 salary cap auction draft. + /// + [Description("Player's dollar value in a $200 salary cap auction draft.")] + [DataMember(Name = "AuctionValue", Order = 121)] + public decimal? AuctionValue { get; set; } + + /// + /// Player's dollar value in a $200 salary cap PPR auction draft. + /// + [Description("Player's dollar value in a $200 salary cap PPR auction draft.")] + [DataMember(Name = "AuctionValuePPR", Order = 122)] + public decimal? AuctionValuePPR { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 123)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 124)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Field goals made of 0 to 19 yards. + /// + [Description("Field goals made of 0 to 19 yards.")] + [DataMember(Name = "FieldGoalsMade0to19", Order = 125)] + public decimal? FieldGoalsMade0to19 { get; set; } + + /// + /// Field goals made of 20 to 29 yards. + /// + [Description("Field goals made of 20 to 29 yards.")] + [DataMember(Name = "FieldGoalsMade20to29", Order = 126)] + public decimal? FieldGoalsMade20to29 { get; set; } + + /// + /// Field goals made of 30 to 39 yards. + /// + [Description("Field goals made of 30 to 39 yards.")] + [DataMember(Name = "FieldGoalsMade30to39", Order = 127)] + public decimal? FieldGoalsMade30to39 { get; set; } + + /// + /// Field goals made of 40 to 49 yards. + /// + [Description("Field goals made of 40 to 49 yards.")] + [DataMember(Name = "FieldGoalsMade40to49", Order = 128)] + public decimal? FieldGoalsMade40to49 { get; set; } + + /// + /// Field goals made of 50+ yards. + /// + [Description("Field goals made of 50+ yards.")] + [DataMember(Name = "FieldGoalsMade50Plus", Order = 129)] + public decimal? FieldGoalsMade50Plus { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 130)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 131)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) + /// + [Description("The average draft position of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPosition", Order = 132)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The average draft position in PPR leagues of the team's fantasy defense (DST) + /// + [Description("The average draft position in PPR leagues of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPositionPPR", Order = 133)] + public decimal? AverageDraftPositionPPR { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 134)] + public int? TeamID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 135)] + public int? GlobalTeamID { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 136)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// The details of the scoring plays this player recorded + /// + [Description("The details of the scoring plays this player recorded")] + [DataMember(Name = "ScoringDetails", Order = 20137)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// The average draft position of this player in rookie drafts + /// + [Description("The average draft position of this player in rookie drafts")] + [DataMember(Name = "AverageDraftPositionRookie", Order = 138)] + public decimal? AverageDraftPositionRookie { get; set; } + + /// + /// The average draft position of this player in dynasty drafts + /// + [Description("The average draft position of this player in dynasty drafts")] + [DataMember(Name = "AverageDraftPositionDynasty", Order = 139)] + public decimal? AverageDraftPositionDynasty { get; set; } + + /// + /// The average draft position of this player in 2 Quarterback drafts + /// + [Description("The average draft position of this player in 2 Quarterback drafts")] + [DataMember(Name = "AverageDraftPosition2QB", Order = 140)] + public decimal? AverageDraftPosition2QB { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeasonThirdDown.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeasonThirdDown.cs new file mode 100644 index 0000000..0ba57ce --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/PlayerSeasonThirdDown.cs @@ -0,0 +1,993 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="PlayerSeasonThirdDown")] + [Serializable] + public partial class PlayerSeasonThirdDown + { + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 1)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The NFL regular season for which these totals apply + /// + [Description("The NFL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Player's jersey number + /// + [Description("Player's jersey number")] + [DataMember(Name = "Number", Order = 5)] + public int Number { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST) + /// + [Description("Abbreviation of either Offense, Defense or Special Teams (OFF, DEF, ST)")] + [DataMember(Name = "PositionCategory", Order = 8)] + public string PositionCategory { get; set; } + + /// + /// Number of games player was Active on gameday + /// + [Description("Number of games player was Active on gameday")] + [DataMember(Name = "Activated", Order = 9)] + public int Activated { get; set; } + + /// + /// Number of games played in + /// + [Description("Number of games played in")] + [DataMember(Name = "Played", Order = 10)] + public int Played { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 11)] + public int Started { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 12)] + public decimal PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 13)] + public decimal PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 14)] + public decimal PassingYards { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "PassingCompletionPercentage", Order = 15)] + public decimal PassingCompletionPercentage { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 16)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 17)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 18)] + public decimal PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 19)] + public decimal PassingInterceptions { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PassingRating", Order = 20)] + public decimal PassingRating { get; set; } + + /// + /// Longest completion + /// + [Description("Longest completion")] + [DataMember(Name = "PassingLong", Order = 21)] + public decimal PassingLong { get; set; } + + /// + /// Number of times sacked + /// + [Description("Number of times sacked")] + [DataMember(Name = "PassingSacks", Order = 22)] + public decimal PassingSacks { get; set; } + + /// + /// Yards lost as a result of being sacked + /// + [Description("Yards lost as a result of being sacked")] + [DataMember(Name = "PassingSackYards", Order = 23)] + public decimal PassingSackYards { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 24)] + public decimal RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 25)] + public decimal RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 26)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 27)] + public decimal RushingTouchdowns { get; set; } + + /// + /// Longest rush + /// + [Description("Longest rush")] + [DataMember(Name = "RushingLong", Order = 28)] + public decimal RushingLong { get; set; } + + /// + /// Number of times targeted by passer + /// + [Description("Number of times targeted by passer")] + [DataMember(Name = "ReceivingTargets", Order = 29)] + public decimal? ReceivingTargets { get; set; } + + /// + /// Number of receptions + /// + [Description("Number of receptions")] + [DataMember(Name = "Receptions", Order = 30)] + public decimal Receptions { get; set; } + + /// + /// Total receiving yards + /// + [Description("Total receiving yards")] + [DataMember(Name = "ReceivingYards", Order = 31)] + public decimal ReceivingYards { get; set; } + + /// + /// Average yards gained per reception + /// + [Description("Average yards gained per reception")] + [DataMember(Name = "ReceivingYardsPerReception", Order = 32)] + public decimal ReceivingYardsPerReception { get; set; } + + /// + /// Receiving touchdowns + /// + [Description("Receiving touchdowns")] + [DataMember(Name = "ReceivingTouchdowns", Order = 33)] + public decimal ReceivingTouchdowns { get; set; } + + /// + /// Longest reception + /// + [Description("Longest reception")] + [DataMember(Name = "ReceivingLong", Order = 34)] + public decimal ReceivingLong { get; set; } + + /// + /// Times fumbled + /// + [Description("Times fumbled")] + [DataMember(Name = "Fumbles", Order = 35)] + public decimal Fumbles { get; set; } + + /// + /// Number of fumbles recovered by opponent + /// + [Description("Number of fumbles recovered by opponent")] + [DataMember(Name = "FumblesLost", Order = 36)] + public decimal? FumblesLost { get; set; } + + /// + /// Number of punt return attempts + /// + [Description("Number of punt return attempts")] + [DataMember(Name = "PuntReturns", Order = 37)] + public decimal PuntReturns { get; set; } + + /// + /// Total return yards on punts + /// + [Description("Total return yards on punts")] + [DataMember(Name = "PuntReturnYards", Order = 38)] + public decimal PuntReturnYards { get; set; } + + /// + /// Average yards gained per punt return + /// + [Description("Average yards gained per punt return")] + [DataMember(Name = "PuntReturnYardsPerAttempt", Order = 39)] + public decimal PuntReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on punt returns + /// + [Description("Number of touchdowns on punt returns")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 40)] + public decimal PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 41)] + public decimal PuntReturnLong { get; set; } + + /// + /// Number of kick return attempts + /// + [Description("Number of kick return attempts")] + [DataMember(Name = "KickReturns", Order = 42)] + public decimal KickReturns { get; set; } + + /// + /// Total return yards on kicks + /// + [Description("Total return yards on kicks")] + [DataMember(Name = "KickReturnYards", Order = 43)] + public decimal KickReturnYards { get; set; } + + /// + /// Average yards gained per kick return + /// + [Description("Average yards gained per kick return")] + [DataMember(Name = "KickReturnYardsPerAttempt", Order = 44)] + public decimal KickReturnYardsPerAttempt { get; set; } + + /// + /// Number of touchdowns on kick returns + /// + [Description("Number of touchdowns on kick returns")] + [DataMember(Name = "KickReturnTouchdowns", Order = 45)] + public decimal KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 46)] + public decimal KickReturnLong { get; set; } + + /// + /// Solo, unassisted tackles + /// + [Description("Solo, unassisted tackles")] + [DataMember(Name = "SoloTackles", Order = 47)] + public decimal SoloTackles { get; set; } + + /// + /// Assisted tackles (also called a half tackle) + /// + [Description("Assisted tackles (also called a half tackle)")] + [DataMember(Name = "AssistedTackles", Order = 48)] + public decimal AssistedTackles { get; set; } + + /// + /// Tackles behind the opponent's line of scrimmage + /// + [Description("Tackles behind the opponent's line of scrimmage")] + [DataMember(Name = "TacklesForLoss", Order = 49)] + public decimal? TacklesForLoss { get; set; } + + /// + /// Sacks of the opposing quarterback + /// + [Description("Sacks of the opposing quarterback")] + [DataMember(Name = "Sacks", Order = 50)] + public decimal Sacks { get; set; } + + /// + /// Yards lost as a result of sacking the opposing quarterback + /// + [Description("Yards lost as a result of sacking the opposing quarterback")] + [DataMember(Name = "SackYards", Order = 51)] + public decimal SackYards { get; set; } + + /// + /// Number of times hitting an opposing quarterback without sacking him + /// + [Description("Number of times hitting an opposing quarterback without sacking him")] + [DataMember(Name = "QuarterbackHits", Order = 52)] + public decimal? QuarterbackHits { get; set; } + + /// + /// Passes defended or batted down + /// + [Description("Passes defended or batted down")] + [DataMember(Name = "PassesDefended", Order = 53)] + public decimal PassesDefended { get; set; } + + /// + /// Number of fumbles forced + /// + [Description("Number of fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 54)] + public decimal FumblesForced { get; set; } + + /// + /// Number of fumbles recovered + /// + [Description("Number of fumbles recovered")] + [DataMember(Name = "FumblesRecovered", Order = 55)] + public decimal FumblesRecovered { get; set; } + + /// + /// Return yards from fumble recoveries + /// + [Description("Return yards from fumble recoveries")] + [DataMember(Name = "FumbleReturnYards", Order = 56)] + public decimal FumbleReturnYards { get; set; } + + /// + /// Return touchdowns from fumble recoveries + /// + [Description("Return touchdowns from fumble recoveries")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 57)] + public decimal FumbleReturnTouchdowns { get; set; } + + /// + /// Number of interceptions + /// + [Description("Number of interceptions")] + [DataMember(Name = "Interceptions", Order = 58)] + public decimal Interceptions { get; set; } + + /// + /// Return yards from interceptions + /// + [Description("Return yards from interceptions")] + [DataMember(Name = "InterceptionReturnYards", Order = 59)] + public decimal InterceptionReturnYards { get; set; } + + /// + /// Return touchdowns from interceptions + /// + [Description("Return touchdowns from interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 60)] + public decimal InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of field goals and punts blocked + /// + [Description("Total number of field goals and punts blocked")] + [DataMember(Name = "BlockedKicks", Order = 61)] + public decimal BlockedKicks { get; set; } + + /// + /// Solo tackles on kick and punt plays + /// + [Description("Solo tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsSoloTackles", Order = 62)] + public decimal SpecialTeamsSoloTackles { get; set; } + + /// + /// Assisted tackles on kick and punt plays + /// + [Description("Assisted tackles on kick and punt plays")] + [DataMember(Name = "SpecialTeamsAssistedTackles", Order = 63)] + public decimal SpecialTeamsAssistedTackles { get; set; } + + /// + /// Solo tackles when playing offense (after a turnover) + /// + [Description("Solo tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscSoloTackles", Order = 64)] + public decimal MiscSoloTackles { get; set; } + + /// + /// Assisted tackles when playing offense (after a turnover) + /// + [Description("Assisted tackles when playing offense (after a turnover)")] + [DataMember(Name = "MiscAssistedTackles", Order = 65)] + public decimal MiscAssistedTackles { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 66)] + public decimal Punts { get; set; } + + /// + /// Total number of punt yards + /// + [Description("Total number of punt yards")] + [DataMember(Name = "PuntYards", Order = 67)] + public decimal PuntYards { get; set; } + + /// + /// Average yards per punt + /// + [Description("Average yards per punt")] + [DataMember(Name = "PuntAverage", Order = 68)] + public decimal PuntAverage { get; set; } + + /// + /// Number of field goal attempts + /// + [Description("Number of field goal attempts")] + [DataMember(Name = "FieldGoalsAttempted", Order = 69)] + public decimal FieldGoalsAttempted { get; set; } + + /// + /// Number of successful field goal attempts + /// + [Description("Number of successful field goal attempts")] + [DataMember(Name = "FieldGoalsMade", Order = 70)] + public decimal FieldGoalsMade { get; set; } + + /// + /// Longest successful field goal attempt + /// + [Description("Longest successful field goal attempt")] + [DataMember(Name = "FieldGoalsLongestMade", Order = 71)] + public decimal FieldGoalsLongestMade { get; set; } + + /// + /// Number of successful extra points + /// + [Description("Number of successful extra points")] + [DataMember(Name = "ExtraPointsMade", Order = 72)] + public decimal ExtraPointsMade { get; set; } + + /// + /// Successful two point conversion passes + /// + [Description("Successful two point conversion passes")] + [DataMember(Name = "TwoPointConversionPasses", Order = 73)] + public decimal TwoPointConversionPasses { get; set; } + + /// + /// Successful two point conversion runs + /// + [Description("Successful two point conversion runs")] + [DataMember(Name = "TwoPointConversionRuns", Order = 74)] + public decimal TwoPointConversionRuns { get; set; } + + /// + /// Successful two point conversion receptions + /// + [Description("Successful two point conversion receptions")] + [DataMember(Name = "TwoPointConversionReceptions", Order = 75)] + public decimal TwoPointConversionReceptions { get; set; } + + /// + /// Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPoints", Order = 76)] + public decimal FantasyPoints { get; set; } + + /// + /// Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx) + /// + [Description("Fantasy points scored based on basic PPR fantasy scoring system (https://fantasydata.com/resources/fantasy-scoring-system.aspx)")] + [DataMember(Name = "FantasyPointsPPR", Order = 77)] + public decimal FantasyPointsPPR { get; set; } + + /// + /// Percentage of ReceivingTargets convert into Receptions + /// + [Description("Percentage of ReceivingTargets convert into Receptions")] + [DataMember(Name = "ReceptionPercentage", Order = 78)] + public decimal ReceptionPercentage { get; set; } + + /// + /// Average yards gained per ReceivingTargets + /// + [Description("Average yards gained per ReceivingTargets")] + [DataMember(Name = "ReceivingYardsPerTarget", Order = 79)] + public decimal ReceivingYardsPerTarget { get; set; } + + /// + /// Sum of SoloTackles and AssistedTackles + /// + [Description("Sum of SoloTackles and AssistedTackles")] + [DataMember(Name = "Tackles", Order = 80)] + public decimal Tackles { get; set; } + + /// + /// Offensive touchdowns scored + /// + [Description("Offensive touchdowns scored")] + [DataMember(Name = "OffensiveTouchdowns", Order = 81)] + public decimal OffensiveTouchdowns { get; set; } + + /// + /// Defensive touchdowns scored + /// + [Description("Defensive touchdowns scored")] + [DataMember(Name = "DefensiveTouchdowns", Order = 82)] + public decimal DefensiveTouchdowns { get; set; } + + /// + /// Special teams touchdowns scored + /// + [Description("Special teams touchdowns scored")] + [DataMember(Name = "SpecialTeamsTouchdowns", Order = 83)] + public decimal SpecialTeamsTouchdowns { get; set; } + + /// + /// Total touchdowns scored + /// + [Description("Total touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 84)] + public decimal Touchdowns { get; set; } + + /// + /// The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL + /// + [Description("The player's fantasy football position. Possible values: QB, RB, WR, TE, DL, LB, DB, K, P, OL")] + [DataMember(Name = "FantasyPosition", Order = 85)] + public string FantasyPosition { get; set; } + + /// + /// Percentage of Field Goal attempts that we successful + /// + [Description("Percentage of Field Goal attempts that we successful")] + [DataMember(Name = "FieldGoalPercentage", Order = 86)] + public decimal FieldGoalPercentage { get; set; } + + /// + /// Unique ID of PlayerSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and PlayerID. + /// + [Description("Unique ID of PlayerSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and PlayerID.")] + [DataMember(Name = "PlayerSeasonID", Order = 87)] + public int PlayerSeasonID { get; set; } + + /// + /// Own team's fumbles recovered (did not result in a turnover) + /// + [Description("Own team's fumbles recovered (did not result in a turnover)")] + [DataMember(Name = "FumblesOwnRecoveries", Order = 88)] + public decimal? FumblesOwnRecoveries { get; set; } + + /// + /// Fumbles by this player that went out of bounds (no one was awarded the recovery) + /// + [Description("Fumbles by this player that went out of bounds (no one was awarded the recovery)")] + [DataMember(Name = "FumblesOutOfBounds", Order = 89)] + public decimal? FumblesOutOfBounds { get; set; } + + /// + /// Fair catches made on kickoffs + /// + [Description("Fair catches made on kickoffs")] + [DataMember(Name = "KickReturnFairCatches", Order = 90)] + public decimal? KickReturnFairCatches { get; set; } + + /// + /// Fair catches made on punts + /// + [Description("Fair catches made on punts")] + [DataMember(Name = "PuntReturnFairCatches", Order = 91)] + public decimal? PuntReturnFairCatches { get; set; } + + /// + /// Punts by this player that were touchbacks + /// + [Description("Punts by this player that were touchbacks")] + [DataMember(Name = "PuntTouchbacks", Order = 92)] + public decimal? PuntTouchbacks { get; set; } + + /// + /// Punts by this player that were downed inside the 20 yard line + /// + [Description("Punts by this player that were downed inside the 20 yard line")] + [DataMember(Name = "PuntInside20", Order = 93)] + public decimal? PuntInside20 { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 94)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kicks attempted + /// + [Description("Extra point kicks attempted")] + [DataMember(Name = "ExtraPointsAttempted", Order = 95)] + public decimal? ExtraPointsAttempted { get; set; } + + /// + /// Blocked kicks that this player returned for touchdowns + /// + [Description("Blocked kicks that this player returned for touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 96)] + public decimal? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goals that this player returned for touchdowns + /// + [Description("Field goals that this player returned for touchdowns")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 97)] + public decimal? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone) + /// + [Description("Defensive safeties (sacks in end zone, solo tackles in end zone, blocked kicks that went out of bounds in the end zone)")] + [DataMember(Name = "Safeties", Order = 98)] + public decimal? Safeties { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 99)] + public decimal? FieldGoalsHadBlocked { get; set; } + + /// + /// Punts that were blocked + /// + [Description("Punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 100)] + public decimal? PuntsHadBlocked { get; set; } + + /// + /// Extra points that were blocked + /// + [Description("Extra points that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 101)] + public decimal? ExtraPointsHadBlocked { get; set; } + + /// + /// Longest punt + /// + [Description("Longest punt")] + [DataMember(Name = "PuntLong", Order = 102)] + public decimal? PuntLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 103)] + public decimal? BlockedKickReturnYards { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 104)] + public decimal? FieldGoalReturnYards { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 105)] + public decimal? PuntNetYards { get; set; } + + /// + /// Fumbles forced on special teams plays + /// + [Description("Fumbles forced on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesForced", Order = 106)] + public decimal? SpecialTeamsFumblesForced { get; set; } + + /// + /// Fumbles recovered on special teams plays + /// + [Description("Fumbles recovered on special teams plays")] + [DataMember(Name = "SpecialTeamsFumblesRecovered", Order = 107)] + public decimal? SpecialTeamsFumblesRecovered { get; set; } + + /// + /// Fumbles forced after a turnover on offensive plays + /// + [Description("Fumbles forced after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesForced", Order = 108)] + public decimal? MiscFumblesForced { get; set; } + + /// + /// Fumbles recovered after a turnover on offensive plays + /// + [Description("Fumbles recovered after a turnover on offensive plays")] + [DataMember(Name = "MiscFumblesRecovered", Order = 109)] + public decimal? MiscFumblesRecovered { get; set; } + + /// + /// Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning) + /// + [Description("Shorter version of player's name, includes first initial and last name (e.g. A. Rodgers, P.Manning)")] + [DataMember(Name = "ShortName", Order = 110)] + public string ShortName { get; set; } + + /// + /// Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding) + /// + [Description("Safeties allowed (tackled in end zone, sacked in end zone, ran out of bounds in end zone, or committed a penalty in end zone, e.g. Intentional Grounding or Offensive Holding)")] + [DataMember(Name = "SafetiesAllowed", Order = 111)] + public decimal? SafetiesAllowed { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 112)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 113)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 114)] + public int? WindSpeed { get; set; } + + /// + /// The number of snaps this player played on offense. + /// + [Description("The number of snaps this player played on offense.")] + [DataMember(Name = "OffensiveSnapsPlayed", Order = 115)] + public int? OffensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on defense. + /// + [Description("The number of snaps this player played on defense.")] + [DataMember(Name = "DefensiveSnapsPlayed", Order = 116)] + public int? DefensiveSnapsPlayed { get; set; } + + /// + /// The number of snaps this player played on special teams. + /// + [Description("The number of snaps this player played on special teams.")] + [DataMember(Name = "SpecialTeamsSnapsPlayed", Order = 117)] + public int? SpecialTeamsSnapsPlayed { get; set; } + + /// + /// The total number of offensive snaps this player's team played. + /// + [Description("The total number of offensive snaps this player's team played.")] + [DataMember(Name = "OffensiveTeamSnaps", Order = 118)] + public int? OffensiveTeamSnaps { get; set; } + + /// + /// The total number of defensive snaps this player's team played. + /// + [Description("The total number of defensive snaps this player's team played.")] + [DataMember(Name = "DefensiveTeamSnaps", Order = 119)] + public int? DefensiveTeamSnaps { get; set; } + + /// + /// The total number of special teams snaps this player's team played. + /// + [Description("The total number of special teams snaps this player's team played.")] + [DataMember(Name = "SpecialTeamsTeamSnaps", Order = 120)] + public int? SpecialTeamsTeamSnaps { get; set; } + + /// + /// Player's dollar value in a $200 salary cap auction draft. + /// + [Description("Player's dollar value in a $200 salary cap auction draft.")] + [DataMember(Name = "AuctionValue", Order = 121)] + public decimal? AuctionValue { get; set; } + + /// + /// Player's dollar value in a $200 salary cap PPR auction draft. + /// + [Description("Player's dollar value in a $200 salary cap PPR auction draft.")] + [DataMember(Name = "AuctionValuePPR", Order = 122)] + public decimal? AuctionValuePPR { get; set; } + + /// + /// Two point conversions returned for two points. + /// + [Description("Two point conversions returned for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 123)] + public decimal? TwoPointConversionReturns { get; set; } + + /// + /// Fantasy points based on FanDuel's scoring system. + /// + [Description("Fantasy points based on FanDuel's scoring system.")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 124)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Field goals made of 0 to 19 yards. + /// + [Description("Field goals made of 0 to 19 yards.")] + [DataMember(Name = "FieldGoalsMade0to19", Order = 125)] + public decimal? FieldGoalsMade0to19 { get; set; } + + /// + /// Field goals made of 20 to 29 yards. + /// + [Description("Field goals made of 20 to 29 yards.")] + [DataMember(Name = "FieldGoalsMade20to29", Order = 126)] + public decimal? FieldGoalsMade20to29 { get; set; } + + /// + /// Field goals made of 30 to 39 yards. + /// + [Description("Field goals made of 30 to 39 yards.")] + [DataMember(Name = "FieldGoalsMade30to39", Order = 127)] + public decimal? FieldGoalsMade30to39 { get; set; } + + /// + /// Field goals made of 40 to 49 yards. + /// + [Description("Field goals made of 40 to 49 yards.")] + [DataMember(Name = "FieldGoalsMade40to49", Order = 128)] + public decimal? FieldGoalsMade40to49 { get; set; } + + /// + /// Field goals made of 50+ yards. + /// + [Description("Field goals made of 50+ yards.")] + [DataMember(Name = "FieldGoalsMade50Plus", Order = 129)] + public decimal? FieldGoalsMade50Plus { get; set; } + + /// + /// Fantasy points based on DraftKings' scoring system. + /// + [Description("Fantasy points based on DraftKings' scoring system.")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 130)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Fantasy points based on Yahoo's daily fantasy scoring system. + /// + [Description("Fantasy points based on Yahoo's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsYahoo", Order = 131)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) + /// + [Description("The average draft position of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPosition", Order = 132)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The average draft position in PPR leagues of the team's fantasy defense (DST) + /// + [Description("The average draft position in PPR leagues of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPositionPPR", Order = 133)] + public decimal? AverageDraftPositionPPR { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 134)] + public int? TeamID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 135)] + public int? GlobalTeamID { get; set; } + + /// + /// Fantasy points based on FantasyDraft's daily fantasy scoring system. + /// + [Description("Fantasy points based on FantasyDraft's daily fantasy scoring system.")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 136)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + /// + /// The details of the scoring plays this player recorded + /// + [Description("The details of the scoring plays this player recorded")] + [DataMember(Name = "ScoringDetails", Order = 20137)] + public ScoringDetail[] ScoringDetails { get; set; } + + /// + /// The average draft position of this player in rookie drafts + /// + [Description("The average draft position of this player in rookie drafts")] + [DataMember(Name = "AverageDraftPositionRookie", Order = 138)] + public decimal? AverageDraftPositionRookie { get; set; } + + /// + /// The average draft position of this player in dynasty drafts + /// + [Description("The average draft position of this player in dynasty drafts")] + [DataMember(Name = "AverageDraftPositionDynasty", Order = 139)] + public decimal? AverageDraftPositionDynasty { get; set; } + + /// + /// The average draft position of this player in 2 Quarterback drafts + /// + [Description("The average draft position of this player in 2 Quarterback drafts")] + [DataMember(Name = "AverageDraftPosition2QB", Order = 140)] + public decimal? AverageDraftPosition2QB { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Quarter.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Quarter.cs new file mode 100644 index 0000000..ec3ddc0 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Quarter.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Quarter")] + [Serializable] + public partial class Quarter + { + /// + /// Unique identifier for each Quarter. + /// + [Description("Unique identifier for each Quarter.")] + [DataMember(Name = "QuarterID", Order = 1)] + public int QuarterID { get; set; } + + /// + /// The unique identifier of the Score record this Quarter belongs to. + /// + [Description("The unique identifier of the Score record this Quarter belongs to.")] + [DataMember(Name = "ScoreID", Order = 2)] + public int ScoreID { get; set; } + + /// + /// The Number (Order) of the Quarter in the scope of the Game. + /// + [Description("The Number (Order) of the Quarter in the scope of the Game.")] + [DataMember(Name = "Number", Order = 3)] + public int Number { get; set; } + + /// + /// The Name of the Quarter (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc) + /// + [Description("The Name of the Quarter (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc)")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The long description of the Quarter. + /// + [Description("The long description of the Quarter.")] + [DataMember(Name = "Description", Order = 5)] + public string Description { get; set; } + + /// + /// The total points scored by the away team in this Quarter. + /// + [Description("The total points scored by the away team in this Quarter.")] + [DataMember(Name = "AwayTeamScore", Order = 6)] + public int? AwayTeamScore { get; set; } + + /// + /// The total points scored by the home team in this Quarter. + /// + [Description("The total points scored by the home team in this Quarter.")] + [DataMember(Name = "HomeTeamScore", Order = 7)] + public int? HomeTeamScore { get; set; } + + /// + /// The database generated timestamp of when this Quarter was last updated. + /// + [Description("The database generated timestamp of when this Quarter was last updated.")] + [DataMember(Name = "Updated", Order = 8)] + public DateTime? Updated { get; set; } + + /// + /// The database generated timestamp of when this Quarter was first created. + /// + [Description("The database generated timestamp of when this Quarter was first created.")] + [DataMember(Name = "Created", Order = 9)] + public DateTime? Created { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Schedule.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Schedule.cs new file mode 100644 index 0000000..acdc418 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Schedule.cs @@ -0,0 +1,216 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Schedule")] + [Serializable] + public partial class Schedule + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. This value will be NULL for bye weeks. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. This value will be NULL for bye weeks.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 4)] + public int Week { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "Date", Order = 5)] + public DateTime? Date { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 6)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 7)] + public string HomeTeam { get; set; } + + /// + /// The television station broadcasting the game + /// + [Description("The television station broadcasting the game")] + [DataMember(Name = "Channel", Order = 8)] + public string Channel { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored)")] + [DataMember(Name = "PointSpread", Order = 9)] + public decimal? PointSpread { get; set; } + + /// + /// The oddsmaker Over/Under at game start + /// + [Description("The oddsmaker Over/Under at game start")] + [DataMember(Name = "OverUnder", Order = 10)] + public decimal? OverUnder { get; set; } + + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 11)] + public int? StadiumID { get; set; } + + /// + /// Indicates whether the game was canceled. + /// + [Description("Indicates whether the game was canceled.")] + [DataMember(Name = "Canceled", Order = 12)] + public bool? Canceled { get; set; } + + /// + /// The geographic latitude coordinate of this venue. + /// + [Description("The geographic latitude coordinate of this venue.")] + [DataMember(Name = "GeoLat", Order = 13)] + public decimal? GeoLat { get; set; } + + /// + /// The geographic longitude coordinate of this venue. + /// + [Description("The geographic longitude coordinate of this venue.")] + [DataMember(Name = "GeoLong", Order = 14)] + public decimal? GeoLong { get; set; } + + /// + /// The forecasted low temperature on game day at this venue (Fahrenheit). + /// + [Description("The forecasted low temperature on game day at this venue (Fahrenheit).")] + [DataMember(Name = "ForecastTempLow", Order = 15)] + public int? ForecastTempLow { get; set; } + + /// + /// The forecasted high temperature on game day at this venue (Fahrenheit). + /// + [Description("The forecasted high temperature on game day at this venue (Fahrenheit).")] + [DataMember(Name = "ForecastTempHigh", Order = 16)] + public int? ForecastTempHigh { get; set; } + + /// + /// The forecast description on game day at this venue. + /// + [Description("The forecast description on game day at this venue.")] + [DataMember(Name = "ForecastDescription", Order = 17)] + public string ForecastDescription { get; set; } + + /// + /// The forecasted wind chill on game day at this venue. + /// + [Description("The forecasted wind chill on game day at this venue.")] + [DataMember(Name = "ForecastWindChill", Order = 18)] + public int? ForecastWindChill { get; set; } + + /// + /// The forecasted wind speed on game day at this venue. + /// + [Description("The forecasted wind speed on game day at this venue.")] + [DataMember(Name = "ForecastWindSpeed", Order = 19)] + public int? ForecastWindSpeed { get; set; } + + /// + /// Money line from the perspective of the away team. + /// + [Description("Money line from the perspective of the away team.")] + [DataMember(Name = "AwayTeamMoneyLine", Order = 20)] + public int? AwayTeamMoneyLine { get; set; } + + /// + /// Money line from the perspective of the home team. + /// + [Description("Money line from the perspective of the home team.")] + [DataMember(Name = "HomeTeamMoneyLine", Order = 21)] + public int? HomeTeamMoneyLine { get; set; } + + /// + /// The date of the game in US Eastern Time + /// + [Description("The date of the game in US Eastern Time")] + [DataMember(Name = "Day", Order = 22)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game in US Eastern Time + /// + [Description("The date and time of the game in US Eastern Time")] + [DataMember(Name = "DateTime", Order = 23)] + public DateTime? DateTime { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 24)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamID", Order = 25)] + public int? GlobalAwayTeamID { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamID", Order = 26)] + public int? GlobalHomeTeamID { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 27)] + public int ScoreID { get; set; } + + /// + /// The details of the stadium where this game is played + /// + [Description("The details of the stadium where this game is played")] + [DataMember(Name = "StadiumDetails", Order = 10028)] + public Stadium StadiumDetails { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 29)] + public string Status { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Score.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Score.cs new file mode 100644 index 0000000..8027526 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Score.cs @@ -0,0 +1,496 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Score")] + [Serializable] + public partial class Score + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// The type of season that this game corresponds to (1=Regular Season, 2=Preseason, 3=Postseason). + /// + [Description("The type of season that this game corresponds to (1=Regular Season, 2=Preseason, 3=Postseason).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 4)] + public int Week { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "Date", Order = 5)] + public DateTime Date { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 6)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 7)] + public string HomeTeam { get; set; } + + /// + /// The final score of the Away Team + /// + [Description("The final score of the Away Team")] + [DataMember(Name = "AwayScore", Order = 8)] + public int? AwayScore { get; set; } + + /// + /// The final score of the Home Team + /// + [Description("The final score of the Home Team")] + [DataMember(Name = "HomeScore", Order = 9)] + public int? HomeScore { get; set; } + + /// + /// The television station broadcasting the game + /// + [Description("The television station broadcasting the game")] + [DataMember(Name = "Channel", Order = 10)] + public string Channel { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored)")] + [DataMember(Name = "PointSpread", Order = 11)] + public decimal? PointSpread { get; set; } + + /// + /// The oddsmaker Over/Under at game start + /// + [Description("The oddsmaker Over/Under at game start")] + [DataMember(Name = "OverUnder", Order = 12)] + public decimal? OverUnder { get; set; } + + /// + /// The current quarter of the game (1, 2, 3, 4, Half, OT, F, F/OT or NULL if game has not yet started) + /// + [Description("The current quarter of the game (1, 2, 3, 4, Half, OT, F, F/OT or NULL if game has not yet started)")] + [DataMember(Name = "Quarter", Order = 13)] + public string Quarter { get; set; } + + /// + /// The amount of time remaining in the current quarter (11:23, 5:34, NULL if game is not in progress or at halftime) + /// + [Description("The amount of time remaining in the current quarter (11:23, 5:34, NULL if game is not in progress or at halftime)")] + [DataMember(Name = "TimeRemaining", Order = 14)] + public string TimeRemaining { get; set; } + + /// + /// The team that currently has possession of the ball (PHI, NE, NULL if game is not in progress or at halftime) + /// + [Description("The team that currently has possession of the ball (PHI, NE, NULL if game is not in progress or at halftime)")] + [DataMember(Name = "Possession", Order = 15)] + public string Possession { get; set; } + + /// + /// The current down in the game (1, 2, 3, 4 or NULL) + /// + [Description("The current down in the game (1, 2, 3, 4 or NULL)")] + [DataMember(Name = "Down", Order = 16)] + public int? Down { get; set; } + + /// + /// The yards to go for a first down (this can be any positive number or "Goal") + /// + [Description("The yards to go for a first down (this can be any positive number or \"Goal\")")] + [DataMember(Name = "Distance", Order = 17)] + public string Distance { get; set; } + + /// + /// The yard line that the ball is currently located, as of the most recently completed play + /// + [Description("The yard line that the ball is currently located, as of the most recently completed play")] + [DataMember(Name = "YardLine", Order = 18)] + public int? YardLine { get; set; } + + /// + /// The team's territory that the ball is currently located ("SF", "BAL" or NULL) + /// + [Description("The team's territory that the ball is currently located (\"SF\", \"BAL\" or NULL)")] + [DataMember(Name = "YardLineTerritory", Order = 19)] + public string YardLineTerritory { get; set; } + + /// + /// The team that currently has the ball in the opponent's red zone ("SF", "BAL" or NULL) + /// + [Description("The team that currently has the ball in the opponent's red zone (\"SF\", \"BAL\" or NULL)")] + [DataMember(Name = "RedZone", Order = 20)] + public string RedZone { get; set; } + + /// + /// Points scored during Quarter 1 + /// + [Description("Points scored during Quarter 1")] + [DataMember(Name = "AwayScoreQuarter1", Order = 21)] + public int? AwayScoreQuarter1 { get; set; } + + /// + /// Points scored during Quarter 2 + /// + [Description("Points scored during Quarter 2")] + [DataMember(Name = "AwayScoreQuarter2", Order = 22)] + public int? AwayScoreQuarter2 { get; set; } + + /// + /// Points scored during Quarter 3 + /// + [Description("Points scored during Quarter 3")] + [DataMember(Name = "AwayScoreQuarter3", Order = 23)] + public int? AwayScoreQuarter3 { get; set; } + + /// + /// Points scored during Quarter 4 + /// + [Description("Points scored during Quarter 4")] + [DataMember(Name = "AwayScoreQuarter4", Order = 24)] + public int? AwayScoreQuarter4 { get; set; } + + /// + /// Points scored during Overtime + /// + [Description("Points scored during Overtime")] + [DataMember(Name = "AwayScoreOvertime", Order = 25)] + public int? AwayScoreOvertime { get; set; } + + /// + /// Points scored during Quarter 1 + /// + [Description("Points scored during Quarter 1")] + [DataMember(Name = "HomeScoreQuarter1", Order = 26)] + public int? HomeScoreQuarter1 { get; set; } + + /// + /// Points scored during Quarter 2 + /// + [Description("Points scored during Quarter 2")] + [DataMember(Name = "HomeScoreQuarter2", Order = 27)] + public int? HomeScoreQuarter2 { get; set; } + + /// + /// Points scored during Quarter 3 + /// + [Description("Points scored during Quarter 3")] + [DataMember(Name = "HomeScoreQuarter3", Order = 28)] + public int? HomeScoreQuarter3 { get; set; } + + /// + /// Points scored during Quarter 4 + /// + [Description("Points scored during Quarter 4")] + [DataMember(Name = "HomeScoreQuarter4", Order = 29)] + public int? HomeScoreQuarter4 { get; set; } + + /// + /// Points scored during Overtime + /// + [Description("Points scored during Overtime")] + [DataMember(Name = "HomeScoreOvertime", Order = 30)] + public int? HomeScoreOvertime { get; set; } + + /// + /// Whether the game has started (true/false) + /// + [Description("Whether the game has started (true/false)")] + [DataMember(Name = "HasStarted", Order = 31)] + public bool HasStarted { get; set; } + + /// + /// Whether the game is currently in progress (true/false) + /// + [Description("Whether the game is currently in progress (true/false)")] + [DataMember(Name = "IsInProgress", Order = 32)] + public bool IsInProgress { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsOver", Order = 33)] + public bool IsOver { get; set; } + + /// + /// Whether the 1st quarter has started + /// + [Description("Whether the 1st quarter has started")] + [DataMember(Name = "Has1stQuarterStarted", Order = 34)] + public bool Has1stQuarterStarted { get; set; } + + /// + /// Whether the 2nd quarter has started + /// + [Description("Whether the 2nd quarter has started")] + [DataMember(Name = "Has2ndQuarterStarted", Order = 35)] + public bool Has2ndQuarterStarted { get; set; } + + /// + /// Whether the 3rd quarter has started + /// + [Description("Whether the 3rd quarter has started")] + [DataMember(Name = "Has3rdQuarterStarted", Order = 36)] + public bool Has3rdQuarterStarted { get; set; } + + /// + /// Whether the 4th quarter has started + /// + [Description("Whether the 4th quarter has started")] + [DataMember(Name = "Has4thQuarterStarted", Order = 37)] + public bool Has4thQuarterStarted { get; set; } + + /// + /// Whether this game went into overtime + /// + [Description("Whether this game went into overtime")] + [DataMember(Name = "IsOvertime", Order = 38)] + public bool IsOvertime { get; set; } + + /// + /// Description of the down and distance for display purposes + /// + [Description("Description of the down and distance for display purposes")] + [DataMember(Name = "DownAndDistance", Order = 39)] + public string DownAndDistance { get; set; } + + /// + /// Description of the current quarter for display purposes + /// + [Description("Description of the current quarter for display purposes")] + [DataMember(Name = "QuarterDescription", Order = 40)] + public string QuarterDescription { get; set; } + + /// + /// The unique ID of the team's current home stadium + /// + [Description("The unique ID of the team's current home stadium")] + [DataMember(Name = "StadiumID", Order = 41)] + public int? StadiumID { get; set; } + + /// + /// The date and time that this game was last updated (US Eastern Time) + /// + [Description("The date and time that this game was last updated (US Eastern Time)")] + [DataMember(Name = "LastUpdated", Order = 42)] + public DateTime? LastUpdated { get; set; } + + /// + /// The geographic latitude coordinate of this venue. + /// + [Description("The geographic latitude coordinate of this venue.")] + [DataMember(Name = "GeoLat", Order = 43)] + public decimal? GeoLat { get; set; } + + /// + /// The geographic longitude coordinate of this venue. + /// + [Description("The geographic longitude coordinate of this venue.")] + [DataMember(Name = "GeoLong", Order = 44)] + public decimal? GeoLong { get; set; } + + /// + /// The forecasted low temperature on game day at this venue (Fahrenheit). + /// + [Description("The forecasted low temperature on game day at this venue (Fahrenheit).")] + [DataMember(Name = "ForecastTempLow", Order = 45)] + public int? ForecastTempLow { get; set; } + + /// + /// The forecasted high temperature on game day at this venue (Fahrenheit). + /// + [Description("The forecasted high temperature on game day at this venue (Fahrenheit).")] + [DataMember(Name = "ForecastTempHigh", Order = 46)] + public int? ForecastTempHigh { get; set; } + + /// + /// The forecast description on game day at this venue. + /// + [Description("The forecast description on game day at this venue.")] + [DataMember(Name = "ForecastDescription", Order = 47)] + public string ForecastDescription { get; set; } + + /// + /// The forecasted wind chill on game day at this venue. + /// + [Description("The forecasted wind chill on game day at this venue.")] + [DataMember(Name = "ForecastWindChill", Order = 48)] + public int? ForecastWindChill { get; set; } + + /// + /// The forecasted wind speed on game day at this venue. + /// + [Description("The forecasted wind speed on game day at this venue.")] + [DataMember(Name = "ForecastWindSpeed", Order = 49)] + public int? ForecastWindSpeed { get; set; } + + /// + /// Money line from the perspective of the away team. + /// + [Description("Money line from the perspective of the away team.")] + [DataMember(Name = "AwayTeamMoneyLine", Order = 50)] + public int? AwayTeamMoneyLine { get; set; } + + /// + /// Money line from the perspective of the home team. + /// + [Description("Money line from the perspective of the home team.")] + [DataMember(Name = "HomeTeamMoneyLine", Order = 51)] + public int? HomeTeamMoneyLine { get; set; } + + /// + /// Indicates whether the game was canceled. + /// + [Description("Indicates whether the game was canceled.")] + [DataMember(Name = "Canceled", Order = 52)] + public bool? Canceled { get; set; } + + /// + /// Indicates whether the game is over and the final score has been verified and closed out. + /// + [Description("Indicates whether the game is over and the final score has been verified and closed out.")] + [DataMember(Name = "Closed", Order = 53)] + public bool? Closed { get; set; } + + /// + /// The description of the most recent play/event of the game. This is for display purposes and does not include corresponding data points. + /// + [Description("The description of the most recent play/event of the game. This is for display purposes and does not include corresponding data points.")] + [DataMember(Name = "LastPlay", Order = 54)] + public string LastPlay { get; set; } + + /// + /// The date of the game in US Eastern Time + /// + [Description("The date of the game in US Eastern Time")] + [DataMember(Name = "Day", Order = 55)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game in US Eastern Time + /// + [Description("The date and time of the game in US Eastern Time")] + [DataMember(Name = "DateTime", Order = 56)] + public DateTime? DateTime { get; set; } + + /// + /// The unique ID of the away team + /// + [Description("The unique ID of the away team")] + [DataMember(Name = "AwayTeamID", Order = 57)] + public int? AwayTeamID { get; set; } + + /// + /// The unique ID of the home team  + /// + [Description("The unique ID of the home team ")] + [DataMember(Name = "HomeTeamID", Order = 58)] + public int? HomeTeamID { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 59)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamID", Order = 60)] + public int? GlobalAwayTeamID { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamID", Order = 61)] + public int? GlobalHomeTeamID { get; set; } + + /// + /// The money line payout odds when betting on the away team with the point spread + /// + [Description("The money line payout odds when betting on the away team with the point spread")] + [DataMember(Name = "PointSpreadAwayTeamMoneyLine", Order = 62)] + public int? PointSpreadAwayTeamMoneyLine { get; set; } + + /// + /// The money line payout odds when betting on the home team with the point spread + /// + [Description("The money line payout odds when betting on the home team with the point spread")] + [DataMember(Name = "PointSpreadHomeTeamMoneyLine", Order = 63)] + public int? PointSpreadHomeTeamMoneyLine { get; set; } + + /// + /// Unique ID of the Score/Game + /// + [Description("Unique ID of the Score/Game")] + [DataMember(Name = "ScoreID", Order = 64)] + public int ScoreID { get; set; } + + /// + /// The details of the stadium where this game is played + /// + [Description("The details of the stadium where this game is played")] + [DataMember(Name = "StadiumDetails", Order = 10065)] + public Stadium StadiumDetails { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 66)] + public string Status { get; set; } + + /// + /// The date and time that the game ended in US Eastern Time + /// + [Description("The date and time that the game ended in US Eastern Time")] + [DataMember(Name = "GameEndDateTime", Order = 67)] + public DateTime? GameEndDateTime { get; set; } + + /// + /// Rotation number of home team in this game + /// + [Description("Rotation number of home team in this game")] + [DataMember(Name = "HomeRotationNumber", Order = 68)] + public int? HomeRotationNumber { get; set; } + + /// + /// Rotation number of away team in this game + /// + [Description("Rotation number of away team in this game")] + [DataMember(Name = "AwayRotationNumber", Order = 69)] + public int? AwayRotationNumber { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/ScoringDetail.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/ScoringDetail.cs new file mode 100644 index 0000000..272e731 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/ScoringDetail.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="ScoringDetail")] + [Serializable] + public partial class ScoringDetail + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// PlayerID of the player who scored + /// + [Description("PlayerID of the player who scored")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The team who the player played for + /// + [Description("The team who the player played for")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// The season during which the score happened + /// + [Description("The season during which the score happened")] + [DataMember(Name = "Season", Order = 5)] + public int Season { get; set; } + + /// + /// The week during which the score happened + /// + [Description("The week during which the score happened")] + [DataMember(Name = "Week", Order = 6)] + public int Week { get; set; } + + /// + /// The type of scoring play (e.g. BlockedFieldGoalReturnTouchdown, BlockedPuntReturnTouchdown, FieldGoalMade, FieldGoalReturnTouchdown, FumbleReturnTouchdown, InterceptionReturnTouchdown, KickoffReturnTouchdown, PassingTouchdown, PuntReturnTouchdown, ReceivingTouchdown, RushingTouchdown, Safety) + /// + [Description("The type of scoring play (e.g. BlockedFieldGoalReturnTouchdown, BlockedPuntReturnTouchdown, FieldGoalMade, FieldGoalReturnTouchdown, FumbleReturnTouchdown, InterceptionReturnTouchdown, KickoffReturnTouchdown, PassingTouchdown, PuntReturnTouchdown, ReceivingTouchdown, RushingTouchdown, Safety)")] + [DataMember(Name = "ScoringType", Order = 7)] + public string ScoringType { get; set; } + + /// + /// The length in yards of the score + /// + [Description("The length in yards of the score")] + [DataMember(Name = "Length", Order = 8)] + public int Length { get; set; } + + /// + /// Unique identifier of this scoring detail + /// + [Description("Unique identifier of this scoring detail")] + [DataMember(Name = "ScoringDetailID", Order = 9)] + public int ScoringDetailID { get; set; } + + /// + /// PlayerGameID of the game that this scoring detail occurred + /// + [Description("PlayerGameID of the game that this scoring detail occurred")] + [DataMember(Name = "PlayerGameID", Order = 10)] + public int PlayerGameID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/ScoringPlay.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/ScoringPlay.cs new file mode 100644 index 0000000..984fd82 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/ScoringPlay.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="ScoringPlay")] + [Serializable] + public partial class ScoringPlay + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// Unique id of the scoring play + /// + [Description("Unique id of the scoring play")] + [DataMember(Name = "ScoringPlayID", Order = 3)] + public int ScoringPlayID { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int Season { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 5)] + public int Week { get; set; } + + /// + /// The abbreviation of the away team + /// + [Description("The abbreviation of the away team")] + [DataMember(Name = "AwayTeam", Order = 6)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the home team + /// + [Description("The abbreviation of the home team")] + [DataMember(Name = "HomeTeam", Order = 7)] + public string HomeTeam { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "Date", Order = 8)] + public DateTime? Date { get; set; } + + /// + /// The order in which the scoring play happened + /// + [Description("The order in which the scoring play happened")] + [DataMember(Name = "Sequence", Order = 9)] + public int? Sequence { get; set; } + + /// + /// The abbreviation of the team that scored + /// + [Description("The abbreviation of the team that scored")] + [DataMember(Name = "Team", Order = 10)] + public string Team { get; set; } + + /// + /// The quarter that the score occurred in + /// + [Description("The quarter that the score occurred in")] + [DataMember(Name = "Quarter", Order = 11)] + public string Quarter { get; set; } + + /// + /// The time remaining in the quarter when the score occurred + /// + [Description("The time remaining in the quarter when the score occurred")] + [DataMember(Name = "TimeRemaining", Order = 12)] + public string TimeRemaining { get; set; } + + /// + /// The detailed description of the play for display purposes + /// + [Description("The detailed description of the play for display purposes")] + [DataMember(Name = "PlayDescription", Order = 13)] + public string PlayDescription { get; set; } + + /// + /// The away team's score as a result of the scoring play (includes point after) + /// + [Description("The away team's score as a result of the scoring play (includes point after)")] + [DataMember(Name = "AwayScore", Order = 14)] + public int? AwayScore { get; set; } + + /// + /// The home team's score as a result of the scoring play (includes point after) + /// + [Description("The home team's score as a result of the scoring play (includes point after)")] + [DataMember(Name = "HomeScore", Order = 15)] + public int? HomeScore { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 16)] + public int ScoreID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Stadium.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Stadium.cs new file mode 100644 index 0000000..9965378 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Stadium.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Stadium")] + [Serializable] + public partial class Stadium + { + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 1)] + public int StadiumID { get; set; } + + /// + /// The full name of the stadium + /// + [Description("The full name of the stadium")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The city where the stadium is located + /// + [Description("The city where the stadium is located")] + [DataMember(Name = "City", Order = 3)] + public string City { get; set; } + + /// + /// The US state where the stadium is located (if Stadium is outside US, this value is NULL) + /// + [Description("The US state where the stadium is located (if Stadium is outside US, this value is NULL)")] + [DataMember(Name = "State", Order = 4)] + public string State { get; set; } + + /// + /// The 2-digit country code where the stadium is located + /// + [Description("The 2-digit country code where the stadium is located")] + [DataMember(Name = "Country", Order = 5)] + public string Country { get; set; } + + /// + /// The estimated seating capacity of the stadium + /// + [Description("The estimated seating capacity of the stadium")] + [DataMember(Name = "Capacity", Order = 6)] + public int? Capacity { get; set; } + + /// + /// The playing surface of the stadium (Grass, Artificial or Dome) + /// + [Description("The playing surface of the stadium (Grass, Artificial or Dome)")] + [DataMember(Name = "PlayingSurface", Order = 7)] + public string PlayingSurface { get; set; } + + /// + /// The geographic latitude coordinate of this venue. + /// + [Description("The geographic latitude coordinate of this venue.")] + [DataMember(Name = "GeoLat", Order = 8)] + public decimal? GeoLat { get; set; } + + /// + /// The geographic longitude coordinate of this venue. + /// + [Description("The geographic longitude coordinate of this venue.")] + [DataMember(Name = "GeoLong", Order = 9)] + public decimal? GeoLong { get; set; } + + /// + /// The type of the stadium (possible values: Outdoor, Dome, RetractableDome) + /// + [Description("The type of the stadium (possible values: Outdoor, Dome, RetractableDome)")] + [DataMember(Name = "Type", Order = 10)] + public string Type { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Standing.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Standing.cs new file mode 100644 index 0000000..ebd7274 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Standing.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 1)] + public int SeasonType { get; set; } + + /// + /// The NFL regular season for which these totals apply + /// + [Description("The NFL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The conference of the team (e.g. AFC or NFC) + /// + [Description("The conference of the team (e.g. AFC or NFC)")] + [DataMember(Name = "Conference", Order = 3)] + public string Conference { get; set; } + + /// + /// The division of the team (e.g. East, North, South, West) + /// + [Description("The division of the team (e.g. East, North, South, West)")] + [DataMember(Name = "Division", Order = 4)] + public string Division { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// Regular season wins + /// + [Description("Regular season wins")] + [DataMember(Name = "Wins", Order = 7)] + public int Wins { get; set; } + + /// + /// Regular season losses + /// + [Description("Regular season losses")] + [DataMember(Name = "Losses", Order = 8)] + public int Losses { get; set; } + + /// + /// Regular season ties + /// + [Description("Regular season ties")] + [DataMember(Name = "Ties", Order = 9)] + public int Ties { get; set; } + + /// + /// Winning percentage + /// + [Description("Winning percentage")] + [DataMember(Name = "Percentage", Order = 10)] + public decimal Percentage { get; set; } + + /// + /// Points scored during regular season games + /// + [Description("Points scored during regular season games")] + [DataMember(Name = "PointsFor", Order = 11)] + public int PointsFor { get; set; } + + /// + /// Points allowed during regular season games + /// + [Description("Points allowed during regular season games")] + [DataMember(Name = "PointsAgainst", Order = 12)] + public int PointsAgainst { get; set; } + + /// + /// Difference between PointsFor and PointsAgainst + /// + [Description("Difference between PointsFor and PointsAgainst")] + [DataMember(Name = "NetPoints", Order = 13)] + public int NetPoints { get; set; } + + /// + /// Total touchdowns scored + /// + [Description("Total touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 14)] + public int? Touchdowns { get; set; } + + /// + /// Regular season wins within the division + /// + [Description("Regular season wins within the division")] + [DataMember(Name = "DivisionWins", Order = 15)] + public int DivisionWins { get; set; } + + /// + /// Regular season losses within the division + /// + [Description("Regular season losses within the division")] + [DataMember(Name = "DivisionLosses", Order = 16)] + public int DivisionLosses { get; set; } + + /// + /// Regular season wins within the conference + /// + [Description("Regular season wins within the conference")] + [DataMember(Name = "ConferenceWins", Order = 17)] + public int ConferenceWins { get; set; } + + /// + /// Regular season losses within the conference + /// + [Description("Regular season losses within the conference")] + [DataMember(Name = "ConferenceLosses", Order = 18)] + public int ConferenceLosses { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 19)] + public int TeamID { get; set; } + + /// + /// Regular season ties within the division + /// + [Description("Regular season ties within the division")] + [DataMember(Name = "DivisionTies", Order = 20)] + public int DivisionTies { get; set; } + + /// + /// Regular season ties within the conference + /// + [Description("Regular season ties within the conference")] + [DataMember(Name = "ConferenceTies", Order = 21)] + public int ConferenceTies { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 22)] + public int? GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Team.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Team.cs new file mode 100644 index 0000000..0eb7970 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Team.cs @@ -0,0 +1,314 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// Abbreviation of the team (e.g. SD, PHI, NE, IND, etc.) + /// + [Description("Abbreviation of the team (e.g. SD, PHI, NE, IND, etc.)")] + [DataMember(Name = "Key", Order = 1)] + public string Key { get; set; } + + /// + /// The auto-generated unique ID of the Team. + /// + [Description("The auto-generated unique ID of the Team.")] + [DataMember(Name = "TeamID", Order = 2)] + public int TeamID { get; set; } + + /// + /// The auto-generated unique ID of the Team, that avoids collisions with PlayerIDs. This is useful when combining players and fantasy defenses to create fantasy teams. + /// + [Description("The auto-generated unique ID of the Team, that avoids collisions with PlayerIDs. This is useful when combining players and fantasy defenses to create fantasy teams.")] + [DataMember(Name = "PlayerID", Order = 3)] + public int PlayerID { get; set; } + + /// + /// The city/location of the team (e.g. San Diego, Philadelphia, New England, Indianapolis, etc.) + /// + [Description("The city/location of the team (e.g. San Diego, Philadelphia, New England, Indianapolis, etc.)")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The mascot of the team (e.g. Chargers, Eagles, Patriots, Colts, etc.) + /// + [Description("The mascot of the team (e.g. Chargers, Eagles, Patriots, Colts, etc.)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The conference of the team (e.g. AFC or NFC) + /// + [Description("The conference of the team (e.g. AFC or NFC)")] + [DataMember(Name = "Conference", Order = 6)] + public string Conference { get; set; } + + /// + /// The division of the team (e.g. East, North, South, West) + /// + [Description("The division of the team (e.g. East, North, South, West)")] + [DataMember(Name = "Division", Order = 7)] + public string Division { get; set; } + + /// + /// The full name of the team (e.g. New England Patriots) + /// + [Description("The full name of the team (e.g. New England Patriots)")] + [DataMember(Name = "FullName", Order = 8)] + public string FullName { get; set; } + + /// + /// The unique ID of the team's current home stadium + /// + [Description("The unique ID of the team's current home stadium")] + [DataMember(Name = "StadiumID", Order = 9)] + public int? StadiumID { get; set; } + + /// + /// The bye week of the team in the upcoming regular season + /// + [Description("The bye week of the team in the upcoming regular season")] + [DataMember(Name = "ByeWeek", Order = 10)] + public int? ByeWeek { get; set; } + + /// + /// The average draft position of the team's fantasy defense (DST) + /// + [Description("The average draft position of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPosition", Order = 11)] + public decimal? AverageDraftPosition { get; set; } + + /// + /// The average draft position in PPR leagues of the team's fantasy defense (DST) + /// + [Description("The average draft position in PPR leagues of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPositionPPR", Order = 12)] + public decimal? AverageDraftPositionPPR { get; set; } + + /// + /// The current head coach of the team + /// + [Description("The current head coach of the team")] + [DataMember(Name = "HeadCoach", Order = 13)] + public string HeadCoach { get; set; } + + /// + /// The current offensive coordinator of the team + /// + [Description("The current offensive coordinator of the team")] + [DataMember(Name = "OffensiveCoordinator", Order = 14)] + public string OffensiveCoordinator { get; set; } + + /// + /// The current defensive coordinator of the team + /// + [Description("The current defensive coordinator of the team")] + [DataMember(Name = "DefensiveCoordinator", Order = 15)] + public string DefensiveCoordinator { get; set; } + + /// + /// The current special teams coach of the team + /// + [Description("The current special teams coach of the team")] + [DataMember(Name = "SpecialTeamsCoach", Order = 16)] + public string SpecialTeamsCoach { get; set; } + + /// + /// The offensive scheme this team runs (PRO, 2TE, 3WR). This is decided at our discretion. + /// + [Description("The offensive scheme this team runs (PRO, 2TE, 3WR). This is decided at our discretion.")] + [DataMember(Name = "OffensiveScheme", Order = 17)] + public string OffensiveScheme { get; set; } + + /// + /// The current defensive scheme this team runs (3-4, 4-3) + /// + [Description("The current defensive scheme this team runs (3-4, 4-3)")] + [DataMember(Name = "DefensiveScheme", Order = 18)] + public string DefensiveScheme { get; set; } + + /// + /// The team's DEF/ST salary for the upcoming week in accordance with a $50,000 salary cap. This is used for daily fantasy sports salary cap contests. Salaries represent those published by DraftKings. When DraftKings doesn't publish a salary for a given game, the most recent DraftKings salary is used. + /// + [Description("The team's DEF/ST salary for the upcoming week in accordance with a $50,000 salary cap. This is used for daily fantasy sports salary cap contests. Salaries represent those published by DraftKings. When DraftKings doesn't publish a salary for a given game, the most recent DraftKings salary is used.")] + [DataMember(Name = "UpcomingSalary", Order = 19)] + public int? UpcomingSalary { get; set; } + + /// + /// The team's upcoming opponent's rank in DEF/ST fantasy points allowed. + /// + [Description("The team's upcoming opponent's rank in DEF/ST fantasy points allowed.")] + [DataMember(Name = "UpcomingOpponent", Order = 20)] + public string UpcomingOpponent { get; set; } + + /// + /// The team's upcoming opponent's rank in DEF/ST fantasy points allowed. + /// + [Description("The team's upcoming opponent's rank in DEF/ST fantasy points allowed.")] + [DataMember(Name = "UpcomingOpponentRank", Order = 21)] + public int? UpcomingOpponentRank { get; set; } + + /// + /// The team's upcoming opponent's rank in DEF/ST fantasy points allowed. + /// + [Description("The team's upcoming opponent's rank in DEF/ST fantasy points allowed.")] + [DataMember(Name = "UpcomingOpponentPositionRank", Order = 22)] + public int? UpcomingOpponentPositionRank { get; set; } + + /// + /// The team's DEF/ST FanDuel salary for the upcoming week. + /// + [Description("The team's DEF/ST FanDuel salary for the upcoming week.")] + [DataMember(Name = "UpcomingFanDuelSalary", Order = 23)] + public int? UpcomingFanDuelSalary { get; set; } + + /// + /// The team's DEF/ST DraftKings salary for the upcoming week. + /// + [Description("The team's DEF/ST DraftKings salary for the upcoming week.")] + [DataMember(Name = "UpcomingDraftKingsSalary", Order = 24)] + public int? UpcomingDraftKingsSalary { get; set; } + + /// + /// The team's DEF/ST Yahoo salary for the upcoming week. + /// + [Description("The team's DEF/ST Yahoo salary for the upcoming week.")] + [DataMember(Name = "UpcomingYahooSalary", Order = 25)] + public int? UpcomingYahooSalary { get; set; } + + /// + /// The team's primary color. (This is not licensed for public or commercial use) + /// + [Description("The team's primary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "PrimaryColor", Order = 26)] + public string PrimaryColor { get; set; } + + /// + /// The team's secondary color. (This is not licensed for public or commercial use) + /// + [Description("The team's secondary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "SecondaryColor", Order = 27)] + public string SecondaryColor { get; set; } + + /// + /// The team's tertiary color. (This is not licensed for public or commercial use) + /// + [Description("The team's tertiary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "TertiaryColor", Order = 28)] + public string TertiaryColor { get; set; } + + /// + /// The team's quaternary color. (This is not licensed for public or commercial use) + /// + [Description("The team's quaternary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "QuaternaryColor", Order = 29)] + public string QuaternaryColor { get; set; } + + /// + /// The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaLogoUrl", Order = 30)] + public string WikipediaLogoUrl { get; set; } + + /// + /// The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaWordMarkUrl", Order = 31)] + public string WikipediaWordMarkUrl { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 32)] + public int? GlobalTeamID { get; set; } + + /// + /// Team's DST name on DraftKings daily fantasy contests + /// + [Description("Team's DST name on DraftKings daily fantasy contests")] + [DataMember(Name = "DraftKingsName", Order = 33)] + public string DraftKingsName { get; set; } + + /// + /// Team's DST player ID on DraftKings daily fantasy contests + /// + [Description("Team's DST player ID on DraftKings daily fantasy contests")] + [DataMember(Name = "DraftKingsPlayerID", Order = 34)] + public int? DraftKingsPlayerID { get; set; } + + /// + /// Team's DST name on FanDuel daily fantasy contests + /// + [Description("Team's DST name on FanDuel daily fantasy contests")] + [DataMember(Name = "FanDuelName", Order = 35)] + public string FanDuelName { get; set; } + + /// + /// Team's DST player ID on FanDuel daily fantasy contests + /// + [Description("Team's DST player ID on FanDuel daily fantasy contests")] + [DataMember(Name = "FanDuelPlayerID", Order = 36)] + public int? FanDuelPlayerID { get; set; } + + /// + /// Team's DST name on daily fantasyDraft daily fantasy contests + /// + [Description("Team's DST name on daily fantasyDraft daily fantasy contests")] + [DataMember(Name = "FantasyDraftName", Order = 37)] + public string FantasyDraftName { get; set; } + + /// + /// Team's DST player ID on daily fantasyDraft daily fantasy contests + /// + [Description("Team's DST player ID on daily fantasyDraft daily fantasy contests")] + [DataMember(Name = "FantasyDraftPlayerID", Order = 38)] + public int? FantasyDraftPlayerID { get; set; } + + /// + /// Team's DST name on Yahoo daily fantasy contests + /// + [Description("Team's DST name on Yahoo daily fantasy contests")] + [DataMember(Name = "YahooName", Order = 39)] + public string YahooName { get; set; } + + /// + /// Team's DST player ID on Yahoo daily fantasy contests + /// + [Description("Team's DST player ID on Yahoo daily fantasy contests")] + [DataMember(Name = "YahooPlayerID", Order = 40)] + public int? YahooPlayerID { get; set; } + + /// + /// The details of this team's home stadium + /// + [Description("The details of this team's home stadium")] + [DataMember(Name = "StadiumDetails", Order = 10041)] + public Stadium StadiumDetails { get; set; } + + /// + /// The average draft position in 2 QuarterBack Leagues of the team's fantasy defense (DST) + /// + [Description("The average draft position in 2 QuarterBack Leagues of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPosition2QB", Order = 42)] + public decimal? AverageDraftPosition2QB { get; set; } + + /// + /// The average draft position in dynasty of the team's fantasy defense (DST) + /// + [Description("The average draft position in dynasty of the team's fantasy defense (DST)")] + [DataMember(Name = "AverageDraftPositionDynasty", Order = 43)] + public decimal? AverageDraftPositionDynasty { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/TeamGame.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/TeamGame.cs new file mode 100644 index 0000000..9f60cf7 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/TeamGame.cs @@ -0,0 +1,1707 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="TeamGame")] + [Serializable] + public partial class TeamGame + { + /// + /// A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam. + /// + [Description("A 9 digit unique code identifying the game that this record corresponds to. The GameID is composed of Season, SeasonType, Week and HomeTeam.")] + [DataMember(Name = "GameKey", Order = 1)] + public string GameKey { get; set; } + + /// + /// The date/time of the game + /// + [Description("The date/time of the game")] + [DataMember(Name = "Date", Order = 2)] + public DateTime? Date { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The NFL season of the game + /// + [Description("The NFL season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int Season { get; set; } + + /// + /// The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4) + /// + [Description("The NFL week of the game (regular season: 1 to 17, preseason: 0 to 4, postseason: 1 to 4)")] + [DataMember(Name = "Week", Order = 5)] + public int? Week { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// The abbreviation of the Opponent + /// + [Description("The abbreviation of the Opponent")] + [DataMember(Name = "Opponent", Order = 7)] + public string Opponent { get; set; } + + /// + /// Whether the Team is Home or Away + /// + [Description("Whether the Team is Home or Away")] + [DataMember(Name = "HomeOrAway", Order = 8)] + public string HomeOrAway { get; set; } + + /// + /// The final score of the Team + /// + [Description("The final score of the Team")] + [DataMember(Name = "Score", Order = 9)] + public int Score { get; set; } + + /// + /// The final score of the Opponent + /// + [Description("The final score of the Opponent")] + [DataMember(Name = "OpponentScore", Order = 10)] + public int OpponentScore { get; set; } + + /// + /// The total score of both teams + /// + [Description("The total score of both teams")] + [DataMember(Name = "TotalScore", Order = 11)] + public int TotalScore { get; set; } + + /// + /// Stadium of the event + /// + [Description("Stadium of the event")] + [DataMember(Name = "Stadium", Order = 12)] + public string Stadium { get; set; } + + /// + /// Playing surface of the stadium + /// + [Description("Playing surface of the stadium")] + [DataMember(Name = "PlayingSurface", Order = 13)] + public string PlayingSurface { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 14)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 15)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 16)] + public int? WindSpeed { get; set; } + + /// + /// The oddsmaker Over/Under at game start + /// + [Description("The oddsmaker Over/Under at game start")] + [DataMember(Name = "OverUnder", Order = 17)] + public decimal? OverUnder { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the Team (negative numbers indicate the Team is favored, positive numbers indicate the Opponent is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the Team (negative numbers indicate the Team is favored, positive numbers indicate the Opponent is favored)")] + [DataMember(Name = "PointSpread", Order = 18)] + public decimal? PointSpread { get; set; } + + /// + /// Points scored during Quarter 1 for the Team + /// + [Description("Points scored during Quarter 1 for the Team")] + [DataMember(Name = "ScoreQuarter1", Order = 19)] + public int? ScoreQuarter1 { get; set; } + + /// + /// Points scored during Quarter 2 for the Team + /// + [Description("Points scored during Quarter 2 for the Team")] + [DataMember(Name = "ScoreQuarter2", Order = 20)] + public int? ScoreQuarter2 { get; set; } + + /// + /// Points scored during Quarter 3 for the Team + /// + [Description("Points scored during Quarter 3 for the Team")] + [DataMember(Name = "ScoreQuarter3", Order = 21)] + public int? ScoreQuarter3 { get; set; } + + /// + /// Points scored during Quarter 4 for the Team + /// + [Description("Points scored during Quarter 4 for the Team")] + [DataMember(Name = "ScoreQuarter4", Order = 22)] + public int? ScoreQuarter4 { get; set; } + + /// + /// Points scored during Overtime for the Team + /// + [Description("Points scored during Overtime for the Team")] + [DataMember(Name = "ScoreOvertime", Order = 23)] + public int ScoreOvertime { get; set; } + + /// + /// Time of possession minutes + /// + [Description("Time of possession minutes")] + [DataMember(Name = "TimeOfPossessionMinutes", Order = 24)] + public int? TimeOfPossessionMinutes { get; set; } + + /// + /// Time of possession seconds + /// + [Description("Time of possession seconds")] + [DataMember(Name = "TimeOfPossessionSeconds", Order = 25)] + public int? TimeOfPossessionSeconds { get; set; } + + /// + /// Time of possession + /// + [Description("Time of possession")] + [DataMember(Name = "TimeOfPossession", Order = 26)] + public string TimeOfPossession { get; set; } + + /// + /// Total first downs + /// + [Description("Total first downs")] + [DataMember(Name = "FirstDowns", Order = 27)] + public int? FirstDowns { get; set; } + + /// + /// Total rushing first downs + /// + [Description("Total rushing first downs")] + [DataMember(Name = "FirstDownsByRushing", Order = 28)] + public int? FirstDownsByRushing { get; set; } + + /// + /// Total passing first downs + /// + [Description("Total passing first downs")] + [DataMember(Name = "FirstDownsByPassing", Order = 29)] + public int? FirstDownsByPassing { get; set; } + + /// + /// Total first downs by opponent's penalty + /// + [Description("Total first downs by opponent's penalty")] + [DataMember(Name = "FirstDownsByPenalty", Order = 30)] + public int? FirstDownsByPenalty { get; set; } + + /// + /// Number of offensive plays run + /// + [Description("Number of offensive plays run")] + [DataMember(Name = "OffensivePlays", Order = 31)] + public int OffensivePlays { get; set; } + + /// + /// Number of offensive yards gained + /// + [Description("Number of offensive yards gained")] + [DataMember(Name = "OffensiveYards", Order = 32)] + public int OffensiveYards { get; set; } + + /// + /// Average yards gained per offensive play + /// + [Description("Average yards gained per offensive play")] + [DataMember(Name = "OffensiveYardsPerPlay", Order = 33)] + public decimal OffensiveYardsPerPlay { get; set; } + + /// + /// Touchdowns scored + /// + [Description("Touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 34)] + public int? Touchdowns { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 35)] + public int? RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 36)] + public int? RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 37)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 38)] + public int? RushingTouchdowns { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 39)] + public int? PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 40)] + public int? PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 41)] + public int? PassingYards { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 42)] + public int? PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 43)] + public int? PassingInterceptions { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 44)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 45)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "CompletionPercentage", Order = 46)] + public decimal CompletionPercentage { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PasserRating", Order = 47)] + public decimal? PasserRating { get; set; } + + /// + /// Third down attempts + /// + [Description("Third down attempts")] + [DataMember(Name = "ThirdDownAttempts", Order = 48)] + public int? ThirdDownAttempts { get; set; } + + /// + /// Third down conversions + /// + [Description("Third down conversions")] + [DataMember(Name = "ThirdDownConversions", Order = 49)] + public int? ThirdDownConversions { get; set; } + + /// + /// Percentage of third downs converted + /// + [Description("Percentage of third downs converted")] + [DataMember(Name = "ThirdDownPercentage", Order = 50)] + public decimal? ThirdDownPercentage { get; set; } + + /// + /// Fourth down attempts + /// + [Description("Fourth down attempts")] + [DataMember(Name = "FourthDownAttempts", Order = 51)] + public int? FourthDownAttempts { get; set; } + + /// + /// Fourth down conversions + /// + [Description("Fourth down conversions")] + [DataMember(Name = "FourthDownConversions", Order = 52)] + public int? FourthDownConversions { get; set; } + + /// + /// Percentage of fourth downs converted + /// + [Description("Percentage of fourth downs converted")] + [DataMember(Name = "FourthDownPercentage", Order = 53)] + public decimal? FourthDownPercentage { get; set; } + + /// + /// Red zone opportunities + /// + [Description("Red zone opportunities")] + [DataMember(Name = "RedZoneAttempts", Order = 54)] + public int? RedZoneAttempts { get; set; } + + /// + /// Red zone opportunities converted to touchdowns + /// + [Description("Red zone opportunities converted to touchdowns")] + [DataMember(Name = "RedZoneConversions", Order = 55)] + public int? RedZoneConversions { get; set; } + + /// + /// 1st & Goal opportunities + /// + [Description("1st & Goal opportunities")] + [DataMember(Name = "GoalToGoAttempts", Order = 56)] + public int? GoalToGoAttempts { get; set; } + + /// + /// 1st & Goal opportunities converted to touchdowns + /// + [Description("1st & Goal opportunities converted to touchdowns")] + [DataMember(Name = "GoalToGoConversions", Order = 57)] + public int? GoalToGoConversions { get; set; } + + /// + /// Total punt and defensive return yards + /// + [Description("Total punt and defensive return yards")] + [DataMember(Name = "ReturnYards", Order = 58)] + public int? ReturnYards { get; set; } + + /// + /// Penalties committed + /// + [Description("Penalties committed")] + [DataMember(Name = "Penalties", Order = 59)] + public int? Penalties { get; set; } + + /// + /// Penalty yards enforced against team + /// + [Description("Penalty yards enforced against team")] + [DataMember(Name = "PenaltyYards", Order = 60)] + public int? PenaltyYards { get; set; } + + /// + /// Fumbles + /// + [Description("Fumbles")] + [DataMember(Name = "Fumbles", Order = 61)] + public int? Fumbles { get; set; } + + /// + /// Fumbles lost + /// + [Description("Fumbles lost")] + [DataMember(Name = "FumblesLost", Order = 62)] + public int? FumblesLost { get; set; } + + /// + /// Number of sacks allowed by Team + /// + [Description("Number of sacks allowed by Team")] + [DataMember(Name = "TimesSacked", Order = 63)] + public int? TimesSacked { get; set; } + + /// + /// Number of yards lost as a result of sacks allowed + /// + [Description("Number of yards lost as a result of sacks allowed")] + [DataMember(Name = "TimesSackedYards", Order = 64)] + public int? TimesSackedYards { get; set; } + + /// + /// Number of times the opposing QB was hit (includes sacks) + /// + [Description("Number of times the opposing QB was hit (includes sacks)")] + [DataMember(Name = "QuarterbackHits", Order = 65)] + public int? QuarterbackHits { get; set; } + + /// + /// Number of times the opponent was tackled for a loss + /// + [Description("Number of times the opponent was tackled for a loss")] + [DataMember(Name = "TacklesForLoss", Order = 66)] + public int? TacklesForLoss { get; set; } + + /// + /// Safeties scored + /// + [Description("Safeties scored")] + [DataMember(Name = "Safeties", Order = 67)] + public int? Safeties { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 68)] + public int? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 69)] + public int? PuntYards { get; set; } + + /// + /// Average number of yards per punt + /// + [Description("Average number of yards per punt")] + [DataMember(Name = "PuntAverage", Order = 70)] + public decimal PuntAverage { get; set; } + + /// + /// Number of giveaways + /// + [Description("Number of giveaways")] + [DataMember(Name = "Giveaways", Order = 71)] + public int Giveaways { get; set; } + + /// + /// Number of takeaways + /// + [Description("Number of takeaways")] + [DataMember(Name = "Takeaways", Order = 72)] + public int Takeaways { get; set; } + + /// + /// Number of takeaways minus giveaways + /// + [Description("Number of takeaways minus giveaways")] + [DataMember(Name = "TurnoverDifferential", Order = 73)] + public int TurnoverDifferential { get; set; } + + /// + /// Points scored during Quarter 1 for the Team + /// + [Description("Points scored during Quarter 1 for the Team")] + [DataMember(Name = "OpponentScoreQuarter1", Order = 74)] + public int? OpponentScoreQuarter1 { get; set; } + + /// + /// Points scored during Quarter 2 for the Team + /// + [Description("Points scored during Quarter 2 for the Team")] + [DataMember(Name = "OpponentScoreQuarter2", Order = 75)] + public int? OpponentScoreQuarter2 { get; set; } + + /// + /// Points scored during Quarter 3 for the Team + /// + [Description("Points scored during Quarter 3 for the Team")] + [DataMember(Name = "OpponentScoreQuarter3", Order = 76)] + public int? OpponentScoreQuarter3 { get; set; } + + /// + /// Points scored during Quarter 4 for the Team + /// + [Description("Points scored during Quarter 4 for the Team")] + [DataMember(Name = "OpponentScoreQuarter4", Order = 77)] + public int? OpponentScoreQuarter4 { get; set; } + + /// + /// Points scored during Overtime for the Team + /// + [Description("Points scored during Overtime for the Team")] + [DataMember(Name = "OpponentScoreOvertime", Order = 78)] + public int OpponentScoreOvertime { get; set; } + + /// + /// Time of possession minutes + /// + [Description("Time of possession minutes")] + [DataMember(Name = "OpponentTimeOfPossessionMinutes", Order = 79)] + public int? OpponentTimeOfPossessionMinutes { get; set; } + + /// + /// Time of possession seconds + /// + [Description("Time of possession seconds")] + [DataMember(Name = "OpponentTimeOfPossessionSeconds", Order = 80)] + public int? OpponentTimeOfPossessionSeconds { get; set; } + + /// + /// Time of possession + /// + [Description("Time of possession")] + [DataMember(Name = "OpponentTimeOfPossession", Order = 81)] + public string OpponentTimeOfPossession { get; set; } + + /// + /// Total first downs + /// + [Description("Total first downs")] + [DataMember(Name = "OpponentFirstDowns", Order = 82)] + public int? OpponentFirstDowns { get; set; } + + /// + /// Total rushing first downs + /// + [Description("Total rushing first downs")] + [DataMember(Name = "OpponentFirstDownsByRushing", Order = 83)] + public int? OpponentFirstDownsByRushing { get; set; } + + /// + /// Total passing first downs + /// + [Description("Total passing first downs")] + [DataMember(Name = "OpponentFirstDownsByPassing", Order = 84)] + public int? OpponentFirstDownsByPassing { get; set; } + + /// + /// Total first downs by opponent's penalty + /// + [Description("Total first downs by opponent's penalty")] + [DataMember(Name = "OpponentFirstDownsByPenalty", Order = 85)] + public int? OpponentFirstDownsByPenalty { get; set; } + + /// + /// Number of offensive plays run + /// + [Description("Number of offensive plays run")] + [DataMember(Name = "OpponentOffensivePlays", Order = 86)] + public int OpponentOffensivePlays { get; set; } + + /// + /// Number of offensive yards gained + /// + [Description("Number of offensive yards gained")] + [DataMember(Name = "OpponentOffensiveYards", Order = 87)] + public int OpponentOffensiveYards { get; set; } + + /// + /// Average yards gained per offensive play + /// + [Description("Average yards gained per offensive play")] + [DataMember(Name = "OpponentOffensiveYardsPerPlay", Order = 88)] + public decimal OpponentOffensiveYardsPerPlay { get; set; } + + /// + /// Touchdowns scored + /// + [Description("Touchdowns scored")] + [DataMember(Name = "OpponentTouchdowns", Order = 89)] + public int? OpponentTouchdowns { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "OpponentRushingAttempts", Order = 90)] + public int? OpponentRushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "OpponentRushingYards", Order = 91)] + public int? OpponentRushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "OpponentRushingYardsPerAttempt", Order = 92)] + public decimal OpponentRushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "OpponentRushingTouchdowns", Order = 93)] + public int? OpponentRushingTouchdowns { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "OpponentPassingAttempts", Order = 94)] + public int? OpponentPassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "OpponentPassingCompletions", Order = 95)] + public int? OpponentPassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "OpponentPassingYards", Order = 96)] + public int? OpponentPassingYards { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "OpponentPassingTouchdowns", Order = 97)] + public int? OpponentPassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "OpponentPassingInterceptions", Order = 98)] + public int? OpponentPassingInterceptions { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "OpponentPassingYardsPerAttempt", Order = 99)] + public decimal OpponentPassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "OpponentPassingYardsPerCompletion", Order = 100)] + public decimal OpponentPassingYardsPerCompletion { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "OpponentCompletionPercentage", Order = 101)] + public decimal OpponentCompletionPercentage { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "OpponentPasserRating", Order = 102)] + public decimal? OpponentPasserRating { get; set; } + + /// + /// Third down attempts + /// + [Description("Third down attempts")] + [DataMember(Name = "OpponentThirdDownAttempts", Order = 103)] + public int? OpponentThirdDownAttempts { get; set; } + + /// + /// Third down conversions + /// + [Description("Third down conversions")] + [DataMember(Name = "OpponentThirdDownConversions", Order = 104)] + public int? OpponentThirdDownConversions { get; set; } + + /// + /// Percentage of third downs converted + /// + [Description("Percentage of third downs converted")] + [DataMember(Name = "OpponentThirdDownPercentage", Order = 105)] + public decimal? OpponentThirdDownPercentage { get; set; } + + /// + /// Fourth down attempts + /// + [Description("Fourth down attempts")] + [DataMember(Name = "OpponentFourthDownAttempts", Order = 106)] + public int? OpponentFourthDownAttempts { get; set; } + + /// + /// Fourth down conversions + /// + [Description("Fourth down conversions")] + [DataMember(Name = "OpponentFourthDownConversions", Order = 107)] + public int? OpponentFourthDownConversions { get; set; } + + /// + /// Percentage of fourth downs converted + /// + [Description("Percentage of fourth downs converted")] + [DataMember(Name = "OpponentFourthDownPercentage", Order = 108)] + public decimal? OpponentFourthDownPercentage { get; set; } + + /// + /// Red zone opportunities + /// + [Description("Red zone opportunities")] + [DataMember(Name = "OpponentRedZoneAttempts", Order = 109)] + public int? OpponentRedZoneAttempts { get; set; } + + /// + /// Red zone opportunities converted to touchdowns + /// + [Description("Red zone opportunities converted to touchdowns")] + [DataMember(Name = "OpponentRedZoneConversions", Order = 110)] + public int? OpponentRedZoneConversions { get; set; } + + /// + /// 1st & Goal opportunities + /// + [Description("1st & Goal opportunities")] + [DataMember(Name = "OpponentGoalToGoAttempts", Order = 111)] + public int? OpponentGoalToGoAttempts { get; set; } + + /// + /// 1st & Goal opportunities converted to touchdowns + /// + [Description("1st & Goal opportunities converted to touchdowns")] + [DataMember(Name = "OpponentGoalToGoConversions", Order = 112)] + public int? OpponentGoalToGoConversions { get; set; } + + /// + /// Total punt and defensive return yards + /// + [Description("Total punt and defensive return yards")] + [DataMember(Name = "OpponentReturnYards", Order = 113)] + public int? OpponentReturnYards { get; set; } + + /// + /// Penalties committed + /// + [Description("Penalties committed")] + [DataMember(Name = "OpponentPenalties", Order = 114)] + public int? OpponentPenalties { get; set; } + + /// + /// Penalty yards enforced against the opponent + /// + [Description("Penalty yards enforced against the opponent")] + [DataMember(Name = "OpponentPenaltyYards", Order = 115)] + public int? OpponentPenaltyYards { get; set; } + + /// + /// Fumbles + /// + [Description("Fumbles")] + [DataMember(Name = "OpponentFumbles", Order = 116)] + public int? OpponentFumbles { get; set; } + + /// + /// Fumbles lost + /// + [Description("Fumbles lost")] + [DataMember(Name = "OpponentFumblesLost", Order = 117)] + public int? OpponentFumblesLost { get; set; } + + /// + /// Number of sacks allowed by Opponent + /// + [Description("Number of sacks allowed by Opponent")] + [DataMember(Name = "OpponentTimesSacked", Order = 118)] + public int? OpponentTimesSacked { get; set; } + + /// + /// Number of yards opponent lost as a result of being sacked + /// + [Description("Number of yards opponent lost as a result of being sacked")] + [DataMember(Name = "OpponentTimesSackedYards", Order = 119)] + public int? OpponentTimesSackedYards { get; set; } + + /// + /// Number of times our QB was hit but not sacked + /// + [Description("Number of times our QB was hit but not sacked")] + [DataMember(Name = "OpponentQuarterbackHits", Order = 120)] + public int? OpponentQuarterbackHits { get; set; } + + /// + /// Number of times our ball carrier was tackled for a loss + /// + [Description("Number of times our ball carrier was tackled for a loss")] + [DataMember(Name = "OpponentTacklesForLoss", Order = 121)] + public int? OpponentTacklesForLoss { get; set; } + + /// + /// Safeties scored + /// + [Description("Safeties scored")] + [DataMember(Name = "OpponentSafeties", Order = 122)] + public int? OpponentSafeties { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "OpponentPunts", Order = 123)] + public int? OpponentPunts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "OpponentPuntYards", Order = 124)] + public int? OpponentPuntYards { get; set; } + + /// + /// Average number of yards per punt + /// + [Description("Average number of yards per punt")] + [DataMember(Name = "OpponentPuntAverage", Order = 125)] + public decimal OpponentPuntAverage { get; set; } + + /// + /// Number of giveaways + /// + [Description("Number of giveaways")] + [DataMember(Name = "OpponentGiveaways", Order = 126)] + public int OpponentGiveaways { get; set; } + + /// + /// Number of takeaways + /// + [Description("Number of takeaways")] + [DataMember(Name = "OpponentTakeaways", Order = 127)] + public int OpponentTakeaways { get; set; } + + /// + /// Number of takeaways minus giveaways + /// + [Description("Number of takeaways minus giveaways")] + [DataMember(Name = "OpponentTurnoverDifferential", Order = 128)] + public int OpponentTurnoverDifferential { get; set; } + + /// + /// Percentage of red zone opportunities converted into touchdowns + /// + [Description("Percentage of red zone opportunities converted into touchdowns")] + [DataMember(Name = "RedZonePercentage", Order = 129)] + public decimal? RedZonePercentage { get; set; } + + /// + /// Percentage of goal-to-go opportunities converted into touchdowns + /// + [Description("Percentage of goal-to-go opportunities converted into touchdowns")] + [DataMember(Name = "GoalToGoPercentage", Order = 130)] + public decimal? GoalToGoPercentage { get; set; } + + /// + /// The differential of hits on the opposing quarterback minus hits on own team's quarterback + /// + [Description("The differential of hits on the opposing quarterback minus hits on own team's quarterback")] + [DataMember(Name = "QuarterbackHitsDifferential", Order = 131)] + public int? QuarterbackHitsDifferential { get; set; } + + /// + /// The differential of tackles for loss minus opponent's tackles for loss + /// + [Description("The differential of tackles for loss minus opponent's tackles for loss")] + [DataMember(Name = "TacklesForLossDifferential", Order = 132)] + public int? TacklesForLossDifferential { get; set; } + + /// + /// The Team's sack differential (similar to a turnover differential) + /// + [Description("The Team's sack differential (similar to a turnover differential)")] + [DataMember(Name = "QuarterbackSacksDifferential", Order = 133)] + public int QuarterbackSacksDifferential { get; set; } + + /// + /// Percentage of running plays defended that resulted in tackle for loss + /// + [Description("Percentage of running plays defended that resulted in tackle for loss")] + [DataMember(Name = "TacklesForLossPercentage", Order = 134)] + public decimal? TacklesForLossPercentage { get; set; } + + /// + /// Percantage of opposing quarterback drop backs that resulted hitting the quarterback + /// + [Description("Percantage of opposing quarterback drop backs that resulted hitting the quarterback")] + [DataMember(Name = "QuarterbackHitsPercentage", Order = 135)] + public decimal? QuarterbackHitsPercentage { get; set; } + + /// + /// Percentage of drop backs that resulted in a sack + /// + [Description("Percentage of drop backs that resulted in a sack")] + [DataMember(Name = "TimesSackedPercentage", Order = 136)] + public decimal TimesSackedPercentage { get; set; } + + /// + /// Percentage of opponent's red zone opportunities converted into touchdowns + /// + [Description("Percentage of opponent's red zone opportunities converted into touchdowns")] + [DataMember(Name = "OpponentRedZonePercentage", Order = 137)] + public decimal? OpponentRedZonePercentage { get; set; } + + /// + /// Percentage of opponent's goal-to-go opportunities converted into touchdowns + /// + [Description("Percentage of opponent's goal-to-go opportunities converted into touchdowns")] + [DataMember(Name = "OpponentGoalToGoPercentage", Order = 138)] + public decimal? OpponentGoalToGoPercentage { get; set; } + + /// + /// The inverse of QuarterbackHitsDifferential + /// + [Description("The inverse of QuarterbackHitsDifferential")] + [DataMember(Name = "OpponentQuarterbackHitsDifferential", Order = 139)] + public int? OpponentQuarterbackHitsDifferential { get; set; } + + /// + /// The inverse of TacklesForLossDifferential + /// + [Description("The inverse of TacklesForLossDifferential")] + [DataMember(Name = "OpponentTacklesForLossDifferential", Order = 140)] + public int? OpponentTacklesForLossDifferential { get; set; } + + /// + /// The inverse of QuarterbackSacksDifferential + /// + [Description("The inverse of QuarterbackSacksDifferential")] + [DataMember(Name = "OpponentQuarterbackSacksDifferential", Order = 141)] + public int? OpponentQuarterbackSacksDifferential { get; set; } + + /// + /// Percentage of running plays defended that resulted in tackle for loss + /// + [Description("Percentage of running plays defended that resulted in tackle for loss")] + [DataMember(Name = "OpponentTacklesForLossPercentage", Order = 142)] + public decimal? OpponentTacklesForLossPercentage { get; set; } + + /// + /// Percantage of own team's quarterback drop backs that resulted in our quarterback getting hit + /// + [Description("Percantage of own team's quarterback drop backs that resulted in our quarterback getting hit")] + [DataMember(Name = "OpponentQuarterbackHitsPercentage", Order = 143)] + public decimal? OpponentQuarterbackHitsPercentage { get; set; } + + /// + /// Percentage of drop backs that resulted in a sack + /// + [Description("Percentage of drop backs that resulted in a sack")] + [DataMember(Name = "OpponentTimesSackedPercentage", Order = 144)] + public decimal OpponentTimesSackedPercentage { get; set; } + + /// + /// Number of kickoffs + /// + [Description("Number of kickoffs")] + [DataMember(Name = "Kickoffs", Order = 145)] + public int? Kickoffs { get; set; } + + /// + /// Number of kickoffs that went into the end zone + /// + [Description("Number of kickoffs that went into the end zone")] + [DataMember(Name = "KickoffsInEndZone", Order = 146)] + public int? KickoffsInEndZone { get; set; } + + /// + /// Number of kickoffs that resulted in touchbacks + /// + [Description("Number of kickoffs that resulted in touchbacks")] + [DataMember(Name = "KickoffTouchbacks", Order = 147)] + public int? KickoffTouchbacks { get; set; } + + /// + /// Number of punts that were blocked + /// + [Description("Number of punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 148)] + public int? PuntsHadBlocked { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 149)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kick attempts + /// + [Description("Extra point kick attempts")] + [DataMember(Name = "ExtraPointKickingAttempts", Order = 150)] + public int? ExtraPointKickingAttempts { get; set; } + + /// + /// Extra point kicks made + /// + [Description("Extra point kicks made")] + [DataMember(Name = "ExtraPointKickingConversions", Order = 151)] + public int? ExtraPointKickingConversions { get; set; } + + /// + /// Extra point kick attempts that were blocked + /// + [Description("Extra point kick attempts that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 152)] + public int? ExtraPointsHadBlocked { get; set; } + + /// + /// Two point conversion passing attempts + /// + [Description("Two point conversion passing attempts")] + [DataMember(Name = "ExtraPointPassingAttempts", Order = 153)] + public int? ExtraPointPassingAttempts { get; set; } + + /// + /// Two point conversion passing conversions + /// + [Description("Two point conversion passing conversions")] + [DataMember(Name = "ExtraPointPassingConversions", Order = 154)] + public int? ExtraPointPassingConversions { get; set; } + + /// + /// Two point conversion rushing attempts + /// + [Description("Two point conversion rushing attempts")] + [DataMember(Name = "ExtraPointRushingAttempts", Order = 155)] + public int? ExtraPointRushingAttempts { get; set; } + + /// + /// Two point conversion rushing conversions + /// + [Description("Two point conversion rushing conversions")] + [DataMember(Name = "ExtraPointRushingConversions", Order = 156)] + public int? ExtraPointRushingConversions { get; set; } + + /// + /// Field goal attempts + /// + [Description("Field goal attempts")] + [DataMember(Name = "FieldGoalAttempts", Order = 157)] + public int? FieldGoalAttempts { get; set; } + + /// + /// Field goals made + /// + [Description("Field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 158)] + public int? FieldGoalsMade { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 159)] + public int? FieldGoalsHadBlocked { get; set; } + + /// + /// Punt returns + /// + [Description("Punt returns")] + [DataMember(Name = "PuntReturns", Order = 160)] + public int? PuntReturns { get; set; } + + /// + /// Punt return yards + /// + [Description("Punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 161)] + public int? PuntReturnYards { get; set; } + + /// + /// Kickoff returns + /// + [Description("Kickoff returns")] + [DataMember(Name = "KickReturns", Order = 162)] + public int? KickReturns { get; set; } + + /// + /// Kickoff return yards + /// + [Description("Kickoff return yards")] + [DataMember(Name = "KickReturnYards", Order = 163)] + public int? KickReturnYards { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "InterceptionReturns", Order = 164)] + public int? InterceptionReturns { get; set; } + + /// + /// Interception return yards + /// + [Description("Interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 165)] + public int? InterceptionReturnYards { get; set; } + + /// + /// Number of kickoffs + /// + [Description("Number of kickoffs")] + [DataMember(Name = "OpponentKickoffs", Order = 166)] + public int? OpponentKickoffs { get; set; } + + /// + /// Number of kickoffs that went into the end zone + /// + [Description("Number of kickoffs that went into the end zone")] + [DataMember(Name = "OpponentKickoffsInEndZone", Order = 167)] + public int? OpponentKickoffsInEndZone { get; set; } + + /// + /// Number of kickoffs that resulted in touchbacks + /// + [Description("Number of kickoffs that resulted in touchbacks")] + [DataMember(Name = "OpponentKickoffTouchbacks", Order = 168)] + public int? OpponentKickoffTouchbacks { get; set; } + + /// + /// Number of punts that were blocked + /// + [Description("Number of punts that were blocked")] + [DataMember(Name = "OpponentPuntsHadBlocked", Order = 169)] + public int? OpponentPuntsHadBlocked { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "OpponentPuntNetAverage", Order = 170)] + public decimal? OpponentPuntNetAverage { get; set; } + + /// + /// Extra point kick attempts + /// + [Description("Extra point kick attempts")] + [DataMember(Name = "OpponentExtraPointKickingAttempts", Order = 171)] + public int? OpponentExtraPointKickingAttempts { get; set; } + + /// + /// Extra point kicks made + /// + [Description("Extra point kicks made")] + [DataMember(Name = "OpponentExtraPointKickingConversions", Order = 172)] + public int? OpponentExtraPointKickingConversions { get; set; } + + /// + /// Extra point kick attempts that were blocked + /// + [Description("Extra point kick attempts that were blocked")] + [DataMember(Name = "OpponentExtraPointsHadBlocked", Order = 173)] + public int? OpponentExtraPointsHadBlocked { get; set; } + + /// + /// Two point conversion passing attempts + /// + [Description("Two point conversion passing attempts")] + [DataMember(Name = "OpponentExtraPointPassingAttempts", Order = 174)] + public int? OpponentExtraPointPassingAttempts { get; set; } + + /// + /// Two point conversion passing conversions + /// + [Description("Two point conversion passing conversions")] + [DataMember(Name = "OpponentExtraPointPassingConversions", Order = 175)] + public int? OpponentExtraPointPassingConversions { get; set; } + + /// + /// Two point conversion rushing attempts + /// + [Description("Two point conversion rushing attempts")] + [DataMember(Name = "OpponentExtraPointRushingAttempts", Order = 176)] + public int? OpponentExtraPointRushingAttempts { get; set; } + + /// + /// Two point conversion rushing conversions + /// + [Description("Two point conversion rushing conversions")] + [DataMember(Name = "OpponentExtraPointRushingConversions", Order = 177)] + public int? OpponentExtraPointRushingConversions { get; set; } + + /// + /// Field goal attempts + /// + [Description("Field goal attempts")] + [DataMember(Name = "OpponentFieldGoalAttempts", Order = 178)] + public int? OpponentFieldGoalAttempts { get; set; } + + /// + /// Field goals made + /// + [Description("Field goals made")] + [DataMember(Name = "OpponentFieldGoalsMade", Order = 179)] + public int? OpponentFieldGoalsMade { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "OpponentFieldGoalsHadBlocked", Order = 180)] + public int? OpponentFieldGoalsHadBlocked { get; set; } + + /// + /// Punt returns + /// + [Description("Punt returns")] + [DataMember(Name = "OpponentPuntReturns", Order = 181)] + public int? OpponentPuntReturns { get; set; } + + /// + /// Punt return yards + /// + [Description("Punt return yards")] + [DataMember(Name = "OpponentPuntReturnYards", Order = 182)] + public int? OpponentPuntReturnYards { get; set; } + + /// + /// Kickoff returns + /// + [Description("Kickoff returns")] + [DataMember(Name = "OpponentKickReturns", Order = 183)] + public int? OpponentKickReturns { get; set; } + + /// + /// Kickoff return yards + /// + [Description("Kickoff return yards")] + [DataMember(Name = "OpponentKickReturnYards", Order = 184)] + public int? OpponentKickReturnYards { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "OpponentInterceptionReturns", Order = 185)] + public int? OpponentInterceptionReturns { get; set; } + + /// + /// Interception return yards + /// + [Description("Interception return yards")] + [DataMember(Name = "OpponentInterceptionReturnYards", Order = 186)] + public int? OpponentInterceptionReturnYards { get; set; } + + /// + /// Defensive solo tackles + /// + [Description("Defensive solo tackles")] + [DataMember(Name = "SoloTackles", Order = 187)] + public int? SoloTackles { get; set; } + + /// + /// Defensive assisted tackles + /// + [Description("Defensive assisted tackles")] + [DataMember(Name = "AssistedTackles", Order = 188)] + public int? AssistedTackles { get; set; } + + /// + /// Defensive sacks + /// + [Description("Defensive sacks")] + [DataMember(Name = "Sacks", Order = 189)] + public int? Sacks { get; set; } + + /// + /// Defensive sack yards + /// + [Description("Defensive sack yards")] + [DataMember(Name = "SackYards", Order = 190)] + public int? SackYards { get; set; } + + /// + /// Defensive passes defended + /// + [Description("Defensive passes defended")] + [DataMember(Name = "PassesDefended", Order = 191)] + public int? PassesDefended { get; set; } + + /// + /// Defensive fumbles forced + /// + [Description("Defensive fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 192)] + public int? FumblesForced { get; set; } + + /// + /// Fumbles recovered that resulted in change of possession + /// + [Description("Fumbles recovered that resulted in change of possession")] + [DataMember(Name = "FumblesRecovered", Order = 193)] + public int? FumblesRecovered { get; set; } + + /// + /// Fumble return yards + /// + [Description("Fumble return yards")] + [DataMember(Name = "FumbleReturnYards", Order = 194)] + public int? FumbleReturnYards { get; set; } + + /// + /// Fumble return touchdowns + /// + [Description("Fumble return touchdowns")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 195)] + public int? FumbleReturnTouchdowns { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 196)] + public int? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of opponent's kicks that were blocked + /// + [Description("Total number of opponent's kicks that were blocked")] + [DataMember(Name = "BlockedKicks", Order = 197)] + public int? BlockedKicks { get; set; } + + /// + /// Punt return touchdown + /// + [Description("Punt return touchdown")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 198)] + public int? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 199)] + public int? PuntReturnLong { get; set; } + + /// + /// Kick return touchdown + /// + [Description("Kick return touchdown")] + [DataMember(Name = "KickReturnTouchdowns", Order = 200)] + public int? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 201)] + public int? KickReturnLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 202)] + public int? BlockedKickReturnYards { get; set; } + + /// + /// Blocked kick recovery return touchdowns + /// + [Description("Blocked kick recovery return touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 203)] + public int? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 204)] + public int? FieldGoalReturnYards { get; set; } + + /// + /// Field goal return touchdowns (excluding blocked field goals) + /// + [Description("Field goal return touchdowns (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 205)] + public int? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 206)] + public int? PuntNetYards { get; set; } + + /// + /// Defensive solo tackles + /// + [Description("Defensive solo tackles")] + [DataMember(Name = "OpponentSoloTackles", Order = 207)] + public int? OpponentSoloTackles { get; set; } + + /// + /// Defensive assisted tackles + /// + [Description("Defensive assisted tackles")] + [DataMember(Name = "OpponentAssistedTackles", Order = 208)] + public int? OpponentAssistedTackles { get; set; } + + /// + /// Defensive sacks + /// + [Description("Defensive sacks")] + [DataMember(Name = "OpponentSacks", Order = 209)] + public int? OpponentSacks { get; set; } + + /// + /// Defensive sack yards + /// + [Description("Defensive sack yards")] + [DataMember(Name = "OpponentSackYards", Order = 210)] + public int? OpponentSackYards { get; set; } + + /// + /// Defensive passes defended + /// + [Description("Defensive passes defended")] + [DataMember(Name = "OpponentPassesDefended", Order = 211)] + public int? OpponentPassesDefended { get; set; } + + /// + /// Defensive fumbles forced + /// + [Description("Defensive fumbles forced")] + [DataMember(Name = "OpponentFumblesForced", Order = 212)] + public int? OpponentFumblesForced { get; set; } + + /// + /// Fumbles recovered that resulted in change of possession + /// + [Description("Fumbles recovered that resulted in change of possession")] + [DataMember(Name = "OpponentFumblesRecovered", Order = 213)] + public int? OpponentFumblesRecovered { get; set; } + + /// + /// Fumble return yards + /// + [Description("Fumble return yards")] + [DataMember(Name = "OpponentFumbleReturnYards", Order = 214)] + public int? OpponentFumbleReturnYards { get; set; } + + /// + /// Fumble return touchdowns + /// + [Description("Fumble return touchdowns")] + [DataMember(Name = "OpponentFumbleReturnTouchdowns", Order = 215)] + public int? OpponentFumbleReturnTouchdowns { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "OpponentInterceptionReturnTouchdowns", Order = 216)] + public int? OpponentInterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of opponent's kicks that were blocked + /// + [Description("Total number of opponent's kicks that were blocked")] + [DataMember(Name = "OpponentBlockedKicks", Order = 217)] + public int? OpponentBlockedKicks { get; set; } + + /// + /// Punt return touchdown + /// + [Description("Punt return touchdown")] + [DataMember(Name = "OpponentPuntReturnTouchdowns", Order = 218)] + public int? OpponentPuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "OpponentPuntReturnLong", Order = 219)] + public int? OpponentPuntReturnLong { get; set; } + + /// + /// Kick return touchdown + /// + [Description("Kick return touchdown")] + [DataMember(Name = "OpponentKickReturnTouchdowns", Order = 220)] + public int? OpponentKickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "OpponentKickReturnLong", Order = 221)] + public int? OpponentKickReturnLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "OpponentBlockedKickReturnYards", Order = 222)] + public int? OpponentBlockedKickReturnYards { get; set; } + + /// + /// Blocked kick recovery return touchdowns + /// + [Description("Blocked kick recovery return touchdowns")] + [DataMember(Name = "OpponentBlockedKickReturnTouchdowns", Order = 223)] + public int? OpponentBlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "OpponentFieldGoalReturnYards", Order = 224)] + public int? OpponentFieldGoalReturnYards { get; set; } + + /// + /// Field goal return touchdowns (excluding blocked field goals) + /// + [Description("Field goal return touchdowns (excluding blocked field goals)")] + [DataMember(Name = "OpponentFieldGoalReturnTouchdowns", Order = 225)] + public int? OpponentFieldGoalReturnTouchdowns { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "OpponentPuntNetYards", Order = 226)] + public int? OpponentPuntNetYards { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 227)] + public bool? IsGameOver { get; set; } + + /// + /// The full name of the team (e.g. New England Patriots) + /// + [Description("The full name of the team (e.g. New England Patriots)")] + [DataMember(Name = "TeamName", Order = 228)] + public string TeamName { get; set; } + + /// + /// The day of the week this game was played on (e.g. Sunday, Monday) + /// + [Description("The day of the week this game was played on (e.g. Sunday, Monday)")] + [DataMember(Name = "DayOfWeek", Order = 229)] + public string DayOfWeek { get; set; } + + /// + /// The number of times the offense dropped back to pass + /// + [Description("The number of times the offense dropped back to pass")] + [DataMember(Name = "PassingDropbacks", Order = 230)] + public int? PassingDropbacks { get; set; } + + /// + /// The number of times the opponent dropped back to pass + /// + [Description("The number of times the opponent dropped back to pass")] + [DataMember(Name = "OpponentPassingDropbacks", Order = 231)] + public int? OpponentPassingDropbacks { get; set; } + + /// + /// Unique ID of this TeamGame record (subject to change, although it very rarely does). For a guaranteed static ID, use a combination of GameKey and Team. + /// + [Description("Unique ID of this TeamGame record (subject to change, although it very rarely does). For a guaranteed static ID, use a combination of GameKey and Team.")] + [DataMember(Name = "TeamGameID", Order = 232)] + public int TeamGameID { get; set; } + + /// + /// Two point conversion returns for two points. + /// + [Description("Two point conversion returns for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 233)] + public int? TwoPointConversionReturns { get; set; } + + /// + /// Opponent's two point conversion returns for two points. + /// + [Description("Opponent's two point conversion returns for two points.")] + [DataMember(Name = "OpponentTwoPointConversionReturns", Order = 234)] + public int? OpponentTwoPointConversionReturns { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 235)] + public int? TeamID { get; set; } + + /// + /// The unique ID of this opposing team + /// + [Description("The unique ID of this opposing team")] + [DataMember(Name = "OpponentID", Order = 236)] + public int? OpponentID { get; set; } + + /// + /// The date of the game in US Eastern Time + /// + [Description("The date of the game in US Eastern Time")] + [DataMember(Name = "Day", Order = 237)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game in US Eastern Time + /// + [Description("The date and time of the game in US Eastern Time")] + [DataMember(Name = "DateTime", Order = 238)] + public DateTime? DateTime { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 239)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 240)] + public int? GlobalTeamID { get; set; } + + /// + /// A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opposing team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 241)] + public int? GlobalOpponentID { get; set; } + + /// + /// Unique ID of the Score/Game. + /// + [Description("Unique ID of the Score/Game.")] + [DataMember(Name = "ScoreID", Order = 242)] + public int ScoreID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/TeamSeason.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/TeamSeason.cs new file mode 100644 index 0000000..3b4ba76 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/TeamSeason.cs @@ -0,0 +1,1581 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="TeamSeason")] + [Serializable] + public partial class TeamSeason + { + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 1)] + public int SeasonType { get; set; } + + /// + /// The NFL regular season for which these totals apply + /// + [Description("The NFL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 3)] + public string Team { get; set; } + + /// + /// Total points scored + /// + [Description("Total points scored")] + [DataMember(Name = "Score", Order = 4)] + public int Score { get; set; } + + /// + /// Total points scored by opponents + /// + [Description("Total points scored by opponents")] + [DataMember(Name = "OpponentScore", Order = 5)] + public int OpponentScore { get; set; } + + /// + /// Total points scored by both teams + /// + [Description("Total points scored by both teams")] + [DataMember(Name = "TotalScore", Order = 6)] + public int TotalScore { get; set; } + + /// + /// Temperature at game start (Farenheit) + /// + [Description("Temperature at game start (Farenheit)")] + [DataMember(Name = "Temperature", Order = 7)] + public int? Temperature { get; set; } + + /// + /// Humidity at game start (Percentage) + /// + [Description("Humidity at game start (Percentage)")] + [DataMember(Name = "Humidity", Order = 8)] + public int? Humidity { get; set; } + + /// + /// Wind speed at game start (MPH) + /// + [Description("Wind speed at game start (MPH)")] + [DataMember(Name = "WindSpeed", Order = 9)] + public int? WindSpeed { get; set; } + + /// + /// The average Over/Under for the season + /// + [Description("The average Over/Under for the season")] + [DataMember(Name = "OverUnder", Order = 10)] + public decimal? OverUnder { get; set; } + + /// + /// The average Point Spread for the season (from the perspective of the Team) + /// + [Description("The average Point Spread for the season (from the perspective of the Team)")] + [DataMember(Name = "PointSpread", Order = 11)] + public decimal? PointSpread { get; set; } + + /// + /// Points scored during Quarter 1 for the Team + /// + [Description("Points scored during Quarter 1 for the Team")] + [DataMember(Name = "ScoreQuarter1", Order = 12)] + public int? ScoreQuarter1 { get; set; } + + /// + /// Points scored during Quarter 2 for the Team + /// + [Description("Points scored during Quarter 2 for the Team")] + [DataMember(Name = "ScoreQuarter2", Order = 13)] + public int? ScoreQuarter2 { get; set; } + + /// + /// Points scored during Quarter 3 for the Team + /// + [Description("Points scored during Quarter 3 for the Team")] + [DataMember(Name = "ScoreQuarter3", Order = 14)] + public int? ScoreQuarter3 { get; set; } + + /// + /// Points scored during Quarter 4 for the Team + /// + [Description("Points scored during Quarter 4 for the Team")] + [DataMember(Name = "ScoreQuarter4", Order = 15)] + public int? ScoreQuarter4 { get; set; } + + /// + /// Points scored during Overtime for the Team + /// + [Description("Points scored during Overtime for the Team")] + [DataMember(Name = "ScoreOvertime", Order = 16)] + public int ScoreOvertime { get; set; } + + /// + /// Time of possession + /// + [Description("Time of possession")] + [DataMember(Name = "TimeOfPossession", Order = 17)] + public string TimeOfPossession { get; set; } + + /// + /// Total first downs + /// + [Description("Total first downs")] + [DataMember(Name = "FirstDowns", Order = 18)] + public int? FirstDowns { get; set; } + + /// + /// Total rushing first downs + /// + [Description("Total rushing first downs")] + [DataMember(Name = "FirstDownsByRushing", Order = 19)] + public int? FirstDownsByRushing { get; set; } + + /// + /// Total passing first downs + /// + [Description("Total passing first downs")] + [DataMember(Name = "FirstDownsByPassing", Order = 20)] + public int? FirstDownsByPassing { get; set; } + + /// + /// Total first downs by opponent's penalty + /// + [Description("Total first downs by opponent's penalty")] + [DataMember(Name = "FirstDownsByPenalty", Order = 21)] + public int? FirstDownsByPenalty { get; set; } + + /// + /// Number of offensive plays run + /// + [Description("Number of offensive plays run")] + [DataMember(Name = "OffensivePlays", Order = 22)] + public int OffensivePlays { get; set; } + + /// + /// Number of offensive yards gained + /// + [Description("Number of offensive yards gained")] + [DataMember(Name = "OffensiveYards", Order = 23)] + public int OffensiveYards { get; set; } + + /// + /// Average yards gained per offensive play + /// + [Description("Average yards gained per offensive play")] + [DataMember(Name = "OffensiveYardsPerPlay", Order = 24)] + public decimal OffensiveYardsPerPlay { get; set; } + + /// + /// Touchdowns scored + /// + [Description("Touchdowns scored")] + [DataMember(Name = "Touchdowns", Order = 25)] + public int? Touchdowns { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "RushingAttempts", Order = 26)] + public int? RushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "RushingYards", Order = 27)] + public int? RushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "RushingYardsPerAttempt", Order = 28)] + public decimal RushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "RushingTouchdowns", Order = 29)] + public int? RushingTouchdowns { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "PassingAttempts", Order = 30)] + public int? PassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "PassingCompletions", Order = 31)] + public int? PassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "PassingYards", Order = 32)] + public int? PassingYards { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "PassingTouchdowns", Order = 33)] + public int? PassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "PassingInterceptions", Order = 34)] + public int? PassingInterceptions { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "PassingYardsPerAttempt", Order = 35)] + public decimal PassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "PassingYardsPerCompletion", Order = 36)] + public decimal PassingYardsPerCompletion { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "CompletionPercentage", Order = 37)] + public decimal CompletionPercentage { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "PasserRating", Order = 38)] + public decimal? PasserRating { get; set; } + + /// + /// Third down attempts + /// + [Description("Third down attempts")] + [DataMember(Name = "ThirdDownAttempts", Order = 39)] + public int? ThirdDownAttempts { get; set; } + + /// + /// Third down conversions + /// + [Description("Third down conversions")] + [DataMember(Name = "ThirdDownConversions", Order = 40)] + public int? ThirdDownConversions { get; set; } + + /// + /// Percentage of third downs converted + /// + [Description("Percentage of third downs converted")] + [DataMember(Name = "ThirdDownPercentage", Order = 41)] + public decimal? ThirdDownPercentage { get; set; } + + /// + /// Fourth down attempts + /// + [Description("Fourth down attempts")] + [DataMember(Name = "FourthDownAttempts", Order = 42)] + public int? FourthDownAttempts { get; set; } + + /// + /// Fourth down conversions + /// + [Description("Fourth down conversions")] + [DataMember(Name = "FourthDownConversions", Order = 43)] + public int? FourthDownConversions { get; set; } + + /// + /// Percentage of fourth downs converted + /// + [Description("Percentage of fourth downs converted")] + [DataMember(Name = "FourthDownPercentage", Order = 44)] + public decimal? FourthDownPercentage { get; set; } + + /// + /// Red zone opportunities + /// + [Description("Red zone opportunities")] + [DataMember(Name = "RedZoneAttempts", Order = 45)] + public int? RedZoneAttempts { get; set; } + + /// + /// Red zone opportunities converted to touchdowns + /// + [Description("Red zone opportunities converted to touchdowns")] + [DataMember(Name = "RedZoneConversions", Order = 46)] + public int? RedZoneConversions { get; set; } + + /// + /// 1st & Goal opportunities + /// + [Description("1st & Goal opportunities")] + [DataMember(Name = "GoalToGoAttempts", Order = 47)] + public int? GoalToGoAttempts { get; set; } + + /// + /// 1st & Goal opportunities converted to touchdowns + /// + [Description("1st & Goal opportunities converted to touchdowns")] + [DataMember(Name = "GoalToGoConversions", Order = 48)] + public int? GoalToGoConversions { get; set; } + + /// + /// Total punt and defensive return yards + /// + [Description("Total punt and defensive return yards")] + [DataMember(Name = "ReturnYards", Order = 49)] + public int? ReturnYards { get; set; } + + /// + /// Penalties committed + /// + [Description("Penalties committed")] + [DataMember(Name = "Penalties", Order = 50)] + public int? Penalties { get; set; } + + /// + /// Penalty yards enforced against the Team + /// + [Description("Penalty yards enforced against the Team")] + [DataMember(Name = "PenaltyYards", Order = 51)] + public int? PenaltyYards { get; set; } + + /// + /// Fumbles + /// + [Description("Fumbles")] + [DataMember(Name = "Fumbles", Order = 52)] + public int? Fumbles { get; set; } + + /// + /// Fumbles lost + /// + [Description("Fumbles lost")] + [DataMember(Name = "FumblesLost", Order = 53)] + public int? FumblesLost { get; set; } + + /// + /// Number of sacks allowed by Team + /// + [Description("Number of sacks allowed by Team")] + [DataMember(Name = "TimesSacked", Order = 54)] + public int? TimesSacked { get; set; } + + /// + /// Number of yards lost as a result of sacks allowed + /// + [Description("Number of yards lost as a result of sacks allowed")] + [DataMember(Name = "TimesSackedYards", Order = 55)] + public int? TimesSackedYards { get; set; } + + /// + /// Number of times the opposing QB was hit but not sacked + /// + [Description("Number of times the opposing QB was hit but not sacked")] + [DataMember(Name = "QuarterbackHits", Order = 56)] + public int? QuarterbackHits { get; set; } + + /// + /// Number of times the opponent was tackled for a loss + /// + [Description("Number of times the opponent was tackled for a loss")] + [DataMember(Name = "TacklesForLoss", Order = 57)] + public int? TacklesForLoss { get; set; } + + /// + /// Safeties scored + /// + [Description("Safeties scored")] + [DataMember(Name = "Safeties", Order = 58)] + public int? Safeties { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "Punts", Order = 59)] + public int? Punts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "PuntYards", Order = 60)] + public int? PuntYards { get; set; } + + /// + /// Average number of yards per punt + /// + [Description("Average number of yards per punt")] + [DataMember(Name = "PuntAverage", Order = 61)] + public decimal PuntAverage { get; set; } + + /// + /// Number of giveaways + /// + [Description("Number of giveaways")] + [DataMember(Name = "Giveaways", Order = 62)] + public int Giveaways { get; set; } + + /// + /// Number of takeaways + /// + [Description("Number of takeaways")] + [DataMember(Name = "Takeaways", Order = 63)] + public int Takeaways { get; set; } + + /// + /// Number of takeaways minus giveaways + /// + [Description("Number of takeaways minus giveaways")] + [DataMember(Name = "TurnoverDifferential", Order = 64)] + public int TurnoverDifferential { get; set; } + + /// + /// Points scored during Quarter 1 for the Team + /// + [Description("Points scored during Quarter 1 for the Team")] + [DataMember(Name = "OpponentScoreQuarter1", Order = 65)] + public int? OpponentScoreQuarter1 { get; set; } + + /// + /// Points scored during Quarter 2 for the Team + /// + [Description("Points scored during Quarter 2 for the Team")] + [DataMember(Name = "OpponentScoreQuarter2", Order = 66)] + public int? OpponentScoreQuarter2 { get; set; } + + /// + /// Points scored during Quarter 3 for the Team + /// + [Description("Points scored during Quarter 3 for the Team")] + [DataMember(Name = "OpponentScoreQuarter3", Order = 67)] + public int? OpponentScoreQuarter3 { get; set; } + + /// + /// Points scored during Quarter 4 for the Team + /// + [Description("Points scored during Quarter 4 for the Team")] + [DataMember(Name = "OpponentScoreQuarter4", Order = 68)] + public int? OpponentScoreQuarter4 { get; set; } + + /// + /// Points scored during Overtime for the Team + /// + [Description("Points scored during Overtime for the Team")] + [DataMember(Name = "OpponentScoreOvertime", Order = 69)] + public int OpponentScoreOvertime { get; set; } + + /// + /// Time of possession + /// + [Description("Time of possession")] + [DataMember(Name = "OpponentTimeOfPossession", Order = 70)] + public string OpponentTimeOfPossession { get; set; } + + /// + /// Total first downs + /// + [Description("Total first downs")] + [DataMember(Name = "OpponentFirstDowns", Order = 71)] + public int? OpponentFirstDowns { get; set; } + + /// + /// Total rushing first downs + /// + [Description("Total rushing first downs")] + [DataMember(Name = "OpponentFirstDownsByRushing", Order = 72)] + public int? OpponentFirstDownsByRushing { get; set; } + + /// + /// Total passing first downs + /// + [Description("Total passing first downs")] + [DataMember(Name = "OpponentFirstDownsByPassing", Order = 73)] + public int? OpponentFirstDownsByPassing { get; set; } + + /// + /// Total first downs by opponent's penalty + /// + [Description("Total first downs by opponent's penalty")] + [DataMember(Name = "OpponentFirstDownsByPenalty", Order = 74)] + public int? OpponentFirstDownsByPenalty { get; set; } + + /// + /// Number of offensive plays run + /// + [Description("Number of offensive plays run")] + [DataMember(Name = "OpponentOffensivePlays", Order = 75)] + public int OpponentOffensivePlays { get; set; } + + /// + /// Number of offensive yards gained + /// + [Description("Number of offensive yards gained")] + [DataMember(Name = "OpponentOffensiveYards", Order = 76)] + public int OpponentOffensiveYards { get; set; } + + /// + /// Average yards gained per offensive play + /// + [Description("Average yards gained per offensive play")] + [DataMember(Name = "OpponentOffensiveYardsPerPlay", Order = 77)] + public decimal OpponentOffensiveYardsPerPlay { get; set; } + + /// + /// Touchdowns scored + /// + [Description("Touchdowns scored")] + [DataMember(Name = "OpponentTouchdowns", Order = 78)] + public int? OpponentTouchdowns { get; set; } + + /// + /// Number of rushing attempts + /// + [Description("Number of rushing attempts")] + [DataMember(Name = "OpponentRushingAttempts", Order = 79)] + public int? OpponentRushingAttempts { get; set; } + + /// + /// Number of rushing yards + /// + [Description("Number of rushing yards")] + [DataMember(Name = "OpponentRushingYards", Order = 80)] + public int? OpponentRushingYards { get; set; } + + /// + /// Average rushing yards gained per attempt + /// + [Description("Average rushing yards gained per attempt")] + [DataMember(Name = "OpponentRushingYardsPerAttempt", Order = 81)] + public decimal OpponentRushingYardsPerAttempt { get; set; } + + /// + /// Rushing touchdowns scored + /// + [Description("Rushing touchdowns scored")] + [DataMember(Name = "OpponentRushingTouchdowns", Order = 82)] + public int? OpponentRushingTouchdowns { get; set; } + + /// + /// Number of passes thrown + /// + [Description("Number of passes thrown")] + [DataMember(Name = "OpponentPassingAttempts", Order = 83)] + public int? OpponentPassingAttempts { get; set; } + + /// + /// Number of pass completions + /// + [Description("Number of pass completions")] + [DataMember(Name = "OpponentPassingCompletions", Order = 84)] + public int? OpponentPassingCompletions { get; set; } + + /// + /// Number of passing yards + /// + [Description("Number of passing yards")] + [DataMember(Name = "OpponentPassingYards", Order = 85)] + public int? OpponentPassingYards { get; set; } + + /// + /// Passing touchdowns thrown + /// + [Description("Passing touchdowns thrown")] + [DataMember(Name = "OpponentPassingTouchdowns", Order = 86)] + public int? OpponentPassingTouchdowns { get; set; } + + /// + /// Interceptions thrown + /// + [Description("Interceptions thrown")] + [DataMember(Name = "OpponentPassingInterceptions", Order = 87)] + public int? OpponentPassingInterceptions { get; set; } + + /// + /// Average passing yards gained per attempt + /// + [Description("Average passing yards gained per attempt")] + [DataMember(Name = "OpponentPassingYardsPerAttempt", Order = 88)] + public decimal OpponentPassingYardsPerAttempt { get; set; } + + /// + /// Average passing yards gained per completion + /// + [Description("Average passing yards gained per completion")] + [DataMember(Name = "OpponentPassingYardsPerCompletion", Order = 89)] + public decimal OpponentPassingYardsPerCompletion { get; set; } + + /// + /// Percentage of passes that were completed + /// + [Description("Percentage of passes that were completed")] + [DataMember(Name = "OpponentCompletionPercentage", Order = 90)] + public decimal OpponentCompletionPercentage { get; set; } + + /// + /// Passer rating + /// + [Description("Passer rating")] + [DataMember(Name = "OpponentPasserRating", Order = 91)] + public decimal? OpponentPasserRating { get; set; } + + /// + /// Third down attempts + /// + [Description("Third down attempts")] + [DataMember(Name = "OpponentThirdDownAttempts", Order = 92)] + public int? OpponentThirdDownAttempts { get; set; } + + /// + /// Third down conversions + /// + [Description("Third down conversions")] + [DataMember(Name = "OpponentThirdDownConversions", Order = 93)] + public int? OpponentThirdDownConversions { get; set; } + + /// + /// Percentage of third downs converted + /// + [Description("Percentage of third downs converted")] + [DataMember(Name = "OpponentThirdDownPercentage", Order = 94)] + public decimal? OpponentThirdDownPercentage { get; set; } + + /// + /// Fourth down attempts + /// + [Description("Fourth down attempts")] + [DataMember(Name = "OpponentFourthDownAttempts", Order = 95)] + public int? OpponentFourthDownAttempts { get; set; } + + /// + /// Fourth down conversions + /// + [Description("Fourth down conversions")] + [DataMember(Name = "OpponentFourthDownConversions", Order = 96)] + public int? OpponentFourthDownConversions { get; set; } + + /// + /// Percentage of fourth downs converted + /// + [Description("Percentage of fourth downs converted")] + [DataMember(Name = "OpponentFourthDownPercentage", Order = 97)] + public decimal? OpponentFourthDownPercentage { get; set; } + + /// + /// Red zone opportunities + /// + [Description("Red zone opportunities")] + [DataMember(Name = "OpponentRedZoneAttempts", Order = 98)] + public int? OpponentRedZoneAttempts { get; set; } + + /// + /// Red zone opportunities converted to touchdowns + /// + [Description("Red zone opportunities converted to touchdowns")] + [DataMember(Name = "OpponentRedZoneConversions", Order = 99)] + public int? OpponentRedZoneConversions { get; set; } + + /// + /// 1st & Goal opportunities + /// + [Description("1st & Goal opportunities")] + [DataMember(Name = "OpponentGoalToGoAttempts", Order = 100)] + public int? OpponentGoalToGoAttempts { get; set; } + + /// + /// 1st & Goal opportunities converted to touchdowns + /// + [Description("1st & Goal opportunities converted to touchdowns")] + [DataMember(Name = "OpponentGoalToGoConversions", Order = 101)] + public int? OpponentGoalToGoConversions { get; set; } + + /// + /// Total punt and defensive return yards + /// + [Description("Total punt and defensive return yards")] + [DataMember(Name = "OpponentReturnYards", Order = 102)] + public int? OpponentReturnYards { get; set; } + + /// + /// Penalties committed + /// + [Description("Penalties committed")] + [DataMember(Name = "OpponentPenalties", Order = 103)] + public int? OpponentPenalties { get; set; } + + /// + /// Penalty yards enforced against the away team + /// + [Description("Penalty yards enforced against the away team")] + [DataMember(Name = "OpponentPenaltyYards", Order = 104)] + public int? OpponentPenaltyYards { get; set; } + + /// + /// Fumbles + /// + [Description("Fumbles")] + [DataMember(Name = "OpponentFumbles", Order = 105)] + public int? OpponentFumbles { get; set; } + + /// + /// Fumbles lost + /// + [Description("Fumbles lost")] + [DataMember(Name = "OpponentFumblesLost", Order = 106)] + public int? OpponentFumblesLost { get; set; } + + /// + /// Number of sacks allowed by Opponent + /// + [Description("Number of sacks allowed by Opponent")] + [DataMember(Name = "OpponentTimesSacked", Order = 107)] + public int? OpponentTimesSacked { get; set; } + + /// + /// Number of yards opponent lost as a result of being sacked + /// + [Description("Number of yards opponent lost as a result of being sacked")] + [DataMember(Name = "OpponentTimesSackedYards", Order = 108)] + public int? OpponentTimesSackedYards { get; set; } + + /// + /// Number of times the opposing QB was hit but not sacked + /// + [Description("Number of times the opposing QB was hit but not sacked")] + [DataMember(Name = "OpponentQuarterbackHits", Order = 109)] + public int? OpponentQuarterbackHits { get; set; } + + /// + /// Number of times our ball carrier was tackled for a loss + /// + [Description("Number of times our ball carrier was tackled for a loss")] + [DataMember(Name = "OpponentTacklesForLoss", Order = 110)] + public int? OpponentTacklesForLoss { get; set; } + + /// + /// Safeties scored + /// + [Description("Safeties scored")] + [DataMember(Name = "OpponentSafeties", Order = 111)] + public int? OpponentSafeties { get; set; } + + /// + /// Number of punts + /// + [Description("Number of punts")] + [DataMember(Name = "OpponentPunts", Order = 112)] + public int? OpponentPunts { get; set; } + + /// + /// Total punt yards + /// + [Description("Total punt yards")] + [DataMember(Name = "OpponentPuntYards", Order = 113)] + public int? OpponentPuntYards { get; set; } + + /// + /// Average number of yards per punt + /// + [Description("Average number of yards per punt")] + [DataMember(Name = "OpponentPuntAverage", Order = 114)] + public decimal OpponentPuntAverage { get; set; } + + /// + /// Number of giveaways + /// + [Description("Number of giveaways")] + [DataMember(Name = "OpponentGiveaways", Order = 115)] + public int OpponentGiveaways { get; set; } + + /// + /// Number of takeaways + /// + [Description("Number of takeaways")] + [DataMember(Name = "OpponentTakeaways", Order = 116)] + public int OpponentTakeaways { get; set; } + + /// + /// Number of takeaways minus giveaways + /// + [Description("Number of takeaways minus giveaways")] + [DataMember(Name = "OpponentTurnoverDifferential", Order = 117)] + public int OpponentTurnoverDifferential { get; set; } + + /// + /// Percentage of red zone opportunities converted into touchdowns + /// + [Description("Percentage of red zone opportunities converted into touchdowns")] + [DataMember(Name = "RedZonePercentage", Order = 118)] + public decimal? RedZonePercentage { get; set; } + + /// + /// Percentage of goal-to-go opportunities converted into touchdowns + /// + [Description("Percentage of goal-to-go opportunities converted into touchdowns")] + [DataMember(Name = "GoalToGoPercentage", Order = 119)] + public decimal? GoalToGoPercentage { get; set; } + + /// + /// The differential of hits on the opposing quarterback minus hits on own team's quarterback + /// + [Description("The differential of hits on the opposing quarterback minus hits on own team's quarterback")] + [DataMember(Name = "QuarterbackHitsDifferential", Order = 120)] + public int? QuarterbackHitsDifferential { get; set; } + + /// + /// The differential of tackles for loss minus opponent's tackles for loss + /// + [Description("The differential of tackles for loss minus opponent's tackles for loss")] + [DataMember(Name = "TacklesForLossDifferential", Order = 121)] + public int? TacklesForLossDifferential { get; set; } + + /// + /// The Team's sack differential (similar to a turnover differential) + /// + [Description("The Team's sack differential (similar to a turnover differential)")] + [DataMember(Name = "QuarterbackSacksDifferential", Order = 122)] + public int QuarterbackSacksDifferential { get; set; } + + /// + /// Percentage of running plays defended that resulted in tackle for loss + /// + [Description("Percentage of running plays defended that resulted in tackle for loss")] + [DataMember(Name = "TacklesForLossPercentage", Order = 123)] + public decimal? TacklesForLossPercentage { get; set; } + + /// + /// Percantage of opposing quarterback drop backs that resulted hitting the quarterback + /// + [Description("Percantage of opposing quarterback drop backs that resulted hitting the quarterback")] + [DataMember(Name = "QuarterbackHitsPercentage", Order = 124)] + public decimal? QuarterbackHitsPercentage { get; set; } + + /// + /// Percentage of drop backs that resulted in a sack + /// + [Description("Percentage of drop backs that resulted in a sack")] + [DataMember(Name = "TimesSackedPercentage", Order = 125)] + public decimal TimesSackedPercentage { get; set; } + + /// + /// Percentage of opponent's red zone opportunities converted into touchdowns + /// + [Description("Percentage of opponent's red zone opportunities converted into touchdowns")] + [DataMember(Name = "OpponentRedZonePercentage", Order = 126)] + public decimal? OpponentRedZonePercentage { get; set; } + + /// + /// Percentage of opponent's goal-to-go opportunities converted into touchdowns + /// + [Description("Percentage of opponent's goal-to-go opportunities converted into touchdowns")] + [DataMember(Name = "OpponentGoalToGoPercentage", Order = 127)] + public decimal? OpponentGoalToGoPercentage { get; set; } + + /// + /// The inverse of QuarterbackHitsDifferential + /// + [Description("The inverse of QuarterbackHitsDifferential")] + [DataMember(Name = "OpponentQuarterbackHitsDifferential", Order = 128)] + public int? OpponentQuarterbackHitsDifferential { get; set; } + + /// + /// The inverse of TacklesForLossDifferential + /// + [Description("The inverse of TacklesForLossDifferential")] + [DataMember(Name = "OpponentTacklesForLossDifferential", Order = 129)] + public int? OpponentTacklesForLossDifferential { get; set; } + + /// + /// The inverse of QuarterbackSacksDifferential + /// + [Description("The inverse of QuarterbackSacksDifferential")] + [DataMember(Name = "OpponentQuarterbackSacksDifferential", Order = 130)] + public int? OpponentQuarterbackSacksDifferential { get; set; } + + /// + /// Percentage of running plays defended that resulted in tackle for loss + /// + [Description("Percentage of running plays defended that resulted in tackle for loss")] + [DataMember(Name = "OpponentTacklesForLossPercentage", Order = 131)] + public decimal? OpponentTacklesForLossPercentage { get; set; } + + /// + /// Percantage of own team's quarterback drop backs that resulted in our quarterback getting hit + /// + [Description("Percantage of own team's quarterback drop backs that resulted in our quarterback getting hit")] + [DataMember(Name = "OpponentQuarterbackHitsPercentage", Order = 132)] + public decimal? OpponentQuarterbackHitsPercentage { get; set; } + + /// + /// Percentage of drop backs that resulted in a sack + /// + [Description("Percentage of drop backs that resulted in a sack")] + [DataMember(Name = "OpponentTimesSackedPercentage", Order = 133)] + public decimal OpponentTimesSackedPercentage { get; set; } + + /// + /// Number of kickoffs + /// + [Description("Number of kickoffs")] + [DataMember(Name = "Kickoffs", Order = 134)] + public int? Kickoffs { get; set; } + + /// + /// Number of kickoffs that went into the end zone + /// + [Description("Number of kickoffs that went into the end zone")] + [DataMember(Name = "KickoffsInEndZone", Order = 135)] + public int? KickoffsInEndZone { get; set; } + + /// + /// Number of kickoffs that resulted in touchbacks + /// + [Description("Number of kickoffs that resulted in touchbacks")] + [DataMember(Name = "KickoffTouchbacks", Order = 136)] + public int? KickoffTouchbacks { get; set; } + + /// + /// Number of punts that were blocked + /// + [Description("Number of punts that were blocked")] + [DataMember(Name = "PuntsHadBlocked", Order = 137)] + public int? PuntsHadBlocked { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetAverage", Order = 138)] + public decimal? PuntNetAverage { get; set; } + + /// + /// Extra point kick attempts + /// + [Description("Extra point kick attempts")] + [DataMember(Name = "ExtraPointKickingAttempts", Order = 139)] + public int? ExtraPointKickingAttempts { get; set; } + + /// + /// Extra point kicks made + /// + [Description("Extra point kicks made")] + [DataMember(Name = "ExtraPointKickingConversions", Order = 140)] + public int? ExtraPointKickingConversions { get; set; } + + /// + /// Extra point kick attempts that were blocked + /// + [Description("Extra point kick attempts that were blocked")] + [DataMember(Name = "ExtraPointsHadBlocked", Order = 141)] + public int? ExtraPointsHadBlocked { get; set; } + + /// + /// Two point conversion passing attempts + /// + [Description("Two point conversion passing attempts")] + [DataMember(Name = "ExtraPointPassingAttempts", Order = 142)] + public int? ExtraPointPassingAttempts { get; set; } + + /// + /// Two point conversion passing conversions + /// + [Description("Two point conversion passing conversions")] + [DataMember(Name = "ExtraPointPassingConversions", Order = 143)] + public int? ExtraPointPassingConversions { get; set; } + + /// + /// Two point conversion rushing attempts + /// + [Description("Two point conversion rushing attempts")] + [DataMember(Name = "ExtraPointRushingAttempts", Order = 144)] + public int? ExtraPointRushingAttempts { get; set; } + + /// + /// Two point conversion rushing conversions + /// + [Description("Two point conversion rushing conversions")] + [DataMember(Name = "ExtraPointRushingConversions", Order = 145)] + public int? ExtraPointRushingConversions { get; set; } + + /// + /// Field goal attempts + /// + [Description("Field goal attempts")] + [DataMember(Name = "FieldGoalAttempts", Order = 146)] + public int? FieldGoalAttempts { get; set; } + + /// + /// Field goals made + /// + [Description("Field goals made")] + [DataMember(Name = "FieldGoalsMade", Order = 147)] + public int? FieldGoalsMade { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "FieldGoalsHadBlocked", Order = 148)] + public int? FieldGoalsHadBlocked { get; set; } + + /// + /// Punt returns + /// + [Description("Punt returns")] + [DataMember(Name = "PuntReturns", Order = 149)] + public int? PuntReturns { get; set; } + + /// + /// Punt return yards + /// + [Description("Punt return yards")] + [DataMember(Name = "PuntReturnYards", Order = 150)] + public int? PuntReturnYards { get; set; } + + /// + /// Kickoff returns + /// + [Description("Kickoff returns")] + [DataMember(Name = "KickReturns", Order = 151)] + public int? KickReturns { get; set; } + + /// + /// Kickoff return yards + /// + [Description("Kickoff return yards")] + [DataMember(Name = "KickReturnYards", Order = 152)] + public int? KickReturnYards { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "InterceptionReturns", Order = 153)] + public int? InterceptionReturns { get; set; } + + /// + /// Interception return yards + /// + [Description("Interception return yards")] + [DataMember(Name = "InterceptionReturnYards", Order = 154)] + public int? InterceptionReturnYards { get; set; } + + /// + /// Number of kickoffs + /// + [Description("Number of kickoffs")] + [DataMember(Name = "OpponentKickoffs", Order = 155)] + public int? OpponentKickoffs { get; set; } + + /// + /// Number of kickoffs that went into the end zone + /// + [Description("Number of kickoffs that went into the end zone")] + [DataMember(Name = "OpponentKickoffsInEndZone", Order = 156)] + public int? OpponentKickoffsInEndZone { get; set; } + + /// + /// Number of kickoffs that resulted in touchbacks + /// + [Description("Number of kickoffs that resulted in touchbacks")] + [DataMember(Name = "OpponentKickoffTouchbacks", Order = 157)] + public int? OpponentKickoffTouchbacks { get; set; } + + /// + /// Number of punts that were blocked + /// + [Description("Number of punts that were blocked")] + [DataMember(Name = "OpponentPuntsHadBlocked", Order = 158)] + public int? OpponentPuntsHadBlocked { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "OpponentPuntNetAverage", Order = 159)] + public decimal? OpponentPuntNetAverage { get; set; } + + /// + /// Extra point kick attempts + /// + [Description("Extra point kick attempts")] + [DataMember(Name = "OpponentExtraPointKickingAttempts", Order = 160)] + public int? OpponentExtraPointKickingAttempts { get; set; } + + /// + /// Extra point kicks made + /// + [Description("Extra point kicks made")] + [DataMember(Name = "OpponentExtraPointKickingConversions", Order = 161)] + public int? OpponentExtraPointKickingConversions { get; set; } + + /// + /// Extra point kick attempts that were blocked + /// + [Description("Extra point kick attempts that were blocked")] + [DataMember(Name = "OpponentExtraPointsHadBlocked", Order = 162)] + public int? OpponentExtraPointsHadBlocked { get; set; } + + /// + /// Two point conversion passing attempts + /// + [Description("Two point conversion passing attempts")] + [DataMember(Name = "OpponentExtraPointPassingAttempts", Order = 163)] + public int? OpponentExtraPointPassingAttempts { get; set; } + + /// + /// Two point conversion passing conversions + /// + [Description("Two point conversion passing conversions")] + [DataMember(Name = "OpponentExtraPointPassingConversions", Order = 164)] + public int? OpponentExtraPointPassingConversions { get; set; } + + /// + /// Two point conversion rushing attempts + /// + [Description("Two point conversion rushing attempts")] + [DataMember(Name = "OpponentExtraPointRushingAttempts", Order = 165)] + public int? OpponentExtraPointRushingAttempts { get; set; } + + /// + /// Two point conversion rushing conversions + /// + [Description("Two point conversion rushing conversions")] + [DataMember(Name = "OpponentExtraPointRushingConversions", Order = 166)] + public int? OpponentExtraPointRushingConversions { get; set; } + + /// + /// Field goal attempts + /// + [Description("Field goal attempts")] + [DataMember(Name = "OpponentFieldGoalAttempts", Order = 167)] + public int? OpponentFieldGoalAttempts { get; set; } + + /// + /// Field goals made + /// + [Description("Field goals made")] + [DataMember(Name = "OpponentFieldGoalsMade", Order = 168)] + public int? OpponentFieldGoalsMade { get; set; } + + /// + /// Field goal attempts that were blocked + /// + [Description("Field goal attempts that were blocked")] + [DataMember(Name = "OpponentFieldGoalsHadBlocked", Order = 169)] + public int? OpponentFieldGoalsHadBlocked { get; set; } + + /// + /// Punt returns + /// + [Description("Punt returns")] + [DataMember(Name = "OpponentPuntReturns", Order = 170)] + public int? OpponentPuntReturns { get; set; } + + /// + /// Punt return yards + /// + [Description("Punt return yards")] + [DataMember(Name = "OpponentPuntReturnYards", Order = 171)] + public int? OpponentPuntReturnYards { get; set; } + + /// + /// Kickoff returns + /// + [Description("Kickoff returns")] + [DataMember(Name = "OpponentKickReturns", Order = 172)] + public int? OpponentKickReturns { get; set; } + + /// + /// Kickoff return yards + /// + [Description("Kickoff return yards")] + [DataMember(Name = "OpponentKickReturnYards", Order = 173)] + public int? OpponentKickReturnYards { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "OpponentInterceptionReturns", Order = 174)] + public int? OpponentInterceptionReturns { get; set; } + + /// + /// Interception return yards + /// + [Description("Interception return yards")] + [DataMember(Name = "OpponentInterceptionReturnYards", Order = 175)] + public int? OpponentInterceptionReturnYards { get; set; } + + /// + /// Defensive solo tackles + /// + [Description("Defensive solo tackles")] + [DataMember(Name = "SoloTackles", Order = 176)] + public int? SoloTackles { get; set; } + + /// + /// Defensive assisted tackles + /// + [Description("Defensive assisted tackles")] + [DataMember(Name = "AssistedTackles", Order = 177)] + public int? AssistedTackles { get; set; } + + /// + /// Defensive sacks + /// + [Description("Defensive sacks")] + [DataMember(Name = "Sacks", Order = 178)] + public int? Sacks { get; set; } + + /// + /// Defensive sack yards + /// + [Description("Defensive sack yards")] + [DataMember(Name = "SackYards", Order = 179)] + public int? SackYards { get; set; } + + /// + /// Defensive passes defended + /// + [Description("Defensive passes defended")] + [DataMember(Name = "PassesDefended", Order = 180)] + public int? PassesDefended { get; set; } + + /// + /// Defensive fumbles forced + /// + [Description("Defensive fumbles forced")] + [DataMember(Name = "FumblesForced", Order = 181)] + public int? FumblesForced { get; set; } + + /// + /// Fumbles recovered that resulted in change of possession + /// + [Description("Fumbles recovered that resulted in change of possession")] + [DataMember(Name = "FumblesRecovered", Order = 182)] + public int? FumblesRecovered { get; set; } + + /// + /// Fumble return yards + /// + [Description("Fumble return yards")] + [DataMember(Name = "FumbleReturnYards", Order = 183)] + public int? FumbleReturnYards { get; set; } + + /// + /// Fumble return touchdowns + /// + [Description("Fumble return touchdowns")] + [DataMember(Name = "FumbleReturnTouchdowns", Order = 184)] + public int? FumbleReturnTouchdowns { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "InterceptionReturnTouchdowns", Order = 185)] + public int? InterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of opponent's kicks that were blocked + /// + [Description("Total number of opponent's kicks that were blocked")] + [DataMember(Name = "BlockedKicks", Order = 186)] + public int? BlockedKicks { get; set; } + + /// + /// Punt return touchdown + /// + [Description("Punt return touchdown")] + [DataMember(Name = "PuntReturnTouchdowns", Order = 187)] + public int? PuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "PuntReturnLong", Order = 188)] + public int? PuntReturnLong { get; set; } + + /// + /// Kick return touchdown + /// + [Description("Kick return touchdown")] + [DataMember(Name = "KickReturnTouchdowns", Order = 189)] + public int? KickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "KickReturnLong", Order = 190)] + public int? KickReturnLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "BlockedKickReturnYards", Order = 191)] + public int? BlockedKickReturnYards { get; set; } + + /// + /// Blocked kick recovery return touchdowns + /// + [Description("Blocked kick recovery return touchdowns")] + [DataMember(Name = "BlockedKickReturnTouchdowns", Order = 192)] + public int? BlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnYards", Order = 193)] + public int? FieldGoalReturnYards { get; set; } + + /// + /// Field goal return touchdowns (excluding blocked field goals) + /// + [Description("Field goal return touchdowns (excluding blocked field goals)")] + [DataMember(Name = "FieldGoalReturnTouchdowns", Order = 194)] + public int? FieldGoalReturnTouchdowns { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "PuntNetYards", Order = 195)] + public int? PuntNetYards { get; set; } + + /// + /// Defensive solo tackles + /// + [Description("Defensive solo tackles")] + [DataMember(Name = "OpponentSoloTackles", Order = 196)] + public int? OpponentSoloTackles { get; set; } + + /// + /// Defensive assisted tackles + /// + [Description("Defensive assisted tackles")] + [DataMember(Name = "OpponentAssistedTackles", Order = 197)] + public int? OpponentAssistedTackles { get; set; } + + /// + /// Defensive sacks + /// + [Description("Defensive sacks")] + [DataMember(Name = "OpponentSacks", Order = 198)] + public int? OpponentSacks { get; set; } + + /// + /// Defensive sack yards + /// + [Description("Defensive sack yards")] + [DataMember(Name = "OpponentSackYards", Order = 199)] + public int? OpponentSackYards { get; set; } + + /// + /// Defensive passes defended + /// + [Description("Defensive passes defended")] + [DataMember(Name = "OpponentPassesDefended", Order = 200)] + public int? OpponentPassesDefended { get; set; } + + /// + /// Defensive fumbles forced + /// + [Description("Defensive fumbles forced")] + [DataMember(Name = "OpponentFumblesForced", Order = 201)] + public int? OpponentFumblesForced { get; set; } + + /// + /// Fumbles recovered that resulted in change of possession + /// + [Description("Fumbles recovered that resulted in change of possession")] + [DataMember(Name = "OpponentFumblesRecovered", Order = 202)] + public int? OpponentFumblesRecovered { get; set; } + + /// + /// Fumble return yards + /// + [Description("Fumble return yards")] + [DataMember(Name = "OpponentFumbleReturnYards", Order = 203)] + public int? OpponentFumbleReturnYards { get; set; } + + /// + /// Fumble return touchdowns + /// + [Description("Fumble return touchdowns")] + [DataMember(Name = "OpponentFumbleReturnTouchdowns", Order = 204)] + public int? OpponentFumbleReturnTouchdowns { get; set; } + + /// + /// Defensive interceptions + /// + [Description("Defensive interceptions")] + [DataMember(Name = "OpponentInterceptionReturnTouchdowns", Order = 205)] + public int? OpponentInterceptionReturnTouchdowns { get; set; } + + /// + /// Total number of opponent's kicks that were blocked + /// + [Description("Total number of opponent's kicks that were blocked")] + [DataMember(Name = "OpponentBlockedKicks", Order = 206)] + public int? OpponentBlockedKicks { get; set; } + + /// + /// Punt return touchdown + /// + [Description("Punt return touchdown")] + [DataMember(Name = "OpponentPuntReturnTouchdowns", Order = 207)] + public int? OpponentPuntReturnTouchdowns { get; set; } + + /// + /// Longest punt return + /// + [Description("Longest punt return")] + [DataMember(Name = "OpponentPuntReturnLong", Order = 208)] + public int? OpponentPuntReturnLong { get; set; } + + /// + /// Kick return touchdown + /// + [Description("Kick return touchdown")] + [DataMember(Name = "OpponentKickReturnTouchdowns", Order = 209)] + public int? OpponentKickReturnTouchdowns { get; set; } + + /// + /// Longest kick return + /// + [Description("Longest kick return")] + [DataMember(Name = "OpponentKickReturnLong", Order = 210)] + public int? OpponentKickReturnLong { get; set; } + + /// + /// Blocked kick recovery return yards + /// + [Description("Blocked kick recovery return yards")] + [DataMember(Name = "OpponentBlockedKickReturnYards", Order = 211)] + public int? OpponentBlockedKickReturnYards { get; set; } + + /// + /// Blocked kick recovery return touchdowns + /// + [Description("Blocked kick recovery return touchdowns")] + [DataMember(Name = "OpponentBlockedKickReturnTouchdowns", Order = 212)] + public int? OpponentBlockedKickReturnTouchdowns { get; set; } + + /// + /// Field goal return yards (excluding blocked field goals) + /// + [Description("Field goal return yards (excluding blocked field goals)")] + [DataMember(Name = "OpponentFieldGoalReturnYards", Order = 213)] + public int? OpponentFieldGoalReturnYards { get; set; } + + /// + /// Field goal return touchdowns (excluding blocked field goals) + /// + [Description("Field goal return touchdowns (excluding blocked field goals)")] + [DataMember(Name = "OpponentFieldGoalReturnTouchdowns", Order = 214)] + public int? OpponentFieldGoalReturnTouchdowns { get; set; } + + /// + /// Deprecated + /// + [Description("Deprecated")] + [DataMember(Name = "OpponentPuntNetYards", Order = 215)] + public int? OpponentPuntNetYards { get; set; } + + /// + /// The full name of the team (e.g. New England Patriots) + /// + [Description("The full name of the team (e.g. New England Patriots)")] + [DataMember(Name = "TeamName", Order = 216)] + public string TeamName { get; set; } + + /// + /// Total number of regular season games played + /// + [Description("Total number of regular season games played")] + [DataMember(Name = "Games", Order = 217)] + public int? Games { get; set; } + + /// + /// The number of times the offense dropped back to pass + /// + [Description("The number of times the offense dropped back to pass")] + [DataMember(Name = "PassingDropbacks", Order = 218)] + public int? PassingDropbacks { get; set; } + + /// + /// The number of times the opponent dropped back to pass + /// + [Description("The number of times the opponent dropped back to pass")] + [DataMember(Name = "OpponentPassingDropbacks", Order = 219)] + public int? OpponentPassingDropbacks { get; set; } + + /// + /// The unique identifier for this TeamSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and Team. + /// + [Description("The unique identifier for this TeamSeason record (subject to change, although it very rarely does). For a static ID, use a combination of SeasonType, Season and Team.")] + [DataMember(Name = "TeamSeasonID", Order = 220)] + public int TeamSeasonID { get; set; } + + /// + /// Two point conversion returns for two points. + /// + [Description("Two point conversion returns for two points.")] + [DataMember(Name = "TwoPointConversionReturns", Order = 221)] + public int? TwoPointConversionReturns { get; set; } + + /// + /// Opponent's two point conversion returns for two points. + /// + [Description("Opponent's two point conversion returns for two points.")] + [DataMember(Name = "OpponentTwoPointConversionReturns", Order = 222)] + public int? OpponentTwoPointConversionReturns { get; set; } + + /// + /// The unique ID of this team + /// + [Description("The unique ID of this team")] + [DataMember(Name = "TeamID", Order = 223)] + public int? TeamID { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 224)] + public int? GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NFLv3/Timeframe.cs b/FantasyData.Api.Client.NetCore/Model/NFLv3/Timeframe.cs new file mode 100644 index 0000000..26e656d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NFLv3/Timeframe.cs @@ -0,0 +1,139 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NFLv3 +{ + [DataContract(Namespace="", Name="Timeframe")] + [Serializable] + public partial class Timeframe + { + /// + /// The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason) + /// + [Description("The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason)")] + [DataMember(Name = "SeasonType", Order = 1)] + public int SeasonType { get; set; } + + /// + /// The league year of the timeframe (this gets incremented on the first day of the league year during free agency) + /// + [Description("The league year of the timeframe (this gets incremented on the first day of the league year during free agency)")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The week of the timeframe (Regular Season=1 to 17, Preseason=1 to 4, Postseason=1 to4, Offseason=NULL) + /// + [Description("The week of the timeframe (Regular Season=1 to 17, Preseason=1 to 4, Postseason=1 to4, Offseason=NULL)")] + [DataMember(Name = "Week", Order = 3)] + public int? Week { get; set; } + + /// + /// The friendly name of the Timeframe + /// + [Description("The friendly name of the Timeframe")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The shorter name of the Timeframe + /// + [Description("The shorter name of the Timeframe")] + [DataMember(Name = "ShortName", Order = 5)] + public string ShortName { get; set; } + + /// + /// The start date/time of this Timeframe + /// + [Description("The start date/time of this Timeframe")] + [DataMember(Name = "StartDate", Order = 6)] + public DateTime StartDate { get; set; } + + /// + /// The end date/time of the Timeframe + /// + [Description("The end date/time of the Timeframe")] + [DataMember(Name = "EndDate", Order = 7)] + public DateTime EndDate { get; set; } + + /// + /// The start date/time of the first game of the Timeframe (if no games then returns the StartDate) + /// + [Description("The start date/time of the first game of the Timeframe (if no games then returns the StartDate)")] + [DataMember(Name = "FirstGameStart", Order = 8)] + public DateTime? FirstGameStart { get; set; } + + /// + /// The end date/time of the first game of the Timeframe (if no games then returns the EndDate) + /// + [Description("The end date/time of the first game of the Timeframe (if no games then returns the EndDate)")] + [DataMember(Name = "FirstGameEnd", Order = 9)] + public DateTime? FirstGameEnd { get; set; } + + /// + /// The end date/time of the last game of the Timeframe (if no games then returns the EndDate) + /// + [Description("The end date/time of the last game of the Timeframe (if no games then returns the EndDate)")] + [DataMember(Name = "LastGameEnd", Order = 10)] + public DateTime? LastGameEnd { get; set; } + + /// + /// Whether there are any games in this Timeframe + /// + [Description("Whether there are any games in this Timeframe")] + [DataMember(Name = "HasGames", Order = 11)] + public bool HasGames { get; set; } + + /// + /// Whether this Timeframe has started + /// + [Description("Whether this Timeframe has started")] + [DataMember(Name = "HasStarted", Order = 12)] + public bool HasStarted { get; set; } + + /// + /// Whether this Timeframe has ended + /// + [Description("Whether this Timeframe has ended")] + [DataMember(Name = "HasEnded", Order = 13)] + public bool HasEnded { get; set; } + + /// + /// Whether the first game has started + /// + [Description("Whether the first game has started")] + [DataMember(Name = "HasFirstGameStarted", Order = 14)] + public bool HasFirstGameStarted { get; set; } + + /// + /// Whether the first game has ended + /// + [Description("Whether the first game has ended")] + [DataMember(Name = "HasFirstGameEnded", Order = 15)] + public bool HasFirstGameEnded { get; set; } + + /// + /// Whether the last game has ended + /// + [Description("Whether the last game has ended")] + [DataMember(Name = "HasLastGameEnded", Order = 16)] + public bool HasLastGameEnded { get; set; } + + /// + /// The value of the Season parameter used to pass into the API. + /// + [Description("The value of the Season parameter used to pass into the API.")] + [DataMember(Name = "ApiSeason", Order = 17)] + public string ApiSeason { get; set; } + + /// + /// The value of the Week parameter used to pass into the API. + /// + [Description("The value of the Week parameter used to pass into the API.")] + [DataMember(Name = "ApiWeek", Order = 18)] + public string ApiWeek { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/BoxScore.cs b/FantasyData.Api.Client.NetCore/Model/NHL/BoxScore.cs new file mode 100644 index 0000000..c90b3d2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/BoxScore.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="BoxScore")] + [Serializable] + public partial class BoxScore + { + /// + /// The details of the game associated with this box score + /// + [Description("The details of the game associated with this box score")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The details of the periods associated with this box score + /// + [Description("The details of the periods associated with this box score")] + [DataMember(Name = "Periods", Order = 20002)] + public Period[] Periods { get; set; } + + /// + /// The team game stats associated with this box score + /// + [Description("The team game stats associated with this box score")] + [DataMember(Name = "TeamGames", Order = 20003)] + public TeamGame[] TeamGames { get; set; } + + /// + /// The player game stats associated with this box score + /// + [Description("The player game stats associated with this box score")] + [DataMember(Name = "PlayerGames", Order = 20004)] + public PlayerGame[] PlayerGames { get; set; } + + /// + /// The details of any shootout plays associated with this box score + /// + [Description("The details of any shootout plays associated with this box score")] + [DataMember(Name = "ShootoutPlays", Order = 20005)] + public Play[] ShootoutPlays { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/DfsSlate.cs b/FantasyData.Api.Client.NetCore/Model/NHL/DfsSlate.cs new file mode 100644 index 0000000..e0df0fb --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/DfsSlate.cs @@ -0,0 +1,111 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="DfsSlate")] + [Serializable] + public partial class DfsSlate + { + /// + /// Unique ID of a Slate (assigned by FantasyData). + /// + [Description("Unique ID of a Slate (assigned by FantasyData).")] + [DataMember(Name = "SlateID", Order = 1)] + public int SlateID { get; set; } + + /// + /// The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc. + /// + [Description("The name of the operator who is running contests for this slate. Possible values: FanDuel, DraftKings, Yahoo, FantasyDraft, etc.")] + [DataMember(Name = "Operator", Order = 2)] + public string Operator { get; set; } + + /// + /// Unique ID of a slate (assigned by the operator). + /// + [Description("Unique ID of a slate (assigned by the operator).")] + [DataMember(Name = "OperatorSlateID", Order = 3)] + public int? OperatorSlateID { get; set; } + + /// + /// The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc. + /// + [Description("The name of the slate (assigned by the operator). Possible values: Main, Express, Arcade, Late Night, etc.")] + [DataMember(Name = "OperatorName", Order = 4)] + public string OperatorName { get; set; } + + /// + /// The day (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The day (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorDay", Order = 5)] + public DateTime? OperatorDay { get; set; } + + /// + /// The date/time (in EST/EDT) that the slate begins (assigned by the operator). + /// + [Description("The date/time (in EST/EDT) that the slate begins (assigned by the operator).")] + [DataMember(Name = "OperatorStartTime", Order = 6)] + public DateTime? OperatorStartTime { get; set; } + + /// + /// The number of actual games that this slate covers. + /// + [Description("The number of actual games that this slate covers.")] + [DataMember(Name = "NumberOfGames", Order = 7)] + public int? NumberOfGames { get; set; } + + /// + /// Whether this slate uses games that take place on different days. + /// + [Description("Whether this slate uses games that take place on different days.")] + [DataMember(Name = "IsMultiDaySlate", Order = 8)] + public bool? IsMultiDaySlate { get; set; } + + /// + /// Indicates whether this slate was removed/deleted by the operator. + /// + [Description("Indicates whether this slate was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 9)] + public bool? RemovedByOperator { get; set; } + + /// + /// The game type of the slate. Will often be null as most operators only have one game type. + /// + [Description("The game type of the slate. Will often be null as most operators only have one game type.")] + [DataMember(Name = "OperatorGameType", Order = 10)] + public string OperatorGameType { get; set; } + + /// + /// The games that are included in this slate + /// + [Description("The games that are included in this slate")] + [DataMember(Name = "DfsSlateGames", Order = 20011)] + public DfsSlateGame[] DfsSlateGames { get; set; } + + /// + /// The players that are included in this slate + /// + [Description("The players that are included in this slate")] + [DataMember(Name = "DfsSlatePlayers", Order = 20012)] + public DfsSlatePlayer[] DfsSlatePlayers { get; set; } + + /// + /// The positions that need to be filled for this particular slate + /// + [Description("The positions that need to be filled for this particular slate")] + [DataMember(Name = "SlateRosterSlots", Order = 10013)] + public string[] SlateRosterSlots { get; set; } + + /// + /// The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes) + /// + [Description("The salary cap for the current slate (is null for slates with no salary cap such a Tiers gametypes)")] + [DataMember(Name = "SalaryCap", Order = 14)] + public int? SalaryCap { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/DfsSlateGame.cs b/FantasyData.Api.Client.NetCore/Model/NHL/DfsSlateGame.cs new file mode 100644 index 0000000..038d244 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/DfsSlateGame.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="DfsSlateGame")] + [Serializable] + public partial class DfsSlateGame + { + /// + /// Unique ID of a SlateGame (assigned by FantasyData). + /// + [Description("Unique ID of a SlateGame (assigned by FantasyData).")] + [DataMember(Name = "SlateGameID", Order = 1)] + public int SlateGameID { get; set; } + + /// + /// The SlateID that this SlateGame refers to. + /// + [Description("The SlateID that this SlateGame refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds. + /// + [Description("The FantasyData GameID that this SlateGame refers to. This points to data in the respective sports' schedule/game/box score feeds.")] + [DataMember(Name = "GameID", Order = 3)] + public int? GameID { get; set; } + + /// + /// The details of the Game that this SlateGame refers to. + /// + [Description("The details of the Game that this SlateGame refers to.")] + [DataMember(Name = "Game", Order = 10004)] + public Game Game { get; set; } + + /// + /// Unique ID of a SlateGame (assigned by the operator). + /// + [Description("Unique ID of a SlateGame (assigned by the operator).")] + [DataMember(Name = "OperatorGameID", Order = 5)] + public int? OperatorGameID { get; set; } + + /// + /// Indicates whether this player was removed/deleted by the operator. + /// + [Description("Indicates whether this player was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 6)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/DfsSlatePlayer.cs b/FantasyData.Api.Client.NetCore/Model/NHL/DfsSlatePlayer.cs new file mode 100644 index 0000000..d842484 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/DfsSlatePlayer.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="DfsSlatePlayer")] + [Serializable] + public partial class DfsSlatePlayer + { + /// + /// Unique ID of a SlatePlayer (assigned by FantasyData). + /// + [Description("Unique ID of a SlatePlayer (assigned by FantasyData).")] + [DataMember(Name = "SlatePlayerID", Order = 1)] + public int SlatePlayerID { get; set; } + + /// + /// The SlateID that this SlatePlayer refers to. + /// + [Description("The SlateID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateID", Order = 2)] + public int SlateID { get; set; } + + /// + /// The SlateGameID that this SlatePlayer refers to. + /// + [Description("The SlateGameID that this SlatePlayer refers to.")] + [DataMember(Name = "SlateGameID", Order = 3)] + public int? SlateGameID { get; set; } + + /// + /// The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds. + /// + [Description("The FantasyData PlayerID that this SlatePlayer refers to. This points to data in the respective sports' player feeds.")] + [DataMember(Name = "PlayerID", Order = 4)] + public int? PlayerID { get; set; } + + /// + /// The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds. + /// + [Description("The FantasyData StatID that this SlatePlayer refers to. This points to data in the respective sports' projected player game stats feeds.")] + [DataMember(Name = "PlayerGameProjectionStatID", Order = 5)] + public int? PlayerGameProjectionStatID { get; set; } + + /// + /// Unique ID of the Player (assigned by the operator). + /// + [Description("Unique ID of the Player (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerID", Order = 6)] + public string OperatorPlayerID { get; set; } + + /// + /// Unique ID of the SlatePlayer (assigned by the operator). + /// + [Description("Unique ID of the SlatePlayer (assigned by the operator).")] + [DataMember(Name = "OperatorSlatePlayerID", Order = 7)] + public string OperatorSlatePlayerID { get; set; } + + /// + /// The player's name (assigned by the operator). + /// + [Description("The player's name (assigned by the operator).")] + [DataMember(Name = "OperatorPlayerName", Order = 8)] + public string OperatorPlayerName { get; set; } + + /// + /// The player's eligible positions for the contest (assigned by the operator). + /// + [Description("The player's eligible positions for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorPosition", Order = 9)] + public string OperatorPosition { get; set; } + + /// + /// The player's salary for the contest (assigned by the operator). + /// + [Description("The player's salary for the contest (assigned by the operator).")] + [DataMember(Name = "OperatorSalary", Order = 10)] + public int? OperatorSalary { get; set; } + + /// + /// The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible. + /// + [Description("The player's eligible positions to be played in the contest (assigned by the operator). This would include UTIL, etc plays for those that are eligible.")] + [DataMember(Name = "OperatorRosterSlots", Order = 10011)] + public string[] OperatorRosterSlots { get; set; } + + /// + /// Indicates whether this player was removed/deleted by the operator. + /// + [Description("Indicates whether this player was removed/deleted by the operator.")] + [DataMember(Name = "RemovedByOperator", Order = 12)] + public bool? RemovedByOperator { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Game.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Game.cs new file mode 100644 index 0000000..30cf0cd --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Game.cs @@ -0,0 +1,251 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int GameID { get; set; } + + /// + /// The NHL season of the game + /// + [Description("The NHL season of the game")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/SO, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/SO, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 4)] + public string Status { get; set; } + + /// + /// The date of the game + /// + [Description("The date of the game")] + [DataMember(Name = "Day", Order = 5)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime? DateTime { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 7)] + public DateTime? Updated { get; set; } + + /// + /// Indicates whether the game is over and the final score has been verified and closed out. + /// + [Description("Indicates whether the game is over and the final score has been verified and closed out.")] + [DataMember(Name = "IsClosed", Order = 8)] + public bool? IsClosed { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 9)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 10)] + public string HomeTeam { get; set; } + + /// + /// The unique ID of the away team + /// + [Description("The unique ID of the away team")] + [DataMember(Name = "AwayTeamID", Order = 11)] + public int AwayTeamID { get; set; } + + /// + /// The unique ID of the home team + /// + [Description("The unique ID of the home team")] + [DataMember(Name = "HomeTeamID", Order = 12)] + public int HomeTeamID { get; set; } + + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 13)] + public int? StadiumID { get; set; } + + /// + /// The television station broadcasting the game + /// + [Description("The television station broadcasting the game")] + [DataMember(Name = "Channel", Order = 14)] + public string Channel { get; set; } + + /// + /// Total number of people who attended the game + /// + [Description("Total number of people who attended the game")] + [DataMember(Name = "Attendance", Order = 15)] + public int? Attendance { get; set; } + + /// + /// Number of goals the away team scored in this game + /// + [Description("Number of goals the away team scored in this game")] + [DataMember(Name = "AwayTeamScore", Order = 16)] + public int? AwayTeamScore { get; set; } + + /// + /// Number of goals the home team scored in this game + /// + [Description("Number of goals the home team scored in this game")] + [DataMember(Name = "HomeTeamScore", Order = 17)] + public int? HomeTeamScore { get; set; } + + /// + /// Indicated the current period of the game. Possible values include: 1, 2, 3, OT, SO, Final, F/OT, F/SO, NULL + /// + [Description("Indicated the current period of the game. Possible values include: 1, 2, 3, OT, SO, Final, F/OT, F/SO, NULL")] + [DataMember(Name = "Period", Order = 18)] + public string Period { get; set; } + + /// + /// Number of minutes that have passed in the current period. Please note this field name is misleading, and actually represents the game clock minutes, which are the number of minutes that have already passed in the period. Possible values: 0-20. + /// + [Description("Number of minutes that have passed in the current period. Please note this field name is misleading, and actually represents the game clock minutes, which are the number of minutes that have already passed in the period. Possible values: 0-20.")] + [DataMember(Name = "TimeRemainingMinutes", Order = 19)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// Number of seconds that have passed in the current period. Please note this field name is misleading, and actually represents the game clock seconds, which are the number of seconds that have already passed in the period. Possible values: 0-60. + /// + [Description("Number of seconds that have passed in the current period. Please note this field name is misleading, and actually represents the game clock seconds, which are the number of seconds that have already passed in the period. Possible values: 0-60.")] + [DataMember(Name = "TimeRemainingSeconds", Order = 20)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// Money line from the perspective of the away team. + /// + [Description("Money line from the perspective of the away team.")] + [DataMember(Name = "AwayTeamMoneyLine", Order = 21)] + public int? AwayTeamMoneyLine { get; set; } + + /// + /// Money line from the perspective of the home team. + /// + [Description("Money line from the perspective of the home team.")] + [DataMember(Name = "HomeTeamMoneyLine", Order = 22)] + public int? HomeTeamMoneyLine { get; set; } + + /// + /// The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored) + /// + [Description("The oddsmaker Point Spread at game start from the perspective of the HomeTeam (negative numbers indicate the HomeTeam is favored, positive numbers indicate the AwayTeam is favored)")] + [DataMember(Name = "PointSpread", Order = 23)] + public decimal? PointSpread { get; set; } + + /// + /// The oddsmaker Over/Under at game start + /// + [Description("The oddsmaker Over/Under at game start")] + [DataMember(Name = "OverUnder", Order = 24)] + public decimal? OverUnder { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 25)] + public int GlobalGameID { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamID", Order = 26)] + public int GlobalAwayTeamID { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamID", Order = 27)] + public int GlobalHomeTeamID { get; set; } + + /// + /// The money line payout odds when betting on the away team with the point spread + /// + [Description("The money line payout odds when betting on the away team with the point spread")] + [DataMember(Name = "PointSpreadAwayTeamMoneyLine", Order = 28)] + public int? PointSpreadAwayTeamMoneyLine { get; set; } + + /// + /// The money line payout odds when betting on the home team with the point spread + /// + [Description("The money line payout odds when betting on the home team with the point spread")] + [DataMember(Name = "PointSpreadHomeTeamMoneyLine", Order = 29)] + public int? PointSpreadHomeTeamMoneyLine { get; set; } + + /// + /// The description of the most recent play/event of the game. This is for display purposes and does not include corresponding data points. + /// + [Description("The description of the most recent play/event of the game. This is for display purposes and does not include corresponding data points.")] + [DataMember(Name = "LastPlay", Order = 30)] + public string LastPlay { get; set; } + + /// + /// The details of the periods (including overtime if applicable) for this game. + /// + [Description("The details of the periods (including overtime if applicable) for this game.")] + [DataMember(Name = "Periods", Order = 20031)] + public Period[] Periods { get; set; } + + /// + /// The date and time that the game ended in US Eastern Time + /// + [Description("The date and time that the game ended in US Eastern Time")] + [DataMember(Name = "GameEndDateTime", Order = 32)] + public DateTime? GameEndDateTime { get; set; } + + /// + /// The rotation number of the home team for this game + /// + [Description("The rotation number of the home team for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 33)] + public int? HomeRotationNumber { get; set; } + + /// + /// The rotation number of the away team for this game + /// + [Description("The rotation number of the away team for this game")] + [DataMember(Name = "AwayRotationNumber", Order = 34)] + public int? AwayRotationNumber { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/GameInfo.cs b/FantasyData.Api.Client.NetCore/Model/NHL/GameInfo.cs new file mode 100644 index 0000000..91e30b5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/GameInfo.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="GameInfo")] + [Serializable] + public partial class GameInfo + { + /// + /// The unique ID of the game. + /// + [Description("The unique ID of the game.")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The calendar year of the season during which this game occurs. + /// + [Description("The calendar year of the season during which this game occurs.")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC. + /// + [Description("The day that the game is scheduled to be played in UTC.")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC. + /// + [Description("The date/time that the game is scheduled to be played in UTC.")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 6)] + public string Status { get; set; } + + /// + /// The TeamId of the away team. + /// + [Description("The TeamId of the away team.")] + [DataMember(Name = "AwayTeamId", Order = 7)] + public int? AwayTeamId { get; set; } + + /// + /// The TeamId of the home team. + /// + [Description("The TeamId of the home team.")] + [DataMember(Name = "HomeTeamId", Order = 8)] + public int? HomeTeamId { get; set; } + + /// + /// The name of the away team. + /// + [Description("The name of the away team.")] + [DataMember(Name = "AwayTeamName", Order = 9)] + public string AwayTeamName { get; set; } + + /// + /// The name of the home team. + /// + [Description("The name of the home team.")] + [DataMember(Name = "HomeTeamName", Order = 10)] + public string HomeTeamName { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 11)] + public int GlobalGameId { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamId", Order = 12)] + public int? GlobalAwayTeamId { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamId", Order = 13)] + public int? GlobalHomeTeamId { get; set; } + + /// + /// List of Pregame GameOdds from different sportsbooks + /// + [Description("List of Pregame GameOdds from different sportsbooks")] + [DataMember(Name = "PregameOdds", Order = 20014)] + public GameOdd[] PregameOdds { get; set; } + + /// + /// List of Live GameOdds from different sportsbooks + /// + [Description("List of Live GameOdds from different sportsbooks")] + [DataMember(Name = "LiveOdds", Order = 20015)] + public GameOdd[] LiveOdds { get; set; } + + /// + /// Score of the home team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the home team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "HomeTeamScore", Order = 16)] + public int? HomeTeamScore { get; set; } + + /// + /// Score of the away team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the away team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "AwayTeamScore", Order = 17)] + public int? AwayTeamScore { get; set; } + + /// + /// Total scored points in the game (updated after game ends to allow for resolving bets) + /// + [Description("Total scored points in the game (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "TotalScore", Order = 18)] + public int? TotalScore { get; set; } + + /// + /// The rotation number of the home team for this game + /// + [Description("The rotation number of the home team for this game")] + [DataMember(Name = "HomeRotationNumber", Order = 19)] + public int? HomeRotationNumber { get; set; } + + /// + /// The rotation number of the away team for this game + /// + [Description("The rotation number of the away team for this game")] + [DataMember(Name = "AwayRotationNumber", Order = 20)] + public int? AwayRotationNumber { get; set; } + + /// + /// List of Alternate Market Pregame GameOdds from different sportsbooks (ex 1st-pd, 2nd-pd, etc) + /// + [Description("List of Alternate Market Pregame GameOdds from different sportsbooks (ex 1st-pd, 2nd-pd, etc)")] + [DataMember(Name = "AlternateMarketPregameOdds", Order = 20021)] + public GameOdd[] AlternateMarketPregameOdds { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/GameOdd.cs b/FantasyData.Api.Client.NetCore/Model/NHL/GameOdd.cs new file mode 100644 index 0000000..9396f5f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/GameOdd.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="GameOdd")] + [Serializable] + public partial class GameOdd + { + /// + /// Unique ID of this odd + /// + [Description("Unique ID of this odd")] + [DataMember(Name = "GameOddId", Order = 1)] + public int GameOddId { get; set; } + + /// + /// Name of sportsbook + /// + [Description("Name of sportsbook")] + [DataMember(Name = "Sportsbook", Order = 2)] + public string Sportsbook { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 3)] + public int GameId { get; set; } + + /// + /// The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT). + /// + [Description("The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT).")] + [DataMember(Name = "Created", Order = 4)] + public DateTime Created { get; set; } + + /// + /// The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook. + /// + [Description("The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook.")] + [DataMember(Name = "Updated", Order = 5)] + public DateTime Updated { get; set; } + + /// + /// The sportsbook's money line for the home team + /// + [Description("The sportsbook's money line for the home team")] + [DataMember(Name = "HomeMoneyLine", Order = 6)] + public int? HomeMoneyLine { get; set; } + + /// + /// The sportsbook's money line for the away team + /// + [Description("The sportsbook's money line for the away team")] + [DataMember(Name = "AwayMoneyLine", Order = 7)] + public int? AwayMoneyLine { get; set; } + + /// + /// The sportsbook's point spread for the home team + /// + [Description("The sportsbook's point spread for the home team")] + [DataMember(Name = "HomePointSpread", Order = 8)] + public decimal? HomePointSpread { get; set; } + + /// + /// The sportsbook's point spread for the away team + /// + [Description("The sportsbook's point spread for the away team")] + [DataMember(Name = "AwayPointSpread", Order = 9)] + public decimal? AwayPointSpread { get; set; } + + /// + /// The sportsbook's point spread payout for the home team + /// + [Description("The sportsbook's point spread payout for the home team")] + [DataMember(Name = "HomePointSpreadPayout", Order = 10)] + public int? HomePointSpreadPayout { get; set; } + + /// + /// The sportsbook's point spread payout for the away team + /// + [Description("The sportsbook's point spread payout for the away team")] + [DataMember(Name = "AwayPointSpreadPayout", Order = 11)] + public int? AwayPointSpreadPayout { get; set; } + + /// + /// The sportsbook's total points scored over under for the game + /// + [Description("The sportsbook's total points scored over under for the game")] + [DataMember(Name = "OverUnder", Order = 12)] + public decimal? OverUnder { get; set; } + + /// + /// The sportsbook's payout for the over + /// + [Description("The sportsbook's payout for the over")] + [DataMember(Name = "OverPayout", Order = 13)] + public int? OverPayout { get; set; } + + /// + /// The sportsbook's payout for the under + /// + [Description("The sportsbook's payout for the under")] + [DataMember(Name = "UnderPayout", Order = 14)] + public int? UnderPayout { get; set; } + + /// + /// Unique ID of the sportsbook + /// + [Description("Unique ID of the sportsbook")] + [DataMember(Name = "SportsbookId", Order = 15)] + public int? SportsbookId { get; set; } + + /// + /// The market type of the odd (ex: live, pregame, 1st-pd, etc) + /// + [Description("The market type of the odd (ex: live, pregame, 1st-pd, etc)")] + [DataMember(Name = "OddType", Order = 16)] + public string OddType { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/GameStat.cs b/FantasyData.Api.Client.NetCore/Model/NHL/GameStat.cs new file mode 100644 index 0000000..d47c37d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/GameStat.cs @@ -0,0 +1,349 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="GameStat")] + [Serializable] + public partial class GameStat + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 2)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 3)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 6)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 7)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 8)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 9)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 11)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 13)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 14)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 15)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 16)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 17)] + public int? Seconds { get; set; } + + /// + /// Total number of goals scored + /// + [Description("Total number of goals scored")] + [DataMember(Name = "Goals", Order = 18)] + public decimal? Goals { get; set; } + + /// + /// Total number of assists + /// + [Description("Total number of assists")] + [DataMember(Name = "Assists", Order = 19)] + public decimal? Assists { get; set; } + + /// + /// Total number of shots on goal + /// + [Description("Total number of shots on goal")] + [DataMember(Name = "ShotsOnGoal", Order = 20)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total number of power play goals + /// + [Description("Total number of power play goals")] + [DataMember(Name = "PowerPlayGoals", Order = 21)] + public decimal? PowerPlayGoals { get; set; } + + /// + /// Total number of short handed goals + /// + [Description("Total number of short handed goals")] + [DataMember(Name = "ShortHandedGoals", Order = 22)] + public decimal? ShortHandedGoals { get; set; } + + /// + /// Total number of empty net goals + /// + [Description("Total number of empty net goals")] + [DataMember(Name = "EmptyNetGoals", Order = 23)] + public decimal? EmptyNetGoals { get; set; } + + /// + /// Total number of power play assists + /// + [Description("Total number of power play assists")] + [DataMember(Name = "PowerPlayAssists", Order = 24)] + public decimal? PowerPlayAssists { get; set; } + + /// + /// Total number of short handed assists + /// + [Description("Total number of short handed assists")] + [DataMember(Name = "ShortHandedAssists", Order = 25)] + public decimal? ShortHandedAssists { get; set; } + + /// + /// Total number of hat tricks + /// + [Description("Total number of hat tricks")] + [DataMember(Name = "HatTricks", Order = 26)] + public decimal? HatTricks { get; set; } + + /// + /// Total number of shootout goals + /// + [Description("Total number of shootout goals")] + [DataMember(Name = "ShootoutGoals", Order = 27)] + public decimal? ShootoutGoals { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 28)] + public decimal? PlusMinus { get; set; } + + /// + /// Total pentalty minutes + /// + [Description("Total pentalty minutes")] + [DataMember(Name = "PenaltyMinutes", Order = 29)] + public decimal? PenaltyMinutes { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "Blocks", Order = 30)] + public decimal? Blocks { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 31)] + public decimal? Hits { get; set; } + + /// + /// Total takeaways + /// + [Description("Total takeaways")] + [DataMember(Name = "Takeaways", Order = 32)] + public decimal? Takeaways { get; set; } + + /// + /// Total giveaways + /// + [Description("Total giveaways")] + [DataMember(Name = "Giveaways", Order = 33)] + public decimal? Giveaways { get; set; } + + /// + /// Total faceoffs won + /// + [Description("Total faceoffs won")] + [DataMember(Name = "FaceoffsWon", Order = 34)] + public decimal? FaceoffsWon { get; set; } + + /// + /// Total faceoffs lost + /// + [Description("Total faceoffs lost")] + [DataMember(Name = "FaceoffsLost", Order = 35)] + public decimal? FaceoffsLost { get; set; } + + /// + /// Total shifts + /// + [Description("Total shifts")] + [DataMember(Name = "Shifts", Order = 36)] + public decimal? Shifts { get; set; } + + /// + /// Total goaltending minutes + /// + [Description("Total goaltending minutes")] + [DataMember(Name = "GoaltendingMinutes", Order = 37)] + public int? GoaltendingMinutes { get; set; } + + /// + /// Total goaltending seconds + /// + [Description("Total goaltending seconds")] + [DataMember(Name = "GoaltendingSeconds", Order = 38)] + public int? GoaltendingSeconds { get; set; } + + /// + /// Total goaltending shots against + /// + [Description("Total goaltending shots against")] + [DataMember(Name = "GoaltendingShotsAgainst", Order = 39)] + public decimal? GoaltendingShotsAgainst { get; set; } + + /// + /// Total goaltending goals against + /// + [Description("Total goaltending goals against")] + [DataMember(Name = "GoaltendingGoalsAgainst", Order = 40)] + public decimal? GoaltendingGoalsAgainst { get; set; } + + /// + /// Total goaltending saves + /// + [Description("Total goaltending saves")] + [DataMember(Name = "GoaltendingSaves", Order = 41)] + public decimal? GoaltendingSaves { get; set; } + + /// + /// Total goaltending wins + /// + [Description("Total goaltending wins")] + [DataMember(Name = "GoaltendingWins", Order = 42)] + public decimal? GoaltendingWins { get; set; } + + /// + /// Total goaltendings losses + /// + [Description("Total goaltendings losses")] + [DataMember(Name = "GoaltendingLosses", Order = 43)] + public decimal? GoaltendingLosses { get; set; } + + /// + /// Total goaltendings shutouts + /// + [Description("Total goaltendings shutouts")] + [DataMember(Name = "GoaltendingShutouts", Order = 44)] + public decimal? GoaltendingShutouts { get; set; } + + /// + /// Total games started + /// + [Description("Total games started")] + [DataMember(Name = "Started", Order = 45)] + public int? Started { get; set; } + + /// + /// Total bench pentalty minutes + /// + [Description("Total bench pentalty minutes")] + [DataMember(Name = "BenchPenaltyMinutes", Order = 46)] + public decimal? BenchPenaltyMinutes { get; set; } + + /// + /// Total goaltending overtime losses + /// + [Description("Total goaltending overtime losses")] + [DataMember(Name = "GoaltendingOvertimeLosses", Order = 47)] + public decimal? GoaltendingOvertimeLosses { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 48)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Headshot.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Headshot.cs new file mode 100644 index 0000000..9b1827c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Headshot.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Headshot")] + [Serializable] + public partial class Headshot + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Name of Player. + /// + [Description("Name of Player.")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// Unique ID of the Team the player belongs to (assigned by FantasyData). + /// + [Description("Unique ID of the Team the player belongs to (assigned by FantasyData).")] + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + /// + /// Name of the team the player belongs to. + /// + [Description("Name of the team the player belongs to.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Position player plays. + /// + [Description("Position player plays.")] + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + /// + /// The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available. + /// + [Description("The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available.")] + [DataMember(Name = "PreferredHostedHeadshotUrl", Order = 6)] + public string PreferredHostedHeadshotUrl { get; set; } + + /// + /// The last updated date of the player's preferred hosted headshot. + /// + [Description("The last updated date of the player's preferred hosted headshot.")] + [DataMember(Name = "PreferredHostedHeadshotUpdated", Order = 7)] + public DateTime? PreferredHostedHeadshotUpdated { get; set; } + + /// + /// The player's hosted headshot URL. + /// + [Description("The player's hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUrl", Order = 8)] + public string HostedHeadshotWithBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's hosted headshot. + /// + [Description("The last updated date of the player's hosted headshot.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUpdated", Order = 9)] + public DateTime? HostedHeadshotWithBackgroundUpdated { get; set; } + + /// + /// The player's transparent background hosted headshot URL. + /// + [Description("The player's transparent background hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUrl", Order = 10)] + public string HostedHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's transparent background hosted headshot. + /// + [Description("The last updated date of the player's transparent background hosted headshot.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUpdated", Order = 11)] + public DateTime? HostedHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/News.cs b/FantasyData.Api.Client.NetCore/Model/NHL/News.cs new file mode 100644 index 0000000..8983128 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/News.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="News")] + [Serializable] + public partial class News + { + /// + /// Unique ID of news story + /// + [Description("Unique ID of news story")] + [DataMember(Name = "NewsID", Order = 1)] + public int NewsID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 2)] + public int? PlayerID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// The brief title of the news (typically less than 100 characters) + /// + [Description("The brief title of the news (typically less than 100 characters)")] + [DataMember(Name = "Title", Order = 5)] + public string Title { get; set; } + + /// + /// The full body content of the story + /// + [Description("The full body content of the story")] + [DataMember(Name = "Content", Order = 6)] + public string Content { get; set; } + + /// + /// The url of the full story + /// + [Description("The url of the full story")] + [DataMember(Name = "Url", Order = 7)] + public string Url { get; set; } + + /// + /// The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.) + /// + [Description("The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.)")] + [DataMember(Name = "Source", Order = 8)] + public string Source { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 9)] + public string TermsOfUse { get; set; } + + /// + /// The date the news story was updated + /// + [Description("The date the news story was updated")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/OpponentSeason.cs b/FantasyData.Api.Client.NetCore/Model/NHL/OpponentSeason.cs new file mode 100644 index 0000000..61dc8c2 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/OpponentSeason.cs @@ -0,0 +1,370 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="OpponentSeason")] + [Serializable] + public partial class OpponentSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The NHL regular season for which these totals apply + /// + [Description("The NHL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team name + /// + [Description("Team name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// Total number of wins + /// + [Description("Total number of wins")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// Total number of losses + /// + [Description("Total number of losses")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// Total number of overtime losses + /// + [Description("Total number of overtime losses")] + [DataMember(Name = "OvertimeLosses", Order = 9)] + public int? OvertimeLosses { get; set; } + + /// + /// Indicates which position is included in opponent stats that are aggregated together + /// + [Description("Indicates which position is included in opponent stats that are aggregated together")] + [DataMember(Name = "OpponentPosition", Order = 10)] + public string OpponentPosition { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 11)] + public int? GlobalTeamID { get; set; } + + /// + /// The aggregated season stats for this team's opponents + /// + [Description("The aggregated season stats for this team's opponents")] + [DataMember(Name = "OpponentStat", Order = 10012)] + public OpponentSeason OpponentStat { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 13)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 14)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 15)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 16)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 17)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 18)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 19)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 20)] + public int? Seconds { get; set; } + + /// + /// Total number of goals scored + /// + [Description("Total number of goals scored")] + [DataMember(Name = "Goals", Order = 21)] + public decimal? Goals { get; set; } + + /// + /// Total number of assists + /// + [Description("Total number of assists")] + [DataMember(Name = "Assists", Order = 22)] + public decimal? Assists { get; set; } + + /// + /// Total number of shots on goal + /// + [Description("Total number of shots on goal")] + [DataMember(Name = "ShotsOnGoal", Order = 23)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total number of power play goals + /// + [Description("Total number of power play goals")] + [DataMember(Name = "PowerPlayGoals", Order = 24)] + public decimal? PowerPlayGoals { get; set; } + + /// + /// Total number of short handed goals + /// + [Description("Total number of short handed goals")] + [DataMember(Name = "ShortHandedGoals", Order = 25)] + public decimal? ShortHandedGoals { get; set; } + + /// + /// Total number of empty net goals + /// + [Description("Total number of empty net goals")] + [DataMember(Name = "EmptyNetGoals", Order = 26)] + public decimal? EmptyNetGoals { get; set; } + + /// + /// Total number of power play assists + /// + [Description("Total number of power play assists")] + [DataMember(Name = "PowerPlayAssists", Order = 27)] + public decimal? PowerPlayAssists { get; set; } + + /// + /// Total number of short handed assists + /// + [Description("Total number of short handed assists")] + [DataMember(Name = "ShortHandedAssists", Order = 28)] + public decimal? ShortHandedAssists { get; set; } + + /// + /// Total number of hat tricks + /// + [Description("Total number of hat tricks")] + [DataMember(Name = "HatTricks", Order = 29)] + public decimal? HatTricks { get; set; } + + /// + /// Total number of shootout goals + /// + [Description("Total number of shootout goals")] + [DataMember(Name = "ShootoutGoals", Order = 30)] + public decimal? ShootoutGoals { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 31)] + public decimal? PlusMinus { get; set; } + + /// + /// Total pentalty minutes + /// + [Description("Total pentalty minutes")] + [DataMember(Name = "PenaltyMinutes", Order = 32)] + public decimal? PenaltyMinutes { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "Blocks", Order = 33)] + public decimal? Blocks { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 34)] + public decimal? Hits { get; set; } + + /// + /// Total takeaways + /// + [Description("Total takeaways")] + [DataMember(Name = "Takeaways", Order = 35)] + public decimal? Takeaways { get; set; } + + /// + /// Total giveaways + /// + [Description("Total giveaways")] + [DataMember(Name = "Giveaways", Order = 36)] + public decimal? Giveaways { get; set; } + + /// + /// Total faceoffs won + /// + [Description("Total faceoffs won")] + [DataMember(Name = "FaceoffsWon", Order = 37)] + public decimal? FaceoffsWon { get; set; } + + /// + /// Total faceoffs lost + /// + [Description("Total faceoffs lost")] + [DataMember(Name = "FaceoffsLost", Order = 38)] + public decimal? FaceoffsLost { get; set; } + + /// + /// Total shifts + /// + [Description("Total shifts")] + [DataMember(Name = "Shifts", Order = 39)] + public decimal? Shifts { get; set; } + + /// + /// Total goaltending minutes + /// + [Description("Total goaltending minutes")] + [DataMember(Name = "GoaltendingMinutes", Order = 40)] + public int? GoaltendingMinutes { get; set; } + + /// + /// Total goaltending seconds + /// + [Description("Total goaltending seconds")] + [DataMember(Name = "GoaltendingSeconds", Order = 41)] + public int? GoaltendingSeconds { get; set; } + + /// + /// Total goaltending shots against + /// + [Description("Total goaltending shots against")] + [DataMember(Name = "GoaltendingShotsAgainst", Order = 42)] + public decimal? GoaltendingShotsAgainst { get; set; } + + /// + /// Total goaltending goals against + /// + [Description("Total goaltending goals against")] + [DataMember(Name = "GoaltendingGoalsAgainst", Order = 43)] + public decimal? GoaltendingGoalsAgainst { get; set; } + + /// + /// Total goaltending saves + /// + [Description("Total goaltending saves")] + [DataMember(Name = "GoaltendingSaves", Order = 44)] + public decimal? GoaltendingSaves { get; set; } + + /// + /// Total goaltending wins + /// + [Description("Total goaltending wins")] + [DataMember(Name = "GoaltendingWins", Order = 45)] + public decimal? GoaltendingWins { get; set; } + + /// + /// Total goaltendings losses + /// + [Description("Total goaltendings losses")] + [DataMember(Name = "GoaltendingLosses", Order = 46)] + public decimal? GoaltendingLosses { get; set; } + + /// + /// Total goaltendings shutouts + /// + [Description("Total goaltendings shutouts")] + [DataMember(Name = "GoaltendingShutouts", Order = 47)] + public decimal? GoaltendingShutouts { get; set; } + + /// + /// Total games started + /// + [Description("Total games started")] + [DataMember(Name = "Started", Order = 48)] + public int? Started { get; set; } + + /// + /// Total bench pentalty minutes + /// + [Description("Total bench pentalty minutes")] + [DataMember(Name = "BenchPenaltyMinutes", Order = 49)] + public decimal? BenchPenaltyMinutes { get; set; } + + /// + /// Total goaltending overtime losses + /// + [Description("Total goaltending overtime losses")] + [DataMember(Name = "GoaltendingOvertimeLosses", Order = 50)] + public decimal? GoaltendingOvertimeLosses { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 51)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Penalty.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Penalty.cs new file mode 100644 index 0000000..73471da --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Penalty.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Penalty")] + [Serializable] + public partial class Penalty + { + /// + /// The unique ID of this penalty + /// + [Description("The unique ID of this penalty")] + [DataMember(Name = "PenaltyID", Order = 1)] + public int PenaltyID { get; set; } + + /// + /// The unique ID of the period during which this penalty occurred + /// + [Description("The unique ID of the period during which this penalty occurred")] + [DataMember(Name = "PeriodID", Order = 2)] + public int PeriodID { get; set; } + + /// + /// The sequence/order that this penalty happened + /// + [Description("The sequence/order that this penalty happened")] + [DataMember(Name = "Sequence", Order = 3)] + public int? Sequence { get; set; } + + /// + /// Number of minutes that have passed in the current period. Please note this field name is misleading, and actually represents the game clock minutes, which are the number of minutes that have already passed in the period. Possible values: 0-20. + /// + [Description("Number of minutes that have passed in the current period. Please note this field name is misleading, and actually represents the game clock minutes, which are the number of minutes that have already passed in the period. Possible values: 0-20.")] + [DataMember(Name = "TimeRemainingMinutes", Order = 4)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// Number of seconds that have passed in the current period. Please note this field name is misleading, and actually represents the game clock seconds, which are the number of seconds that have already passed in the period. Possible values: 0-60. + /// + [Description("Number of seconds that have passed in the current period. Please note this field name is misleading, and actually represents the game clock seconds, which are the number of seconds that have already passed in the period. Possible values: 0-60.")] + [DataMember(Name = "TimeRemainingSeconds", Order = 5)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// The description of the penalty + /// + [Description("The description of the penalty")] + [DataMember(Name = "Description", Order = 6)] + public string Description { get; set; } + + /// + /// The number of minutes the penalty lasts + /// + [Description("The number of minutes the penalty lasts")] + [DataMember(Name = "PenaltyMinutes", Order = 7)] + public int? PenaltyMinutes { get; set; } + + /// + /// The TeamID of the penalized team + /// + [Description("The TeamID of the penalized team")] + [DataMember(Name = "PenalizedTeamID", Order = 8)] + public int? PenalizedTeamID { get; set; } + + /// + /// The PlayerID who commited the penalty + /// + [Description("The PlayerID who commited the penalty")] + [DataMember(Name = "PenalizedPlayerID", Order = 9)] + public int? PenalizedPlayerID { get; set; } + + /// + /// The TeamID of the team who drew the penalty + /// + [Description("The TeamID of the team who drew the penalty")] + [DataMember(Name = "DrawnByTeamID", Order = 10)] + public int? DrawnByTeamID { get; set; } + + /// + /// The PlayerID who drew the penalty + /// + [Description("The PlayerID who drew the penalty")] + [DataMember(Name = "DrawnByPlayerID", Order = 11)] + public int? DrawnByPlayerID { get; set; } + + /// + /// Whether or not the penalty is a bench penalty (true/false) + /// + [Description("Whether or not the penalty is a bench penalty (true/false)")] + [DataMember(Name = "IsBenchPenalty", Order = 12)] + public bool? IsBenchPenalty { get; set; } + + /// + /// The PlayerID of the player who served the bench penalty + /// + [Description("The PlayerID of the player who served the bench penalty")] + [DataMember(Name = "BenchPenaltyServedByPlayerID", Order = 13)] + public int? BenchPenaltyServedByPlayerID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Period.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Period.cs new file mode 100644 index 0000000..cc2772f --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Period.cs @@ -0,0 +1,62 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Period")] + [Serializable] + public partial class Period + { + /// + /// Unique identifier for each period. + /// + [Description("Unique identifier for each period.")] + [DataMember(Name = "PeriodID", Order = 1)] + public int PeriodID { get; set; } + + /// + /// The unique ID for this game. + /// + [Description("The unique ID for this game.")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The Name of the Quarter (possible values: 1, 2, 3, OT, SO) + /// + [Description("The Name of the Quarter (possible values: 1, 2, 3, OT, SO)")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The total goals scored by the away team in this period. + /// + [Description("The total goals scored by the away team in this period.")] + [DataMember(Name = "AwayScore", Order = 4)] + public int? AwayScore { get; set; } + + /// + /// The total goals scored by the home team in this period. + /// + [Description("The total goals scored by the home team in this period.")] + [DataMember(Name = "HomeScore", Order = 5)] + public int? HomeScore { get; set; } + + /// + /// The details of the scoring plays that occurred during this period + /// + [Description("The details of the scoring plays that occurred during this period")] + [DataMember(Name = "ScoringPlays", Order = 20006)] + public ScoringPlay[] ScoringPlays { get; set; } + + /// + /// The details of the penalties that occurred during this period + /// + [Description("The details of the penalties that occurred during this period")] + [DataMember(Name = "Penalties", Order = 20007)] + public Penalty[] Penalties { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Play.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Play.cs new file mode 100644 index 0000000..0b39246 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Play.cs @@ -0,0 +1,174 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Play")] + [Serializable] + public partial class Play + { + /// + /// The unique identifier of the play. + /// + [Description("The unique identifier of the play.")] + [DataMember(Name = "PlayID", Order = 1)] + public int PlayID { get; set; } + + /// + /// The unique identifier of the Period that this play occurred in. + /// + [Description("The unique identifier of the Period that this play occurred in.")] + [DataMember(Name = "PeriodID", Order = 2)] + public int PeriodID { get; set; } + + /// + /// The name of the Period that this play occurred in. + /// + [Description("The name of the Period that this play occurred in.")] + [DataMember(Name = "PeriodName", Order = 3)] + public string PeriodName { get; set; } + + /// + /// The order in which this play happened over the course of the game. + /// + [Description("The order in which this play happened over the course of the game.")] + [DataMember(Name = "Sequence", Order = 4)] + public int Sequence { get; set; } + + /// + /// The number of minutes passed in the Period when this play completed. + /// + [Description("The number of minutes passed in the Period when this play completed.")] + [DataMember(Name = "ClockMinutes", Order = 5)] + public int? ClockMinutes { get; set; } + + /// + /// The number of seconds passed in the Period when this play completed. + /// + [Description("The number of seconds passed in the Period when this play completed.")] + [DataMember(Name = "ClockSeconds", Order = 6)] + public int? ClockSeconds { get; set; } + + /// + /// The score of the away team after this play completed. + /// + [Description("The score of the away team after this play completed.")] + [DataMember(Name = "AwayTeamScore", Order = 7)] + public int? AwayTeamScore { get; set; } + + /// + /// The score of the home team after this play completed. + /// + [Description("The score of the home team after this play completed.")] + [DataMember(Name = "HomeTeamScore", Order = 8)] + public int? HomeTeamScore { get; set; } + + /// + /// The TeamID of the team associated with this play. + /// + [Description("The TeamID of the team associated with this play.")] + [DataMember(Name = "TeamID", Order = 9)] + public int? TeamID { get; set; } + + /// + /// The Team Key of the team associated with this play. + /// + [Description("The Team Key of the team associated with this play.")] + [DataMember(Name = "Team", Order = 10)] + public string Team { get; set; } + + /// + /// The TeamID of the opponent associated with this play. + /// + [Description("The TeamID of the opponent associated with this play.")] + [DataMember(Name = "OpponentID", Order = 11)] + public int? OpponentID { get; set; } + + /// + /// The Team Key of the opponent associated with this play. + /// + [Description("The Team Key of the opponent associated with this play.")] + [DataMember(Name = "Opponent", Order = 12)] + public string Opponent { get; set; } + + /// + /// The category the play. Possible values: Block, Faceoff, Goal, Hit, Penalty, Period, Shootout, Shot, Stoppage, Turnover + /// + [Description("The category the play. Possible values: Block, Faceoff, Goal, Hit, Penalty, Period, Shootout, Shot, Stoppage, Turnover")] + [DataMember(Name = "Category", Order = 13)] + public string Category { get; set; } + + /// + /// The type of the play. Possible values: AwayTeamTimeout, Block, Boarding, Charging, CheckToTheHead, Clipping, ClosingHandOnThePuck, CrossChecking, DelayOfGame, Elbowing, Faceoff, Fighting, GameMisconduct, Giveaway, Goal, GoalieStopped, HandPass, HighSticking, HighStickOnPuck, Hit, Holding, HoldingTheStick, HomeTeamTimeout, Hooking, Icing, IllegalEquipment, Interference, Kneeing, MinorPenalty, Misconduct, NetOffPost, ObjectsOnIce, Offside, Period, PeriodEnd, PlayerEquipment, PlayerInjury, PowerPlayGoal, PuckFrozen, PuckInBench, PuckInCrowd, PuckInNetting, Referee, RinkRepair, Roughing, ShootoutGoal, ShootoutMiss, ShootoutSave, ShotMissed, ShotOnGoal, Slashing, Stoppage, Takeaway, TooManyMen, Tripping, TvTimeout, Unsportsmanlike, VideoReview + /// + [Description("The type of the play. Possible values: AwayTeamTimeout, Block, Boarding, Charging, CheckToTheHead, Clipping, ClosingHandOnThePuck, CrossChecking, DelayOfGame, Elbowing, Faceoff, Fighting, GameMisconduct, Giveaway, Goal, GoalieStopped, HandPass, HighSticking, HighStickOnPuck, Hit, Holding, HoldingTheStick, HomeTeamTimeout, Hooking, Icing, IllegalEquipment, Interference, Kneeing, MinorPenalty, Misconduct, NetOffPost, ObjectsOnIce, Offside, Period, PeriodEnd, PlayerEquipment, PlayerInjury, PowerPlayGoal, PuckFrozen, PuckInBench, PuckInCrowd, PuckInNetting, Referee, RinkRepair, Roughing, ShootoutGoal, ShootoutMiss, ShootoutSave, ShotMissed, ShotOnGoal, Slashing, Stoppage, Takeaway, TooManyMen, Tripping, TvTimeout, Unsportsmanlike, VideoReview")] + [DataMember(Name = "Type", Order = 14)] + public string Type { get; set; } + + /// + /// The description of the play (example: Sidney Crosby won faceoff against Nicklas Backstrom) + /// + [Description("The description of the play (example: Sidney Crosby won faceoff against Nicklas Backstrom)")] + [DataMember(Name = "Description", Order = 15)] + public string Description { get; set; } + + /// + /// The PlayerID of the primary player on this play (if any). + /// + [Description("The PlayerID of the primary player on this play (if any).")] + [DataMember(Name = "PlayerID", Order = 16)] + public int? PlayerID { get; set; } + + /// + /// The database generated timestamp of when this Play was last updated. + /// + [Description("The database generated timestamp of when this Play was last updated.")] + [DataMember(Name = "Updated", Order = 17)] + public DateTime? Updated { get; set; } + + /// + /// The database generated timestamp of when this Play was first created. + /// + [Description("The database generated timestamp of when this Play was first created.")] + [DataMember(Name = "Created", Order = 18)] + public DateTime? Created { get; set; } + + /// + /// The PlayerID of the player who got the first assist on this play (if any). + /// + [Description("The PlayerID of the player who got the first assist on this play (if any).")] + [DataMember(Name = "FirstAssistedByPlayerID", Order = 19)] + public int? FirstAssistedByPlayerID { get; set; } + + /// + /// The PlayerID of the player who got the second assist on this play (if any). + /// + [Description("The PlayerID of the player who got the second assist on this play (if any).")] + [DataMember(Name = "SecondAssistedByPlayerID", Order = 20)] + public int? SecondAssistedByPlayerID { get; set; } + + /// + /// The TeamID of the team on the power play this play (if any). + /// + [Description("The TeamID of the team on the power play this play (if any).")] + [DataMember(Name = "PowerPlayTeamID", Order = 21)] + public int? PowerPlayTeamID { get; set; } + + /// + /// The TeamKey of the team on the power play this play (if any). + /// + [Description("The TeamKey of the team on the power play this play (if any).")] + [DataMember(Name = "PowerPlayTeam", Order = 22)] + public string PowerPlayTeam { get; set; } + + /// + /// The PlayerID of the player involved in the play on the opposing team. + /// + [Description("The PlayerID of the player involved in the play on the opposing team.")] + [DataMember(Name = "OpposingPlayerID", Order = 23)] + public int? OpposingPlayerID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/PlayByPlay.cs b/FantasyData.Api.Client.NetCore/Model/NHL/PlayByPlay.cs new file mode 100644 index 0000000..03c9dec --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/PlayByPlay.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="PlayByPlay")] + [Serializable] + public partial class PlayByPlay + { + /// + /// Game Information. + /// + [Description("Game Information.")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// List of Plays in the game. + /// + [Description("List of Plays in the game.")] + [DataMember(Name = "Plays", Order = 20002)] + public Play[] Plays { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Player.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Player.cs new file mode 100644 index 0000000..619cdff --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Player.cs @@ -0,0 +1,314 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The first name of the player. + /// + [Description("The first name of the player.")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The last name of the player. + /// + [Description("The last name of the player.")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// Indicates the player's status of being on an active roster. Possible values include: Active, Inactive + /// + [Description("Indicates the player's status of being on an active roster. Possible values include: Active, Inactive")] + [DataMember(Name = "Status", Order = 4)] + public string Status { get; set; } + + /// + /// The TeamID of the team this player is employed by. + /// + [Description("The TeamID of the team this player is employed by.")] + [DataMember(Name = "TeamID", Order = 5)] + public int? TeamID { get; set; } + + /// + /// The key/abbreviation of the team this player is employed by. + /// + [Description("The key/abbreviation of the team this player is employed by.")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// The player's primary position. Possible values: C, RW, LW, D, or G. + /// + [Description("The player's primary position. Possible values: C, RW, LW, D, or G.")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// The player's jersey number. + /// + [Description("The player's jersey number.")] + [DataMember(Name = "Jersey", Order = 8)] + public int? Jersey { get; set; } + + /// + /// The hand in which the player catches the puck (right or left). + /// + [Description("The hand in which the player catches the puck (right or left).")] + [DataMember(Name = "Catches", Order = 9)] + public string Catches { get; set; } + + /// + /// The hand the player shoots the puck with (right or left). + /// + [Description("The hand the player shoots the puck with (right or left).")] + [DataMember(Name = "Shoots", Order = 10)] + public string Shoots { get; set; } + + /// + /// The player's height in inches. + /// + [Description("The player's height in inches.")] + [DataMember(Name = "Height", Order = 11)] + public int? Height { get; set; } + + /// + /// The player's weight in pounds (lbs). + /// + [Description("The player's weight in pounds (lbs).")] + [DataMember(Name = "Weight", Order = 12)] + public int? Weight { get; set; } + + /// + /// The player's date of birth. + /// + [Description("The player's date of birth.")] + [DataMember(Name = "BirthDate", Order = 13)] + public DateTime? BirthDate { get; set; } + + /// + /// The city in which the player was born. + /// + [Description("The city in which the player was born.")] + [DataMember(Name = "BirthCity", Order = 14)] + public string BirthCity { get; set; } + + /// + /// The state in which the player was born. + /// + [Description("The state in which the player was born.")] + [DataMember(Name = "BirthState", Order = 15)] + public string BirthState { get; set; } + + /// + /// The URL of the player's headshot photo. + /// + [Description("The URL of the player's headshot photo.")] + [DataMember(Name = "PhotoUrl", Order = 16)] + public string PhotoUrl { get; set; } + + /// + /// The player's cross reference PlayerID to the SportRadar API. + /// + [Description("The player's cross reference PlayerID to the SportRadar API.")] + [DataMember(Name = "SportRadarPlayerID", Order = 17)] + public string SportRadarPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the Rotoworld news feed. + /// + [Description("The player's cross reference PlayerID to the Rotoworld news feed.")] + [DataMember(Name = "RotoworldPlayerID", Order = 18)] + public int? RotoworldPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the RotoWire news feed. + /// + [Description("The player's cross reference PlayerID to the RotoWire news feed.")] + [DataMember(Name = "RotoWirePlayerID", Order = 19)] + public int? RotoWirePlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the FantasyAlarm news feed. + /// + [Description("The player's cross reference PlayerID to the FantasyAlarm news feed.")] + [DataMember(Name = "FantasyAlarmPlayerID", Order = 20)] + public int? FantasyAlarmPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the STATS data feeds. + /// + [Description("The player's cross reference PlayerID to the STATS data feeds.")] + [DataMember(Name = "StatsPlayerID", Order = 21)] + public int? StatsPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the SportsDirect data feeds. + /// + [Description("The player's cross reference PlayerID to the SportsDirect data feeds.")] + [DataMember(Name = "SportsDirectPlayerID", Order = 22)] + public int? SportsDirectPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to the XML Team data feeds. + /// + [Description("The player's cross reference PlayerID to the XML Team data feeds.")] + [DataMember(Name = "XmlTeamPlayerID", Order = 23)] + public int? XmlTeamPlayerID { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out")] + [DataMember(Name = "InjuryStatus", Order = 24)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 25)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 26)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 27)] + public string InjuryNotes { get; set; } + + /// + /// The player's cross reference PlayerID to FanDuel. + /// + [Description("The player's cross reference PlayerID to FanDuel.")] + [DataMember(Name = "FanDuelPlayerID", Order = 28)] + public int? FanDuelPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to DraftKings. + /// + [Description("The player's cross reference PlayerID to DraftKings.")] + [DataMember(Name = "DraftKingsPlayerID", Order = 29)] + public int? DraftKingsPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to Yahoo Daily Fantasy Sports Contests. + /// + [Description("The player's cross reference PlayerID to Yahoo Daily Fantasy Sports Contests.")] + [DataMember(Name = "YahooPlayerID", Order = 30)] + public int? YahooPlayerID { get; set; } + + /// + /// The player's full name in FanDuel's daily fantasy sports platform. + /// + [Description("The player's full name in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelName", Order = 31)] + public string FanDuelName { get; set; } + + /// + /// The player's full name in DraftKings' daily fantasy sports platform. + /// + [Description("The player's full name in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsName", Order = 32)] + public string DraftKingsName { get; set; } + + /// + /// The player's full name in Yahoo's daily fantasy sports platform. + /// + [Description("The player's full name in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooName", Order = 33)] + public string YahooName { get; set; } + + /// + /// The position of the player on the depth chart. + /// + [Description("The position of the player on the depth chart.")] + [DataMember(Name = "DepthChartPosition", Order = 34)] + public string DepthChartPosition { get; set; } + + /// + /// The order of the player on the depth chart. + /// + [Description("The order of the player on the depth chart.")] + [DataMember(Name = "DepthChartOrder", Order = 35)] + public int? DepthChartOrder { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 36)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's full name in FantasyDraft's daily fantasy sports platform. + /// + [Description("The player's full name in FantasyDraft's daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftName", Order = 37)] + public string FantasyDraftName { get; set; } + + /// + /// The player's cross reference PlayerID to Fantasy Draft. + /// + [Description("The player's cross reference PlayerID to Fantasy Draft.")] + [DataMember(Name = "FantasyDraftPlayerID", Order = 38)] + public int? FantasyDraftPlayerID { get; set; } + + /// + /// The player's cross reference PlayerID to USA Today headshot data feeds. + /// + [Description("The player's cross reference PlayerID to USA Today headshot data feeds.")] + [DataMember(Name = "UsaTodayPlayerID", Order = 39)] + public int? UsaTodayPlayerID { get; set; } + + /// + /// The player's headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUrl", Order = 40)] + public string UsaTodayHeadshotUrl { get; set; } + + /// + /// The player's transparent background headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's transparent background headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUrl", Order = 41)] + public string UsaTodayHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUpdated", Order = 42)] + public DateTime? UsaTodayHeadshotUpdated { get; set; } + + /// + /// The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUpdated", Order = 43)] + public DateTime? UsaTodayHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/PlayerGame.cs b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerGame.cs new file mode 100644 index 0000000..afecd63 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerGame.cs @@ -0,0 +1,517 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="PlayerGame")] + [Serializable] + public partial class PlayerGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason) + /// + [Description("The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason)")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The NHL season of the game + /// + [Description("The NHL season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's position associated with the given game or season. Possible values: C, RW, LW, D, G + /// + [Description("The player's position associated with the given game or season. Possible values: C, RW, LW, D, G")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 9)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 10)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 11)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 12)] + public int? YahooSalary { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out")] + [DataMember(Name = "InjuryStatus", Order = 13)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 14)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 15)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 16)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 17)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 18)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 19)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 20)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 21)] + public int? OpponentPositionRank { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 22)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's salary for Fantasy Draft daily fantasy contests. + /// + [Description("The player's salary for Fantasy Draft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 23)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in Fantasy Drafts daily fantasy sports platform. + /// + [Description("The player's eligible position in Fantasy Drafts daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 24)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 25)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 26)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 27)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 28)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 29)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 30)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 31)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 32)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 33)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 34)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 35)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 36)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 37)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 38)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 39)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 40)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 41)] + public int? Seconds { get; set; } + + /// + /// Total number of goals scored + /// + [Description("Total number of goals scored")] + [DataMember(Name = "Goals", Order = 42)] + public decimal? Goals { get; set; } + + /// + /// Total number of assists + /// + [Description("Total number of assists")] + [DataMember(Name = "Assists", Order = 43)] + public decimal? Assists { get; set; } + + /// + /// Total number of shots on goal + /// + [Description("Total number of shots on goal")] + [DataMember(Name = "ShotsOnGoal", Order = 44)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total number of power play goals + /// + [Description("Total number of power play goals")] + [DataMember(Name = "PowerPlayGoals", Order = 45)] + public decimal? PowerPlayGoals { get; set; } + + /// + /// Total number of short handed goals + /// + [Description("Total number of short handed goals")] + [DataMember(Name = "ShortHandedGoals", Order = 46)] + public decimal? ShortHandedGoals { get; set; } + + /// + /// Total number of empty net goals + /// + [Description("Total number of empty net goals")] + [DataMember(Name = "EmptyNetGoals", Order = 47)] + public decimal? EmptyNetGoals { get; set; } + + /// + /// Total number of power play assists + /// + [Description("Total number of power play assists")] + [DataMember(Name = "PowerPlayAssists", Order = 48)] + public decimal? PowerPlayAssists { get; set; } + + /// + /// Total number of short handed assists + /// + [Description("Total number of short handed assists")] + [DataMember(Name = "ShortHandedAssists", Order = 49)] + public decimal? ShortHandedAssists { get; set; } + + /// + /// Total number of hat tricks + /// + [Description("Total number of hat tricks")] + [DataMember(Name = "HatTricks", Order = 50)] + public decimal? HatTricks { get; set; } + + /// + /// Total number of shootout goals + /// + [Description("Total number of shootout goals")] + [DataMember(Name = "ShootoutGoals", Order = 51)] + public decimal? ShootoutGoals { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 52)] + public decimal? PlusMinus { get; set; } + + /// + /// Total pentalty minutes + /// + [Description("Total pentalty minutes")] + [DataMember(Name = "PenaltyMinutes", Order = 53)] + public decimal? PenaltyMinutes { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "Blocks", Order = 54)] + public decimal? Blocks { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 55)] + public decimal? Hits { get; set; } + + /// + /// Total takeaways + /// + [Description("Total takeaways")] + [DataMember(Name = "Takeaways", Order = 56)] + public decimal? Takeaways { get; set; } + + /// + /// Total giveaways + /// + [Description("Total giveaways")] + [DataMember(Name = "Giveaways", Order = 57)] + public decimal? Giveaways { get; set; } + + /// + /// Total faceoffs won + /// + [Description("Total faceoffs won")] + [DataMember(Name = "FaceoffsWon", Order = 58)] + public decimal? FaceoffsWon { get; set; } + + /// + /// Total faceoffs lost + /// + [Description("Total faceoffs lost")] + [DataMember(Name = "FaceoffsLost", Order = 59)] + public decimal? FaceoffsLost { get; set; } + + /// + /// Total shifts + /// + [Description("Total shifts")] + [DataMember(Name = "Shifts", Order = 60)] + public decimal? Shifts { get; set; } + + /// + /// Total goaltending minutes + /// + [Description("Total goaltending minutes")] + [DataMember(Name = "GoaltendingMinutes", Order = 61)] + public int? GoaltendingMinutes { get; set; } + + /// + /// Total goaltending seconds + /// + [Description("Total goaltending seconds")] + [DataMember(Name = "GoaltendingSeconds", Order = 62)] + public int? GoaltendingSeconds { get; set; } + + /// + /// Total goaltending shots against + /// + [Description("Total goaltending shots against")] + [DataMember(Name = "GoaltendingShotsAgainst", Order = 63)] + public decimal? GoaltendingShotsAgainst { get; set; } + + /// + /// Total goaltending goals against + /// + [Description("Total goaltending goals against")] + [DataMember(Name = "GoaltendingGoalsAgainst", Order = 64)] + public decimal? GoaltendingGoalsAgainst { get; set; } + + /// + /// Total goaltending saves + /// + [Description("Total goaltending saves")] + [DataMember(Name = "GoaltendingSaves", Order = 65)] + public decimal? GoaltendingSaves { get; set; } + + /// + /// Total goaltending wins + /// + [Description("Total goaltending wins")] + [DataMember(Name = "GoaltendingWins", Order = 66)] + public decimal? GoaltendingWins { get; set; } + + /// + /// Total goaltendings losses + /// + [Description("Total goaltendings losses")] + [DataMember(Name = "GoaltendingLosses", Order = 67)] + public decimal? GoaltendingLosses { get; set; } + + /// + /// Total goaltendings shutouts + /// + [Description("Total goaltendings shutouts")] + [DataMember(Name = "GoaltendingShutouts", Order = 68)] + public decimal? GoaltendingShutouts { get; set; } + + /// + /// Total games started + /// + [Description("Total games started")] + [DataMember(Name = "Started", Order = 69)] + public int? Started { get; set; } + + /// + /// Total bench pentalty minutes + /// + [Description("Total bench pentalty minutes")] + [DataMember(Name = "BenchPenaltyMinutes", Order = 70)] + public decimal? BenchPenaltyMinutes { get; set; } + + /// + /// Total goaltending overtime losses + /// + [Description("Total goaltending overtime losses")] + [DataMember(Name = "GoaltendingOvertimeLosses", Order = 71)] + public decimal? GoaltendingOvertimeLosses { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 72)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/PlayerGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerGameProjection.cs new file mode 100644 index 0000000..be4a387 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerGameProjection.cs @@ -0,0 +1,517 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="PlayerGameProjection")] + [Serializable] + public partial class PlayerGameProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason) + /// + [Description("The season type of the timeframe (1=Regular Season, 2=Preseason, 3=Postseason)")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The NHL season of the game + /// + [Description("The NHL season of the game")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// The player's position associated with the given game or season. Possible values: C, RW, LW, D, G + /// + [Description("The player's position associated with the given game or season. Possible values: C, RW, LW, D, G")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000). + /// + [Description("The player's salary as calculated by FantasyData.  Based on the same salary cap as DraftKings contests ($50,000).")] + [DataMember(Name = "FantasyDataSalary", Order = 9)] + public int? FantasyDataSalary { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 10)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 11)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 12)] + public int? YahooSalary { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out + /// + [Description("Indicates the player's injury status. Possible values include: Probable, Questionable, Doubtful, Out")] + [DataMember(Name = "InjuryStatus", Order = 13)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 14)] + public string InjuryBodyPart { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 15)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// Brief description of the player's injury and expected availability. + /// + [Description("Brief description of the player's injury and expected availability.")] + [DataMember(Name = "InjuryNotes", Order = 16)] + public string InjuryNotes { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 17)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 18)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 19)] + public string YahooPosition { get; set; } + + /// + /// The ranking of the player's opponent with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentRank", Order = 20)] + public int? OpponentRank { get; set; } + + /// + /// The ranking of the player's opponent by position with regards to fantasy points allowed. + /// + [Description("The ranking of the player's opponent by position with regards to fantasy points allowed.")] + [DataMember(Name = "OpponentPositionRank", Order = 21)] + public int? OpponentPositionRank { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 22)] + public int? GlobalTeamID { get; set; } + + /// + /// The player's salary for Fantasy Draft daily fantasy contests. + /// + [Description("The player's salary for Fantasy Draft daily fantasy contests.")] + [DataMember(Name = "FantasyDraftSalary", Order = 23)] + public int? FantasyDraftSalary { get; set; } + + /// + /// The player's eligible position in Fantasy Drafts daily fantasy sports platform. + /// + [Description("The player's eligible position in Fantasy Drafts daily fantasy sports platform.")] + [DataMember(Name = "FantasyDraftPosition", Order = 24)] + public string FantasyDraftPosition { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 25)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 26)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 27)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 28)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 29)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 30)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 31)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 32)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 33)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 34)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 35)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 36)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 37)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 38)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 39)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 40)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 41)] + public int? Seconds { get; set; } + + /// + /// Total number of goals scored + /// + [Description("Total number of goals scored")] + [DataMember(Name = "Goals", Order = 42)] + public decimal? Goals { get; set; } + + /// + /// Total number of assists + /// + [Description("Total number of assists")] + [DataMember(Name = "Assists", Order = 43)] + public decimal? Assists { get; set; } + + /// + /// Total number of shots on goal + /// + [Description("Total number of shots on goal")] + [DataMember(Name = "ShotsOnGoal", Order = 44)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total number of power play goals + /// + [Description("Total number of power play goals")] + [DataMember(Name = "PowerPlayGoals", Order = 45)] + public decimal? PowerPlayGoals { get; set; } + + /// + /// Total number of short handed goals + /// + [Description("Total number of short handed goals")] + [DataMember(Name = "ShortHandedGoals", Order = 46)] + public decimal? ShortHandedGoals { get; set; } + + /// + /// Total number of empty net goals + /// + [Description("Total number of empty net goals")] + [DataMember(Name = "EmptyNetGoals", Order = 47)] + public decimal? EmptyNetGoals { get; set; } + + /// + /// Total number of power play assists + /// + [Description("Total number of power play assists")] + [DataMember(Name = "PowerPlayAssists", Order = 48)] + public decimal? PowerPlayAssists { get; set; } + + /// + /// Total number of short handed assists + /// + [Description("Total number of short handed assists")] + [DataMember(Name = "ShortHandedAssists", Order = 49)] + public decimal? ShortHandedAssists { get; set; } + + /// + /// Total number of hat tricks + /// + [Description("Total number of hat tricks")] + [DataMember(Name = "HatTricks", Order = 50)] + public decimal? HatTricks { get; set; } + + /// + /// Total number of shootout goals + /// + [Description("Total number of shootout goals")] + [DataMember(Name = "ShootoutGoals", Order = 51)] + public decimal? ShootoutGoals { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 52)] + public decimal? PlusMinus { get; set; } + + /// + /// Total pentalty minutes + /// + [Description("Total pentalty minutes")] + [DataMember(Name = "PenaltyMinutes", Order = 53)] + public decimal? PenaltyMinutes { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "Blocks", Order = 54)] + public decimal? Blocks { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 55)] + public decimal? Hits { get; set; } + + /// + /// Total takeaways + /// + [Description("Total takeaways")] + [DataMember(Name = "Takeaways", Order = 56)] + public decimal? Takeaways { get; set; } + + /// + /// Total giveaways + /// + [Description("Total giveaways")] + [DataMember(Name = "Giveaways", Order = 57)] + public decimal? Giveaways { get; set; } + + /// + /// Total faceoffs won + /// + [Description("Total faceoffs won")] + [DataMember(Name = "FaceoffsWon", Order = 58)] + public decimal? FaceoffsWon { get; set; } + + /// + /// Total faceoffs lost + /// + [Description("Total faceoffs lost")] + [DataMember(Name = "FaceoffsLost", Order = 59)] + public decimal? FaceoffsLost { get; set; } + + /// + /// Total shifts + /// + [Description("Total shifts")] + [DataMember(Name = "Shifts", Order = 60)] + public decimal? Shifts { get; set; } + + /// + /// Total goaltending minutes + /// + [Description("Total goaltending minutes")] + [DataMember(Name = "GoaltendingMinutes", Order = 61)] + public int? GoaltendingMinutes { get; set; } + + /// + /// Total goaltending seconds + /// + [Description("Total goaltending seconds")] + [DataMember(Name = "GoaltendingSeconds", Order = 62)] + public int? GoaltendingSeconds { get; set; } + + /// + /// Total goaltending shots against + /// + [Description("Total goaltending shots against")] + [DataMember(Name = "GoaltendingShotsAgainst", Order = 63)] + public decimal? GoaltendingShotsAgainst { get; set; } + + /// + /// Total goaltending goals against + /// + [Description("Total goaltending goals against")] + [DataMember(Name = "GoaltendingGoalsAgainst", Order = 64)] + public decimal? GoaltendingGoalsAgainst { get; set; } + + /// + /// Total goaltending saves + /// + [Description("Total goaltending saves")] + [DataMember(Name = "GoaltendingSaves", Order = 65)] + public decimal? GoaltendingSaves { get; set; } + + /// + /// Total goaltending wins + /// + [Description("Total goaltending wins")] + [DataMember(Name = "GoaltendingWins", Order = 66)] + public decimal? GoaltendingWins { get; set; } + + /// + /// Total goaltendings losses + /// + [Description("Total goaltendings losses")] + [DataMember(Name = "GoaltendingLosses", Order = 67)] + public decimal? GoaltendingLosses { get; set; } + + /// + /// Total goaltendings shutouts + /// + [Description("Total goaltendings shutouts")] + [DataMember(Name = "GoaltendingShutouts", Order = 68)] + public decimal? GoaltendingShutouts { get; set; } + + /// + /// Total games started + /// + [Description("Total games started")] + [DataMember(Name = "Started", Order = 69)] + public int? Started { get; set; } + + /// + /// Total bench pentalty minutes + /// + [Description("Total bench pentalty minutes")] + [DataMember(Name = "BenchPenaltyMinutes", Order = 70)] + public decimal? BenchPenaltyMinutes { get; set; } + + /// + /// Total goaltending overtime losses + /// + [Description("Total goaltending overtime losses")] + [DataMember(Name = "GoaltendingOvertimeLosses", Order = 71)] + public decimal? GoaltendingOvertimeLosses { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 72)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/PlayerLine.cs b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerLine.cs new file mode 100644 index 0000000..63b2cd9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerLine.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="PlayerLine")] + [Serializable] + public partial class PlayerLine + { + /// + /// The line the player is on (e.g. 1, 2, 3, or 4) + /// + [Description("The line the player is on (e.g. 1, 2, 3, or 4)")] + [DataMember(Name = "LineNumber", Order = 1)] + public int LineNumber { get; set; } + + /// + /// The position of the player on the line (e.g. C, RW, LW, or D) + /// + [Description("The position of the player on the line (e.g. C, RW, LW, or D)")] + [DataMember(Name = "Position", Order = 2)] + public string Position { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The name of the player on the line + /// + [Description("The name of the player on the line")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The handedness of the player (Possible values: left or right) + /// + [Description("The handedness of the player (Possible values: left or right)")] + [DataMember(Name = "Shoots", Order = 5)] + public string Shoots { get; set; } + + /// + /// The type of line the player is on (e.g. first, second, third, etc.) + /// + [Description("The type of line the player is on (e.g. first, second, third, etc.)")] + [DataMember(Name = "LineType", Order = 6)] + public string LineType { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/PlayerProp.cs b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerProp.cs new file mode 100644 index 0000000..1ad232d --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerProp.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="PlayerProp")] + [Serializable] + public partial class PlayerProp + { + /// + /// The PlayerID of the player + /// + [Description("The PlayerID of the player")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// The GameID of the game + /// + [Description("The GameID of the game")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The full name of the player + /// + [Description("The full name of the player")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The TeamKey of the opponent in the game + /// + [Description("The TeamKey of the opponent in the game")] + [DataMember(Name = "Opponent", Order = 4)] + public string Opponent { get; set; } + + /// + /// The TeamKey of the player's team in the game + /// + [Description("The TeamKey of the player's team in the game")] + [DataMember(Name = "Team", Order = 5)] + public string Team { get; set; } + + /// + /// The start time of the game (to give an idea of when prop should close) + /// + [Description("The start time of the game (to give an idea of when prop should close)")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime DateTime { get; set; } + + /// + /// A description of the stat the over/under is referring to (ex: Three Pointers Made) + /// + [Description("A description of the stat the over/under is referring to (ex: Three Pointers Made)")] + [DataMember(Name = "Description", Order = 7)] + public string Description { get; set; } + + /// + /// The over under value in question (ex: 1.5) + /// + [Description("The over under value in question (ex: 1.5)")] + [DataMember(Name = "OverUnder", Order = 8)] + public decimal OverUnder { get; set; } + + /// + /// The (american styled) payout for a successful over bet. + /// + [Description("The (american styled) payout for a successful over bet.")] + [DataMember(Name = "OverPayout", Order = 9)] + public int OverPayout { get; set; } + + /// + /// The (american styled) payout for a successful under bet. + /// + [Description("The (american styled) payout for a successful under bet.")] + [DataMember(Name = "UnderPayout", Order = 10)] + public int UnderPayout { get; set; } + + /// + /// A description of the result (Over, Under, or Push) + /// + [Description("A description of the result (Over, Under, or Push)")] + [DataMember(Name = "BetResult", Order = 11)] + public string BetResult { get; set; } + + /// + /// The final total from the game of the stat in question + /// + [Description("The final total from the game of the stat in question ")] + [DataMember(Name = "StatResult", Order = 12)] + public decimal? StatResult { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/PlayerSeason.cs b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerSeason.cs new file mode 100644 index 0000000..82a785b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerSeason.cs @@ -0,0 +1,349 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="PlayerSeason")] + [Serializable] + public partial class PlayerSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The NHL regular season for which these totals apply + /// + [Description("The NHL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 9)] + public int? GlobalTeamID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 11)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 13)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 14)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 15)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 16)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 17)] + public int? Seconds { get; set; } + + /// + /// Total number of goals scored + /// + [Description("Total number of goals scored")] + [DataMember(Name = "Goals", Order = 18)] + public decimal? Goals { get; set; } + + /// + /// Total number of assists + /// + [Description("Total number of assists")] + [DataMember(Name = "Assists", Order = 19)] + public decimal? Assists { get; set; } + + /// + /// Total number of shots on goal + /// + [Description("Total number of shots on goal")] + [DataMember(Name = "ShotsOnGoal", Order = 20)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total number of power play goals + /// + [Description("Total number of power play goals")] + [DataMember(Name = "PowerPlayGoals", Order = 21)] + public decimal? PowerPlayGoals { get; set; } + + /// + /// Total number of short handed goals + /// + [Description("Total number of short handed goals")] + [DataMember(Name = "ShortHandedGoals", Order = 22)] + public decimal? ShortHandedGoals { get; set; } + + /// + /// Total number of empty net goals + /// + [Description("Total number of empty net goals")] + [DataMember(Name = "EmptyNetGoals", Order = 23)] + public decimal? EmptyNetGoals { get; set; } + + /// + /// Total number of power play assists + /// + [Description("Total number of power play assists")] + [DataMember(Name = "PowerPlayAssists", Order = 24)] + public decimal? PowerPlayAssists { get; set; } + + /// + /// Total number of short handed assists + /// + [Description("Total number of short handed assists")] + [DataMember(Name = "ShortHandedAssists", Order = 25)] + public decimal? ShortHandedAssists { get; set; } + + /// + /// Total number of hat tricks + /// + [Description("Total number of hat tricks")] + [DataMember(Name = "HatTricks", Order = 26)] + public decimal? HatTricks { get; set; } + + /// + /// Total number of shootout goals + /// + [Description("Total number of shootout goals")] + [DataMember(Name = "ShootoutGoals", Order = 27)] + public decimal? ShootoutGoals { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 28)] + public decimal? PlusMinus { get; set; } + + /// + /// Total pentalty minutes + /// + [Description("Total pentalty minutes")] + [DataMember(Name = "PenaltyMinutes", Order = 29)] + public decimal? PenaltyMinutes { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "Blocks", Order = 30)] + public decimal? Blocks { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 31)] + public decimal? Hits { get; set; } + + /// + /// Total takeaways + /// + [Description("Total takeaways")] + [DataMember(Name = "Takeaways", Order = 32)] + public decimal? Takeaways { get; set; } + + /// + /// Total giveaways + /// + [Description("Total giveaways")] + [DataMember(Name = "Giveaways", Order = 33)] + public decimal? Giveaways { get; set; } + + /// + /// Total faceoffs won + /// + [Description("Total faceoffs won")] + [DataMember(Name = "FaceoffsWon", Order = 34)] + public decimal? FaceoffsWon { get; set; } + + /// + /// Total faceoffs lost + /// + [Description("Total faceoffs lost")] + [DataMember(Name = "FaceoffsLost", Order = 35)] + public decimal? FaceoffsLost { get; set; } + + /// + /// Total shifts + /// + [Description("Total shifts")] + [DataMember(Name = "Shifts", Order = 36)] + public decimal? Shifts { get; set; } + + /// + /// Total goaltending minutes + /// + [Description("Total goaltending minutes")] + [DataMember(Name = "GoaltendingMinutes", Order = 37)] + public int? GoaltendingMinutes { get; set; } + + /// + /// Total goaltending seconds + /// + [Description("Total goaltending seconds")] + [DataMember(Name = "GoaltendingSeconds", Order = 38)] + public int? GoaltendingSeconds { get; set; } + + /// + /// Total goaltending shots against + /// + [Description("Total goaltending shots against")] + [DataMember(Name = "GoaltendingShotsAgainst", Order = 39)] + public decimal? GoaltendingShotsAgainst { get; set; } + + /// + /// Total goaltending goals against + /// + [Description("Total goaltending goals against")] + [DataMember(Name = "GoaltendingGoalsAgainst", Order = 40)] + public decimal? GoaltendingGoalsAgainst { get; set; } + + /// + /// Total goaltending saves + /// + [Description("Total goaltending saves")] + [DataMember(Name = "GoaltendingSaves", Order = 41)] + public decimal? GoaltendingSaves { get; set; } + + /// + /// Total goaltending wins + /// + [Description("Total goaltending wins")] + [DataMember(Name = "GoaltendingWins", Order = 42)] + public decimal? GoaltendingWins { get; set; } + + /// + /// Total goaltendings losses + /// + [Description("Total goaltendings losses")] + [DataMember(Name = "GoaltendingLosses", Order = 43)] + public decimal? GoaltendingLosses { get; set; } + + /// + /// Total goaltendings shutouts + /// + [Description("Total goaltendings shutouts")] + [DataMember(Name = "GoaltendingShutouts", Order = 44)] + public decimal? GoaltendingShutouts { get; set; } + + /// + /// Total games started + /// + [Description("Total games started")] + [DataMember(Name = "Started", Order = 45)] + public int? Started { get; set; } + + /// + /// Total bench pentalty minutes + /// + [Description("Total bench pentalty minutes")] + [DataMember(Name = "BenchPenaltyMinutes", Order = 46)] + public decimal? BenchPenaltyMinutes { get; set; } + + /// + /// Total goaltending overtime losses + /// + [Description("Total goaltending overtime losses")] + [DataMember(Name = "GoaltendingOvertimeLosses", Order = 47)] + public decimal? GoaltendingOvertimeLosses { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 48)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/PlayerSeasonProjection.cs b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerSeasonProjection.cs new file mode 100644 index 0000000..5222291 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/PlayerSeasonProjection.cs @@ -0,0 +1,349 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="PlayerSeasonProjection")] + [Serializable] + public partial class PlayerSeasonProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerID", Order = 3)] + public int? PlayerID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int? SeasonType { get; set; } + + /// + /// The NHL regular season for which these totals apply + /// + [Description("The NHL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 5)] + public int? Season { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// Player's position in the starting lineup (if started), otherwise the position he substituted for + /// + [Description("Player's position in the starting lineup (if started), otherwise the position he substituted for")] + [DataMember(Name = "Position", Order = 8)] + public string Position { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 9)] + public int? GlobalTeamID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 11)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 13)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 14)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 15)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 16)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 17)] + public int? Seconds { get; set; } + + /// + /// Total number of goals scored + /// + [Description("Total number of goals scored")] + [DataMember(Name = "Goals", Order = 18)] + public decimal? Goals { get; set; } + + /// + /// Total number of assists + /// + [Description("Total number of assists")] + [DataMember(Name = "Assists", Order = 19)] + public decimal? Assists { get; set; } + + /// + /// Total number of shots on goal + /// + [Description("Total number of shots on goal")] + [DataMember(Name = "ShotsOnGoal", Order = 20)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total number of power play goals + /// + [Description("Total number of power play goals")] + [DataMember(Name = "PowerPlayGoals", Order = 21)] + public decimal? PowerPlayGoals { get; set; } + + /// + /// Total number of short handed goals + /// + [Description("Total number of short handed goals")] + [DataMember(Name = "ShortHandedGoals", Order = 22)] + public decimal? ShortHandedGoals { get; set; } + + /// + /// Total number of empty net goals + /// + [Description("Total number of empty net goals")] + [DataMember(Name = "EmptyNetGoals", Order = 23)] + public decimal? EmptyNetGoals { get; set; } + + /// + /// Total number of power play assists + /// + [Description("Total number of power play assists")] + [DataMember(Name = "PowerPlayAssists", Order = 24)] + public decimal? PowerPlayAssists { get; set; } + + /// + /// Total number of short handed assists + /// + [Description("Total number of short handed assists")] + [DataMember(Name = "ShortHandedAssists", Order = 25)] + public decimal? ShortHandedAssists { get; set; } + + /// + /// Total number of hat tricks + /// + [Description("Total number of hat tricks")] + [DataMember(Name = "HatTricks", Order = 26)] + public decimal? HatTricks { get; set; } + + /// + /// Total number of shootout goals + /// + [Description("Total number of shootout goals")] + [DataMember(Name = "ShootoutGoals", Order = 27)] + public decimal? ShootoutGoals { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 28)] + public decimal? PlusMinus { get; set; } + + /// + /// Total pentalty minutes + /// + [Description("Total pentalty minutes")] + [DataMember(Name = "PenaltyMinutes", Order = 29)] + public decimal? PenaltyMinutes { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "Blocks", Order = 30)] + public decimal? Blocks { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 31)] + public decimal? Hits { get; set; } + + /// + /// Total takeaways + /// + [Description("Total takeaways")] + [DataMember(Name = "Takeaways", Order = 32)] + public decimal? Takeaways { get; set; } + + /// + /// Total giveaways + /// + [Description("Total giveaways")] + [DataMember(Name = "Giveaways", Order = 33)] + public decimal? Giveaways { get; set; } + + /// + /// Total faceoffs won + /// + [Description("Total faceoffs won")] + [DataMember(Name = "FaceoffsWon", Order = 34)] + public decimal? FaceoffsWon { get; set; } + + /// + /// Total faceoffs lost + /// + [Description("Total faceoffs lost")] + [DataMember(Name = "FaceoffsLost", Order = 35)] + public decimal? FaceoffsLost { get; set; } + + /// + /// Total shifts + /// + [Description("Total shifts")] + [DataMember(Name = "Shifts", Order = 36)] + public decimal? Shifts { get; set; } + + /// + /// Total goaltending minutes + /// + [Description("Total goaltending minutes")] + [DataMember(Name = "GoaltendingMinutes", Order = 37)] + public int? GoaltendingMinutes { get; set; } + + /// + /// Total goaltending seconds + /// + [Description("Total goaltending seconds")] + [DataMember(Name = "GoaltendingSeconds", Order = 38)] + public int? GoaltendingSeconds { get; set; } + + /// + /// Total goaltending shots against + /// + [Description("Total goaltending shots against")] + [DataMember(Name = "GoaltendingShotsAgainst", Order = 39)] + public decimal? GoaltendingShotsAgainst { get; set; } + + /// + /// Total goaltending goals against + /// + [Description("Total goaltending goals against")] + [DataMember(Name = "GoaltendingGoalsAgainst", Order = 40)] + public decimal? GoaltendingGoalsAgainst { get; set; } + + /// + /// Total goaltending saves + /// + [Description("Total goaltending saves")] + [DataMember(Name = "GoaltendingSaves", Order = 41)] + public decimal? GoaltendingSaves { get; set; } + + /// + /// Total goaltending wins + /// + [Description("Total goaltending wins")] + [DataMember(Name = "GoaltendingWins", Order = 42)] + public decimal? GoaltendingWins { get; set; } + + /// + /// Total goaltendings losses + /// + [Description("Total goaltendings losses")] + [DataMember(Name = "GoaltendingLosses", Order = 43)] + public decimal? GoaltendingLosses { get; set; } + + /// + /// Total goaltendings shutouts + /// + [Description("Total goaltendings shutouts")] + [DataMember(Name = "GoaltendingShutouts", Order = 44)] + public decimal? GoaltendingShutouts { get; set; } + + /// + /// Total games started + /// + [Description("Total games started")] + [DataMember(Name = "Started", Order = 45)] + public int? Started { get; set; } + + /// + /// Total bench pentalty minutes + /// + [Description("Total bench pentalty minutes")] + [DataMember(Name = "BenchPenaltyMinutes", Order = 46)] + public decimal? BenchPenaltyMinutes { get; set; } + + /// + /// Total goaltending overtime losses + /// + [Description("Total goaltending overtime losses")] + [DataMember(Name = "GoaltendingOvertimeLosses", Order = 47)] + public decimal? GoaltendingOvertimeLosses { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 48)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/ScoringPlay.cs b/FantasyData.Api.Client.NetCore/Model/NHL/ScoringPlay.cs new file mode 100644 index 0000000..28fdae9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/ScoringPlay.cs @@ -0,0 +1,118 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="ScoringPlay")] + [Serializable] + public partial class ScoringPlay + { + /// + /// The unique ID of the scoring play + /// + [Description("The unique ID of the scoring play")] + [DataMember(Name = "ScoringPlayID", Order = 1)] + public int ScoringPlayID { get; set; } + + /// + /// The unique ID of the period + /// + [Description("The unique ID of the period")] + [DataMember(Name = "PeriodID", Order = 2)] + public int PeriodID { get; set; } + + /// + /// The sequence/order that this scoring play happened + /// + [Description("The sequence/order that this scoring play happened")] + [DataMember(Name = "Sequence", Order = 3)] + public int? Sequence { get; set; } + + /// + /// Number of minutes that have passed in the current period. Please note this field name is misleading, and actually represents the game clock minutes, which are the number of minutes that have already passed in the period. Possible values: 0-20. + /// + [Description("Number of minutes that have passed in the current period. Please note this field name is misleading, and actually represents the game clock minutes, which are the number of minutes that have already passed in the period. Possible values: 0-20.")] + [DataMember(Name = "TimeRemainingMinutes", Order = 4)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// Number of seconds that have passed in the current period. Please note this field name is misleading, and actually represents the game clock seconds, which are the number of seconds that have already passed in the period. Possible values: 0-60. + /// + [Description("Number of seconds that have passed in the current period. Please note this field name is misleading, and actually represents the game clock seconds, which are the number of seconds that have already passed in the period. Possible values: 0-60.")] + [DataMember(Name = "TimeRemainingSeconds", Order = 5)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// The TeamID of the team that scored the goal + /// + [Description("The TeamID of the team that scored the goal")] + [DataMember(Name = "ScoredByTeamID", Order = 6)] + public int? ScoredByTeamID { get; set; } + + /// + /// The TeamID of the team that allowe the goal + /// + [Description("The TeamID of the team that allowe the goal")] + [DataMember(Name = "AllowedByTeamID", Order = 7)] + public int? AllowedByTeamID { get; set; } + + /// + /// The PlayerID of the player who scored the goal + /// + [Description("The PlayerID of the player who scored the goal")] + [DataMember(Name = "ScoredByPlayerID", Order = 8)] + public int? ScoredByPlayerID { get; set; } + + /// + /// The PlayerID of the player who assisted on the goal + /// + [Description("The PlayerID of the player who assisted on the goal")] + [DataMember(Name = "AssistedByPlayerID1", Order = 9)] + public int? AssistedByPlayerID1 { get; set; } + + /// + /// The PlayerID of the player who assisted on the goal + /// + [Description("The PlayerID of the player who assisted on the goal")] + [DataMember(Name = "AssistedByPlayerID2", Order = 10)] + public int? AssistedByPlayerID2 { get; set; } + + /// + /// Whether the goal was scored on the power play (true/false) + /// + [Description("Whether the goal was scored on the power play (true/false)")] + [DataMember(Name = "PowerPlay", Order = 11)] + public bool? PowerPlay { get; set; } + + /// + /// Whether the goal was scored shorthanded (true/false) + /// + [Description("Whether the goal was scored shorthanded (true/false)")] + [DataMember(Name = "ShortHanded", Order = 12)] + public bool? ShortHanded { get; set; } + + /// + /// Whether the goal was an empty net goal (true/false) + /// + [Description("Whether the goal was an empty net goal (true/false)")] + [DataMember(Name = "EmptyNet", Order = 13)] + public bool? EmptyNet { get; set; } + + /// + /// The away team score after the play ended + /// + [Description("The away team score after the play ended")] + [DataMember(Name = "AwayTeamScore", Order = 14)] + public int? AwayTeamScore { get; set; } + + /// + /// The home team score after the play ended + /// + [Description("The home team score after the play ended")] + [DataMember(Name = "HomeTeamScore", Order = 15)] + public int? HomeTeamScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Season.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Season.cs new file mode 100644 index 0000000..1f5cba5 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Season.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The NHL regular season for which these totals apply + /// + [Description("The NHL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 1)] + public int Year { get; set; } + + /// + /// The year in which the season started + /// + [Description("The year in which the season started")] + [DataMember(Name = "StartYear", Order = 2)] + public int StartYear { get; set; } + + /// + /// The year in which the season ended + /// + [Description("The year in which the season ended")] + [DataMember(Name = "EndYear", Order = 3)] + public int EndYear { get; set; } + + /// + /// The description of the season for display purposes (possible values include: 2017-18, 2018-19, etc) + /// + [Description("The description of the season for display purposes (possible values include: 2017-18, 2018-19, etc)")] + [DataMember(Name = "Description", Order = 4)] + public string Description { get; set; } + + /// + /// The start date of the regular season + /// + [Description("The start date of the regular season")] + [DataMember(Name = "RegularSeasonStartDate", Order = 5)] + public DateTime? RegularSeasonStartDate { get; set; } + + /// + /// The start date of the postseason + /// + [Description("The start date of the postseason")] + [DataMember(Name = "PostSeasonStartDate", Order = 6)] + public DateTime? PostSeasonStartDate { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 7)] + public string SeasonType { get; set; } + + /// + /// The string to pass into subsequent API calls in the season parameter + /// + [Description("The string to pass into subsequent API calls in the season parameter")] + [DataMember(Name = "ApiSeason", Order = 8)] + public string ApiSeason { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Stadium.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Stadium.cs new file mode 100644 index 0000000..4bada06 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Stadium.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Stadium")] + [Serializable] + public partial class Stadium + { + /// + /// The unique ID of the arena + /// + [Description("The unique ID of the arena")] + [DataMember(Name = "StadiumID", Order = 1)] + public int StadiumID { get; set; } + + /// + /// Whether or not this arena is the home venue for an active team + /// + [Description("Whether or not this arena is the home venue for an active team")] + [DataMember(Name = "Active", Order = 2)] + public bool Active { get; set; } + + /// + /// The full name of the arena + /// + [Description("The full name of the arena")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The address where the arena is located + /// + [Description("The address where the arena is located")] + [DataMember(Name = "Address", Order = 4)] + public string Address { get; set; } + + /// + /// The city where the arena is located + /// + [Description("The city where the arena is located")] + [DataMember(Name = "City", Order = 5)] + public string City { get; set; } + + /// + /// The US state where the arena is located (if arena is outside US, this value is NULL) + /// + [Description("The US state where the arena is located (if arena is outside US, this value is NULL)")] + [DataMember(Name = "State", Order = 6)] + public string State { get; set; } + + /// + /// The zip code of the arena + /// + [Description("The zip code of the arena")] + [DataMember(Name = "Zip", Order = 7)] + public string Zip { get; set; } + + /// + /// The 2-digit country code where the arena is located + /// + [Description("The 2-digit country code where the arena is located")] + [DataMember(Name = "Country", Order = 8)] + public string Country { get; set; } + + /// + /// The estimated seating capacity of the arena + /// + [Description("The estimated seating capacity of the arena")] + [DataMember(Name = "Capacity", Order = 9)] + public int? Capacity { get; set; } + + /// + /// The geographic latitude coordinate of this venue. + /// + [Description("The geographic latitude coordinate of this venue.")] + [DataMember(Name = "GeoLat", Order = 10)] + public decimal? GeoLat { get; set; } + + /// + /// The geographic longitude coordinate of this venue. + /// + [Description("The geographic longitude coordinate of this venue.")] + [DataMember(Name = "GeoLong", Order = 11)] + public decimal? GeoLong { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Standing.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Standing.cs new file mode 100644 index 0000000..1a1d227 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Standing.cs @@ -0,0 +1,139 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + /// + /// The NHL regular season for which these totals apply + /// + [Description("The NHL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 1)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The unique ID for the team + /// + [Description("The unique ID for the team")] + [DataMember(Name = "TeamID", Order = 3)] + public int TeamID { get; set; } + + /// + /// Whether or not the team is active + /// + [Description("Whether or not the team is active")] + [DataMember(Name = "Key", Order = 4)] + public string Key { get; set; } + + /// + /// The name of the city + /// + [Description("The name of the city")] + [DataMember(Name = "City", Order = 5)] + public string City { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The conference of the team (Eastern or Western) + /// + [Description("The conference of the team (Eastern or Western)")] + [DataMember(Name = "Conference", Order = 7)] + public string Conference { get; set; } + + /// + /// The division of the team (e.g. Atlantic, Metropolitan, Central, or Pacific)) + /// + [Description("The division of the team (e.g. Atlantic, Metropolitan, Central, or Pacific))")] + [DataMember(Name = "Division", Order = 8)] + public string Division { get; set; } + + /// + /// Regular season wins + /// + [Description("Regular season wins")] + [DataMember(Name = "Wins", Order = 9)] + public int? Wins { get; set; } + + /// + /// Regular season losses + /// + [Description("Regular season losses")] + [DataMember(Name = "Losses", Order = 10)] + public int? Losses { get; set; } + + /// + /// Regular season overtime losses + /// + [Description("Regular season overtime losses")] + [DataMember(Name = "OvertimeLosses", Order = 11)] + public int? OvertimeLosses { get; set; } + + /// + /// Winning percentage + /// + [Description("Winning percentage")] + [DataMember(Name = "Percentage", Order = 12)] + public decimal? Percentage { get; set; } + + /// + /// Regular season conference wins + /// + [Description("Regular season conference wins")] + [DataMember(Name = "ConferenceWins", Order = 13)] + public int? ConferenceWins { get; set; } + + /// + /// Regular season conference losses + /// + [Description("Regular season conference losses")] + [DataMember(Name = "ConferenceLosses", Order = 14)] + public int? ConferenceLosses { get; set; } + + /// + /// Regular season division wins + /// + [Description("Regular season division wins")] + [DataMember(Name = "DivisionWins", Order = 15)] + public int? DivisionWins { get; set; } + + /// + /// Regular season division wins + /// + [Description("Regular season division wins")] + [DataMember(Name = "DivisionLosses", Order = 16)] + public int? DivisionLosses { get; set; } + + /// + /// Regular season shutout wins + /// + [Description("Regular season shutout wins")] + [DataMember(Name = "ShutoutWins", Order = 17)] + public int? ShutoutWins { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 18)] + public int? GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Stat.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Stat.cs new file mode 100644 index 0000000..131c3f8 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Stat.cs @@ -0,0 +1,286 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Stat")] + [Serializable] + public partial class Stat + { + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 1)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 2)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 3)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 4)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 5)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 6)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 7)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 8)] + public int? Seconds { get; set; } + + /// + /// Total number of goals scored + /// + [Description("Total number of goals scored")] + [DataMember(Name = "Goals", Order = 9)] + public decimal? Goals { get; set; } + + /// + /// Total number of assists + /// + [Description("Total number of assists")] + [DataMember(Name = "Assists", Order = 10)] + public decimal? Assists { get; set; } + + /// + /// Total number of shots on goal + /// + [Description("Total number of shots on goal")] + [DataMember(Name = "ShotsOnGoal", Order = 11)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total number of power play goals + /// + [Description("Total number of power play goals")] + [DataMember(Name = "PowerPlayGoals", Order = 12)] + public decimal? PowerPlayGoals { get; set; } + + /// + /// Total number of short handed goals + /// + [Description("Total number of short handed goals")] + [DataMember(Name = "ShortHandedGoals", Order = 13)] + public decimal? ShortHandedGoals { get; set; } + + /// + /// Total number of empty net goals + /// + [Description("Total number of empty net goals")] + [DataMember(Name = "EmptyNetGoals", Order = 14)] + public decimal? EmptyNetGoals { get; set; } + + /// + /// Total number of power play assists + /// + [Description("Total number of power play assists")] + [DataMember(Name = "PowerPlayAssists", Order = 15)] + public decimal? PowerPlayAssists { get; set; } + + /// + /// Total number of short handed assists + /// + [Description("Total number of short handed assists")] + [DataMember(Name = "ShortHandedAssists", Order = 16)] + public decimal? ShortHandedAssists { get; set; } + + /// + /// Total number of hat tricks + /// + [Description("Total number of hat tricks")] + [DataMember(Name = "HatTricks", Order = 17)] + public decimal? HatTricks { get; set; } + + /// + /// Total number of shootout goals + /// + [Description("Total number of shootout goals")] + [DataMember(Name = "ShootoutGoals", Order = 18)] + public decimal? ShootoutGoals { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 19)] + public decimal? PlusMinus { get; set; } + + /// + /// Total pentalty minutes + /// + [Description("Total pentalty minutes")] + [DataMember(Name = "PenaltyMinutes", Order = 20)] + public decimal? PenaltyMinutes { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "Blocks", Order = 21)] + public decimal? Blocks { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 22)] + public decimal? Hits { get; set; } + + /// + /// Total takeaways + /// + [Description("Total takeaways")] + [DataMember(Name = "Takeaways", Order = 23)] + public decimal? Takeaways { get; set; } + + /// + /// Total giveaways + /// + [Description("Total giveaways")] + [DataMember(Name = "Giveaways", Order = 24)] + public decimal? Giveaways { get; set; } + + /// + /// Total faceoffs won + /// + [Description("Total faceoffs won")] + [DataMember(Name = "FaceoffsWon", Order = 25)] + public decimal? FaceoffsWon { get; set; } + + /// + /// Total faceoffs lost + /// + [Description("Total faceoffs lost")] + [DataMember(Name = "FaceoffsLost", Order = 26)] + public decimal? FaceoffsLost { get; set; } + + /// + /// Total shifts + /// + [Description("Total shifts")] + [DataMember(Name = "Shifts", Order = 27)] + public decimal? Shifts { get; set; } + + /// + /// Total goaltending minutes + /// + [Description("Total goaltending minutes")] + [DataMember(Name = "GoaltendingMinutes", Order = 28)] + public int? GoaltendingMinutes { get; set; } + + /// + /// Total goaltending seconds + /// + [Description("Total goaltending seconds")] + [DataMember(Name = "GoaltendingSeconds", Order = 29)] + public int? GoaltendingSeconds { get; set; } + + /// + /// Total goaltending shots against + /// + [Description("Total goaltending shots against")] + [DataMember(Name = "GoaltendingShotsAgainst", Order = 30)] + public decimal? GoaltendingShotsAgainst { get; set; } + + /// + /// Total goaltending goals against + /// + [Description("Total goaltending goals against")] + [DataMember(Name = "GoaltendingGoalsAgainst", Order = 31)] + public decimal? GoaltendingGoalsAgainst { get; set; } + + /// + /// Total goaltending saves + /// + [Description("Total goaltending saves")] + [DataMember(Name = "GoaltendingSaves", Order = 32)] + public decimal? GoaltendingSaves { get; set; } + + /// + /// Total goaltending wins + /// + [Description("Total goaltending wins")] + [DataMember(Name = "GoaltendingWins", Order = 33)] + public decimal? GoaltendingWins { get; set; } + + /// + /// Total goaltendings losses + /// + [Description("Total goaltendings losses")] + [DataMember(Name = "GoaltendingLosses", Order = 34)] + public decimal? GoaltendingLosses { get; set; } + + /// + /// Total goaltendings shutouts + /// + [Description("Total goaltendings shutouts")] + [DataMember(Name = "GoaltendingShutouts", Order = 35)] + public decimal? GoaltendingShutouts { get; set; } + + /// + /// Total games started + /// + [Description("Total games started")] + [DataMember(Name = "Started", Order = 36)] + public int? Started { get; set; } + + /// + /// Total bench pentalty minutes + /// + [Description("Total bench pentalty minutes")] + [DataMember(Name = "BenchPenaltyMinutes", Order = 37)] + public decimal? BenchPenaltyMinutes { get; set; } + + /// + /// Total goaltending overtime losses + /// + [Description("Total goaltending overtime losses")] + [DataMember(Name = "GoaltendingOvertimeLosses", Order = 38)] + public decimal? GoaltendingOvertimeLosses { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 39)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/Team.cs b/FantasyData.Api.Client.NetCore/Model/NHL/Team.cs new file mode 100644 index 0000000..858c2b8 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/Team.cs @@ -0,0 +1,118 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamID", Order = 1)] + public int TeamID { get; set; } + + /// + /// Abbreviation of the team (e.g. LA, PHI, BOS, CHI, etc.) + /// + [Description("Abbreviation of the team (e.g. LA, PHI, BOS, CHI, etc.)")] + [DataMember(Name = "Key", Order = 2)] + public string Key { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 3)] + public bool Active { get; set; } + + /// + /// The city/location of the team (e.g. Los Angeles, Philadelphia, Boston, Chicago, etc.) + /// + [Description("The city/location of the team (e.g. Los Angeles, Philadelphia, Boston, Chicago, etc.)")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The mascot of the team (e.g. Kings, Flyers, Bruins, Blackhawks, etc.) + /// + [Description("The mascot of the team (e.g. Kings, Flyers, Bruins, Blackhawks, etc.)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The unique ID of the team's current home arena + /// + [Description("The unique ID of the team's current home arena")] + [DataMember(Name = "StadiumID", Order = 6)] + public int? StadiumID { get; set; } + + /// + /// The conference of the team (possible values: Eastern, Western) + /// + [Description("The conference of the team (possible values: Eastern, Western)")] + [DataMember(Name = "Conference", Order = 7)] + public string Conference { get; set; } + + /// + /// The division of the team (e.g. Atlantic, Metropolitan, etc) + /// + [Description("The division of the team (e.g. Atlantic, Metropolitan, etc)")] + [DataMember(Name = "Division", Order = 8)] + public string Division { get; set; } + + /// + /// The team's primary color. (This is not licensed for public or commercial use) + /// + [Description("The team's primary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "PrimaryColor", Order = 9)] + public string PrimaryColor { get; set; } + + /// + /// The team's secondary color. (This is not licensed for public or commercial use) + /// + [Description("The team's secondary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "SecondaryColor", Order = 10)] + public string SecondaryColor { get; set; } + + /// + /// The team's tertiary color. (This is not licensed for public or commercial use) + /// + [Description("The team's tertiary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "TertiaryColor", Order = 11)] + public string TertiaryColor { get; set; } + + /// + /// The team's quaternary color. (This is not licensed for public or commercial use) + /// + [Description("The team's quaternary color. (This is not licensed for public or commercial use)")] + [DataMember(Name = "QuaternaryColor", Order = 12)] + public string QuaternaryColor { get; set; } + + /// + /// The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaLogoUrl", Order = 13)] + public string WikipediaLogoUrl { get; set; } + + /// + /// The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaWordMarkUrl", Order = 14)] + public string WikipediaWordMarkUrl { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 15)] + public int GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/TeamGame.cs b/FantasyData.Api.Client.NetCore/Model/NHL/TeamGame.cs new file mode 100644 index 0000000..3ddbcfe --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/TeamGame.cs @@ -0,0 +1,419 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="TeamGame")] + [Serializable] + public partial class TeamGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The NHL season of the game + /// + [Description("The NHL season of the game")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team's name + /// + [Description("Team's name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// Total number of team wins + /// + [Description("Total number of team wins")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// Total number of team losses + /// + [Description("Total number of team losses")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// Total number of overtime losses + /// + [Description("Total number of overtime losses")] + [DataMember(Name = "OvertimeLosses", Order = 9)] + public int? OvertimeLosses { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 10)] + public int? GlobalTeamID { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 11)] + public int? GameID { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentID", Order = 12)] + public int? OpponentID { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 13)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 14)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 15)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 16)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 17)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 18)] + public int? GlobalGameID { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentID", Order = 19)] + public int? GlobalOpponentID { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 20)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 21)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 22)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 23)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 24)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 25)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 26)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 27)] + public int? Seconds { get; set; } + + /// + /// Total number of goals scored + /// + [Description("Total number of goals scored")] + [DataMember(Name = "Goals", Order = 28)] + public decimal? Goals { get; set; } + + /// + /// Total number of assists + /// + [Description("Total number of assists")] + [DataMember(Name = "Assists", Order = 29)] + public decimal? Assists { get; set; } + + /// + /// Total number of shots on goal + /// + [Description("Total number of shots on goal")] + [DataMember(Name = "ShotsOnGoal", Order = 30)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total number of power play goals + /// + [Description("Total number of power play goals")] + [DataMember(Name = "PowerPlayGoals", Order = 31)] + public decimal? PowerPlayGoals { get; set; } + + /// + /// Total number of short handed goals + /// + [Description("Total number of short handed goals")] + [DataMember(Name = "ShortHandedGoals", Order = 32)] + public decimal? ShortHandedGoals { get; set; } + + /// + /// Total number of empty net goals + /// + [Description("Total number of empty net goals")] + [DataMember(Name = "EmptyNetGoals", Order = 33)] + public decimal? EmptyNetGoals { get; set; } + + /// + /// Total number of power play assists + /// + [Description("Total number of power play assists")] + [DataMember(Name = "PowerPlayAssists", Order = 34)] + public decimal? PowerPlayAssists { get; set; } + + /// + /// Total number of short handed assists + /// + [Description("Total number of short handed assists")] + [DataMember(Name = "ShortHandedAssists", Order = 35)] + public decimal? ShortHandedAssists { get; set; } + + /// + /// Total number of hat tricks + /// + [Description("Total number of hat tricks")] + [DataMember(Name = "HatTricks", Order = 36)] + public decimal? HatTricks { get; set; } + + /// + /// Total number of shootout goals + /// + [Description("Total number of shootout goals")] + [DataMember(Name = "ShootoutGoals", Order = 37)] + public decimal? ShootoutGoals { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 38)] + public decimal? PlusMinus { get; set; } + + /// + /// Total pentalty minutes + /// + [Description("Total pentalty minutes")] + [DataMember(Name = "PenaltyMinutes", Order = 39)] + public decimal? PenaltyMinutes { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "Blocks", Order = 40)] + public decimal? Blocks { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 41)] + public decimal? Hits { get; set; } + + /// + /// Total takeaways + /// + [Description("Total takeaways")] + [DataMember(Name = "Takeaways", Order = 42)] + public decimal? Takeaways { get; set; } + + /// + /// Total giveaways + /// + [Description("Total giveaways")] + [DataMember(Name = "Giveaways", Order = 43)] + public decimal? Giveaways { get; set; } + + /// + /// Total faceoffs won + /// + [Description("Total faceoffs won")] + [DataMember(Name = "FaceoffsWon", Order = 44)] + public decimal? FaceoffsWon { get; set; } + + /// + /// Total faceoffs lost + /// + [Description("Total faceoffs lost")] + [DataMember(Name = "FaceoffsLost", Order = 45)] + public decimal? FaceoffsLost { get; set; } + + /// + /// Total shifts + /// + [Description("Total shifts")] + [DataMember(Name = "Shifts", Order = 46)] + public decimal? Shifts { get; set; } + + /// + /// Total goaltending minutes + /// + [Description("Total goaltending minutes")] + [DataMember(Name = "GoaltendingMinutes", Order = 47)] + public int? GoaltendingMinutes { get; set; } + + /// + /// Total goaltending seconds + /// + [Description("Total goaltending seconds")] + [DataMember(Name = "GoaltendingSeconds", Order = 48)] + public int? GoaltendingSeconds { get; set; } + + /// + /// Total goaltending shots against + /// + [Description("Total goaltending shots against")] + [DataMember(Name = "GoaltendingShotsAgainst", Order = 49)] + public decimal? GoaltendingShotsAgainst { get; set; } + + /// + /// Total goaltending goals against + /// + [Description("Total goaltending goals against")] + [DataMember(Name = "GoaltendingGoalsAgainst", Order = 50)] + public decimal? GoaltendingGoalsAgainst { get; set; } + + /// + /// Total goaltending saves + /// + [Description("Total goaltending saves")] + [DataMember(Name = "GoaltendingSaves", Order = 51)] + public decimal? GoaltendingSaves { get; set; } + + /// + /// Total goaltending wins + /// + [Description("Total goaltending wins")] + [DataMember(Name = "GoaltendingWins", Order = 52)] + public decimal? GoaltendingWins { get; set; } + + /// + /// Total goaltendings losses + /// + [Description("Total goaltendings losses")] + [DataMember(Name = "GoaltendingLosses", Order = 53)] + public decimal? GoaltendingLosses { get; set; } + + /// + /// Total goaltendings shutouts + /// + [Description("Total goaltendings shutouts")] + [DataMember(Name = "GoaltendingShutouts", Order = 54)] + public decimal? GoaltendingShutouts { get; set; } + + /// + /// Total games started + /// + [Description("Total games started")] + [DataMember(Name = "Started", Order = 55)] + public int? Started { get; set; } + + /// + /// Total bench pentalty minutes + /// + [Description("Total bench pentalty minutes")] + [DataMember(Name = "BenchPenaltyMinutes", Order = 56)] + public decimal? BenchPenaltyMinutes { get; set; } + + /// + /// Total goaltending overtime losses + /// + [Description("Total goaltending overtime losses")] + [DataMember(Name = "GoaltendingOvertimeLosses", Order = 57)] + public decimal? GoaltendingOvertimeLosses { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 58)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/TeamLine.cs b/FantasyData.Api.Client.NetCore/Model/NHL/TeamLine.cs new file mode 100644 index 0000000..77c9a9c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/TeamLine.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="TeamLine")] + [Serializable] + public partial class TeamLine + { + /// + /// The unique ID for the team + /// + [Description("The unique ID for the team")] + [DataMember(Name = "TeamID", Order = 1)] + public int TeamID { get; set; } + + /// + /// Whether or not the team is active + /// + [Description("Whether or not the team is active")] + [DataMember(Name = "Key", Order = 2)] + public string Key { get; set; } + + /// + /// The full team name + /// + [Description("The full team name")] + [DataMember(Name = "FullName", Order = 3)] + public string FullName { get; set; } + + /// + /// The even strength lines for this team + /// + [Description("The even strength lines for this team")] + [DataMember(Name = "EvenStrengthLines", Order = 20004)] + public PlayerLine[] EvenStrengthLines { get; set; } + + /// + /// The power play lines for this team + /// + [Description("The power play lines for this team")] + [DataMember(Name = "PowerPlayLines", Order = 20005)] + public PlayerLine[] PowerPlayLines { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/NHL/TeamSeason.cs b/FantasyData.Api.Client.NetCore/Model/NHL/TeamSeason.cs new file mode 100644 index 0000000..8527ead --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/NHL/TeamSeason.cs @@ -0,0 +1,370 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.NHL +{ + [DataContract(Namespace="", Name="TeamSeason")] + [Serializable] + public partial class TeamSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamID", Order = 2)] + public int? TeamID { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int? SeasonType { get; set; } + + /// + /// The NHL regular season for which these totals apply + /// + [Description("The NHL regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 4)] + public int? Season { get; set; } + + /// + /// Team name + /// + [Description("Team name")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// Total number of wins + /// + [Description("Total number of wins")] + [DataMember(Name = "Wins", Order = 7)] + public int? Wins { get; set; } + + /// + /// Total number of losses + /// + [Description("Total number of losses")] + [DataMember(Name = "Losses", Order = 8)] + public int? Losses { get; set; } + + /// + /// Total number of overtime losses + /// + [Description("Total number of overtime losses")] + [DataMember(Name = "OvertimeLosses", Order = 9)] + public int? OvertimeLosses { get; set; } + + /// + /// Indicates which position is included in opponent stats that are aggregated together + /// + [Description("Indicates which position is included in opponent stats that are aggregated together")] + [DataMember(Name = "OpponentPosition", Order = 10)] + public string OpponentPosition { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 11)] + public int? GlobalTeamID { get; set; } + + /// + /// The aggregated season stats for this team's opponents + /// + [Description("The aggregated season stats for this team's opponents")] + [DataMember(Name = "OpponentStat", Order = 10012)] + public OpponentSeason OpponentStat { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 13)] + public DateTime? Updated { get; set; } + + /// + /// The number of games played. + /// + [Description("The number of games played.")] + [DataMember(Name = "Games", Order = 14)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 15)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total FanDuel daily fantasy points scored + /// + [Description("Total FanDuel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 16)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total DraftKings daily fantasy points scored + /// + [Description("Total DraftKings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 17)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 18)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total number of minutes played + /// + [Description("Total number of minutes played")] + [DataMember(Name = "Minutes", Order = 19)] + public int? Minutes { get; set; } + + /// + /// Total number of seconds played + /// + [Description("Total number of seconds played")] + [DataMember(Name = "Seconds", Order = 20)] + public int? Seconds { get; set; } + + /// + /// Total number of goals scored + /// + [Description("Total number of goals scored")] + [DataMember(Name = "Goals", Order = 21)] + public decimal? Goals { get; set; } + + /// + /// Total number of assists + /// + [Description("Total number of assists")] + [DataMember(Name = "Assists", Order = 22)] + public decimal? Assists { get; set; } + + /// + /// Total number of shots on goal + /// + [Description("Total number of shots on goal")] + [DataMember(Name = "ShotsOnGoal", Order = 23)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total number of power play goals + /// + [Description("Total number of power play goals")] + [DataMember(Name = "PowerPlayGoals", Order = 24)] + public decimal? PowerPlayGoals { get; set; } + + /// + /// Total number of short handed goals + /// + [Description("Total number of short handed goals")] + [DataMember(Name = "ShortHandedGoals", Order = 25)] + public decimal? ShortHandedGoals { get; set; } + + /// + /// Total number of empty net goals + /// + [Description("Total number of empty net goals")] + [DataMember(Name = "EmptyNetGoals", Order = 26)] + public decimal? EmptyNetGoals { get; set; } + + /// + /// Total number of power play assists + /// + [Description("Total number of power play assists")] + [DataMember(Name = "PowerPlayAssists", Order = 27)] + public decimal? PowerPlayAssists { get; set; } + + /// + /// Total number of short handed assists + /// + [Description("Total number of short handed assists")] + [DataMember(Name = "ShortHandedAssists", Order = 28)] + public decimal? ShortHandedAssists { get; set; } + + /// + /// Total number of hat tricks + /// + [Description("Total number of hat tricks")] + [DataMember(Name = "HatTricks", Order = 29)] + public decimal? HatTricks { get; set; } + + /// + /// Total number of shootout goals + /// + [Description("Total number of shootout goals")] + [DataMember(Name = "ShootoutGoals", Order = 30)] + public decimal? ShootoutGoals { get; set; } + + /// + /// Total plus minus + /// + [Description("Total plus minus")] + [DataMember(Name = "PlusMinus", Order = 31)] + public decimal? PlusMinus { get; set; } + + /// + /// Total pentalty minutes + /// + [Description("Total pentalty minutes")] + [DataMember(Name = "PenaltyMinutes", Order = 32)] + public decimal? PenaltyMinutes { get; set; } + + /// + /// Total blocked shots + /// + [Description("Total blocked shots")] + [DataMember(Name = "Blocks", Order = 33)] + public decimal? Blocks { get; set; } + + /// + /// Total hits + /// + [Description("Total hits")] + [DataMember(Name = "Hits", Order = 34)] + public decimal? Hits { get; set; } + + /// + /// Total takeaways + /// + [Description("Total takeaways")] + [DataMember(Name = "Takeaways", Order = 35)] + public decimal? Takeaways { get; set; } + + /// + /// Total giveaways + /// + [Description("Total giveaways")] + [DataMember(Name = "Giveaways", Order = 36)] + public decimal? Giveaways { get; set; } + + /// + /// Total faceoffs won + /// + [Description("Total faceoffs won")] + [DataMember(Name = "FaceoffsWon", Order = 37)] + public decimal? FaceoffsWon { get; set; } + + /// + /// Total faceoffs lost + /// + [Description("Total faceoffs lost")] + [DataMember(Name = "FaceoffsLost", Order = 38)] + public decimal? FaceoffsLost { get; set; } + + /// + /// Total shifts + /// + [Description("Total shifts")] + [DataMember(Name = "Shifts", Order = 39)] + public decimal? Shifts { get; set; } + + /// + /// Total goaltending minutes + /// + [Description("Total goaltending minutes")] + [DataMember(Name = "GoaltendingMinutes", Order = 40)] + public int? GoaltendingMinutes { get; set; } + + /// + /// Total goaltending seconds + /// + [Description("Total goaltending seconds")] + [DataMember(Name = "GoaltendingSeconds", Order = 41)] + public int? GoaltendingSeconds { get; set; } + + /// + /// Total goaltending shots against + /// + [Description("Total goaltending shots against")] + [DataMember(Name = "GoaltendingShotsAgainst", Order = 42)] + public decimal? GoaltendingShotsAgainst { get; set; } + + /// + /// Total goaltending goals against + /// + [Description("Total goaltending goals against")] + [DataMember(Name = "GoaltendingGoalsAgainst", Order = 43)] + public decimal? GoaltendingGoalsAgainst { get; set; } + + /// + /// Total goaltending saves + /// + [Description("Total goaltending saves")] + [DataMember(Name = "GoaltendingSaves", Order = 44)] + public decimal? GoaltendingSaves { get; set; } + + /// + /// Total goaltending wins + /// + [Description("Total goaltending wins")] + [DataMember(Name = "GoaltendingWins", Order = 45)] + public decimal? GoaltendingWins { get; set; } + + /// + /// Total goaltendings losses + /// + [Description("Total goaltendings losses")] + [DataMember(Name = "GoaltendingLosses", Order = 46)] + public decimal? GoaltendingLosses { get; set; } + + /// + /// Total goaltendings shutouts + /// + [Description("Total goaltendings shutouts")] + [DataMember(Name = "GoaltendingShutouts", Order = 47)] + public decimal? GoaltendingShutouts { get; set; } + + /// + /// Total games started + /// + [Description("Total games started")] + [DataMember(Name = "Started", Order = 48)] + public int? Started { get; set; } + + /// + /// Total bench pentalty minutes + /// + [Description("Total bench pentalty minutes")] + [DataMember(Name = "BenchPenaltyMinutes", Order = 49)] + public decimal? BenchPenaltyMinutes { get; set; } + + /// + /// Total goaltending overtime losses + /// + [Description("Total goaltending overtime losses")] + [DataMember(Name = "GoaltendingOvertimeLosses", Order = 50)] + public decimal? GoaltendingOvertimeLosses { get; set; } + + /// + /// Total FantasyDraft daily fantasy points scored + /// + [Description("Total FantasyDraft daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFantasyDraft", Order = 51)] + public decimal? FantasyPointsFantasyDraft { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/Driver.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/Driver.cs new file mode 100644 index 0000000..3c4391a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/Driver.cs @@ -0,0 +1,146 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="Driver")] + [Serializable] + public partial class Driver + { + /// + /// The unique ID of this driver (assigned by FantasyData) + /// + [Description("The unique ID of this driver (assigned by FantasyData)")] + [DataMember(Name = "DriverID", Order = 1)] + public int DriverID { get; set; } + + /// + /// The driver's first name + /// + [Description("The driver's first name")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The driver's last name + /// + [Description("The driver's last name")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// The driver's car number + /// + [Description("The driver's car number")] + [DataMember(Name = "Number", Order = 4)] + public int? Number { get; set; } + + /// + /// The driver's car number for display purposes (with leading zeros when necessary) + /// + [Description("The driver's car number for display purposes (with leading zeros when necessary)")] + [DataMember(Name = "NumberDisplay", Order = 5)] + public string NumberDisplay { get; set; } + + /// + /// The driver's team name + /// + [Description("The driver's team name")] + [DataMember(Name = "Team", Order = 6)] + public string Team { get; set; } + + /// + /// The driver's birth date + /// + [Description("The driver's birth date")] + [DataMember(Name = "BirthDate", Order = 7)] + public DateTime? BirthDate { get; set; } + + /// + /// The driver's birth place + /// + [Description("The driver's birth place")] + [DataMember(Name = "BirthPlace", Order = 8)] + public string BirthPlace { get; set; } + + /// + /// The driver's gender + /// + [Description("The driver's gender")] + [DataMember(Name = "Gender", Order = 9)] + public string Gender { get; set; } + + /// + /// The driver's height + /// + [Description("The driver's height")] + [DataMember(Name = "Height", Order = 10)] + public int? Height { get; set; } + + /// + /// The driver's weight + /// + [Description("The driver's weight")] + [DataMember(Name = "Weight", Order = 11)] + public int? Weight { get; set; } + + /// + /// The manufacturer of the driver's car + /// + [Description("The manufacturer of the driver's car")] + [DataMember(Name = "Manufacturer", Order = 12)] + public string Manufacturer { get; set; } + + /// + /// The engine type of the driver's car + /// + [Description("The engine type of the driver's car")] + [DataMember(Name = "Engine", Order = 13)] + public string Engine { get; set; } + + /// + /// The chassis of the driver's car + /// + [Description("The chassis of the driver's car")] + [DataMember(Name = "Chassis", Order = 14)] + public string Chassis { get; set; } + + /// + /// The names of the sponsor(s) of the driver + /// + [Description("The names of the sponsor(s) of the driver")] + [DataMember(Name = "Sponsors", Order = 15)] + public string Sponsors { get; set; } + + /// + /// The name of the crew chief for the driver + /// + [Description("The name of the crew chief for the driver")] + [DataMember(Name = "CrewChief", Order = 16)] + public string CrewChief { get; set; } + + /// + /// The photo URL of the driver + /// + [Description("The photo URL of the driver")] + [DataMember(Name = "PhotoUrl", Order = 17)] + public string PhotoUrl { get; set; } + + /// + /// The date/time when this driver was last updated + /// + [Description("The date/time when this driver was last updated")] + [DataMember(Name = "Updated", Order = 18)] + public DateTime? Updated { get; set; } + + /// + /// The date/time when this driver was created + /// + [Description("The date/time when this driver was created")] + [DataMember(Name = "Created", Order = 19)] + public DateTime? Created { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/DriverRace.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/DriverRace.cs new file mode 100644 index 0000000..7a9616e --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/DriverRace.cs @@ -0,0 +1,209 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="DriverRace")] + [Serializable] + public partial class DriverRace + { + /// + /// The unique ID of this stat record + /// + [Description("The unique ID of this stat record")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of this driver + /// + [Description("The unique ID of this driver")] + [DataMember(Name = "DriverID", Order = 2)] + public int DriverID { get; set; } + + /// + /// The season that this race is associated with + /// + [Description("The season that this race is associated with")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The driver's name + /// + [Description("The driver's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The driver's car number + /// + [Description("The driver's car number")] + [DataMember(Name = "Number", Order = 5)] + public int? Number { get; set; } + + /// + /// The driver's car number for display purposes (with leading zeros when necessary) + /// + [Description("The driver's car number for display purposes (with leading zeros when necessary)")] + [DataMember(Name = "NumberDisplay", Order = 6)] + public string NumberDisplay { get; set; } + + /// + /// The manufacturer of the driver's car + /// + [Description("The manufacturer of the driver's car")] + [DataMember(Name = "Manufacturer", Order = 7)] + public string Manufacturer { get; set; } + + /// + /// The DraftKings salary of the driver for this race + /// + [Description("The DraftKings salary of the driver for this race")] + [DataMember(Name = "DraftKingsSalary", Order = 8)] + public int? DraftKingsSalary { get; set; } + + /// + /// The unique ID of this race + /// + [Description("The unique ID of this race")] + [DataMember(Name = "RaceID", Order = 9)] + public int? RaceID { get; set; } + + /// + /// The day of this race + /// + [Description("The day of this race")] + [DataMember(Name = "Day", Order = 10)] + public DateTime Day { get; set; } + + /// + /// The date/time of this race + /// + [Description("The date/time of this race")] + [DataMember(Name = "DateTime", Order = 11)] + public DateTime? DateTime { get; set; } + + /// + /// The date/time when this record was last updated + /// + [Description("The date/time when this record was last updated")] + [DataMember(Name = "Updated", Order = 12)] + public DateTime? Updated { get; set; } + + /// + /// The date/time when this record was created + /// + [Description("The date/time when this record was created")] + [DataMember(Name = "Created", Order = 13)] + public DateTime? Created { get; set; } + + /// + /// The fantasy points scored by this driver + /// + [Description("The fantasy points scored by this driver")] + [DataMember(Name = "FantasyPoints", Order = 14)] + public decimal? FantasyPoints { get; set; } + + /// + /// The fantasy points scored by this driver, according to the DraftKings scoring system + /// + [Description("The fantasy points scored by this driver, according to the DraftKings scoring system")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 15)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The speed of this driver's car during the qualifying race + /// + [Description("The speed of this driver's car during the qualifying race")] + [DataMember(Name = "QualifyingSpeed", Order = 16)] + public decimal? QualifyingSpeed { get; set; } + + /// + /// The final position this driver finished in the qualifying race (pole) + /// + [Description("The final position this driver finished in the qualifying race (pole)")] + [DataMember(Name = "PoleFinalPosition", Order = 17)] + public decimal? PoleFinalPosition { get; set; } + + /// + /// The driver's starting position for the race (typically the same as the PoleFinalPosition) + /// + [Description("The driver's starting position for the race (typically the same as the PoleFinalPosition)")] + [DataMember(Name = "StartPosition", Order = 18)] + public decimal? StartPosition { get; set; } + + /// + /// The driver's final position for the race + /// + [Description("The driver's final position for the race")] + [DataMember(Name = "FinalPosition", Order = 19)] + public decimal? FinalPosition { get; set; } + + /// + /// The driver's differential between the final position and the starting position + /// + [Description("The driver's differential between the final position and the starting position")] + [DataMember(Name = "PositionDifferential", Order = 20)] + public decimal? PositionDifferential { get; set; } + + /// + /// The total number of laps completed by the driver + /// + [Description("The total number of laps completed by the driver")] + [DataMember(Name = "Laps", Order = 21)] + public decimal? Laps { get; set; } + + /// + /// The total number of laps that this driver finished in first place + /// + [Description("The total number of laps that this driver finished in first place")] + [DataMember(Name = "LapsLed", Order = 22)] + public decimal? LapsLed { get; set; } + + /// + /// The total number of laps that this driver finished fastest + /// + [Description("The total number of laps that this driver finished fastest")] + [DataMember(Name = "FastestLaps", Order = 23)] + public decimal? FastestLaps { get; set; } + + /// + /// The total points scored by this driver + /// + [Description("The total points scored by this driver")] + [DataMember(Name = "Points", Order = 24)] + public decimal? Points { get; set; } + + /// + /// The total bonus points scored by this driver + /// + [Description("The total bonus points scored by this driver")] + [DataMember(Name = "Bonus", Order = 25)] + public decimal? Bonus { get; set; } + + /// + /// The total penalty points applied to this driver + /// + [Description("The total penalty points applied to this driver")] + [DataMember(Name = "Penalty", Order = 26)] + public decimal? Penalty { get; set; } + + /// + /// Indicates whether this driver won the race + /// + [Description("Indicates whether this driver won the race")] + [DataMember(Name = "Wins", Order = 27)] + public decimal? Wins { get; set; } + + /// + /// Indicates whether this driver won the qualifying race (pole) + /// + [Description("Indicates whether this driver won the qualifying race (pole)")] + [DataMember(Name = "Poles", Order = 28)] + public decimal? Poles { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/DriverRaceProjection.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/DriverRaceProjection.cs new file mode 100644 index 0000000..da8a9ab --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/DriverRaceProjection.cs @@ -0,0 +1,209 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="DriverRaceProjection")] + [Serializable] + public partial class DriverRaceProjection + { + /// + /// The unique ID of this stat record + /// + [Description("The unique ID of this stat record")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of this driver + /// + [Description("The unique ID of this driver")] + [DataMember(Name = "DriverID", Order = 2)] + public int DriverID { get; set; } + + /// + /// The season that this race is associated with + /// + [Description("The season that this race is associated with")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The driver's name + /// + [Description("The driver's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The driver's car number + /// + [Description("The driver's car number")] + [DataMember(Name = "Number", Order = 5)] + public int? Number { get; set; } + + /// + /// The driver's car number for display purposes (with leading zeros when necessary) + /// + [Description("The driver's car number for display purposes (with leading zeros when necessary)")] + [DataMember(Name = "NumberDisplay", Order = 6)] + public string NumberDisplay { get; set; } + + /// + /// The manufacturer of the driver's car + /// + [Description("The manufacturer of the driver's car")] + [DataMember(Name = "Manufacturer", Order = 7)] + public string Manufacturer { get; set; } + + /// + /// The DraftKings salary of the driver for this race + /// + [Description("The DraftKings salary of the driver for this race")] + [DataMember(Name = "DraftKingsSalary", Order = 8)] + public int? DraftKingsSalary { get; set; } + + /// + /// The unique ID of this race + /// + [Description("The unique ID of this race")] + [DataMember(Name = "RaceID", Order = 9)] + public int? RaceID { get; set; } + + /// + /// The day of this race + /// + [Description("The day of this race")] + [DataMember(Name = "Day", Order = 10)] + public DateTime Day { get; set; } + + /// + /// The date/time of this race + /// + [Description("The date/time of this race")] + [DataMember(Name = "DateTime", Order = 11)] + public DateTime? DateTime { get; set; } + + /// + /// The date/time when this record was last updated + /// + [Description("The date/time when this record was last updated")] + [DataMember(Name = "Updated", Order = 12)] + public DateTime? Updated { get; set; } + + /// + /// The date/time when this record was created + /// + [Description("The date/time when this record was created")] + [DataMember(Name = "Created", Order = 13)] + public DateTime? Created { get; set; } + + /// + /// The fantasy points scored by this driver + /// + [Description("The fantasy points scored by this driver")] + [DataMember(Name = "FantasyPoints", Order = 14)] + public decimal? FantasyPoints { get; set; } + + /// + /// The fantasy points scored by this driver, according to the DraftKings scoring system + /// + [Description("The fantasy points scored by this driver, according to the DraftKings scoring system")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 15)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The speed of this driver's car during the qualifying race + /// + [Description("The speed of this driver's car during the qualifying race")] + [DataMember(Name = "QualifyingSpeed", Order = 16)] + public decimal? QualifyingSpeed { get; set; } + + /// + /// The final position this driver finished in the qualifying race (pole) + /// + [Description("The final position this driver finished in the qualifying race (pole)")] + [DataMember(Name = "PoleFinalPosition", Order = 17)] + public decimal? PoleFinalPosition { get; set; } + + /// + /// The driver's starting position for the race (typically the same as the PoleFinalPosition) + /// + [Description("The driver's starting position for the race (typically the same as the PoleFinalPosition)")] + [DataMember(Name = "StartPosition", Order = 18)] + public decimal? StartPosition { get; set; } + + /// + /// The driver's final position for the race + /// + [Description("The driver's final position for the race")] + [DataMember(Name = "FinalPosition", Order = 19)] + public decimal? FinalPosition { get; set; } + + /// + /// The driver's differential between the final position and the starting position + /// + [Description("The driver's differential between the final position and the starting position")] + [DataMember(Name = "PositionDifferential", Order = 20)] + public decimal? PositionDifferential { get; set; } + + /// + /// The total number of laps completed by the driver + /// + [Description("The total number of laps completed by the driver")] + [DataMember(Name = "Laps", Order = 21)] + public decimal? Laps { get; set; } + + /// + /// The total number of laps that this driver finished in first place + /// + [Description("The total number of laps that this driver finished in first place")] + [DataMember(Name = "LapsLed", Order = 22)] + public decimal? LapsLed { get; set; } + + /// + /// The total number of laps that this driver finished fastest + /// + [Description("The total number of laps that this driver finished fastest")] + [DataMember(Name = "FastestLaps", Order = 23)] + public decimal? FastestLaps { get; set; } + + /// + /// The total points scored by this driver + /// + [Description("The total points scored by this driver")] + [DataMember(Name = "Points", Order = 24)] + public decimal? Points { get; set; } + + /// + /// The total bonus points scored by this driver + /// + [Description("The total bonus points scored by this driver")] + [DataMember(Name = "Bonus", Order = 25)] + public decimal? Bonus { get; set; } + + /// + /// The total penalty points applied to this driver + /// + [Description("The total penalty points applied to this driver")] + [DataMember(Name = "Penalty", Order = 26)] + public decimal? Penalty { get; set; } + + /// + /// Indicates whether this driver won the race + /// + [Description("Indicates whether this driver won the race")] + [DataMember(Name = "Wins", Order = 27)] + public decimal? Wins { get; set; } + + /// + /// Indicates whether this driver won the qualifying race (pole) + /// + [Description("Indicates whether this driver won the qualifying race (pole)")] + [DataMember(Name = "Poles", Order = 28)] + public decimal? Poles { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/DriverSeason.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/DriverSeason.cs new file mode 100644 index 0000000..ef569a4 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/DriverSeason.cs @@ -0,0 +1,167 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="DriverSeason")] + [Serializable] + public partial class DriverSeason + { + /// + /// The unique ID of this stat record + /// + [Description("The unique ID of this stat record")] + [DataMember(Name = "StatID", Order = 1)] + public int StatID { get; set; } + + /// + /// The unique ID of this driver + /// + [Description("The unique ID of this driver")] + [DataMember(Name = "DriverID", Order = 2)] + public int DriverID { get; set; } + + /// + /// The season of this driver's stats + /// + [Description("The season of this driver's stats")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The driver's name + /// + [Description("The driver's name")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The total number of races this driver competed in during this season + /// + [Description("The total number of races this driver competed in during this season")] + [DataMember(Name = "Races", Order = 5)] + public int Races { get; set; } + + /// + /// The date/time when this record was last updated + /// + [Description("The date/time when this record was last updated")] + [DataMember(Name = "Updated", Order = 6)] + public DateTime? Updated { get; set; } + + /// + /// The date/time when this record was created + /// + [Description("The date/time when this record was created")] + [DataMember(Name = "Created", Order = 7)] + public DateTime? Created { get; set; } + + /// + /// The fantasy points scored by this driver + /// + [Description("The fantasy points scored by this driver")] + [DataMember(Name = "FantasyPoints", Order = 8)] + public decimal? FantasyPoints { get; set; } + + /// + /// The fantasy points scored by this driver, according to the DraftKings scoring system + /// + [Description("The fantasy points scored by this driver, according to the DraftKings scoring system")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 9)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The speed of this driver's car during the qualifying race + /// + [Description("The speed of this driver's car during the qualifying race")] + [DataMember(Name = "QualifyingSpeed", Order = 10)] + public decimal? QualifyingSpeed { get; set; } + + /// + /// The final position this driver finished in the qualifying race (pole) + /// + [Description("The final position this driver finished in the qualifying race (pole)")] + [DataMember(Name = "PoleFinalPosition", Order = 11)] + public decimal? PoleFinalPosition { get; set; } + + /// + /// The driver's starting position for the race (typically the same as the PoleFinalPosition) + /// + [Description("The driver's starting position for the race (typically the same as the PoleFinalPosition)")] + [DataMember(Name = "StartPosition", Order = 12)] + public decimal? StartPosition { get; set; } + + /// + /// The driver's final position for the race + /// + [Description("The driver's final position for the race")] + [DataMember(Name = "FinalPosition", Order = 13)] + public decimal? FinalPosition { get; set; } + + /// + /// The driver's differential between the final position and the starting position + /// + [Description("The driver's differential between the final position and the starting position")] + [DataMember(Name = "PositionDifferential", Order = 14)] + public decimal? PositionDifferential { get; set; } + + /// + /// The total number of laps completed by the driver + /// + [Description("The total number of laps completed by the driver")] + [DataMember(Name = "Laps", Order = 15)] + public decimal? Laps { get; set; } + + /// + /// The total number of laps that this driver finished in first place + /// + [Description("The total number of laps that this driver finished in first place")] + [DataMember(Name = "LapsLed", Order = 16)] + public decimal? LapsLed { get; set; } + + /// + /// The total number of laps that this driver finished fastest + /// + [Description("The total number of laps that this driver finished fastest")] + [DataMember(Name = "FastestLaps", Order = 17)] + public decimal? FastestLaps { get; set; } + + /// + /// The total points scored by this driver + /// + [Description("The total points scored by this driver")] + [DataMember(Name = "Points", Order = 18)] + public decimal? Points { get; set; } + + /// + /// The total bonus points scored by this driver + /// + [Description("The total bonus points scored by this driver")] + [DataMember(Name = "Bonus", Order = 19)] + public decimal? Bonus { get; set; } + + /// + /// The total penalty points applied to this driver + /// + [Description("The total penalty points applied to this driver")] + [DataMember(Name = "Penalty", Order = 20)] + public decimal? Penalty { get; set; } + + /// + /// Indicates whether this driver won the race + /// + [Description("Indicates whether this driver won the race")] + [DataMember(Name = "Wins", Order = 21)] + public decimal? Wins { get; set; } + + /// + /// Indicates whether this driver won the qualifying race (pole) + /// + [Description("Indicates whether this driver won the qualifying race (pole)")] + [DataMember(Name = "Poles", Order = 22)] + public decimal? Poles { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/News.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/News.cs new file mode 100644 index 0000000..0edd611 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/News.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="News")] + [Serializable] + public partial class News + { + /// + /// Unique ID of news story + /// + [Description("Unique ID of news story")] + [DataMember(Name = "NewsID", Order = 1)] + public int NewsID { get; set; } + + /// + /// The DriverID of the driver who relates to this story + /// + [Description("The DriverID of the driver who relates to this story")] + [DataMember(Name = "DriverID", Order = 2)] + public int? DriverID { get; set; } + + /// + /// The brief title of the news (typically less than 100 characters) + /// + [Description("The brief title of the news (typically less than 100 characters)")] + [DataMember(Name = "Title", Order = 3)] + public string Title { get; set; } + + /// + /// The full body content of the story + /// + [Description("The full body content of the story")] + [DataMember(Name = "Content", Order = 4)] + public string Content { get; set; } + + /// + /// The url of the full story + /// + [Description("The url of the full story")] + [DataMember(Name = "Url", Order = 5)] + public string Url { get; set; } + + /// + /// The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.) + /// + [Description("The source of the story (FantasyData, RotoBaller, NBCSports.com, etc.)")] + [DataMember(Name = "Source", Order = 6)] + public string Source { get; set; } + + /// + /// The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use + /// + [Description("The terms of use with using this news item, credit must be given to the originator of the story when specified in the terms of use")] + [DataMember(Name = "TermsOfUse", Order = 7)] + public string TermsOfUse { get; set; } + + /// + /// The date/time that the content was published + /// + [Description("The date/time that the content was published")] + [DataMember(Name = "Updated", Order = 8)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/Race.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/Race.cs new file mode 100644 index 0000000..2a2fa19 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/Race.cs @@ -0,0 +1,132 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="Race")] + [Serializable] + public partial class Race + { + /// + /// The unique ID of this race + /// + [Description("The unique ID of this race")] + [DataMember(Name = "RaceID", Order = 1)] + public int RaceID { get; set; } + + /// + /// The unique ID of the series that this race is associated with + /// + [Description("The unique ID of the series that this race is associated with")] + [DataMember(Name = "SeriesID", Order = 2)] + public int SeriesID { get; set; } + + /// + /// The name of the series that this race is associated with + /// + [Description("The name of the series that this race is associated with")] + [DataMember(Name = "SeriesName", Order = 3)] + public string SeriesName { get; set; } + + /// + /// The season that this race is associated with + /// + [Description("The season that this race is associated with")] + [DataMember(Name = "Season", Order = 4)] + public int Season { get; set; } + + /// + /// The name of this race + /// + [Description("The name of this race")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The day of this race + /// + [Description("The day of this race")] + [DataMember(Name = "Day", Order = 6)] + public DateTime Day { get; set; } + + /// + /// The date/time of this race + /// + [Description("The date/time of this race")] + [DataMember(Name = "DateTime", Order = 7)] + public DateTime? DateTime { get; set; } + + /// + /// The name of the track for this race + /// + [Description("The name of the track for this race")] + [DataMember(Name = "Track", Order = 8)] + public string Track { get; set; } + + /// + /// The station broadcasting this race + /// + [Description("The station broadcasting this race")] + [DataMember(Name = "Broadcast", Order = 9)] + public string Broadcast { get; set; } + + /// + /// The unique ID of the driver who won this race + /// + [Description("The unique ID of the driver who won this race")] + [DataMember(Name = "WinnerID", Order = 10)] + public int? WinnerID { get; set; } + + /// + /// The unique ID of the driver who won the qualifying pole + /// + [Description("The unique ID of the driver who won the qualifying pole")] + [DataMember(Name = "PoleWinnerID", Order = 11)] + public int? PoleWinnerID { get; set; } + + /// + /// Indicates whether this race is currently in progress + /// + [Description("Indicates whether this race is currently in progress")] + [DataMember(Name = "IsInProgress", Order = 12)] + public bool IsInProgress { get; set; } + + /// + /// Indicates whether this race is over + /// + [Description("Indicates whether this race is over")] + [DataMember(Name = "IsOver", Order = 13)] + public bool IsOver { get; set; } + + /// + /// The date/time when this race was last updated + /// + [Description("The date/time when this race was last updated")] + [DataMember(Name = "Updated", Order = 14)] + public DateTime? Updated { get; set; } + + /// + /// The date/time when this race was created + /// + [Description("The date/time when this race was created")] + [DataMember(Name = "Created", Order = 15)] + public DateTime? Created { get; set; } + + /// + /// The day that this is race is rescheduled for (if race was postponed) + /// + [Description("The day that this is race is rescheduled for (if race was postponed)")] + [DataMember(Name = "RescheduledDay", Order = 16)] + public DateTime RescheduledDay { get; set; } + + /// + /// The date/time that this is race is rescheduled for (if race was postponed) + /// + [Description("The date/time that this is race is rescheduled for (if race was postponed)")] + [DataMember(Name = "RescheduledDateTime", Order = 17)] + public DateTime? RescheduledDateTime { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/RaceResult.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/RaceResult.cs new file mode 100644 index 0000000..4be3577 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/RaceResult.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="RaceResult")] + [Serializable] + public partial class RaceResult + { + /// + /// The details of the race + /// + [Description("The details of the race")] + [DataMember(Name = "Race", Order = 10001)] + public Race Race { get; set; } + + /// + /// The details of the drivers in this race + /// + [Description("The details of the drivers in this race")] + [DataMember(Name = "DriverRaces", Order = 20002)] + public DriverRace[] DriverRaces { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/RaceStat.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/RaceStat.cs new file mode 100644 index 0000000..757da29 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/RaceStat.cs @@ -0,0 +1,153 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="RaceStat")] + [Serializable] + public partial class RaceStat + { + /// + /// The unique ID of this race + /// + [Description("The unique ID of this race")] + [DataMember(Name = "RaceID", Order = 1)] + public int? RaceID { get; set; } + + /// + /// The day of this race + /// + [Description("The day of this race")] + [DataMember(Name = "Day", Order = 2)] + public DateTime Day { get; set; } + + /// + /// The date/time of this race + /// + [Description("The date/time of this race")] + [DataMember(Name = "DateTime", Order = 3)] + public DateTime? DateTime { get; set; } + + /// + /// The date/time when this record was last updated + /// + [Description("The date/time when this record was last updated")] + [DataMember(Name = "Updated", Order = 4)] + public DateTime? Updated { get; set; } + + /// + /// The date/time when this record was created + /// + [Description("The date/time when this record was created")] + [DataMember(Name = "Created", Order = 5)] + public DateTime? Created { get; set; } + + /// + /// The fantasy points scored by this driver + /// + [Description("The fantasy points scored by this driver")] + [DataMember(Name = "FantasyPoints", Order = 6)] + public decimal? FantasyPoints { get; set; } + + /// + /// The fantasy points scored by this driver, according to the DraftKings scoring system + /// + [Description("The fantasy points scored by this driver, according to the DraftKings scoring system")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 7)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The speed of this driver's car during the qualifying race + /// + [Description("The speed of this driver's car during the qualifying race")] + [DataMember(Name = "QualifyingSpeed", Order = 8)] + public decimal? QualifyingSpeed { get; set; } + + /// + /// The final position this driver finished in the qualifying race (pole) + /// + [Description("The final position this driver finished in the qualifying race (pole)")] + [DataMember(Name = "PoleFinalPosition", Order = 9)] + public decimal? PoleFinalPosition { get; set; } + + /// + /// The driver's starting position for the race (typically the same as the PoleFinalPosition) + /// + [Description("The driver's starting position for the race (typically the same as the PoleFinalPosition)")] + [DataMember(Name = "StartPosition", Order = 10)] + public decimal? StartPosition { get; set; } + + /// + /// The driver's final position for the race + /// + [Description("The driver's final position for the race")] + [DataMember(Name = "FinalPosition", Order = 11)] + public decimal? FinalPosition { get; set; } + + /// + /// The driver's differential between the final position and the starting position + /// + [Description("The driver's differential between the final position and the starting position")] + [DataMember(Name = "PositionDifferential", Order = 12)] + public decimal? PositionDifferential { get; set; } + + /// + /// The total number of laps completed by the driver + /// + [Description("The total number of laps completed by the driver")] + [DataMember(Name = "Laps", Order = 13)] + public decimal? Laps { get; set; } + + /// + /// The total number of laps that this driver finished in first place + /// + [Description("The total number of laps that this driver finished in first place")] + [DataMember(Name = "LapsLed", Order = 14)] + public decimal? LapsLed { get; set; } + + /// + /// The total number of laps that this driver finished fastest + /// + [Description("The total number of laps that this driver finished fastest")] + [DataMember(Name = "FastestLaps", Order = 15)] + public decimal? FastestLaps { get; set; } + + /// + /// The total points scored by this driver + /// + [Description("The total points scored by this driver")] + [DataMember(Name = "Points", Order = 16)] + public decimal? Points { get; set; } + + /// + /// The total bonus points scored by this driver + /// + [Description("The total bonus points scored by this driver")] + [DataMember(Name = "Bonus", Order = 17)] + public decimal? Bonus { get; set; } + + /// + /// The total penalty points applied to this driver + /// + [Description("The total penalty points applied to this driver")] + [DataMember(Name = "Penalty", Order = 18)] + public decimal? Penalty { get; set; } + + /// + /// Indicates whether this driver won the race + /// + [Description("Indicates whether this driver won the race")] + [DataMember(Name = "Wins", Order = 19)] + public decimal? Wins { get; set; } + + /// + /// Indicates whether this driver won the qualifying race (pole) + /// + [Description("Indicates whether this driver won the qualifying race (pole)")] + [DataMember(Name = "Poles", Order = 20)] + public decimal? Poles { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/Series.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/Series.cs new file mode 100644 index 0000000..32a4750 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/Series.cs @@ -0,0 +1,27 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="Series")] + [Serializable] + public partial class Series + { + /// + /// The unique ID of this series + /// + [Description("The unique ID of this series")] + [DataMember(Name = "SeriesID", Order = 1)] + public int SeriesID { get; set; } + + /// + /// The name of this series + /// + [Description("The name of this series")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Nascar/Stat.cs b/FantasyData.Api.Client.NetCore/Model/Nascar/Stat.cs new file mode 100644 index 0000000..984c4d0 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Nascar/Stat.cs @@ -0,0 +1,132 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Nascar +{ + [DataContract(Namespace="", Name="Stat")] + [Serializable] + public partial class Stat + { + /// + /// The date/time when this record was last updated + /// + [Description("The date/time when this record was last updated")] + [DataMember(Name = "Updated", Order = 1)] + public DateTime? Updated { get; set; } + + /// + /// The date/time when this record was created + /// + [Description("The date/time when this record was created")] + [DataMember(Name = "Created", Order = 2)] + public DateTime? Created { get; set; } + + /// + /// The fantasy points scored by this driver + /// + [Description("The fantasy points scored by this driver")] + [DataMember(Name = "FantasyPoints", Order = 3)] + public decimal? FantasyPoints { get; set; } + + /// + /// The fantasy points scored by this driver, according to the DraftKings scoring system + /// + [Description("The fantasy points scored by this driver, according to the DraftKings scoring system")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 4)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// The speed of this driver's car during the qualifying race + /// + [Description("The speed of this driver's car during the qualifying race")] + [DataMember(Name = "QualifyingSpeed", Order = 5)] + public decimal? QualifyingSpeed { get; set; } + + /// + /// The final position this driver finished in the qualifying race (pole) + /// + [Description("The final position this driver finished in the qualifying race (pole)")] + [DataMember(Name = "PoleFinalPosition", Order = 6)] + public decimal? PoleFinalPosition { get; set; } + + /// + /// The driver's starting position for the race (typically the same as the PoleFinalPosition) + /// + [Description("The driver's starting position for the race (typically the same as the PoleFinalPosition)")] + [DataMember(Name = "StartPosition", Order = 7)] + public decimal? StartPosition { get; set; } + + /// + /// The driver's final position for the race + /// + [Description("The driver's final position for the race")] + [DataMember(Name = "FinalPosition", Order = 8)] + public decimal? FinalPosition { get; set; } + + /// + /// The driver's differential between the final position and the starting position + /// + [Description("The driver's differential between the final position and the starting position")] + [DataMember(Name = "PositionDifferential", Order = 9)] + public decimal? PositionDifferential { get; set; } + + /// + /// The total number of laps completed by the driver + /// + [Description("The total number of laps completed by the driver")] + [DataMember(Name = "Laps", Order = 10)] + public decimal? Laps { get; set; } + + /// + /// The total number of laps that this driver finished in first place + /// + [Description("The total number of laps that this driver finished in first place")] + [DataMember(Name = "LapsLed", Order = 11)] + public decimal? LapsLed { get; set; } + + /// + /// The total number of laps that this driver finished fastest + /// + [Description("The total number of laps that this driver finished fastest")] + [DataMember(Name = "FastestLaps", Order = 12)] + public decimal? FastestLaps { get; set; } + + /// + /// The total points scored by this driver + /// + [Description("The total points scored by this driver")] + [DataMember(Name = "Points", Order = 13)] + public decimal? Points { get; set; } + + /// + /// The total bonus points scored by this driver + /// + [Description("The total bonus points scored by this driver")] + [DataMember(Name = "Bonus", Order = 14)] + public decimal? Bonus { get; set; } + + /// + /// The total penalty points applied to this driver + /// + [Description("The total penalty points applied to this driver")] + [DataMember(Name = "Penalty", Order = 15)] + public decimal? Penalty { get; set; } + + /// + /// Indicates whether this driver won the race + /// + [Description("Indicates whether this driver won the race")] + [DataMember(Name = "Wins", Order = 16)] + public decimal? Wins { get; set; } + + /// + /// Indicates whether this driver won the qualifying race (pole) + /// + [Description("Indicates whether this driver won the qualifying race (pole)")] + [DataMember(Name = "Poles", Order = 17)] + public decimal? Poles { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Area.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Area.cs new file mode 100644 index 0000000..554d3fe --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Area.cs @@ -0,0 +1,41 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Area")] + [Serializable] + public partial class Area + { + /// + /// The unique ID of the area + /// + [Description("The unique ID of the area")] + [DataMember(Name = "AreaId", Order = 1)] + public int AreaId { get; set; } + + /// + /// The country code of the area + /// + [Description("The country code of the area")] + [DataMember(Name = "CountryCode", Order = 2)] + public string CountryCode { get; set; } + + /// + /// The display name of the area + /// + [Description("The display name of the area")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The competitions that are associated with and/or played in the area + /// + [Description("The competitions that are associated with and/or played in the area")] + [DataMember(Name = "Competitions", Order = 20004)] + public Competition[] Competitions { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Booking.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Booking.cs new file mode 100644 index 0000000..cae4dc0 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Booking.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Booking")] + [Serializable] + public partial class Booking + { + /// + /// The unique ID of the booking + /// + [Description("The unique ID of the booking")] + [DataMember(Name = "BookingId", Order = 1)] + public int BookingId { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 2)] + public int GameId { get; set; } + + /// + /// The type of booking. Possible values: Yellow Card, Red Card, Yellow Red Card + /// + [Description("The type of booking. Possible values: Yellow Card, Red Card, Yellow Red Card")] + [DataMember(Name = "Type", Order = 3)] + public string Type { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 4)] + public int TeamId { get; set; } + + /// + /// The player's unique PlayerID as assigned by FantasyData + /// + [Description("The player's unique PlayerID as assigned by FantasyData")] + [DataMember(Name = "PlayerId", Order = 5)] + public int? PlayerId { get; set; } + + /// + /// The name of the player who was booked  + /// + [Description("The name of the player who was booked ")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The minute in the game in which the booking occurred + /// + [Description("The minute in the game in which the booking occurred")] + [DataMember(Name = "GameMinute", Order = 7)] + public int? GameMinute { get; set; } + + /// + /// The extra minute in the game in which the booking occurred + /// + [Description("The extra minute in the game in which the booking occurred")] + [DataMember(Name = "GameMinuteExtra", Order = 8)] + public int? GameMinuteExtra { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/BoxScore.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/BoxScore.cs new file mode 100644 index 0000000..24a7ce4 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/BoxScore.cs @@ -0,0 +1,118 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="BoxScore")] + [Serializable] + public partial class BoxScore + { + /// + /// The game details associated with this box score + /// + [Description("The game details associated with this box score")] + [DataMember(Name = "Game", Order = 10001)] + public Game Game { get; set; } + + /// + /// The coach of the away team + /// + [Description("The coach of the away team")] + [DataMember(Name = "AwayTeamCoach", Order = 10002)] + public Coach AwayTeamCoach { get; set; } + + /// + /// The coach of the home team + /// + [Description("The coach of the home team")] + [DataMember(Name = "HomeTeamCoach", Order = 10003)] + public Coach HomeTeamCoach { get; set; } + + /// + /// The main referee + /// + [Description("The main referee")] + [DataMember(Name = "MainReferee", Order = 10004)] + public Referee MainReferee { get; set; } + + /// + /// The first assistant referee + /// + [Description("The first assistant referee")] + [DataMember(Name = "AssistantReferee1", Order = 10005)] + public Referee AssistantReferee1 { get; set; } + + /// + /// The second assistant referee + /// + [Description("The second assistant referee")] + [DataMember(Name = "AssistantReferee2", Order = 10006)] + public Referee AssistantReferee2 { get; set; } + + /// + /// The fourth referee + /// + [Description("The fourth referee")] + [DataMember(Name = "FourthReferee", Order = 10007)] + public Referee FourthReferee { get; set; } + + /// + /// The first additional assistant referee + /// + [Description("The first additional assistant referee")] + [DataMember(Name = "AdditionalAssistantReferee1", Order = 10008)] + public Referee AdditionalAssistantReferee1 { get; set; } + + /// + /// The second additional assistant referee + /// + [Description("The second additional assistant referee")] + [DataMember(Name = "AdditionalAssistantReferee2", Order = 10009)] + public Referee AdditionalAssistantReferee2 { get; set; } + + /// + /// The details of the lineups for each team + /// + [Description("The details of the lineups for each team")] + [DataMember(Name = "Lineups", Order = 20010)] + public Lineup[] Lineups { get; set; } + + /// + /// The details of the goals scored during this game + /// + [Description("The details of the goals scored during this game")] + [DataMember(Name = "Goals", Order = 20011)] + public Goal[] Goals { get; set; } + + /// + /// The details of the bookings (yellow/red cards) recorded during this game + /// + [Description("The details of the bookings (yellow/red cards) recorded during this game")] + [DataMember(Name = "Bookings", Order = 20012)] + public Booking[] Bookings { get; set; } + + /// + /// The details of the penalty shootouts recorded during this game + /// + [Description("The details of the penalty shootouts recorded during this game")] + [DataMember(Name = "PenaltyShootouts", Order = 20013)] + public PenaltyShootout[] PenaltyShootouts { get; set; } + + /// + /// The team stats for this game + /// + [Description("The team stats for this game")] + [DataMember(Name = "TeamGames", Order = 20014)] + public TeamGame[] TeamGames { get; set; } + + /// + /// The player stats for this game + /// + [Description("The player stats for this game")] + [DataMember(Name = "PlayerGames", Order = 20015)] + public PlayerGame[] PlayerGames { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/CanceledMembership.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/CanceledMembership.cs new file mode 100644 index 0000000..e377cbe --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/CanceledMembership.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="CanceledMembership")] + [Serializable] + public partial class CanceledMembership + { + /// + /// Unique ID of the canceled membership. + /// + [Description("Unique ID of the canceled membership.")] + [DataMember(Name = "CanceledMembershipId", Order = 1)] + public int CanceledMembershipId { get; set; } + + /// + /// The unique ID of the membership which is being canceled; should be used to find memberships which may be safely deleted. + /// + [Description("The unique ID of the membership which is being canceled; should be used to find memberships which may be safely deleted.")] + [DataMember(Name = "MembershipId", Order = 2)] + public int MembershipId { get; set; } + + /// + /// The Team Id related to this canceled membership. + /// + [Description("The Team Id related to this canceled membership.")] + [DataMember(Name = "TeamId", Order = 3)] + public int TeamId { get; set; } + + /// + /// The Player Id related to this canceled membership. + /// + [Description("The Player Id related to this canceled membership.")] + [DataMember(Name = "PlayerID", Order = 4)] + public int PlayerID { get; set; } + + /// + /// The date and time when this Canceled Membership was created. + /// + [Description("The date and time when this Canceled Membership was created.")] + [DataMember(Name = "Created", Order = 5)] + public DateTime Created { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Coach.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Coach.cs new file mode 100644 index 0000000..75e219c --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Coach.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Coach")] + [Serializable] + public partial class Coach + { + /// + /// The unique ID of the coach + /// + [Description("The unique ID of the coach")] + [DataMember(Name = "CoachId", Order = 1)] + public int CoachId { get; set; } + + /// + /// Coach's first name + /// + [Description("Coach's first name")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// Coach's last name + /// + [Description("Coach's last name")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// Coach's short name + /// + [Description("Coach's short name")] + [DataMember(Name = "ShortName", Order = 4)] + public string ShortName { get; set; } + + /// + /// Coach's nationality + /// + [Description("Coach's nationality")] + [DataMember(Name = "Nationality", Order = 5)] + public string Nationality { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Competition.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Competition.cs new file mode 100644 index 0000000..fcec3c8 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Competition.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Competition")] + [Serializable] + public partial class Competition + { + /// + /// The unique ID of the competition/league + /// + [Description("The unique ID of the competition/league")] + [DataMember(Name = "CompetitionId", Order = 1)] + public int CompetitionId { get; set; } + + /// + /// The unique ID of the area where this competition/league is played + /// + [Description("The unique ID of the area where this competition/league is played")] + [DataMember(Name = "AreaId", Order = 2)] + public int AreaId { get; set; } + + /// + /// The display name of the area where this competition/league is played + /// + [Description("The display name of the area where this competition/league is played")] + [DataMember(Name = "AreaName", Order = 3)] + public string AreaName { get; set; } + + /// + /// The display name of the competition/league + /// + [Description("The display name of the competition/league")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 5)] + public string Gender { get; set; } + + /// + /// The type of this competition/league (possible values: Club, International) + /// + [Description("The type of this competition/league (possible values: Club, International)")] + [DataMember(Name = "Type", Order = 6)] + public string Type { get; set; } + + /// + /// The format of the competition/league (possible values: Domestic League, International Cup) + /// + [Description("The format of the competition/league (possible values: Domestic League, International Cup)")] + [DataMember(Name = "Format", Order = 7)] + public string Format { get; set; } + + /// + /// The seasons associated with this competition/league + /// + [Description("The seasons associated with this competition/league")] + [DataMember(Name = "Seasons", Order = 20008)] + public Season[] Seasons { get; set; } + + /// + /// The unique string key of the competition/league + /// + [Description("The unique string key of the competition/league")] + [DataMember(Name = "Key", Order = 9)] + public string Key { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/CompetitionDetail.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/CompetitionDetail.cs new file mode 100644 index 0000000..65f36dd --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/CompetitionDetail.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="CompetitionDetail")] + [Serializable] + public partial class CompetitionDetail + { + /// + /// The current active season for this competition/league + /// + [Description("The current active season for this competition/league")] + [DataMember(Name = "CurrentSeason", Order = 10001)] + public Season CurrentSeason { get; set; } + + /// + /// The active teams associated with this competition/league + /// + [Description("The active teams associated with this competition/league")] + [DataMember(Name = "Teams", Order = 20002)] + public TeamDetail[] Teams { get; set; } + + /// + /// The complete schedule for the current season of this competition/league + /// + [Description("The complete schedule for the current season of this competition/league")] + [DataMember(Name = "Games", Order = 20003)] + public Game[] Games { get; set; } + + /// + /// The unique ID of the competition/league + /// + [Description("The unique ID of the competition/league")] + [DataMember(Name = "CompetitionId", Order = 4)] + public int CompetitionId { get; set; } + + /// + /// The unique ID of the area where this competition/league is played + /// + [Description("The unique ID of the area where this competition/league is played")] + [DataMember(Name = "AreaId", Order = 5)] + public int AreaId { get; set; } + + /// + /// The display name of the area where this competition/league is played + /// + [Description("The display name of the area where this competition/league is played")] + [DataMember(Name = "AreaName", Order = 6)] + public string AreaName { get; set; } + + /// + /// The display name of the competition/league + /// + [Description("The display name of the competition/league")] + [DataMember(Name = "Name", Order = 7)] + public string Name { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Male, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Male, Female)")] + [DataMember(Name = "Gender", Order = 8)] + public string Gender { get; set; } + + /// + /// The type of this competition/league (possible values: Club, International) + /// + [Description("The type of this competition/league (possible values: Club, International)")] + [DataMember(Name = "Type", Order = 9)] + public string Type { get; set; } + + /// + /// The format of the competition/league (possible values: Domestic League, International Cup) + /// + [Description("The format of the competition/league (possible values: Domestic League, International Cup)")] + [DataMember(Name = "Format", Order = 10)] + public string Format { get; set; } + + /// + /// The seasons associated with this competition/league + /// + [Description("The seasons associated with this competition/league")] + [DataMember(Name = "Seasons", Order = 20011)] + public Season[] Seasons { get; set; } + + /// + /// The unique string key of the competition/league + /// + [Description("The unique string key of the competition/league")] + [DataMember(Name = "Key", Order = 12)] + public string Key { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Game.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Game.cs new file mode 100644 index 0000000..6153e22 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Game.cs @@ -0,0 +1,363 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of the game. + /// + [Description("The unique ID of the game.")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The RoundId of the round that this game is associated with. + /// + [Description("The RoundId of the round that this game is associated with.")] + [DataMember(Name = "RoundId", Order = 2)] + public int RoundId { get; set; } + + /// + /// The calendar year of the season during which this game occurs. + /// + [Description("The calendar year of the season during which this game occurs.")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int SeasonType { get; set; } + + /// + /// The name of the group in which this game occurs. This is used in tournaments / cups. + /// + [Description("The name of the group in which this game occurs. This is used in tournaments / cups.")] + [DataMember(Name = "Group", Order = 5)] + public string Group { get; set; } + + /// + /// The TeamId of the away team. + /// + [Description("The TeamId of the away team.")] + [DataMember(Name = "AwayTeamId", Order = 6)] + public int? AwayTeamId { get; set; } + + /// + /// The TeamId of the home team. + /// + [Description("The TeamId of the home team.")] + [DataMember(Name = "HomeTeamId", Order = 7)] + public int? HomeTeamId { get; set; } + + /// + /// The VenueId of the venue. + /// + [Description("The VenueId of the venue.")] + [DataMember(Name = "VenueId", Order = 8)] + public int? VenueId { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC. + /// + [Description("The day that the game is scheduled to be played in UTC.")] + [DataMember(Name = "Day", Order = 9)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC. + /// + [Description("The date/time that the game is scheduled to be played in UTC.")] + [DataMember(Name = "DateTime", Order = 10)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Break, Final, Awarded, Postponed, Canceled, Suspended. If a game is called off before it starts, the Status is set to Postponed, until a new date/time is scheduled, at which point, the DateTime is updated, and the Status is set back to Scheduled. If a game has already started, and temporarily interrupted, it's Status is set to Suspended, until it either resumes, or gets postponed and replayed at a later date. If the game is at halftime, then the Status will be Break. Awarded is used in cases where a game is decided on the so called "green table." That means that a game was decided by the Federation/League to one team for a reason. This can include situations like riots, where the opponent team gets 3:0 win awarded as punishment. Awarded is also used when a club withdraws during the season from the competition then all the remaining matches getting awarded 3:0. + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Break, Final, Awarded, Postponed, Canceled, Suspended. If a game is called off before it starts, the Status is set to Postponed, until a new date/time is scheduled, at which point, the DateTime is updated, and the Status is set back to Scheduled. If a game has already started, and temporarily interrupted, it's Status is set to Suspended, until it either resumes, or gets postponed and replayed at a later date. If the game is at halftime, then the Status will be Break. Awarded is used in cases where a game is decided on the so called \"green table.\" That means that a game was decided by the Federation/League to one team for a reason. This can include situations like riots, where the opponent team gets 3:0 win awarded as punishment. Awarded is also used when a club withdraws during the season from the competition then all the remaining matches getting awarded 3:0.")] + [DataMember(Name = "Status", Order = 11)] + public string Status { get; set; } + + /// + /// The week during the season/round in which this game occurs. + /// + [Description("The week during the season/round in which this game occurs.")] + [DataMember(Name = "Week", Order = 12)] + public int? Week { get; set; } + + /// + /// The final period of the game. Possible values: Regular = Game ended in 90 minutes of regular time, ExtraTime = Game ended in extra time / overtime, PenaltyShootout = Game finished in penalty shootout time + /// + [Description("The final period of the game. Possible values: Regular = Game ended in 90 minutes of regular time, ExtraTime = Game ended in extra time / overtime, PenaltyShootout = Game finished in penalty shootout time")] + [DataMember(Name = "Period", Order = 13)] + public string Period { get; set; } + + /// + /// The clock for the game if it is in progress. If the games hasn't started or the game is over, then this will be NULL. + /// + [Description("The clock for the game if it is in progress. If the games hasn't started or the game is over, then this will be NULL.")] + [DataMember(Name = "Clock", Order = 14)] + public int? Clock { get; set; } + + /// + /// The winner of the game. Possible values include: AwayTeam, HomeTeam, Draw + /// + [Description("The winner of the game. Possible values include: AwayTeam, HomeTeam, Draw")] + [DataMember(Name = "Winner", Order = 15)] + public string Winner { get; set; } + + /// + /// Indicates home field advantage. Possible values include: Home Away, Neutral + /// + [Description("Indicates home field advantage. Possible values include: Home Away, Neutral")] + [DataMember(Name = "VenueType", Order = 16)] + public string VenueType { get; set; } + + /// + /// The abbreviation of the away team. + /// + [Description("The abbreviation of the away team.")] + [DataMember(Name = "AwayTeamKey", Order = 17)] + public string AwayTeamKey { get; set; } + + /// + /// The name of the away team. + /// + [Description("The name of the away team.")] + [DataMember(Name = "AwayTeamName", Order = 18)] + public string AwayTeamName { get; set; } + + /// + /// The country code of the away team. + /// + [Description("The country code of the away team.")] + [DataMember(Name = "AwayTeamCountryCode", Order = 19)] + public string AwayTeamCountryCode { get; set; } + + /// + /// The final score of the away team. + /// + [Description("The final score of the away team.")] + [DataMember(Name = "AwayTeamScore", Order = 20)] + public int? AwayTeamScore { get; set; } + + /// + /// The first period score of the away team. + /// + [Description("The first period score of the away team.")] + [DataMember(Name = "AwayTeamScorePeriod1", Order = 21)] + public int? AwayTeamScorePeriod1 { get; set; } + + /// + /// The second period score of the away team. + /// + [Description("The second period score of the away team.")] + [DataMember(Name = "AwayTeamScorePeriod2", Order = 22)] + public int? AwayTeamScorePeriod2 { get; set; } + + /// + /// The extra time (overtime) score of the away team (if applicable). + /// + [Description("The extra time (overtime) score of the away team (if applicable).")] + [DataMember(Name = "AwayTeamScoreExtraTime", Order = 23)] + public int? AwayTeamScoreExtraTime { get; set; } + + /// + /// The penalty shootout score of the away team (if applicable). + /// + [Description("The penalty shootout score of the away team (if applicable).")] + [DataMember(Name = "AwayTeamScorePenalty", Order = 24)] + public int? AwayTeamScorePenalty { get; set; } + + /// + /// The abbreviation of the home team. + /// + [Description("The abbreviation of the home team.")] + [DataMember(Name = "HomeTeamKey", Order = 25)] + public string HomeTeamKey { get; set; } + + /// + /// The name of the home team. + /// + [Description("The name of the home team.")] + [DataMember(Name = "HomeTeamName", Order = 26)] + public string HomeTeamName { get; set; } + + /// + /// The country code of the home team. + /// + [Description("The country code of the home team.")] + [DataMember(Name = "HomeTeamCountryCode", Order = 27)] + public string HomeTeamCountryCode { get; set; } + + /// + /// The final score of the home team. + /// + [Description("The final score of the home team.")] + [DataMember(Name = "HomeTeamScore", Order = 28)] + public int? HomeTeamScore { get; set; } + + /// + /// The first period score of the home team. + /// + [Description("The first period score of the home team.")] + [DataMember(Name = "HomeTeamScorePeriod1", Order = 29)] + public int? HomeTeamScorePeriod1 { get; set; } + + /// + /// The second period score of the home team. + /// + [Description("The second period score of the home team.")] + [DataMember(Name = "HomeTeamScorePeriod2", Order = 30)] + public int? HomeTeamScorePeriod2 { get; set; } + + /// + /// The extra time (overtime) score of the home team (if applicable). + /// + [Description("The extra time (overtime) score of the home team (if applicable).")] + [DataMember(Name = "HomeTeamScoreExtraTime", Order = 31)] + public int? HomeTeamScoreExtraTime { get; set; } + + /// + /// The penalty shootout score of the home team (if applicable). + /// + [Description("The penalty shootout score of the home team (if applicable).")] + [DataMember(Name = "HomeTeamScorePenalty", Order = 32)] + public int? HomeTeamScorePenalty { get; set; } + + /// + /// Payout on a bet that the home team wins. + /// + [Description("Payout on a bet that the home team wins.")] + [DataMember(Name = "HomeTeamMoneyLine", Order = 33)] + public int? HomeTeamMoneyLine { get; set; } + + /// + /// Payout on a bet that the away team wins. + /// + [Description("Payout on a bet that the away team wins.")] + [DataMember(Name = "AwayTeamMoneyLine", Order = 34)] + public int? AwayTeamMoneyLine { get; set; } + + /// + /// Payout on a bet that the game is a draw. + /// + [Description("Payout on a bet that the game is a draw.")] + [DataMember(Name = "DrawMoneyLine", Order = 35)] + public int? DrawMoneyLine { get; set; } + + /// + /// Point spread for the home team. + /// + [Description("Point spread for the home team.")] + [DataMember(Name = "PointSpread", Order = 36)] + public decimal? PointSpread { get; set; } + + /// + /// Payout if the home team beats the spread. + /// + [Description("Payout if the home team beats the spread.")] + [DataMember(Name = "HomeTeamPointSpreadPayout", Order = 37)] + public int? HomeTeamPointSpreadPayout { get; set; } + + /// + /// Payout if the away team beats the spread. + /// + [Description("Payout if the away team beats the spread.")] + [DataMember(Name = "AwayTeamPointSpreadPayout", Order = 38)] + public int? AwayTeamPointSpreadPayout { get; set; } + + /// + /// Over/Under total goals for the game. + /// + [Description("Over/Under total goals for the game.")] + [DataMember(Name = "OverUnder", Order = 39)] + public decimal? OverUnder { get; set; } + + /// + /// Payout for the over bet. + /// + [Description("Payout for the over bet.")] + [DataMember(Name = "OverPayout", Order = 40)] + public int? OverPayout { get; set; } + + /// + /// Payout for the under bet. + /// + [Description("Payout for the under bet.")] + [DataMember(Name = "UnderPayout", Order = 41)] + public int? UnderPayout { get; set; } + + /// + /// The attendance for the game. + /// + [Description("The attendance for the game.")] + [DataMember(Name = "Attendance", Order = 42)] + public int? Attendance { get; set; } + + /// + /// The timestamp of when this record was updated, based on US Eatern Time (EST/EDT). + /// + [Description("The timestamp of when this record was updated, based on US Eatern Time (EST/EDT).")] + [DataMember(Name = "Updated", Order = 43)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when this record was updated, based on Universal Coordinated Time (UTC). + /// + [Description("The timestamp of when this record was updated, based on Universal Coordinated Time (UTC).")] + [DataMember(Name = "UpdatedUtc", Order = 44)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 45)] + public int GlobalGameId { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamId", Order = 46)] + public int? GlobalAwayTeamId { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamId", Order = 47)] + public int? GlobalHomeTeamId { get; set; } + + /// + /// The added stoppage time minute the game is currently in. Will be null when game is not in stoppage time. + /// + [Description("The added stoppage time minute the game is currently in. Will be null when game is not in stoppage time.")] + [DataMember(Name = "ClockExtra", Order = 48)] + public int? ClockExtra { get; set; } + + /// + /// A convienience string display of the current clock with format Clock+ClockExtra (ex 90+3) + /// + [Description("A convienience string display of the current clock with format Clock+ClockExtra (ex 90+3)")] + [DataMember(Name = "ClockDisplay", Order = 49)] + public string ClockDisplay { get; set; } + + /// + /// Indicates whether the game is over and the final score and stats have been verified and closed out + /// + [Description("Indicates whether the game is over and the final score and stats have been verified and closed out")] + [DataMember(Name = "IsClosed", Order = 50)] + public bool? IsClosed { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/GameInfo.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/GameInfo.cs new file mode 100644 index 0000000..6b0a790 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/GameInfo.cs @@ -0,0 +1,153 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="GameInfo")] + [Serializable] + public partial class GameInfo + { + /// + /// The unique ID of the game. + /// + [Description("The unique ID of the game.")] + [DataMember(Name = "GameId", Order = 1)] + public int GameId { get; set; } + + /// + /// The RoundId of the round that this game is associated with. + /// + [Description("The RoundId of the round that this game is associated with.")] + [DataMember(Name = "RoundId", Order = 2)] + public int RoundId { get; set; } + + /// + /// The calendar year of the season during which this game occurs. + /// + [Description("The calendar year of the season during which this game occurs.")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int SeasonType { get; set; } + + /// + /// The week during the season/round in which this game occurs. + /// + [Description("The week during the season/round in which this game occurs.")] + [DataMember(Name = "Week", Order = 5)] + public int? Week { get; set; } + + /// + /// The day that the game is scheduled to be played in UTC. + /// + [Description("The day that the game is scheduled to be played in UTC.")] + [DataMember(Name = "Day", Order = 6)] + public DateTime? Day { get; set; } + + /// + /// The date/time that the game is scheduled to be played in UTC. + /// + [Description("The date/time that the game is scheduled to be played in UTC.")] + [DataMember(Name = "DateTime", Order = 7)] + public DateTime? DateTime { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Break, Final, Awarded, Postponed, Canceled, Suspended. If a game is called off before it starts, the Status is set to Postponed, until a new date/time is scheduled, at which point, the DateTime is updated, and the Status is set back to Scheduled. If a game has already started, and temporarily interrupted, it's Status is set to Suspended, until it either resumes, or gets postponed and replayed at a later date. If the game is at halftime, then the Status will be Break. Awarded is used in cases where a game is decided on the so called "green table." That means that a game was decided by the Federation/League to one team for a reason. This can include situations like riots, where the opponent team gets 3:0 win awarded as punishment. Awarded is also used when a club withdraws during the season from the competition then all the remaining matches getting awarded 3:0. + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Break, Final, Awarded, Postponed, Canceled, Suspended. If a game is called off before it starts, the Status is set to Postponed, until a new date/time is scheduled, at which point, the DateTime is updated, and the Status is set back to Scheduled. If a game has already started, and temporarily interrupted, it's Status is set to Suspended, until it either resumes, or gets postponed and replayed at a later date. If the game is at halftime, then the Status will be Break. Awarded is used in cases where a game is decided on the so called \"green table.\" That means that a game was decided by the Federation/League to one team for a reason. This can include situations like riots, where the opponent team gets 3:0 win awarded as punishment. Awarded is also used when a club withdraws during the season from the competition then all the remaining matches getting awarded 3:0.")] + [DataMember(Name = "Status", Order = 8)] + public string Status { get; set; } + + /// + /// The TeamId of the away team. + /// + [Description("The TeamId of the away team.")] + [DataMember(Name = "AwayTeamId", Order = 9)] + public int? AwayTeamId { get; set; } + + /// + /// The TeamId of the home team. + /// + [Description("The TeamId of the home team.")] + [DataMember(Name = "HomeTeamId", Order = 10)] + public int? HomeTeamId { get; set; } + + /// + /// The name of the away team. + /// + [Description("The name of the away team.")] + [DataMember(Name = "AwayTeamName", Order = 11)] + public string AwayTeamName { get; set; } + + /// + /// The name of the home team. + /// + [Description("The name of the home team.")] + [DataMember(Name = "HomeTeamName", Order = 12)] + public string HomeTeamName { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 13)] + public int GlobalGameId { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamId", Order = 14)] + public int? GlobalAwayTeamId { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamId", Order = 15)] + public int? GlobalHomeTeamId { get; set; } + + /// + /// List of Pregame Odds from different sportsbooks + /// + [Description("List of Pregame Odds from different sportsbooks")] + [DataMember(Name = "PregameOdds", Order = 20016)] + public GameOdd[] PregameOdds { get; set; } + + /// + /// List of Live Odds from different sportsbooks + /// + [Description("List of Live Odds from different sportsbooks")] + [DataMember(Name = "LiveOdds", Order = 20017)] + public GameOdd[] LiveOdds { get; set; } + + /// + /// Score of the home team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the home team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "HomeTeamScore", Order = 18)] + public int? HomeTeamScore { get; set; } + + /// + /// Score of the away team (updated after game ends to allow for resolving bets) + /// + [Description("Score of the away team (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "AwayTeamScore", Order = 19)] + public int? AwayTeamScore { get; set; } + + /// + /// Total scored points in the game (updated after game ends to allow for resolving bets) + /// + [Description("Total scored points in the game (updated after game ends to allow for resolving bets)")] + [DataMember(Name = "TotalScore", Order = 20)] + public int? TotalScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/GameOdd.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/GameOdd.cs new file mode 100644 index 0000000..78b37ec --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/GameOdd.cs @@ -0,0 +1,125 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="GameOdd")] + [Serializable] + public partial class GameOdd + { + /// + /// Unique ID of this odd + /// + [Description("Unique ID of this odd")] + [DataMember(Name = "GameOddId", Order = 1)] + public int GameOddId { get; set; } + + /// + /// Name of sportsbook + /// + [Description("Name of sportsbook")] + [DataMember(Name = "Sportsbook", Order = 2)] + public string Sportsbook { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 3)] + public int GameId { get; set; } + + /// + /// The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT). + /// + [Description("The timestamp of when these odds were first created, based on US Eatern Time (EST/EDT).")] + [DataMember(Name = "Created", Order = 4)] + public DateTime Created { get; set; } + + /// + /// The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook. + /// + [Description("The timestamp of when these odds were last updated, based on US Eatern Time (EST/EDT). If these are the latest odds for this game, and they have not been updated within the last few minutes, then it indicates that there were problems connecting to the sportsbook.")] + [DataMember(Name = "Updated", Order = 5)] + public DateTime Updated { get; set; } + + /// + /// The sportsbook's money line for the home team + /// + [Description("The sportsbook's money line for the home team")] + [DataMember(Name = "HomeMoneyLine", Order = 6)] + public int? HomeMoneyLine { get; set; } + + /// + /// The sportsbook's money line for the away team + /// + [Description("The sportsbook's money line for the away team")] + [DataMember(Name = "AwayMoneyLine", Order = 7)] + public int? AwayMoneyLine { get; set; } + + /// + /// The sportsbook's money line for a draw + /// + [Description("The sportsbook's money line for a draw")] + [DataMember(Name = "DrawMoneyLine", Order = 8)] + public int? DrawMoneyLine { get; set; } + + /// + /// The sportsbook's point spread for the home team + /// + [Description("The sportsbook's point spread for the home team")] + [DataMember(Name = "HomePointSpread", Order = 9)] + public decimal? HomePointSpread { get; set; } + + /// + /// The sportsbook's point spread for the away team + /// + [Description("The sportsbook's point spread for the away team")] + [DataMember(Name = "AwayPointSpread", Order = 10)] + public decimal? AwayPointSpread { get; set; } + + /// + /// The sportsbook's point spread payout for the home team + /// + [Description("The sportsbook's point spread payout for the home team")] + [DataMember(Name = "HomePointSpreadPayout", Order = 11)] + public int? HomePointSpreadPayout { get; set; } + + /// + /// The sportsbook's point spread payout for the away team + /// + [Description("The sportsbook's point spread payout for the away team")] + [DataMember(Name = "AwayPointSpreadPayout", Order = 12)] + public int? AwayPointSpreadPayout { get; set; } + + /// + /// The sportsbook's total points scored over under for the game + /// + [Description("The sportsbook's total points scored over under for the game")] + [DataMember(Name = "OverUnder", Order = 13)] + public decimal? OverUnder { get; set; } + + /// + /// The sportsbook's payout for the over + /// + [Description("The sportsbook's payout for the over")] + [DataMember(Name = "OverPayout", Order = 14)] + public int? OverPayout { get; set; } + + /// + /// The sportsbook's payout for the under + /// + [Description("The sportsbook's payout for the under")] + [DataMember(Name = "UnderPayout", Order = 15)] + public int? UnderPayout { get; set; } + + /// + /// Unique ID of the sportsbook + /// + [Description("Unique ID of the sportsbook")] + [DataMember(Name = "SportsbookId", Order = 16)] + public int? SportsbookId { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/GameStat.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/GameStat.cs new file mode 100644 index 0000000..50850e0 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/GameStat.cs @@ -0,0 +1,370 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="GameStat")] + [Serializable] + public partial class GameStat + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameId", Order = 1)] + public int? GameId { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentId", Order = 2)] + public int? OpponentId { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 3)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 4)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game (UTC) + /// + [Description("The date and time of the game (UTC)")] + [DataMember(Name = "DateTime", Order = 5)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 6)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 7)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 8)] + public int? GlobalGameId { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentId", Order = 9)] + public int? GlobalOpponentId { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 11)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 12)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 13)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 14)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 15)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 16)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total Mondogoal fantasy points scored + /// + [Description("Total Mondogoal fantasy points scored")] + [DataMember(Name = "FantasyPointsMondogoal", Order = 17)] + public decimal? FantasyPointsMondogoal { get; set; } + + /// + /// Total minutes played + /// + [Description("Total minutes played")] + [DataMember(Name = "Minutes", Order = 18)] + public decimal? Minutes { get; set; } + + /// + /// Total goals scored + /// + [Description("Total goals scored")] + [DataMember(Name = "Goals", Order = 19)] + public decimal? Goals { get; set; } + + /// + /// Total assists scored + /// + [Description("Total assists scored")] + [DataMember(Name = "Assists", Order = 20)] + public decimal? Assists { get; set; } + + /// + /// Total shots attempted + /// + [Description("Total shots attempted")] + [DataMember(Name = "Shots", Order = 21)] + public decimal? Shots { get; set; } + + /// + /// Total shots on goal attempted + /// + [Description("Total shots on goal attempted")] + [DataMember(Name = "ShotsOnGoal", Order = 22)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total yellow cards against + /// + [Description("Total yellow cards against")] + [DataMember(Name = "YellowCards", Order = 23)] + public decimal? YellowCards { get; set; } + + /// + /// Total red cards against + /// + [Description("Total red cards against")] + [DataMember(Name = "RedCards", Order = 24)] + public decimal? RedCards { get; set; } + + /// + /// Total double yellow cards against (which result in a red card) + /// + [Description("Total double yellow cards against (which result in a red card)")] + [DataMember(Name = "YellowRedCards", Order = 25)] + public decimal? YellowRedCards { get; set; } + + /// + /// Total passes from a wide area of the field towards the center of the field near the opponent's goal + /// + [Description("Total passes from a wide area of the field towards the center of the field near the opponent's goal")] + [DataMember(Name = "Crosses", Order = 26)] + public decimal? Crosses { get; set; } + + /// + /// Total tackles won + /// + [Description("Total tackles won")] + [DataMember(Name = "TacklesWon", Order = 27)] + public decimal? TacklesWon { get; set; } + + /// + /// Total interceptions made + /// + [Description("Total interceptions made")] + [DataMember(Name = "Interceptions", Order = 28)] + public decimal? Interceptions { get; set; } + + /// + /// Total goals scored against own team (accidentally) + /// + [Description("Total goals scored against own team (accidentally)")] + [DataMember(Name = "OwnGoals", Order = 29)] + public decimal? OwnGoals { get; set; } + + /// + /// Total fouls made + /// + [Description("Total fouls made")] + [DataMember(Name = "Fouls", Order = 30)] + public decimal? Fouls { get; set; } + + /// + /// Total times fouled + /// + [Description("Total times fouled")] + [DataMember(Name = "Fouled", Order = 31)] + public decimal? Fouled { get; set; } + + /// + /// Total offsides against + /// + [Description("Total offsides against")] + [DataMember(Name = "Offsides", Order = 32)] + public decimal? Offsides { get; set; } + + /// + /// Total passes attempted + /// + [Description("Total passes attempted")] + [DataMember(Name = "Passes", Order = 33)] + public decimal? Passes { get; set; } + + /// + /// Total passes completed successfully to teammate + /// + [Description("Total passes completed successfully to teammate")] + [DataMember(Name = "PassesCompleted", Order = 34)] + public decimal? PassesCompleted { get; set; } + + /// + /// Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper) + /// + [Description("Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper)")] + [DataMember(Name = "LastManTackle", Order = 35)] + public decimal? LastManTackle { get; set; } + + /// + /// Total corner kicks awarded + /// + [Description("Total corner kicks awarded")] + [DataMember(Name = "CornersWon", Order = 36)] + public decimal? CornersWon { get; set; } + + /// + /// Total shots blocked + /// + [Description("Total shots blocked")] + [DataMember(Name = "BlockedShots", Order = 37)] + public decimal? BlockedShots { get; set; } + + /// + /// Total times this player touched the ball + /// + [Description("Total times this player touched the ball")] + [DataMember(Name = "Touches", Order = 38)] + public decimal? Touches { get; set; } + + /// + /// Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "DefenderCleanSheets", Order = 39)] + public decimal? DefenderCleanSheets { get; set; } + + /// + /// Total saves made by goalkeeper + /// + [Description("Total saves made by goalkeeper")] + [DataMember(Name = "GoalkeeperSaves", Order = 40)] + public decimal? GoalkeeperSaves { get; set; } + + /// + /// Total goals allowed by goalkeeper + /// + [Description("Total goals allowed by goalkeeper")] + [DataMember(Name = "GoalkeeperGoalsAgainst", Order = 41)] + public decimal? GoalkeeperGoalsAgainst { get; set; } + + /// + /// Total games where this goalkeeper allowed exactly one goal + /// + [Description("Total games where this goalkeeper allowed exactly one goal")] + [DataMember(Name = "GoalkeeperSingleGoalAgainst", Order = 42)] + public decimal? GoalkeeperSingleGoalAgainst { get; set; } + + /// + /// Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "GoalkeeperCleanSheets", Order = 43)] + public decimal? GoalkeeperCleanSheets { get; set; } + + /// + /// Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes) + /// + [Description("Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes)")] + [DataMember(Name = "GoalkeeperWins", Order = 44)] + public decimal? GoalkeeperWins { get; set; } + + /// + /// Total penalty kick goals + /// + [Description("Total penalty kick goals")] + [DataMember(Name = "PenaltyKickGoals", Order = 45)] + public decimal? PenaltyKickGoals { get; set; } + + /// + /// Total penalty kick misses + /// + [Description("Total penalty kick misses")] + [DataMember(Name = "PenaltyKickMisses", Order = 46)] + public decimal? PenaltyKickMisses { get; set; } + + /// + /// Total penalty kick saves + /// + [Description("Total penalty kick saves")] + [DataMember(Name = "PenaltyKickSaves", Order = 47)] + public decimal? PenaltyKickSaves { get; set; } + + /// + /// Total penalties won + /// + [Description("Total penalties won")] + [DataMember(Name = "PenaltiesWon", Order = 48)] + public decimal? PenaltiesWon { get; set; } + + /// + /// Total penalties conceded + /// + [Description("Total penalties conceded ")] + [DataMember(Name = "PenaltiesConceded", Order = 49)] + public decimal? PenaltiesConceded { get; set; } + + /// + /// Goals scored by entire team + /// + [Description("Goals scored by entire team")] + [DataMember(Name = "Score", Order = 50)] + public decimal? Score { get; set; } + + /// + /// Goals allowed to opponent + /// + [Description("Goals allowed to opponent")] + [DataMember(Name = "OpponentScore", Order = 51)] + public decimal? OpponentScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Goal.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Goal.cs new file mode 100644 index 0000000..3c9bad8 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Goal.cs @@ -0,0 +1,97 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Goal")] + [Serializable] + public partial class Goal + { + /// + /// The unique ID of the goal + /// + [Description("The unique ID of the goal")] + [DataMember(Name = "GoalId", Order = 1)] + public int GoalId { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 2)] + public int GameId { get; set; } + + /// + /// The unique ID of the team that scored the goal + /// + [Description("The unique ID of the team that scored the goal")] + [DataMember(Name = "TeamId", Order = 3)] + public int TeamId { get; set; } + + /// + /// The player's unique PlayerID as assigned by FantasyData + /// + [Description("The player's unique PlayerID as assigned by FantasyData")] + [DataMember(Name = "PlayerId", Order = 4)] + public int? PlayerId { get; set; } + + /// + /// The name of the player + /// + [Description("The name of the player")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The type of goal scored + /// + [Description("The type of goal scored")] + [DataMember(Name = "Type", Order = 6)] + public string Type { get; set; } + + /// + /// The unique ID of the first assisted player + /// + [Description("The unique ID of the first assisted player")] + [DataMember(Name = "AssistedByPlayerId1", Order = 7)] + public int? AssistedByPlayerId1 { get; set; } + + /// + /// The player's name of the first assisted player + /// + [Description("The player's name of the first assisted player")] + [DataMember(Name = "AssistedByPlayerName1", Order = 8)] + public string AssistedByPlayerName1 { get; set; } + + /// + /// The unique ID of the second assisted player + /// + [Description("The unique ID of the second assisted player")] + [DataMember(Name = "AssistedByPlayerId2", Order = 9)] + public int? AssistedByPlayerId2 { get; set; } + + /// + /// The player's name of the second assisted player + /// + [Description("The player's name of the second assisted player")] + [DataMember(Name = "AssistedByPlayerName2", Order = 10)] + public string AssistedByPlayerName2 { get; set; } + + /// + /// The minute in the game in which the goal was scored + /// + [Description("The minute in the game in which the goal was scored")] + [DataMember(Name = "GameMinute", Order = 11)] + public int? GameMinute { get; set; } + + /// + /// The extra minute in the game in which the goal was scored + /// + [Description("The extra minute in the game in which the goal was scored")] + [DataMember(Name = "GameMinuteExtra", Order = 12)] + public int? GameMinuteExtra { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Headshot.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Headshot.cs new file mode 100644 index 0000000..b417954 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Headshot.cs @@ -0,0 +1,90 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Headshot")] + [Serializable] + public partial class Headshot + { + /// + /// Unique ID of the Player (assigned by FantasyData). + /// + [Description("Unique ID of the Player (assigned by FantasyData).")] + [DataMember(Name = "PlayerID", Order = 1)] + public int PlayerID { get; set; } + + /// + /// Name of Player. + /// + [Description("Name of Player.")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// Unique ID of the Team the player belongs to (assigned by FantasyData). + /// + [Description("Unique ID of the Team the player belongs to (assigned by FantasyData).")] + [DataMember(Name = "TeamID", Order = 3)] + public int? TeamID { get; set; } + + /// + /// Name of the team the player belongs to. + /// + [Description("Name of the team the player belongs to.")] + [DataMember(Name = "Team", Order = 4)] + public string Team { get; set; } + + /// + /// Position player plays. + /// + [Description("Position player plays.")] + [DataMember(Name = "Position", Order = 5)] + public string Position { get; set; } + + /// + /// The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available. + /// + [Description("The player's preferred hosted headshot URL. This returns the headshot with transparent background, if available.")] + [DataMember(Name = "PreferredHostedHeadshotUrl", Order = 6)] + public string PreferredHostedHeadshotUrl { get; set; } + + /// + /// The last updated date of the player's preferred hosted headshot. + /// + [Description("The last updated date of the player's preferred hosted headshot.")] + [DataMember(Name = "PreferredHostedHeadshotUpdated", Order = 7)] + public DateTime? PreferredHostedHeadshotUpdated { get; set; } + + /// + /// The player's hosted headshot URL. + /// + [Description("The player's hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUrl", Order = 8)] + public string HostedHeadshotWithBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's hosted headshot. + /// + [Description("The last updated date of the player's hosted headshot.")] + [DataMember(Name = "HostedHeadshotWithBackgroundUpdated", Order = 9)] + public DateTime? HostedHeadshotWithBackgroundUpdated { get; set; } + + /// + /// The player's transparent background hosted headshot URL. + /// + [Description("The player's transparent background hosted headshot URL.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUrl", Order = 10)] + public string HostedHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's transparent background hosted headshot. + /// + [Description("The last updated date of the player's transparent background hosted headshot.")] + [DataMember(Name = "HostedHeadshotNoBackgroundUpdated", Order = 11)] + public DateTime? HostedHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Lineup.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Lineup.cs new file mode 100644 index 0000000..db8f87a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Lineup.cs @@ -0,0 +1,104 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Lineup")] + [Serializable] + public partial class Lineup + { + /// + /// The unique ID of the lineup  + /// + [Description("The unique ID of the lineup ")] + [DataMember(Name = "LineupId", Order = 1)] + public int LineupId { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 2)] + public int GameId { get; set; } + + /// + /// The player's status in the lineup. Possible values: Substitute In, Starter, Bench + /// + [Description("The player's status in the lineup. Possible values: Substitute In, Starter, Bench")] + [DataMember(Name = "Type", Order = 3)] + public string Type { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 4)] + public int TeamId { get; set; } + + /// + /// The player's unique PlayerID as assigned by FantasyData + /// + [Description("The player's unique PlayerID as assigned by FantasyData")] + [DataMember(Name = "PlayerId", Order = 5)] + public int PlayerId { get; set; } + + /// + /// The name of the player in the lineup + /// + [Description("The name of the player in the lineup")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The position of the player + /// + [Description("The position of the player")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// The unique ID of the replaced player + /// + [Description("The unique ID of the replaced player")] + [DataMember(Name = "ReplacedPlayerId", Order = 8)] + public int? ReplacedPlayerId { get; set; } + + /// + /// The name of the replaced player + /// + [Description("The name of the replaced player")] + [DataMember(Name = "ReplacedPlayerName", Order = 9)] + public string ReplacedPlayerName { get; set; } + + /// + /// The minute of the game + /// + [Description("The minute of the game")] + [DataMember(Name = "GameMinute", Order = 10)] + public int? GameMinute { get; set; } + + /// + /// The extra minute of the game + /// + [Description("The extra minute of the game")] + [DataMember(Name = "GameMinuteExtra", Order = 11)] + public int? GameMinuteExtra { get; set; } + + /// + /// The pitch position of where this player lined up on the field. This is used for rendering an image of a soccer/football field with the players marked as such. This will be a number between 0 and 50. + /// + [Description("The pitch position of where this player lined up on the field. This is used for rendering an image of a soccer/football field with the players marked as such. This will be a number between 0 and 50.")] + [DataMember(Name = "PitchPositionHorizontal", Order = 12)] + public int? PitchPositionHorizontal { get; set; } + + /// + /// The pitch position of where this player lined up on the field. This is used for rendering an image of a soccer/football field with the players marked as such. This will be a number between 0 and 50. + /// + [Description("The pitch position of where this player lined up on the field. This is used for rendering an image of a soccer/football field with the players marked as such. This will be a number between 0 and 50.")] + [DataMember(Name = "PitchPositionVertical", Order = 13)] + public int? PitchPositionVertical { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Membership.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Membership.cs new file mode 100644 index 0000000..188f944 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Membership.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Membership")] + [Serializable] + public partial class Membership + { + /// + /// The unique ID for the membership + /// + [Description("The unique ID for the membership")] + [DataMember(Name = "MembershipId", Order = 1)] + public int MembershipId { get; set; } + + /// + /// The unique ID for the team + /// + [Description("The unique ID for the team")] + [DataMember(Name = "TeamId", Order = 2)] + public int TeamId { get; set; } + + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerId", Order = 3)] + public int PlayerId { get; set; } + + /// + /// The full name of the player. + /// + [Description("The full name of the player.")] + [DataMember(Name = "PlayerName", Order = 4)] + public string PlayerName { get; set; } + + /// + /// Name of the team + /// + [Description("Name of the team")] + [DataMember(Name = "TeamName", Order = 5)] + public string TeamName { get; set; } + + /// + /// Area of the team + /// + [Description("Area of the team")] + [DataMember(Name = "TeamArea", Order = 6)] + public string TeamArea { get; set; } + + /// + /// Whether the membership is active (true/false) + /// + [Description("Whether the membership is active (true/false)")] + [DataMember(Name = "Active", Order = 7)] + public bool Active { get; set; } + + /// + /// The start date of the membership (UTC) + /// + [Description("The start date of the membership (UTC)")] + [DataMember(Name = "StartDate", Order = 8)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of the membership (UTC) + /// + [Description("The end date of the membership (UTC)")] + [DataMember(Name = "EndDate", Order = 9)] + public DateTime? EndDate { get; set; } + + /// + /// The updated date and time of the membership (EST/EDT) + /// + [Description("The updated date and time of the membership (EST/EDT)")] + [DataMember(Name = "Updated", Order = 10)] + public DateTime? Updated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/PenaltyShootout.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/PenaltyShootout.cs new file mode 100644 index 0000000..409cb24 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/PenaltyShootout.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="PenaltyShootout")] + [Serializable] + public partial class PenaltyShootout + { + /// + /// The unique ID of the penalty shootout + /// + [Description("The unique ID of the penalty shootout")] + [DataMember(Name = "PenaltyShootoutId", Order = 1)] + public int PenaltyShootoutId { get; set; } + + /// + /// The unique ID of the game + /// + [Description("The unique ID of the game")] + [DataMember(Name = "GameId", Order = 2)] + public int GameId { get; set; } + + /// + /// The result of this penalty shootout kick. Possible values: Goal, Miss + /// + [Description("The result of this penalty shootout kick. Possible values: Goal, Miss")] + [DataMember(Name = "Type", Order = 3)] + public string Type { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 4)] + public int TeamId { get; set; } + + /// + /// The player's unique PlayerID as assigned by FantasyData + /// + [Description("The player's unique PlayerID as assigned by FantasyData")] + [DataMember(Name = "PlayerId", Order = 5)] + public int? PlayerId { get; set; } + + /// + /// The name of the player in the penalty shootout + /// + [Description("The name of the player in the penalty shootout")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The position of the player in the penalty shootout + /// + [Description("The position of the player in the penalty shootout")] + [DataMember(Name = "Position", Order = 7)] + public string Position { get; set; } + + /// + /// The order of the penalty shootout + /// + [Description("The order of the penalty shootout")] + [DataMember(Name = "Order", Order = 8)] + public int Order { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Player.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Player.cs new file mode 100644 index 0000000..a199321 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Player.cs @@ -0,0 +1,216 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Player")] + [Serializable] + public partial class Player + { + /// + /// The player's unique PlayerID as assigned by FantasyData. + /// + [Description("The player's unique PlayerID as assigned by FantasyData.")] + [DataMember(Name = "PlayerId", Order = 1)] + public int PlayerId { get; set; } + + /// + /// The player's first name. + /// + [Description("The player's first name.")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// The player's last name. + /// + [Description("The player's last name.")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// The player's common name. + /// + [Description("The player's common name.")] + [DataMember(Name = "CommonName", Order = 4)] + public string CommonName { get; set; } + + /// + /// The player's short name. + /// + [Description("The player's short name.")] + [DataMember(Name = "ShortName", Order = 5)] + public string ShortName { get; set; } + + /// + /// The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper) + /// + [Description("The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper)")] + [DataMember(Name = "Position", Order = 6)] + public string Position { get; set; } + + /// + /// The player's position category.  + /// + [Description("The player's position category. ")] + [DataMember(Name = "PositionCategory", Order = 7)] + public string PositionCategory { get; set; } + + /// + /// The player's jersey number. + /// + [Description("The player's jersey number.")] + [DataMember(Name = "Jersey", Order = 8)] + public int? Jersey { get; set; } + + /// + /// The primary foot of the player. Possible values: left or right + /// + [Description("The primary foot of the player. Possible values: left or right")] + [DataMember(Name = "Foot", Order = 9)] + public string Foot { get; set; } + + /// + /// The player's height in cm. + /// + [Description("The player's height in cm.")] + [DataMember(Name = "Height", Order = 10)] + public int? Height { get; set; } + + /// + /// The player's weight in kg. + /// + [Description("The player's weight in kg.")] + [DataMember(Name = "Weight", Order = 11)] + public int? Weight { get; set; } + + /// + /// The gender of the player. + /// + [Description("The gender of the player.")] + [DataMember(Name = "Gender", Order = 12)] + public string Gender { get; set; } + + /// + /// The player's date of birth. + /// + [Description("The player's date of birth.")] + [DataMember(Name = "BirthDate", Order = 13)] + public DateTime? BirthDate { get; set; } + + /// + /// The city in which the player was born. + /// + [Description("The city in which the player was born.")] + [DataMember(Name = "BirthCity", Order = 14)] + public string BirthCity { get; set; } + + /// + /// The country in which the player was born. + /// + [Description("The country in which the player was born.")] + [DataMember(Name = "BirthCountry", Order = 15)] + public string BirthCountry { get; set; } + + /// + /// The nationality of the player. + /// + [Description("The nationality of the player.")] + [DataMember(Name = "Nationality", Order = 16)] + public string Nationality { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Questionable, Out + /// + [Description("Indicates the player's injury status. Possible values include: Questionable, Out")] + [DataMember(Name = "InjuryStatus", Order = 17)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 18)] + public string InjuryBodyPart { get; set; } + + /// + /// Not yet supported, will be null. + /// + [Description("Not yet supported, will be null.")] + [DataMember(Name = "InjuryNotes", Order = 19)] + public string InjuryNotes { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 20)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// The date and time the player's status was updated. (EST/EDT) + /// + [Description("The date and time the player's status was updated. (EST/EDT)")] + [DataMember(Name = "Updated", Order = 21)] + public DateTime? Updated { get; set; } + + /// + /// The url of the player's photo. + /// + [Description("The url of the player's photo.")] + [DataMember(Name = "PhotoUrl", Order = 22)] + public string PhotoUrl { get; set; } + + /// + /// The player's cross reference PlayerID to the RotoWire news feed. + /// + [Description("The player's cross reference PlayerID to the RotoWire news feed.")] + [DataMember(Name = "RotoWirePlayerID", Order = 23)] + public int? RotoWirePlayerID { get; set; } + + /// + /// The position of the player according to DraftKings. + /// + [Description("The position of the player according to DraftKings.")] + [DataMember(Name = "DraftKingsPosition", Order = 24)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's cross reference PlayerID to USA Today headshot data feeds. + /// + [Description("The player's cross reference PlayerID to USA Today headshot data feeds.")] + [DataMember(Name = "UsaTodayPlayerID", Order = 25)] + public int? UsaTodayPlayerID { get; set; } + + /// + /// The player's headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUrl", Order = 26)] + public string UsaTodayHeadshotUrl { get; set; } + + /// + /// The player's transparent background headshot URL as provided by USA Today. License from USA Today is required. + /// + [Description("The player's transparent background headshot URL as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUrl", Order = 27)] + public string UsaTodayHeadshotNoBackgroundUrl { get; set; } + + /// + /// The last updated date of the player's headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotUpdated", Order = 28)] + public DateTime? UsaTodayHeadshotUpdated { get; set; } + + /// + /// The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required. + /// + [Description("The last updated date of the player's transparent background headshot as provided by USA Today. License from USA Today is required.")] + [DataMember(Name = "UsaTodayHeadshotNoBackgroundUpdated", Order = 29)] + public DateTime? UsaTodayHeadshotNoBackgroundUpdated { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerGame.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerGame.cs new file mode 100644 index 0000000..33d7bf6 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerGame.cs @@ -0,0 +1,573 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="PlayerGame")] + [Serializable] + public partial class PlayerGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatId", Order = 1)] + public int StatId { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The soccer season of the game + /// + [Description("The soccer season of the game")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 4)] + public int? RoundId { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 5)] + public int? TeamId { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerId", Order = 6)] + public int? PlayerId { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 7)] + public string Name { get; set; } + + /// + /// The short name of the player + /// + [Description("The short name of the player")] + [DataMember(Name = "ShortName", Order = 8)] + public string ShortName { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 9)] + public string Team { get; set; } + + /// + /// The player's position category.  + /// + [Description("The player's position category. ")] + [DataMember(Name = "PositionCategory", Order = 10)] + public string PositionCategory { get; set; } + + /// + /// The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper) + /// + [Description("The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper)")] + [DataMember(Name = "Position", Order = 11)] + public string Position { get; set; } + + /// + /// The player's jersey number. + /// + [Description("The player's jersey number.")] + [DataMember(Name = "Jersey", Order = 12)] + public int? Jersey { get; set; } + + /// + /// Number of games the player started + /// + [Description("Number of games the player started")] + [DataMember(Name = "Started", Order = 13)] + public int? Started { get; set; } + + /// + /// Whether the player is a captain (true/false + /// + [Description("Whether the player is a captain (true/false")] + [DataMember(Name = "Captain", Order = 14)] + public bool? Captain { get; set; } + + /// + /// Whether the player is suspended (true/false) + /// + [Description("Whether the player is suspended (true/false)")] + [DataMember(Name = "Suspension", Order = 15)] + public bool? Suspension { get; set; } + + /// + /// The reason for the suspension + /// + [Description("The reason for the suspension")] + [DataMember(Name = "SuspensionReason", Order = 16)] + public string SuspensionReason { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 17)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 18)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 19)] + public int? YahooSalary { get; set; } + + /// + /// The player's salary for Mondogoal daily fantasy contests. + /// + [Description("The player's salary for Mondogoal daily fantasy contests.")] + [DataMember(Name = "MondogoalSalary", Order = 20)] + public int? MondogoalSalary { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 21)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 22)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 23)] + public string YahooPosition { get; set; } + + /// + /// The player's eligible position in Mondogoal's daily fantasy sports platform. + /// + [Description("The player's eligible position in Mondogoal's daily fantasy sports platform.")] + [DataMember(Name = "MondogoalPosition", Order = 24)] + public string MondogoalPosition { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Questionable, Out + /// + [Description("Indicates the player's injury status. Possible values include: Questionable, Out")] + [DataMember(Name = "InjuryStatus", Order = 25)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 26)] + public string InjuryBodyPart { get; set; } + + /// + /// Not yet supported, will be null. + /// + [Description("Not yet supported, will be null.")] + [DataMember(Name = "InjuryNotes", Order = 27)] + public string InjuryNotes { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 28)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamId", Order = 29)] + public int? GlobalTeamId { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameId", Order = 30)] + public int? GameId { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentId", Order = 31)] + public int? OpponentId { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 32)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 33)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game (UTC) + /// + [Description("The date and time of the game (UTC)")] + [DataMember(Name = "DateTime", Order = 34)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 35)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 36)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 37)] + public int? GlobalGameId { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentId", Order = 38)] + public int? GlobalOpponentId { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 39)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 40)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 41)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 42)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 43)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 44)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 45)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total Mondogoal fantasy points scored + /// + [Description("Total Mondogoal fantasy points scored")] + [DataMember(Name = "FantasyPointsMondogoal", Order = 46)] + public decimal? FantasyPointsMondogoal { get; set; } + + /// + /// Total minutes played + /// + [Description("Total minutes played")] + [DataMember(Name = "Minutes", Order = 47)] + public decimal? Minutes { get; set; } + + /// + /// Total goals scored + /// + [Description("Total goals scored")] + [DataMember(Name = "Goals", Order = 48)] + public decimal? Goals { get; set; } + + /// + /// Total assists scored + /// + [Description("Total assists scored")] + [DataMember(Name = "Assists", Order = 49)] + public decimal? Assists { get; set; } + + /// + /// Total shots attempted + /// + [Description("Total shots attempted")] + [DataMember(Name = "Shots", Order = 50)] + public decimal? Shots { get; set; } + + /// + /// Total shots on goal attempted + /// + [Description("Total shots on goal attempted")] + [DataMember(Name = "ShotsOnGoal", Order = 51)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total yellow cards against + /// + [Description("Total yellow cards against")] + [DataMember(Name = "YellowCards", Order = 52)] + public decimal? YellowCards { get; set; } + + /// + /// Total red cards against + /// + [Description("Total red cards against")] + [DataMember(Name = "RedCards", Order = 53)] + public decimal? RedCards { get; set; } + + /// + /// Total double yellow cards against (which result in a red card) + /// + [Description("Total double yellow cards against (which result in a red card)")] + [DataMember(Name = "YellowRedCards", Order = 54)] + public decimal? YellowRedCards { get; set; } + + /// + /// Total passes from a wide area of the field towards the center of the field near the opponent's goal + /// + [Description("Total passes from a wide area of the field towards the center of the field near the opponent's goal")] + [DataMember(Name = "Crosses", Order = 55)] + public decimal? Crosses { get; set; } + + /// + /// Total tackles won + /// + [Description("Total tackles won")] + [DataMember(Name = "TacklesWon", Order = 56)] + public decimal? TacklesWon { get; set; } + + /// + /// Total interceptions made + /// + [Description("Total interceptions made")] + [DataMember(Name = "Interceptions", Order = 57)] + public decimal? Interceptions { get; set; } + + /// + /// Total goals scored against own team (accidentally) + /// + [Description("Total goals scored against own team (accidentally)")] + [DataMember(Name = "OwnGoals", Order = 58)] + public decimal? OwnGoals { get; set; } + + /// + /// Total fouls made + /// + [Description("Total fouls made")] + [DataMember(Name = "Fouls", Order = 59)] + public decimal? Fouls { get; set; } + + /// + /// Total times fouled + /// + [Description("Total times fouled")] + [DataMember(Name = "Fouled", Order = 60)] + public decimal? Fouled { get; set; } + + /// + /// Total offsides against + /// + [Description("Total offsides against")] + [DataMember(Name = "Offsides", Order = 61)] + public decimal? Offsides { get; set; } + + /// + /// Total passes attempted + /// + [Description("Total passes attempted")] + [DataMember(Name = "Passes", Order = 62)] + public decimal? Passes { get; set; } + + /// + /// Total passes completed successfully to teammate + /// + [Description("Total passes completed successfully to teammate")] + [DataMember(Name = "PassesCompleted", Order = 63)] + public decimal? PassesCompleted { get; set; } + + /// + /// Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper) + /// + [Description("Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper)")] + [DataMember(Name = "LastManTackle", Order = 64)] + public decimal? LastManTackle { get; set; } + + /// + /// Total corner kicks awarded + /// + [Description("Total corner kicks awarded")] + [DataMember(Name = "CornersWon", Order = 65)] + public decimal? CornersWon { get; set; } + + /// + /// Total shots blocked + /// + [Description("Total shots blocked")] + [DataMember(Name = "BlockedShots", Order = 66)] + public decimal? BlockedShots { get; set; } + + /// + /// Total times this player touched the ball + /// + [Description("Total times this player touched the ball")] + [DataMember(Name = "Touches", Order = 67)] + public decimal? Touches { get; set; } + + /// + /// Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "DefenderCleanSheets", Order = 68)] + public decimal? DefenderCleanSheets { get; set; } + + /// + /// Total saves made by goalkeeper + /// + [Description("Total saves made by goalkeeper")] + [DataMember(Name = "GoalkeeperSaves", Order = 69)] + public decimal? GoalkeeperSaves { get; set; } + + /// + /// Total goals allowed by goalkeeper + /// + [Description("Total goals allowed by goalkeeper")] + [DataMember(Name = "GoalkeeperGoalsAgainst", Order = 70)] + public decimal? GoalkeeperGoalsAgainst { get; set; } + + /// + /// Total games where this goalkeeper allowed exactly one goal + /// + [Description("Total games where this goalkeeper allowed exactly one goal")] + [DataMember(Name = "GoalkeeperSingleGoalAgainst", Order = 71)] + public decimal? GoalkeeperSingleGoalAgainst { get; set; } + + /// + /// Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "GoalkeeperCleanSheets", Order = 72)] + public decimal? GoalkeeperCleanSheets { get; set; } + + /// + /// Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes) + /// + [Description("Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes)")] + [DataMember(Name = "GoalkeeperWins", Order = 73)] + public decimal? GoalkeeperWins { get; set; } + + /// + /// Total penalty kick goals + /// + [Description("Total penalty kick goals")] + [DataMember(Name = "PenaltyKickGoals", Order = 74)] + public decimal? PenaltyKickGoals { get; set; } + + /// + /// Total penalty kick misses + /// + [Description("Total penalty kick misses")] + [DataMember(Name = "PenaltyKickMisses", Order = 75)] + public decimal? PenaltyKickMisses { get; set; } + + /// + /// Total penalty kick saves + /// + [Description("Total penalty kick saves")] + [DataMember(Name = "PenaltyKickSaves", Order = 76)] + public decimal? PenaltyKickSaves { get; set; } + + /// + /// Total penalties won + /// + [Description("Total penalties won")] + [DataMember(Name = "PenaltiesWon", Order = 77)] + public decimal? PenaltiesWon { get; set; } + + /// + /// Total penalties conceded + /// + [Description("Total penalties conceded ")] + [DataMember(Name = "PenaltiesConceded", Order = 78)] + public decimal? PenaltiesConceded { get; set; } + + /// + /// Goals scored by entire team + /// + [Description("Goals scored by entire team")] + [DataMember(Name = "Score", Order = 79)] + public decimal? Score { get; set; } + + /// + /// Goals allowed to opponent + /// + [Description("Goals allowed to opponent")] + [DataMember(Name = "OpponentScore", Order = 80)] + public decimal? OpponentScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerGameProjection.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerGameProjection.cs new file mode 100644 index 0000000..502a911 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerGameProjection.cs @@ -0,0 +1,573 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="PlayerGameProjection")] + [Serializable] + public partial class PlayerGameProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatId", Order = 1)] + public int StatId { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The soccer season of the game + /// + [Description("The soccer season of the game")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 4)] + public int? RoundId { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 5)] + public int? TeamId { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerId", Order = 6)] + public int? PlayerId { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 7)] + public string Name { get; set; } + + /// + /// The short name of the player + /// + [Description("The short name of the player")] + [DataMember(Name = "ShortName", Order = 8)] + public string ShortName { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 9)] + public string Team { get; set; } + + /// + /// The player's position category.  + /// + [Description("The player's position category. ")] + [DataMember(Name = "PositionCategory", Order = 10)] + public string PositionCategory { get; set; } + + /// + /// The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper) + /// + [Description("The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper)")] + [DataMember(Name = "Position", Order = 11)] + public string Position { get; set; } + + /// + /// The player's jersey number. + /// + [Description("The player's jersey number.")] + [DataMember(Name = "Jersey", Order = 12)] + public int? Jersey { get; set; } + + /// + /// Number of games the player started + /// + [Description("Number of games the player started")] + [DataMember(Name = "Started", Order = 13)] + public int? Started { get; set; } + + /// + /// Whether the player is a captain (true/false + /// + [Description("Whether the player is a captain (true/false")] + [DataMember(Name = "Captain", Order = 14)] + public bool? Captain { get; set; } + + /// + /// Whether the player is suspended (true/false) + /// + [Description("Whether the player is suspended (true/false)")] + [DataMember(Name = "Suspension", Order = 15)] + public bool? Suspension { get; set; } + + /// + /// The reason for the suspension + /// + [Description("The reason for the suspension")] + [DataMember(Name = "SuspensionReason", Order = 16)] + public string SuspensionReason { get; set; } + + /// + /// The player's salary for FanDuel daily fantasy contests. + /// + [Description("The player's salary for FanDuel daily fantasy contests.")] + [DataMember(Name = "FanDuelSalary", Order = 17)] + public int? FanDuelSalary { get; set; } + + /// + /// The player's salary for DraftKings daily fantasy contests. + /// + [Description("The player's salary for DraftKings daily fantasy contests.")] + [DataMember(Name = "DraftKingsSalary", Order = 18)] + public int? DraftKingsSalary { get; set; } + + /// + /// The player's salary for Yahoo daily fantasy contests. + /// + [Description("The player's salary for Yahoo daily fantasy contests.")] + [DataMember(Name = "YahooSalary", Order = 19)] + public int? YahooSalary { get; set; } + + /// + /// The player's salary for Mondogoal daily fantasy contests. + /// + [Description("The player's salary for Mondogoal daily fantasy contests.")] + [DataMember(Name = "MondogoalSalary", Order = 20)] + public int? MondogoalSalary { get; set; } + + /// + /// The player's eligible position in FanDuel's daily fantasy sports platform. + /// + [Description("The player's eligible position in FanDuel's daily fantasy sports platform.")] + [DataMember(Name = "FanDuelPosition", Order = 21)] + public string FanDuelPosition { get; set; } + + /// + /// The player's eligible position in DraftKings' daily fantasy sports platform. + /// + [Description("The player's eligible position in DraftKings' daily fantasy sports platform.")] + [DataMember(Name = "DraftKingsPosition", Order = 22)] + public string DraftKingsPosition { get; set; } + + /// + /// The player's eligible position in Yahoo's daily fantasy sports platform. + /// + [Description("The player's eligible position in Yahoo's daily fantasy sports platform.")] + [DataMember(Name = "YahooPosition", Order = 23)] + public string YahooPosition { get; set; } + + /// + /// The player's eligible position in Mondogoal's daily fantasy sports platform. + /// + [Description("The player's eligible position in Mondogoal's daily fantasy sports platform.")] + [DataMember(Name = "MondogoalPosition", Order = 24)] + public string MondogoalPosition { get; set; } + + /// + /// Indicates the player's injury status. Possible values include: Questionable, Out + /// + [Description("Indicates the player's injury status. Possible values include: Questionable, Out")] + [DataMember(Name = "InjuryStatus", Order = 25)] + public string InjuryStatus { get; set; } + + /// + /// The body part that is injured (Knee, Groin, Calf, Hamstring, etc.) + /// + [Description("The body part that is injured (Knee, Groin, Calf, Hamstring, etc.)")] + [DataMember(Name = "InjuryBodyPart", Order = 26)] + public string InjuryBodyPart { get; set; } + + /// + /// Not yet supported, will be null. + /// + [Description("Not yet supported, will be null.")] + [DataMember(Name = "InjuryNotes", Order = 27)] + public string InjuryNotes { get; set; } + + /// + /// The day that the injury started or first discovered. + /// + [Description("The day that the injury started or first discovered.")] + [DataMember(Name = "InjuryStartDate", Order = 28)] + public DateTime? InjuryStartDate { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamId", Order = 29)] + public int? GlobalTeamId { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameId", Order = 30)] + public int? GameId { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentId", Order = 31)] + public int? OpponentId { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 32)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 33)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game (UTC) + /// + [Description("The date and time of the game (UTC)")] + [DataMember(Name = "DateTime", Order = 34)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 35)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 36)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 37)] + public int? GlobalGameId { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentId", Order = 38)] + public int? GlobalOpponentId { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 39)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 40)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 41)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 42)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 43)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 44)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 45)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total Mondogoal fantasy points scored + /// + [Description("Total Mondogoal fantasy points scored")] + [DataMember(Name = "FantasyPointsMondogoal", Order = 46)] + public decimal? FantasyPointsMondogoal { get; set; } + + /// + /// Total minutes played + /// + [Description("Total minutes played")] + [DataMember(Name = "Minutes", Order = 47)] + public decimal? Minutes { get; set; } + + /// + /// Total goals scored + /// + [Description("Total goals scored")] + [DataMember(Name = "Goals", Order = 48)] + public decimal? Goals { get; set; } + + /// + /// Total assists scored + /// + [Description("Total assists scored")] + [DataMember(Name = "Assists", Order = 49)] + public decimal? Assists { get; set; } + + /// + /// Total shots attempted + /// + [Description("Total shots attempted")] + [DataMember(Name = "Shots", Order = 50)] + public decimal? Shots { get; set; } + + /// + /// Total shots on goal attempted + /// + [Description("Total shots on goal attempted")] + [DataMember(Name = "ShotsOnGoal", Order = 51)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total yellow cards against + /// + [Description("Total yellow cards against")] + [DataMember(Name = "YellowCards", Order = 52)] + public decimal? YellowCards { get; set; } + + /// + /// Total red cards against + /// + [Description("Total red cards against")] + [DataMember(Name = "RedCards", Order = 53)] + public decimal? RedCards { get; set; } + + /// + /// Total double yellow cards against (which result in a red card) + /// + [Description("Total double yellow cards against (which result in a red card)")] + [DataMember(Name = "YellowRedCards", Order = 54)] + public decimal? YellowRedCards { get; set; } + + /// + /// Total passes from a wide area of the field towards the center of the field near the opponent's goal + /// + [Description("Total passes from a wide area of the field towards the center of the field near the opponent's goal")] + [DataMember(Name = "Crosses", Order = 55)] + public decimal? Crosses { get; set; } + + /// + /// Total tackles won + /// + [Description("Total tackles won")] + [DataMember(Name = "TacklesWon", Order = 56)] + public decimal? TacklesWon { get; set; } + + /// + /// Total interceptions made + /// + [Description("Total interceptions made")] + [DataMember(Name = "Interceptions", Order = 57)] + public decimal? Interceptions { get; set; } + + /// + /// Total goals scored against own team (accidentally) + /// + [Description("Total goals scored against own team (accidentally)")] + [DataMember(Name = "OwnGoals", Order = 58)] + public decimal? OwnGoals { get; set; } + + /// + /// Total fouls made + /// + [Description("Total fouls made")] + [DataMember(Name = "Fouls", Order = 59)] + public decimal? Fouls { get; set; } + + /// + /// Total times fouled + /// + [Description("Total times fouled")] + [DataMember(Name = "Fouled", Order = 60)] + public decimal? Fouled { get; set; } + + /// + /// Total offsides against + /// + [Description("Total offsides against")] + [DataMember(Name = "Offsides", Order = 61)] + public decimal? Offsides { get; set; } + + /// + /// Total passes attempted + /// + [Description("Total passes attempted")] + [DataMember(Name = "Passes", Order = 62)] + public decimal? Passes { get; set; } + + /// + /// Total passes completed successfully to teammate + /// + [Description("Total passes completed successfully to teammate")] + [DataMember(Name = "PassesCompleted", Order = 63)] + public decimal? PassesCompleted { get; set; } + + /// + /// Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper) + /// + [Description("Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper)")] + [DataMember(Name = "LastManTackle", Order = 64)] + public decimal? LastManTackle { get; set; } + + /// + /// Total corner kicks awarded + /// + [Description("Total corner kicks awarded")] + [DataMember(Name = "CornersWon", Order = 65)] + public decimal? CornersWon { get; set; } + + /// + /// Total shots blocked + /// + [Description("Total shots blocked")] + [DataMember(Name = "BlockedShots", Order = 66)] + public decimal? BlockedShots { get; set; } + + /// + /// Total times this player touched the ball + /// + [Description("Total times this player touched the ball")] + [DataMember(Name = "Touches", Order = 67)] + public decimal? Touches { get; set; } + + /// + /// Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "DefenderCleanSheets", Order = 68)] + public decimal? DefenderCleanSheets { get; set; } + + /// + /// Total saves made by goalkeeper + /// + [Description("Total saves made by goalkeeper")] + [DataMember(Name = "GoalkeeperSaves", Order = 69)] + public decimal? GoalkeeperSaves { get; set; } + + /// + /// Total goals allowed by goalkeeper + /// + [Description("Total goals allowed by goalkeeper")] + [DataMember(Name = "GoalkeeperGoalsAgainst", Order = 70)] + public decimal? GoalkeeperGoalsAgainst { get; set; } + + /// + /// Total games where this goalkeeper allowed exactly one goal + /// + [Description("Total games where this goalkeeper allowed exactly one goal")] + [DataMember(Name = "GoalkeeperSingleGoalAgainst", Order = 71)] + public decimal? GoalkeeperSingleGoalAgainst { get; set; } + + /// + /// Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "GoalkeeperCleanSheets", Order = 72)] + public decimal? GoalkeeperCleanSheets { get; set; } + + /// + /// Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes) + /// + [Description("Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes)")] + [DataMember(Name = "GoalkeeperWins", Order = 73)] + public decimal? GoalkeeperWins { get; set; } + + /// + /// Total penalty kick goals + /// + [Description("Total penalty kick goals")] + [DataMember(Name = "PenaltyKickGoals", Order = 74)] + public decimal? PenaltyKickGoals { get; set; } + + /// + /// Total penalty kick misses + /// + [Description("Total penalty kick misses")] + [DataMember(Name = "PenaltyKickMisses", Order = 75)] + public decimal? PenaltyKickMisses { get; set; } + + /// + /// Total penalty kick saves + /// + [Description("Total penalty kick saves")] + [DataMember(Name = "PenaltyKickSaves", Order = 76)] + public decimal? PenaltyKickSaves { get; set; } + + /// + /// Total penalties won + /// + [Description("Total penalties won")] + [DataMember(Name = "PenaltiesWon", Order = 77)] + public decimal? PenaltiesWon { get; set; } + + /// + /// Total penalties conceded + /// + [Description("Total penalties conceded ")] + [DataMember(Name = "PenaltiesConceded", Order = 78)] + public decimal? PenaltiesConceded { get; set; } + + /// + /// Goals scored by entire team + /// + [Description("Goals scored by entire team")] + [DataMember(Name = "Score", Order = 79)] + public decimal? Score { get; set; } + + /// + /// Goals allowed to opponent + /// + [Description("Goals allowed to opponent")] + [DataMember(Name = "OpponentScore", Order = 80)] + public decimal? OpponentScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerSeason.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerSeason.cs new file mode 100644 index 0000000..3139b1a --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerSeason.cs @@ -0,0 +1,398 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="PlayerSeason")] + [Serializable] + public partial class PlayerSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatId", Order = 1)] + public int StatId { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The soccer regular season for which these totals apply + /// + [Description("The soccer regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 4)] + public int? RoundId { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamId", Order = 5)] + public int? TeamId { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerId", Order = 6)] + public int? PlayerId { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 7)] + public string Name { get; set; } + + /// + /// The short name of the player + /// + [Description("The short name of the player")] + [DataMember(Name = "ShortName", Order = 8)] + public string ShortName { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 9)] + public string Team { get; set; } + + /// + /// The player's position category.  + /// + [Description("The player's position category. ")] + [DataMember(Name = "PositionCategory", Order = 10)] + public string PositionCategory { get; set; } + + /// + /// The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper) + /// + [Description("The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper)")] + [DataMember(Name = "Position", Order = 11)] + public string Position { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 12)] + public int? Started { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamId", Order = 13)] + public int? GlobalTeamId { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 14)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 15)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 16)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 17)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 18)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 19)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 20)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total Mondogoal fantasy points scored + /// + [Description("Total Mondogoal fantasy points scored")] + [DataMember(Name = "FantasyPointsMondogoal", Order = 21)] + public decimal? FantasyPointsMondogoal { get; set; } + + /// + /// Total minutes played + /// + [Description("Total minutes played")] + [DataMember(Name = "Minutes", Order = 22)] + public decimal? Minutes { get; set; } + + /// + /// Total goals scored + /// + [Description("Total goals scored")] + [DataMember(Name = "Goals", Order = 23)] + public decimal? Goals { get; set; } + + /// + /// Total assists scored + /// + [Description("Total assists scored")] + [DataMember(Name = "Assists", Order = 24)] + public decimal? Assists { get; set; } + + /// + /// Total shots attempted + /// + [Description("Total shots attempted")] + [DataMember(Name = "Shots", Order = 25)] + public decimal? Shots { get; set; } + + /// + /// Total shots on goal attempted + /// + [Description("Total shots on goal attempted")] + [DataMember(Name = "ShotsOnGoal", Order = 26)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total yellow cards against + /// + [Description("Total yellow cards against")] + [DataMember(Name = "YellowCards", Order = 27)] + public decimal? YellowCards { get; set; } + + /// + /// Total red cards against + /// + [Description("Total red cards against")] + [DataMember(Name = "RedCards", Order = 28)] + public decimal? RedCards { get; set; } + + /// + /// Total double yellow cards against (which result in a red card) + /// + [Description("Total double yellow cards against (which result in a red card)")] + [DataMember(Name = "YellowRedCards", Order = 29)] + public decimal? YellowRedCards { get; set; } + + /// + /// Total passes from a wide area of the field towards the center of the field near the opponent's goal + /// + [Description("Total passes from a wide area of the field towards the center of the field near the opponent's goal")] + [DataMember(Name = "Crosses", Order = 30)] + public decimal? Crosses { get; set; } + + /// + /// Total tackles won + /// + [Description("Total tackles won")] + [DataMember(Name = "TacklesWon", Order = 31)] + public decimal? TacklesWon { get; set; } + + /// + /// Total interceptions made + /// + [Description("Total interceptions made")] + [DataMember(Name = "Interceptions", Order = 32)] + public decimal? Interceptions { get; set; } + + /// + /// Total goals scored against own team (accidentally) + /// + [Description("Total goals scored against own team (accidentally)")] + [DataMember(Name = "OwnGoals", Order = 33)] + public decimal? OwnGoals { get; set; } + + /// + /// Total fouls made + /// + [Description("Total fouls made")] + [DataMember(Name = "Fouls", Order = 34)] + public decimal? Fouls { get; set; } + + /// + /// Total times fouled + /// + [Description("Total times fouled")] + [DataMember(Name = "Fouled", Order = 35)] + public decimal? Fouled { get; set; } + + /// + /// Total offsides against + /// + [Description("Total offsides against")] + [DataMember(Name = "Offsides", Order = 36)] + public decimal? Offsides { get; set; } + + /// + /// Total passes attempted + /// + [Description("Total passes attempted")] + [DataMember(Name = "Passes", Order = 37)] + public decimal? Passes { get; set; } + + /// + /// Total passes completed successfully to teammate + /// + [Description("Total passes completed successfully to teammate")] + [DataMember(Name = "PassesCompleted", Order = 38)] + public decimal? PassesCompleted { get; set; } + + /// + /// Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper) + /// + [Description("Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper)")] + [DataMember(Name = "LastManTackle", Order = 39)] + public decimal? LastManTackle { get; set; } + + /// + /// Total corner kicks awarded + /// + [Description("Total corner kicks awarded")] + [DataMember(Name = "CornersWon", Order = 40)] + public decimal? CornersWon { get; set; } + + /// + /// Total shots blocked + /// + [Description("Total shots blocked")] + [DataMember(Name = "BlockedShots", Order = 41)] + public decimal? BlockedShots { get; set; } + + /// + /// Total times this player touched the ball + /// + [Description("Total times this player touched the ball")] + [DataMember(Name = "Touches", Order = 42)] + public decimal? Touches { get; set; } + + /// + /// Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "DefenderCleanSheets", Order = 43)] + public decimal? DefenderCleanSheets { get; set; } + + /// + /// Total saves made by goalkeeper + /// + [Description("Total saves made by goalkeeper")] + [DataMember(Name = "GoalkeeperSaves", Order = 44)] + public decimal? GoalkeeperSaves { get; set; } + + /// + /// Total goals allowed by goalkeeper + /// + [Description("Total goals allowed by goalkeeper")] + [DataMember(Name = "GoalkeeperGoalsAgainst", Order = 45)] + public decimal? GoalkeeperGoalsAgainst { get; set; } + + /// + /// Total games where this goalkeeper allowed exactly one goal + /// + [Description("Total games where this goalkeeper allowed exactly one goal")] + [DataMember(Name = "GoalkeeperSingleGoalAgainst", Order = 46)] + public decimal? GoalkeeperSingleGoalAgainst { get; set; } + + /// + /// Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "GoalkeeperCleanSheets", Order = 47)] + public decimal? GoalkeeperCleanSheets { get; set; } + + /// + /// Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes) + /// + [Description("Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes)")] + [DataMember(Name = "GoalkeeperWins", Order = 48)] + public decimal? GoalkeeperWins { get; set; } + + /// + /// Total penalty kick goals + /// + [Description("Total penalty kick goals")] + [DataMember(Name = "PenaltyKickGoals", Order = 49)] + public decimal? PenaltyKickGoals { get; set; } + + /// + /// Total penalty kick misses + /// + [Description("Total penalty kick misses")] + [DataMember(Name = "PenaltyKickMisses", Order = 50)] + public decimal? PenaltyKickMisses { get; set; } + + /// + /// Total penalty kick saves + /// + [Description("Total penalty kick saves")] + [DataMember(Name = "PenaltyKickSaves", Order = 51)] + public decimal? PenaltyKickSaves { get; set; } + + /// + /// Total penalties won + /// + [Description("Total penalties won")] + [DataMember(Name = "PenaltiesWon", Order = 52)] + public decimal? PenaltiesWon { get; set; } + + /// + /// Total penalties conceded + /// + [Description("Total penalties conceded ")] + [DataMember(Name = "PenaltiesConceded", Order = 53)] + public decimal? PenaltiesConceded { get; set; } + + /// + /// Goals scored by entire team + /// + [Description("Goals scored by entire team")] + [DataMember(Name = "Score", Order = 54)] + public decimal? Score { get; set; } + + /// + /// Goals allowed to opponent + /// + [Description("Goals allowed to opponent")] + [DataMember(Name = "OpponentScore", Order = 55)] + public decimal? OpponentScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerSeasonProjection.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerSeasonProjection.cs new file mode 100644 index 0000000..30641a0 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/PlayerSeasonProjection.cs @@ -0,0 +1,398 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="PlayerSeasonProjection")] + [Serializable] + public partial class PlayerSeasonProjection + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatId", Order = 1)] + public int StatId { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The soccer regular season for which these totals apply + /// + [Description("The soccer regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 4)] + public int? RoundId { get; set; } + + /// + /// The unique ID of the player's team + /// + [Description("The unique ID of the player's team")] + [DataMember(Name = "TeamId", Order = 5)] + public int? TeamId { get; set; } + + /// + /// Unique ID assigned to each player that stays with them throughout their career + /// + [Description("Unique ID assigned to each player that stays with them throughout their career")] + [DataMember(Name = "PlayerId", Order = 6)] + public int? PlayerId { get; set; } + + /// + /// Player's name + /// + [Description("Player's name")] + [DataMember(Name = "Name", Order = 7)] + public string Name { get; set; } + + /// + /// The short name of the player + /// + [Description("The short name of the player")] + [DataMember(Name = "ShortName", Order = 8)] + public string ShortName { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 9)] + public string Team { get; set; } + + /// + /// The player's position category.  + /// + [Description("The player's position category. ")] + [DataMember(Name = "PositionCategory", Order = 10)] + public string PositionCategory { get; set; } + + /// + /// The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper) + /// + [Description("The position of the player. Possible values include: A (Attacker), M (Midfielder), D (Defender), GK (Goalkeeper)")] + [DataMember(Name = "Position", Order = 11)] + public string Position { get; set; } + + /// + /// Number of games started + /// + [Description("Number of games started")] + [DataMember(Name = "Started", Order = 12)] + public int? Started { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamId", Order = 13)] + public int? GlobalTeamId { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 14)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 15)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 16)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 17)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 18)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 19)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 20)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total Mondogoal fantasy points scored + /// + [Description("Total Mondogoal fantasy points scored")] + [DataMember(Name = "FantasyPointsMondogoal", Order = 21)] + public decimal? FantasyPointsMondogoal { get; set; } + + /// + /// Total minutes played + /// + [Description("Total minutes played")] + [DataMember(Name = "Minutes", Order = 22)] + public decimal? Minutes { get; set; } + + /// + /// Total goals scored + /// + [Description("Total goals scored")] + [DataMember(Name = "Goals", Order = 23)] + public decimal? Goals { get; set; } + + /// + /// Total assists scored + /// + [Description("Total assists scored")] + [DataMember(Name = "Assists", Order = 24)] + public decimal? Assists { get; set; } + + /// + /// Total shots attempted + /// + [Description("Total shots attempted")] + [DataMember(Name = "Shots", Order = 25)] + public decimal? Shots { get; set; } + + /// + /// Total shots on goal attempted + /// + [Description("Total shots on goal attempted")] + [DataMember(Name = "ShotsOnGoal", Order = 26)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total yellow cards against + /// + [Description("Total yellow cards against")] + [DataMember(Name = "YellowCards", Order = 27)] + public decimal? YellowCards { get; set; } + + /// + /// Total red cards against + /// + [Description("Total red cards against")] + [DataMember(Name = "RedCards", Order = 28)] + public decimal? RedCards { get; set; } + + /// + /// Total double yellow cards against (which result in a red card) + /// + [Description("Total double yellow cards against (which result in a red card)")] + [DataMember(Name = "YellowRedCards", Order = 29)] + public decimal? YellowRedCards { get; set; } + + /// + /// Total passes from a wide area of the field towards the center of the field near the opponent's goal + /// + [Description("Total passes from a wide area of the field towards the center of the field near the opponent's goal")] + [DataMember(Name = "Crosses", Order = 30)] + public decimal? Crosses { get; set; } + + /// + /// Total tackles won + /// + [Description("Total tackles won")] + [DataMember(Name = "TacklesWon", Order = 31)] + public decimal? TacklesWon { get; set; } + + /// + /// Total interceptions made + /// + [Description("Total interceptions made")] + [DataMember(Name = "Interceptions", Order = 32)] + public decimal? Interceptions { get; set; } + + /// + /// Total goals scored against own team (accidentally) + /// + [Description("Total goals scored against own team (accidentally)")] + [DataMember(Name = "OwnGoals", Order = 33)] + public decimal? OwnGoals { get; set; } + + /// + /// Total fouls made + /// + [Description("Total fouls made")] + [DataMember(Name = "Fouls", Order = 34)] + public decimal? Fouls { get; set; } + + /// + /// Total times fouled + /// + [Description("Total times fouled")] + [DataMember(Name = "Fouled", Order = 35)] + public decimal? Fouled { get; set; } + + /// + /// Total offsides against + /// + [Description("Total offsides against")] + [DataMember(Name = "Offsides", Order = 36)] + public decimal? Offsides { get; set; } + + /// + /// Total passes attempted + /// + [Description("Total passes attempted")] + [DataMember(Name = "Passes", Order = 37)] + public decimal? Passes { get; set; } + + /// + /// Total passes completed successfully to teammate + /// + [Description("Total passes completed successfully to teammate")] + [DataMember(Name = "PassesCompleted", Order = 38)] + public decimal? PassesCompleted { get; set; } + + /// + /// Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper) + /// + [Description("Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper)")] + [DataMember(Name = "LastManTackle", Order = 39)] + public decimal? LastManTackle { get; set; } + + /// + /// Total corner kicks awarded + /// + [Description("Total corner kicks awarded")] + [DataMember(Name = "CornersWon", Order = 40)] + public decimal? CornersWon { get; set; } + + /// + /// Total shots blocked + /// + [Description("Total shots blocked")] + [DataMember(Name = "BlockedShots", Order = 41)] + public decimal? BlockedShots { get; set; } + + /// + /// Total times this player touched the ball + /// + [Description("Total times this player touched the ball")] + [DataMember(Name = "Touches", Order = 42)] + public decimal? Touches { get; set; } + + /// + /// Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "DefenderCleanSheets", Order = 43)] + public decimal? DefenderCleanSheets { get; set; } + + /// + /// Total saves made by goalkeeper + /// + [Description("Total saves made by goalkeeper")] + [DataMember(Name = "GoalkeeperSaves", Order = 44)] + public decimal? GoalkeeperSaves { get; set; } + + /// + /// Total goals allowed by goalkeeper + /// + [Description("Total goals allowed by goalkeeper")] + [DataMember(Name = "GoalkeeperGoalsAgainst", Order = 45)] + public decimal? GoalkeeperGoalsAgainst { get; set; } + + /// + /// Total games where this goalkeeper allowed exactly one goal + /// + [Description("Total games where this goalkeeper allowed exactly one goal")] + [DataMember(Name = "GoalkeeperSingleGoalAgainst", Order = 46)] + public decimal? GoalkeeperSingleGoalAgainst { get; set; } + + /// + /// Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "GoalkeeperCleanSheets", Order = 47)] + public decimal? GoalkeeperCleanSheets { get; set; } + + /// + /// Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes) + /// + [Description("Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes)")] + [DataMember(Name = "GoalkeeperWins", Order = 48)] + public decimal? GoalkeeperWins { get; set; } + + /// + /// Total penalty kick goals + /// + [Description("Total penalty kick goals")] + [DataMember(Name = "PenaltyKickGoals", Order = 49)] + public decimal? PenaltyKickGoals { get; set; } + + /// + /// Total penalty kick misses + /// + [Description("Total penalty kick misses")] + [DataMember(Name = "PenaltyKickMisses", Order = 50)] + public decimal? PenaltyKickMisses { get; set; } + + /// + /// Total penalty kick saves + /// + [Description("Total penalty kick saves")] + [DataMember(Name = "PenaltyKickSaves", Order = 51)] + public decimal? PenaltyKickSaves { get; set; } + + /// + /// Total penalties won + /// + [Description("Total penalties won")] + [DataMember(Name = "PenaltiesWon", Order = 52)] + public decimal? PenaltiesWon { get; set; } + + /// + /// Total penalties conceded + /// + [Description("Total penalties conceded ")] + [DataMember(Name = "PenaltiesConceded", Order = 53)] + public decimal? PenaltiesConceded { get; set; } + + /// + /// Goals scored by entire team + /// + [Description("Goals scored by entire team")] + [DataMember(Name = "Score", Order = 54)] + public decimal? Score { get; set; } + + /// + /// Goals allowed to opponent + /// + [Description("Goals allowed to opponent")] + [DataMember(Name = "OpponentScore", Order = 55)] + public decimal? OpponentScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Referee.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Referee.cs new file mode 100644 index 0000000..0ffa74b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Referee.cs @@ -0,0 +1,48 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Referee")] + [Serializable] + public partial class Referee + { + /// + /// The unique ID of the referee + /// + [Description("The unique ID of the referee")] + [DataMember(Name = "RefereeId", Order = 1)] + public int RefereeId { get; set; } + + /// + /// Referee's first name + /// + [Description("Referee's first name")] + [DataMember(Name = "FirstName", Order = 2)] + public string FirstName { get; set; } + + /// + /// Referee's last name + /// + [Description("Referee's last name")] + [DataMember(Name = "LastName", Order = 3)] + public string LastName { get; set; } + + /// + /// Referee's short name + /// + [Description("Referee's short name")] + [DataMember(Name = "ShortName", Order = 4)] + public string ShortName { get; set; } + + /// + /// Referee's nationality + /// + [Description("Referee's nationality")] + [DataMember(Name = "Nationality", Order = 5)] + public string Nationality { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Round.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Round.cs new file mode 100644 index 0000000..610d954 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Round.cs @@ -0,0 +1,83 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Round")] + [Serializable] + public partial class Round + { + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 1)] + public int RoundId { get; set; } + + /// + /// The unique ID of the season this round is associated with + /// + [Description("The unique ID of the season this round is associated with")] + [DataMember(Name = "SeasonId", Order = 2)] + public int SeasonId { get; set; } + + /// + /// The soccer season for which these totals apply + /// + [Description("The soccer season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 4)] + public int SeasonType { get; set; } + + /// + /// The display name of the round (examples: Regular Season, Semi-finals, Final, etc) + /// + [Description("The display name of the round (examples: Regular Season, Semi-finals, Final, etc)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The type of this round. Possible values include: Cup, Table + /// + [Description("The type of this round. Possible values include: Cup, Table")] + [DataMember(Name = "Type", Order = 6)] + public string Type { get; set; } + + /// + /// The start date of the round (UTC) + /// + [Description("The start date of the round (UTC)")] + [DataMember(Name = "StartDate", Order = 7)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of the round (UTC) + /// + [Description("The end date of the round (UTC)")] + [DataMember(Name = "EndDate", Order = 8)] + public DateTime? EndDate { get; set; } + + /// + /// The current week that this round is in + /// + [Description("The current week that this round is in")] + [DataMember(Name = "CurrentWeek", Order = 9)] + public int? CurrentWeek { get; set; } + + /// + /// Indicates whether or not this round is the current round of the competition/season + /// + [Description("Indicates whether or not this round is the current round of the competition/season")] + [DataMember(Name = "CurrentRound", Order = 10)] + public bool CurrentRound { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Season.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Season.cs new file mode 100644 index 0000000..59604e1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Season.cs @@ -0,0 +1,76 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The unique ID of the season + /// + [Description("The unique ID of the season")] + [DataMember(Name = "SeasonId", Order = 1)] + public int SeasonId { get; set; } + + /// + /// The unique ID of the competition + /// + [Description("The unique ID of the competition")] + [DataMember(Name = "CompetitionId", Order = 2)] + public int CompetitionId { get; set; } + + /// + /// The soccer regular season for which these totals apply + /// + [Description("The soccer regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Year { get; set; } + + /// + /// The display name of the season (example: 2017/2018, 2018-19, etc) + /// + [Description("The display name of the season (example: 2017/2018, 2018-19, etc)")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The display name of the competition associated with this season + /// + [Description("The display name of the competition associated with this season")] + [DataMember(Name = "CompetitionName", Order = 5)] + public string CompetitionName { get; set; } + + /// + /// The start date of the season (UTC) + /// + [Description("The start date of the season (UTC)")] + [DataMember(Name = "StartDate", Order = 6)] + public DateTime? StartDate { get; set; } + + /// + /// The end date of the season (UTC) + /// + [Description("The end date of the season (UTC)")] + [DataMember(Name = "EndDate", Order = 7)] + public DateTime? EndDate { get; set; } + + /// + /// Indicates whether or not this season is the current season of the competition + /// + [Description("Indicates whether or not this season is the current season of the competition")] + [DataMember(Name = "CurrentSeason", Order = 8)] + public bool CurrentSeason { get; set; } + + /// + /// The rounds associated with this season + /// + [Description("The rounds associated with this season")] + [DataMember(Name = "Rounds", Order = 20009)] + public Round[] Rounds { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/SeasonTeam.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/SeasonTeam.cs new file mode 100644 index 0000000..c63247b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/SeasonTeam.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="SeasonTeam")] + [Serializable] + public partial class SeasonTeam + { + /// + /// Unique ID of this season/team combination + /// + [Description("Unique ID of this season/team combination")] + [DataMember(Name = "SeasonTeamId", Order = 1)] + public int SeasonTeamId { get; set; } + + /// + /// Unique ID of the season associated with this record + /// + [Description("Unique ID of the season associated with this record")] + [DataMember(Name = "SeasonId", Order = 2)] + public int SeasonId { get; set; } + + /// + /// Unique ID of the team associated with this record + /// + [Description("Unique ID of the team associated with this record")] + [DataMember(Name = "TeamId", Order = 3)] + public int TeamId { get; set; } + + /// + /// The name of the team associated with this record + /// + [Description("The name of the team associated with this record")] + [DataMember(Name = "TeamName", Order = 4)] + public string TeamName { get; set; } + + /// + /// Whether this team is actively associated with this season + /// + [Description("Whether this team is actively associated with this season")] + [DataMember(Name = "Active", Order = 5)] + public bool Active { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Make, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Make, Female)")] + [DataMember(Name = "Gender", Order = 6)] + public string Gender { get; set; } + + /// + /// The type of this season/team (possible values: Club, National) + /// + [Description("The type of this season/team (possible values: Club, National)")] + [DataMember(Name = "Type", Order = 7)] + public string Type { get; set; } + + /// + /// The team details of this season/team association + /// + [Description("The team details of this season/team association")] + [DataMember(Name = "Team", Order = 10008)] + public Team Team { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Standing.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Standing.cs new file mode 100644 index 0000000..e315f83 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Standing.cs @@ -0,0 +1,132 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Standing")] + [Serializable] + public partial class Standing + { + /// + /// The unique ID of the standing + /// + [Description("The unique ID of the standing")] + [DataMember(Name = "StandingId", Order = 1)] + public int StandingId { get; set; } + + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 2)] + public int RoundId { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 3)] + public int TeamId { get; set; } + + /// + /// The full name of the team + /// + [Description("The full name of the team")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The short name of the team + /// + [Description("The short name of the team")] + [DataMember(Name = "ShortName", Order = 5)] + public string ShortName { get; set; } + + /// + /// The scope of the standing (possible values: Total, Away, Home) + /// + [Description("The scope of the standing (possible values: Total, Away, Home)")] + [DataMember(Name = "Scope", Order = 6)] + public string Scope { get; set; } + + /// + /// The order of the teams in the standing (e.g 1, 2, 3, 4, etc.) + /// + [Description("The order of the teams in the standing (e.g 1, 2, 3, 4, etc.)")] + [DataMember(Name = "Order", Order = 7)] + public int? Order { get; set; } + + /// + /// Number of games played + /// + [Description("Number of games played")] + [DataMember(Name = "Games", Order = 8)] + public int? Games { get; set; } + + /// + /// Number of wins + /// + [Description("Number of wins")] + [DataMember(Name = "Wins", Order = 9)] + public int? Wins { get; set; } + + /// + /// Number of losses + /// + [Description("Number of losses")] + [DataMember(Name = "Losses", Order = 10)] + public int? Losses { get; set; } + + /// + /// Number of draws + /// + [Description("Number of draws")] + [DataMember(Name = "Draws", Order = 11)] + public int? Draws { get; set; } + + /// + /// Number of goals scored + /// + [Description("Number of goals scored")] + [DataMember(Name = "GoalsScored", Order = 12)] + public int? GoalsScored { get; set; } + + /// + /// Number of goals against + /// + [Description("Number of goals against")] + [DataMember(Name = "GoalsAgainst", Order = 13)] + public int? GoalsAgainst { get; set; } + + /// + /// Total goal differential + /// + [Description("Total goal differential")] + [DataMember(Name = "GoalsDifferential", Order = 14)] + public int? GoalsDifferential { get; set; } + + /// + /// Total points accumulated + /// + [Description("Total points accumulated")] + [DataMember(Name = "Points", Order = 15)] + public int? Points { get; set; } + + /// + /// The name of the group (when applicable) + /// + [Description("The name of the group (when applicable)")] + [DataMember(Name = "Group", Order = 16)] + public string Group { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 17)] + public int? GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Stat.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Stat.cs new file mode 100644 index 0000000..5bd5a48 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Stat.cs @@ -0,0 +1,307 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Stat")] + [Serializable] + public partial class Stat + { + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 1)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 2)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 3)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 4)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 5)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 6)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 7)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total Mondogoal fantasy points scored + /// + [Description("Total Mondogoal fantasy points scored")] + [DataMember(Name = "FantasyPointsMondogoal", Order = 8)] + public decimal? FantasyPointsMondogoal { get; set; } + + /// + /// Total minutes played + /// + [Description("Total minutes played")] + [DataMember(Name = "Minutes", Order = 9)] + public decimal? Minutes { get; set; } + + /// + /// Total goals scored + /// + [Description("Total goals scored")] + [DataMember(Name = "Goals", Order = 10)] + public decimal? Goals { get; set; } + + /// + /// Total assists scored + /// + [Description("Total assists scored")] + [DataMember(Name = "Assists", Order = 11)] + public decimal? Assists { get; set; } + + /// + /// Total shots attempted + /// + [Description("Total shots attempted")] + [DataMember(Name = "Shots", Order = 12)] + public decimal? Shots { get; set; } + + /// + /// Total shots on goal attempted + /// + [Description("Total shots on goal attempted")] + [DataMember(Name = "ShotsOnGoal", Order = 13)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total yellow cards against + /// + [Description("Total yellow cards against")] + [DataMember(Name = "YellowCards", Order = 14)] + public decimal? YellowCards { get; set; } + + /// + /// Total red cards against + /// + [Description("Total red cards against")] + [DataMember(Name = "RedCards", Order = 15)] + public decimal? RedCards { get; set; } + + /// + /// Total double yellow cards against (which result in a red card) + /// + [Description("Total double yellow cards against (which result in a red card)")] + [DataMember(Name = "YellowRedCards", Order = 16)] + public decimal? YellowRedCards { get; set; } + + /// + /// Total passes from a wide area of the field towards the center of the field near the opponent's goal + /// + [Description("Total passes from a wide area of the field towards the center of the field near the opponent's goal")] + [DataMember(Name = "Crosses", Order = 17)] + public decimal? Crosses { get; set; } + + /// + /// Total tackles won + /// + [Description("Total tackles won")] + [DataMember(Name = "TacklesWon", Order = 18)] + public decimal? TacklesWon { get; set; } + + /// + /// Total interceptions made + /// + [Description("Total interceptions made")] + [DataMember(Name = "Interceptions", Order = 19)] + public decimal? Interceptions { get; set; } + + /// + /// Total goals scored against own team (accidentally) + /// + [Description("Total goals scored against own team (accidentally)")] + [DataMember(Name = "OwnGoals", Order = 20)] + public decimal? OwnGoals { get; set; } + + /// + /// Total fouls made + /// + [Description("Total fouls made")] + [DataMember(Name = "Fouls", Order = 21)] + public decimal? Fouls { get; set; } + + /// + /// Total times fouled + /// + [Description("Total times fouled")] + [DataMember(Name = "Fouled", Order = 22)] + public decimal? Fouled { get; set; } + + /// + /// Total offsides against + /// + [Description("Total offsides against")] + [DataMember(Name = "Offsides", Order = 23)] + public decimal? Offsides { get; set; } + + /// + /// Total passes attempted + /// + [Description("Total passes attempted")] + [DataMember(Name = "Passes", Order = 24)] + public decimal? Passes { get; set; } + + /// + /// Total passes completed successfully to teammate + /// + [Description("Total passes completed successfully to teammate")] + [DataMember(Name = "PassesCompleted", Order = 25)] + public decimal? PassesCompleted { get; set; } + + /// + /// Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper) + /// + [Description("Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper)")] + [DataMember(Name = "LastManTackle", Order = 26)] + public decimal? LastManTackle { get; set; } + + /// + /// Total corner kicks awarded + /// + [Description("Total corner kicks awarded")] + [DataMember(Name = "CornersWon", Order = 27)] + public decimal? CornersWon { get; set; } + + /// + /// Total shots blocked + /// + [Description("Total shots blocked")] + [DataMember(Name = "BlockedShots", Order = 28)] + public decimal? BlockedShots { get; set; } + + /// + /// Total times this player touched the ball + /// + [Description("Total times this player touched the ball")] + [DataMember(Name = "Touches", Order = 29)] + public decimal? Touches { get; set; } + + /// + /// Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "DefenderCleanSheets", Order = 30)] + public decimal? DefenderCleanSheets { get; set; } + + /// + /// Total saves made by goalkeeper + /// + [Description("Total saves made by goalkeeper")] + [DataMember(Name = "GoalkeeperSaves", Order = 31)] + public decimal? GoalkeeperSaves { get; set; } + + /// + /// Total goals allowed by goalkeeper + /// + [Description("Total goals allowed by goalkeeper")] + [DataMember(Name = "GoalkeeperGoalsAgainst", Order = 32)] + public decimal? GoalkeeperGoalsAgainst { get; set; } + + /// + /// Total games where this goalkeeper allowed exactly one goal + /// + [Description("Total games where this goalkeeper allowed exactly one goal")] + [DataMember(Name = "GoalkeeperSingleGoalAgainst", Order = 33)] + public decimal? GoalkeeperSingleGoalAgainst { get; set; } + + /// + /// Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "GoalkeeperCleanSheets", Order = 34)] + public decimal? GoalkeeperCleanSheets { get; set; } + + /// + /// Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes) + /// + [Description("Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes)")] + [DataMember(Name = "GoalkeeperWins", Order = 35)] + public decimal? GoalkeeperWins { get; set; } + + /// + /// Total penalty kick goals + /// + [Description("Total penalty kick goals")] + [DataMember(Name = "PenaltyKickGoals", Order = 36)] + public decimal? PenaltyKickGoals { get; set; } + + /// + /// Total penalty kick misses + /// + [Description("Total penalty kick misses")] + [DataMember(Name = "PenaltyKickMisses", Order = 37)] + public decimal? PenaltyKickMisses { get; set; } + + /// + /// Total penalty kick saves + /// + [Description("Total penalty kick saves")] + [DataMember(Name = "PenaltyKickSaves", Order = 38)] + public decimal? PenaltyKickSaves { get; set; } + + /// + /// Total penalties won + /// + [Description("Total penalties won")] + [DataMember(Name = "PenaltiesWon", Order = 39)] + public decimal? PenaltiesWon { get; set; } + + /// + /// Total penalties conceded + /// + [Description("Total penalties conceded ")] + [DataMember(Name = "PenaltiesConceded", Order = 40)] + public decimal? PenaltiesConceded { get; set; } + + /// + /// Goals scored by entire team + /// + [Description("Goals scored by entire team")] + [DataMember(Name = "Score", Order = 41)] + public decimal? Score { get; set; } + + /// + /// Goals allowed to opponent + /// + [Description("Goals allowed to opponent")] + [DataMember(Name = "OpponentScore", Order = 42)] + public decimal? OpponentScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Team.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Team.cs new file mode 100644 index 0000000..811b890 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Team.cs @@ -0,0 +1,209 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamId", Order = 1)] + public int TeamId { get; set; } + + /// + /// The unique ID of the team's current home arena + /// + [Description("The unique ID of the team's current home arena")] + [DataMember(Name = "AreaId", Order = 2)] + public int? AreaId { get; set; } + + /// + /// The unique ID of the team's current home venue + /// + [Description("The unique ID of the team's current home venue")] + [DataMember(Name = "VenueId", Order = 3)] + public int? VenueId { get; set; } + + /// + /// Abbreviation of the team (e.g. LIV, ARS, etc.) + /// + [Description("Abbreviation of the team (e.g. LIV, ARS, etc.)")] + [DataMember(Name = "Key", Order = 4)] + public string Key { get; set; } + + /// + /// The mascot of the team (e.g. The Reds, The Gunners, etc.) + /// + [Description("The mascot of the team (e.g. The Reds, The Gunners, etc.)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The full name of the team (e.g. Liverpool Football Club, Arsenal Football Club, etc.) + /// + [Description("The full name of the team (e.g. Liverpool Football Club, Arsenal Football Club, etc.)")] + [DataMember(Name = "FullName", Order = 6)] + public string FullName { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 7)] + public bool Active { get; set; } + + /// + /// The area name of the home team + /// + [Description("The area name of the home team")] + [DataMember(Name = "AreaName", Order = 8)] + public string AreaName { get; set; } + + /// + /// The venue name of the home team + /// + [Description("The venue name of the home team")] + [DataMember(Name = "VenueName", Order = 9)] + public string VenueName { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Make, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Make, Female)")] + [DataMember(Name = "Gender", Order = 10)] + public string Gender { get; set; } + + /// + /// The type of this team. Possible values: Club, National + /// + [Description("The type of this team. Possible values: Club, National")] + [DataMember(Name = "Type", Order = 11)] + public string Type { get; set; } + + /// + /// The address of the home team + /// + [Description("The address of the home team")] + [DataMember(Name = "Address", Order = 12)] + public string Address { get; set; } + + /// + /// The city of the home team + /// + [Description("The city of the home team")] + [DataMember(Name = "City", Order = 13)] + public string City { get; set; } + + /// + /// The zip code of the home team + /// + [Description("The zip code of the home team")] + [DataMember(Name = "Zip", Order = 14)] + public string Zip { get; set; } + + /// + /// The phone number of the home team + /// + [Description("The phone number of the home team")] + [DataMember(Name = "Phone", Order = 15)] + public string Phone { get; set; } + + /// + /// The fax number of the home team + /// + [Description("The fax number of the home team")] + [DataMember(Name = "Fax", Order = 16)] + public string Fax { get; set; } + + /// + /// The website address of the home team + /// + [Description("The website address of the home team")] + [DataMember(Name = "Website", Order = 17)] + public string Website { get; set; } + + /// + /// The email of the home team + /// + [Description("The email of the home team")] + [DataMember(Name = "Email", Order = 18)] + public string Email { get; set; } + + /// + /// The year the team was founded (e.g. 1950, 1960, etc.) + /// + [Description("The year the team was founded (e.g. 1950, 1960, etc.)")] + [DataMember(Name = "Founded", Order = 19)] + public int? Founded { get; set; } + + /// + /// The primary color of this team's logo/uniform/branding + /// + [Description("The primary color of this team's logo/uniform/branding")] + [DataMember(Name = "ClubColor1", Order = 20)] + public string ClubColor1 { get; set; } + + /// + /// The secondary color of this team's logo/uniform/branding + /// + [Description("The secondary color of this team's logo/uniform/branding")] + [DataMember(Name = "ClubColor2", Order = 21)] + public string ClubColor2 { get; set; } + + /// + /// The tertiary color of this team's logo/uniform/branding + /// + [Description("The tertiary color of this team's logo/uniform/branding")] + [DataMember(Name = "ClubColor3", Order = 22)] + public string ClubColor3 { get; set; } + + /// + /// A nickname for this team + /// + [Description("A nickname for this team")] + [DataMember(Name = "Nickname1", Order = 23)] + public string Nickname1 { get; set; } + + /// + /// A nickname for this team + /// + [Description("A nickname for this team")] + [DataMember(Name = "Nickname2", Order = 24)] + public string Nickname2 { get; set; } + + /// + /// A nickname for this team + /// + [Description("A nickname for this team")] + [DataMember(Name = "Nickname3", Order = 25)] + public string Nickname3 { get; set; } + + /// + /// The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaLogoUrl", Order = 26)] + public string WikipediaLogoUrl { get; set; } + + /// + /// The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaWordMarkUrl", Order = 27)] + public string WikipediaWordMarkUrl { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamId", Order = 28)] + public int GlobalTeamId { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/TeamDetail.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/TeamDetail.cs new file mode 100644 index 0000000..bc7f70b --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/TeamDetail.cs @@ -0,0 +1,216 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="TeamDetail")] + [Serializable] + public partial class TeamDetail + { + /// + /// The players who are current on this team's active roster/squad + /// + [Description("The players who are current on this team's active roster/squad")] + [DataMember(Name = "Players", Order = 20001)] + public Player[] Players { get; set; } + + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamId", Order = 2)] + public int TeamId { get; set; } + + /// + /// The unique ID of the team's current home arena + /// + [Description("The unique ID of the team's current home arena")] + [DataMember(Name = "AreaId", Order = 3)] + public int? AreaId { get; set; } + + /// + /// The unique ID of the team's current home venue + /// + [Description("The unique ID of the team's current home venue")] + [DataMember(Name = "VenueId", Order = 4)] + public int? VenueId { get; set; } + + /// + /// Abbreviation of the team (e.g. LIV, ARS, etc.) + /// + [Description("Abbreviation of the team (e.g. LIV, ARS, etc.)")] + [DataMember(Name = "Key", Order = 5)] + public string Key { get; set; } + + /// + /// The mascot of the team (e.g. The Reds, The Gunners, etc.) + /// + [Description("The mascot of the team (e.g. The Reds, The Gunners, etc.)")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The full name of the team (e.g. Liverpool Football Club, Arsenal Football Club, etc.) + /// + [Description("The full name of the team (e.g. Liverpool Football Club, Arsenal Football Club, etc.)")] + [DataMember(Name = "FullName", Order = 7)] + public string FullName { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 8)] + public bool Active { get; set; } + + /// + /// The area name of the home team + /// + [Description("The area name of the home team")] + [DataMember(Name = "AreaName", Order = 9)] + public string AreaName { get; set; } + + /// + /// The venue name of the home team + /// + [Description("The venue name of the home team")] + [DataMember(Name = "VenueName", Order = 10)] + public string VenueName { get; set; } + + /// + /// Indicates the gender of the players on this team (possible values: Make, Female) + /// + [Description("Indicates the gender of the players on this team (possible values: Make, Female)")] + [DataMember(Name = "Gender", Order = 11)] + public string Gender { get; set; } + + /// + /// The type of this team. Possible values: Club, National + /// + [Description("The type of this team. Possible values: Club, National")] + [DataMember(Name = "Type", Order = 12)] + public string Type { get; set; } + + /// + /// The address of the home team + /// + [Description("The address of the home team")] + [DataMember(Name = "Address", Order = 13)] + public string Address { get; set; } + + /// + /// The city of the home team + /// + [Description("The city of the home team")] + [DataMember(Name = "City", Order = 14)] + public string City { get; set; } + + /// + /// The zip code of the home team + /// + [Description("The zip code of the home team")] + [DataMember(Name = "Zip", Order = 15)] + public string Zip { get; set; } + + /// + /// The phone number of the home team + /// + [Description("The phone number of the home team")] + [DataMember(Name = "Phone", Order = 16)] + public string Phone { get; set; } + + /// + /// The fax number of the home team + /// + [Description("The fax number of the home team")] + [DataMember(Name = "Fax", Order = 17)] + public string Fax { get; set; } + + /// + /// The website address of the home team + /// + [Description("The website address of the home team")] + [DataMember(Name = "Website", Order = 18)] + public string Website { get; set; } + + /// + /// The email of the home team + /// + [Description("The email of the home team")] + [DataMember(Name = "Email", Order = 19)] + public string Email { get; set; } + + /// + /// The year the team was founded (e.g. 1950, 1960, etc.) + /// + [Description("The year the team was founded (e.g. 1950, 1960, etc.)")] + [DataMember(Name = "Founded", Order = 20)] + public int? Founded { get; set; } + + /// + /// The primary color of this team's logo/uniform/branding + /// + [Description("The primary color of this team's logo/uniform/branding")] + [DataMember(Name = "ClubColor1", Order = 21)] + public string ClubColor1 { get; set; } + + /// + /// The secondary color of this team's logo/uniform/branding + /// + [Description("The secondary color of this team's logo/uniform/branding")] + [DataMember(Name = "ClubColor2", Order = 22)] + public string ClubColor2 { get; set; } + + /// + /// The tertiary color of this team's logo/uniform/branding + /// + [Description("The tertiary color of this team's logo/uniform/branding")] + [DataMember(Name = "ClubColor3", Order = 23)] + public string ClubColor3 { get; set; } + + /// + /// A nickname for this team + /// + [Description("A nickname for this team")] + [DataMember(Name = "Nickname1", Order = 24)] + public string Nickname1 { get; set; } + + /// + /// A nickname for this team + /// + [Description("A nickname for this team")] + [DataMember(Name = "Nickname2", Order = 25)] + public string Nickname2 { get; set; } + + /// + /// A nickname for this team + /// + [Description("A nickname for this team")] + [DataMember(Name = "Nickname3", Order = 26)] + public string Nickname3 { get; set; } + + /// + /// The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaLogoUrl", Order = 27)] + public string WikipediaLogoUrl { get; set; } + + /// + /// The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's wordmark logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaWordMarkUrl", Order = 28)] + public string WikipediaWordMarkUrl { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamId", Order = 29)] + public int GlobalTeamId { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/TeamGame.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/TeamGame.cs new file mode 100644 index 0000000..c35a6c7 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/TeamGame.cs @@ -0,0 +1,433 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="TeamGame")] + [Serializable] + public partial class TeamGame + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatId", Order = 1)] + public int StatId { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The soccer season of the game + /// + [Description("The soccer season of the game")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 4)] + public int? RoundId { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 5)] + public int? TeamId { get; set; } + + /// + /// Team's name + /// + [Description("Team's name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamId", Order = 8)] + public int? GlobalTeamId { get; set; } + + /// + /// Percentage of ball possession for this game + /// + [Description("Percentage of ball possession for this game")] + [DataMember(Name = "Possession", Order = 9)] + public decimal? Possession { get; set; } + + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameId", Order = 10)] + public int? GameId { get; set; } + + /// + /// The unique ID of the team's opponent + /// + [Description("The unique ID of the team's opponent")] + [DataMember(Name = "OpponentId", Order = 11)] + public int? OpponentId { get; set; } + + /// + /// The name of the opponent  + /// + [Description("The name of the opponent ")] + [DataMember(Name = "Opponent", Order = 12)] + public string Opponent { get; set; } + + /// + /// The day of the game + /// + [Description("The day of the game")] + [DataMember(Name = "Day", Order = 13)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game (UTC) + /// + [Description("The date and time of the game (UTC)")] + [DataMember(Name = "DateTime", Order = 14)] + public DateTime? DateTime { get; set; } + + /// + /// Whether the team is home or away + /// + [Description("Whether the team is home or away")] + [DataMember(Name = "HomeOrAway", Order = 15)] + public string HomeOrAway { get; set; } + + /// + /// Whether the game is over (true/false) + /// + [Description("Whether the game is over (true/false)")] + [DataMember(Name = "IsGameOver", Order = 16)] + public bool IsGameOver { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameId", Order = 17)] + public int? GlobalGameId { get; set; } + + /// + /// A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this opponent. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalOpponentId", Order = 18)] + public int? GlobalOpponentId { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 19)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 20)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 21)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 22)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 23)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 24)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 25)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total Mondogoal fantasy points scored + /// + [Description("Total Mondogoal fantasy points scored")] + [DataMember(Name = "FantasyPointsMondogoal", Order = 26)] + public decimal? FantasyPointsMondogoal { get; set; } + + /// + /// Total minutes played + /// + [Description("Total minutes played")] + [DataMember(Name = "Minutes", Order = 27)] + public decimal? Minutes { get; set; } + + /// + /// Total goals scored + /// + [Description("Total goals scored")] + [DataMember(Name = "Goals", Order = 28)] + public decimal? Goals { get; set; } + + /// + /// Total assists scored + /// + [Description("Total assists scored")] + [DataMember(Name = "Assists", Order = 29)] + public decimal? Assists { get; set; } + + /// + /// Total shots attempted + /// + [Description("Total shots attempted")] + [DataMember(Name = "Shots", Order = 30)] + public decimal? Shots { get; set; } + + /// + /// Total shots on goal attempted + /// + [Description("Total shots on goal attempted")] + [DataMember(Name = "ShotsOnGoal", Order = 31)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total yellow cards against + /// + [Description("Total yellow cards against")] + [DataMember(Name = "YellowCards", Order = 32)] + public decimal? YellowCards { get; set; } + + /// + /// Total red cards against + /// + [Description("Total red cards against")] + [DataMember(Name = "RedCards", Order = 33)] + public decimal? RedCards { get; set; } + + /// + /// Total double yellow cards against (which result in a red card) + /// + [Description("Total double yellow cards against (which result in a red card)")] + [DataMember(Name = "YellowRedCards", Order = 34)] + public decimal? YellowRedCards { get; set; } + + /// + /// Total passes from a wide area of the field towards the center of the field near the opponent's goal + /// + [Description("Total passes from a wide area of the field towards the center of the field near the opponent's goal")] + [DataMember(Name = "Crosses", Order = 35)] + public decimal? Crosses { get; set; } + + /// + /// Total tackles won + /// + [Description("Total tackles won")] + [DataMember(Name = "TacklesWon", Order = 36)] + public decimal? TacklesWon { get; set; } + + /// + /// Total interceptions made + /// + [Description("Total interceptions made")] + [DataMember(Name = "Interceptions", Order = 37)] + public decimal? Interceptions { get; set; } + + /// + /// Total goals scored against own team (accidentally) + /// + [Description("Total goals scored against own team (accidentally)")] + [DataMember(Name = "OwnGoals", Order = 38)] + public decimal? OwnGoals { get; set; } + + /// + /// Total fouls made + /// + [Description("Total fouls made")] + [DataMember(Name = "Fouls", Order = 39)] + public decimal? Fouls { get; set; } + + /// + /// Total times fouled + /// + [Description("Total times fouled")] + [DataMember(Name = "Fouled", Order = 40)] + public decimal? Fouled { get; set; } + + /// + /// Total offsides against + /// + [Description("Total offsides against")] + [DataMember(Name = "Offsides", Order = 41)] + public decimal? Offsides { get; set; } + + /// + /// Total passes attempted + /// + [Description("Total passes attempted")] + [DataMember(Name = "Passes", Order = 42)] + public decimal? Passes { get; set; } + + /// + /// Total passes completed successfully to teammate + /// + [Description("Total passes completed successfully to teammate")] + [DataMember(Name = "PassesCompleted", Order = 43)] + public decimal? PassesCompleted { get; set; } + + /// + /// Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper) + /// + [Description("Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper)")] + [DataMember(Name = "LastManTackle", Order = 44)] + public decimal? LastManTackle { get; set; } + + /// + /// Total corner kicks awarded + /// + [Description("Total corner kicks awarded")] + [DataMember(Name = "CornersWon", Order = 45)] + public decimal? CornersWon { get; set; } + + /// + /// Total shots blocked + /// + [Description("Total shots blocked")] + [DataMember(Name = "BlockedShots", Order = 46)] + public decimal? BlockedShots { get; set; } + + /// + /// Total times this player touched the ball + /// + [Description("Total times this player touched the ball")] + [DataMember(Name = "Touches", Order = 47)] + public decimal? Touches { get; set; } + + /// + /// Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "DefenderCleanSheets", Order = 48)] + public decimal? DefenderCleanSheets { get; set; } + + /// + /// Total saves made by goalkeeper + /// + [Description("Total saves made by goalkeeper")] + [DataMember(Name = "GoalkeeperSaves", Order = 49)] + public decimal? GoalkeeperSaves { get; set; } + + /// + /// Total goals allowed by goalkeeper + /// + [Description("Total goals allowed by goalkeeper")] + [DataMember(Name = "GoalkeeperGoalsAgainst", Order = 50)] + public decimal? GoalkeeperGoalsAgainst { get; set; } + + /// + /// Total games where this goalkeeper allowed exactly one goal + /// + [Description("Total games where this goalkeeper allowed exactly one goal")] + [DataMember(Name = "GoalkeeperSingleGoalAgainst", Order = 51)] + public decimal? GoalkeeperSingleGoalAgainst { get; set; } + + /// + /// Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "GoalkeeperCleanSheets", Order = 52)] + public decimal? GoalkeeperCleanSheets { get; set; } + + /// + /// Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes) + /// + [Description("Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes)")] + [DataMember(Name = "GoalkeeperWins", Order = 53)] + public decimal? GoalkeeperWins { get; set; } + + /// + /// Total penalty kick goals + /// + [Description("Total penalty kick goals")] + [DataMember(Name = "PenaltyKickGoals", Order = 54)] + public decimal? PenaltyKickGoals { get; set; } + + /// + /// Total penalty kick misses + /// + [Description("Total penalty kick misses")] + [DataMember(Name = "PenaltyKickMisses", Order = 55)] + public decimal? PenaltyKickMisses { get; set; } + + /// + /// Total penalty kick saves + /// + [Description("Total penalty kick saves")] + [DataMember(Name = "PenaltyKickSaves", Order = 56)] + public decimal? PenaltyKickSaves { get; set; } + + /// + /// Total penalties won + /// + [Description("Total penalties won")] + [DataMember(Name = "PenaltiesWon", Order = 57)] + public decimal? PenaltiesWon { get; set; } + + /// + /// Total penalties conceded + /// + [Description("Total penalties conceded ")] + [DataMember(Name = "PenaltiesConceded", Order = 58)] + public decimal? PenaltiesConceded { get; set; } + + /// + /// Goals scored by entire team + /// + [Description("Goals scored by entire team")] + [DataMember(Name = "Score", Order = 59)] + public decimal? Score { get; set; } + + /// + /// Goals allowed to opponent + /// + [Description("Goals allowed to opponent")] + [DataMember(Name = "OpponentScore", Order = 60)] + public decimal? OpponentScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/TeamSeason.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/TeamSeason.cs new file mode 100644 index 0000000..5109d92 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/TeamSeason.cs @@ -0,0 +1,363 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="TeamSeason")] + [Serializable] + public partial class TeamSeason + { + /// + /// The unique ID of the stat + /// + [Description("The unique ID of the stat")] + [DataMember(Name = "StatId", Order = 1)] + public int StatId { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "SeasonType", Order = 2)] + public int SeasonType { get; set; } + + /// + /// The soccer regular season for which these totals apply + /// + [Description("The soccer regular season for which these totals apply")] + [DataMember(Name = "Season", Order = 3)] + public int Season { get; set; } + + /// + /// The unique ID of the round + /// + [Description("The unique ID of the round")] + [DataMember(Name = "RoundId", Order = 4)] + public int? RoundId { get; set; } + + /// + /// The unique ID of the team + /// + [Description("The unique ID of the team")] + [DataMember(Name = "TeamId", Order = 5)] + public int? TeamId { get; set; } + + /// + /// Team name + /// + [Description("Team name")] + [DataMember(Name = "Name", Order = 6)] + public string Name { get; set; } + + /// + /// The abbreviation of the Team + /// + [Description("The abbreviation of the Team")] + [DataMember(Name = "Team", Order = 7)] + public string Team { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamId", Order = 8)] + public int? GlobalTeamId { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time) + /// + [Description("The timestamp of when the record was last updated (US Eastern Time)")] + [DataMember(Name = "Updated", Order = 9)] + public DateTime? Updated { get; set; } + + /// + /// The timestamp of when the record was last updated (UTC Time) + /// + [Description("The timestamp of when the record was last updated (UTC Time)")] + [DataMember(Name = "UpdatedUtc", Order = 10)] + public DateTime? UpdatedUtc { get; set; } + + /// + /// The number of games played + /// + [Description("The number of games played")] + [DataMember(Name = "Games", Order = 11)] + public int? Games { get; set; } + + /// + /// Total fantasy points + /// + [Description("Total fantasy points")] + [DataMember(Name = "FantasyPoints", Order = 12)] + public decimal? FantasyPoints { get; set; } + + /// + /// Total Fan Duel daily fantasy points scored + /// + [Description("Total Fan Duel daily fantasy points scored")] + [DataMember(Name = "FantasyPointsFanDuel", Order = 13)] + public decimal? FantasyPointsFanDuel { get; set; } + + /// + /// Total Draft Kings daily fantasy points scored + /// + [Description("Total Draft Kings daily fantasy points scored")] + [DataMember(Name = "FantasyPointsDraftKings", Order = 14)] + public decimal? FantasyPointsDraftKings { get; set; } + + /// + /// Total Yahoo daily fantasy points scored + /// + [Description("Total Yahoo daily fantasy points scored")] + [DataMember(Name = "FantasyPointsYahoo", Order = 15)] + public decimal? FantasyPointsYahoo { get; set; } + + /// + /// Total Mondogoal fantasy points scored + /// + [Description("Total Mondogoal fantasy points scored")] + [DataMember(Name = "FantasyPointsMondogoal", Order = 16)] + public decimal? FantasyPointsMondogoal { get; set; } + + /// + /// Total minutes played + /// + [Description("Total minutes played")] + [DataMember(Name = "Minutes", Order = 17)] + public decimal? Minutes { get; set; } + + /// + /// Total goals scored + /// + [Description("Total goals scored")] + [DataMember(Name = "Goals", Order = 18)] + public decimal? Goals { get; set; } + + /// + /// Total assists scored + /// + [Description("Total assists scored")] + [DataMember(Name = "Assists", Order = 19)] + public decimal? Assists { get; set; } + + /// + /// Total shots attempted + /// + [Description("Total shots attempted")] + [DataMember(Name = "Shots", Order = 20)] + public decimal? Shots { get; set; } + + /// + /// Total shots on goal attempted + /// + [Description("Total shots on goal attempted")] + [DataMember(Name = "ShotsOnGoal", Order = 21)] + public decimal? ShotsOnGoal { get; set; } + + /// + /// Total yellow cards against + /// + [Description("Total yellow cards against")] + [DataMember(Name = "YellowCards", Order = 22)] + public decimal? YellowCards { get; set; } + + /// + /// Total red cards against + /// + [Description("Total red cards against")] + [DataMember(Name = "RedCards", Order = 23)] + public decimal? RedCards { get; set; } + + /// + /// Total double yellow cards against (which result in a red card) + /// + [Description("Total double yellow cards against (which result in a red card)")] + [DataMember(Name = "YellowRedCards", Order = 24)] + public decimal? YellowRedCards { get; set; } + + /// + /// Total passes from a wide area of the field towards the center of the field near the opponent's goal + /// + [Description("Total passes from a wide area of the field towards the center of the field near the opponent's goal")] + [DataMember(Name = "Crosses", Order = 25)] + public decimal? Crosses { get; set; } + + /// + /// Total tackles won + /// + [Description("Total tackles won")] + [DataMember(Name = "TacklesWon", Order = 26)] + public decimal? TacklesWon { get; set; } + + /// + /// Total interceptions made + /// + [Description("Total interceptions made")] + [DataMember(Name = "Interceptions", Order = 27)] + public decimal? Interceptions { get; set; } + + /// + /// Total goals scored against own team (accidentally) + /// + [Description("Total goals scored against own team (accidentally)")] + [DataMember(Name = "OwnGoals", Order = 28)] + public decimal? OwnGoals { get; set; } + + /// + /// Total fouls made + /// + [Description("Total fouls made")] + [DataMember(Name = "Fouls", Order = 29)] + public decimal? Fouls { get; set; } + + /// + /// Total times fouled + /// + [Description("Total times fouled")] + [DataMember(Name = "Fouled", Order = 30)] + public decimal? Fouled { get; set; } + + /// + /// Total offsides against + /// + [Description("Total offsides against")] + [DataMember(Name = "Offsides", Order = 31)] + public decimal? Offsides { get; set; } + + /// + /// Total passes attempted + /// + [Description("Total passes attempted")] + [DataMember(Name = "Passes", Order = 32)] + public decimal? Passes { get; set; } + + /// + /// Total passes completed successfully to teammate + /// + [Description("Total passes completed successfully to teammate")] + [DataMember(Name = "PassesCompleted", Order = 33)] + public decimal? PassesCompleted { get; set; } + + /// + /// Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper) + /// + [Description("Total tackles made when there is no one else available to stop the opponent from scoring (this can be the goalkeeper)")] + [DataMember(Name = "LastManTackle", Order = 34)] + public decimal? LastManTackle { get; set; } + + /// + /// Total corner kicks awarded + /// + [Description("Total corner kicks awarded")] + [DataMember(Name = "CornersWon", Order = 35)] + public decimal? CornersWon { get; set; } + + /// + /// Total shots blocked + /// + [Description("Total shots blocked")] + [DataMember(Name = "BlockedShots", Order = 36)] + public decimal? BlockedShots { get; set; } + + /// + /// Total times this player touched the ball + /// + [Description("Total times this player touched the ball")] + [DataMember(Name = "Touches", Order = 37)] + public decimal? Touches { get; set; } + + /// + /// Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total defender clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "DefenderCleanSheets", Order = 38)] + public decimal? DefenderCleanSheets { get; set; } + + /// + /// Total saves made by goalkeeper + /// + [Description("Total saves made by goalkeeper")] + [DataMember(Name = "GoalkeeperSaves", Order = 39)] + public decimal? GoalkeeperSaves { get; set; } + + /// + /// Total goals allowed by goalkeeper + /// + [Description("Total goals allowed by goalkeeper")] + [DataMember(Name = "GoalkeeperGoalsAgainst", Order = 40)] + public decimal? GoalkeeperGoalsAgainst { get; set; } + + /// + /// Total games where this goalkeeper allowed exactly one goal + /// + [Description("Total games where this goalkeeper allowed exactly one goal")] + [DataMember(Name = "GoalkeeperSingleGoalAgainst", Order = 41)] + public decimal? GoalkeeperSingleGoalAgainst { get; set; } + + /// + /// Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes) + /// + [Description("Total goalkeeper clean sheets (awarded when zero goals were allowed to the opponent and the player played at least 60 minutes)")] + [DataMember(Name = "GoalkeeperCleanSheets", Order = 42)] + public decimal? GoalkeeperCleanSheets { get; set; } + + /// + /// Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes) + /// + [Description("Total goalkeeper wins (awarded when zero goals were allowed to the opponent and the player played at least 45 minutes)")] + [DataMember(Name = "GoalkeeperWins", Order = 43)] + public decimal? GoalkeeperWins { get; set; } + + /// + /// Total penalty kick goals + /// + [Description("Total penalty kick goals")] + [DataMember(Name = "PenaltyKickGoals", Order = 44)] + public decimal? PenaltyKickGoals { get; set; } + + /// + /// Total penalty kick misses + /// + [Description("Total penalty kick misses")] + [DataMember(Name = "PenaltyKickMisses", Order = 45)] + public decimal? PenaltyKickMisses { get; set; } + + /// + /// Total penalty kick saves + /// + [Description("Total penalty kick saves")] + [DataMember(Name = "PenaltyKickSaves", Order = 46)] + public decimal? PenaltyKickSaves { get; set; } + + /// + /// Total penalties won + /// + [Description("Total penalties won")] + [DataMember(Name = "PenaltiesWon", Order = 47)] + public decimal? PenaltiesWon { get; set; } + + /// + /// Total penalties conceded + /// + [Description("Total penalties conceded ")] + [DataMember(Name = "PenaltiesConceded", Order = 48)] + public decimal? PenaltiesConceded { get; set; } + + /// + /// Goals scored by entire team + /// + [Description("Goals scored by entire team")] + [DataMember(Name = "Score", Order = 49)] + public decimal? Score { get; set; } + + /// + /// Goals allowed to opponent + /// + [Description("Goals allowed to opponent")] + [DataMember(Name = "OpponentScore", Order = 50)] + public decimal? OpponentScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/Soccer/Venue.cs b/FantasyData.Api.Client.NetCore/Model/Soccer/Venue.cs new file mode 100644 index 0000000..1195cc1 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/Soccer/Venue.cs @@ -0,0 +1,111 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.Soccer +{ + [DataContract(Namespace="", Name="Venue")] + [Serializable] + public partial class Venue + { + /// + /// The unique ID of the venue + /// + [Description("The unique ID of the venue")] + [DataMember(Name = "VenueId", Order = 1)] + public int VenueId { get; set; } + + /// + /// The full name of the venue + /// + [Description("The full name of the venue")] + [DataMember(Name = "Name", Order = 2)] + public string Name { get; set; } + + /// + /// The address where the venue is located + /// + [Description("The address where the venue is located")] + [DataMember(Name = "Address", Order = 3)] + public string Address { get; set; } + + /// + /// The city where the venue is located + /// + [Description("The city where the venue is located")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The zip code of the venue + /// + [Description("The zip code of the venue")] + [DataMember(Name = "Zip", Order = 5)] + public string Zip { get; set; } + + /// + /// The 2-digit country code where the venue is located + /// + [Description("The 2-digit country code where the venue is located")] + [DataMember(Name = "Country", Order = 6)] + public string Country { get; set; } + + /// + /// Indicates whether this venue is actively used + /// + [Description("Indicates whether this venue is actively used")] + [DataMember(Name = "Open", Order = 7)] + public bool Open { get; set; } + + /// + /// The year the venue opened (e.g. 1950, 1960, etc) + /// + [Description("The year the venue opened (e.g. 1950, 1960, etc)")] + [DataMember(Name = "Opened", Order = 8)] + public int? Opened { get; set; } + + /// + /// A nickname for this venue + /// + [Description("A nickname for this venue")] + [DataMember(Name = "Nickname1", Order = 9)] + public string Nickname1 { get; set; } + + /// + /// A nickname for this venue + /// + [Description("A nickname for this venue")] + [DataMember(Name = "Nickname2", Order = 10)] + public string Nickname2 { get; set; } + + /// + /// The estimated seating capacity of the venue + /// + [Description("The estimated seating capacity of the venue")] + [DataMember(Name = "Capacity", Order = 11)] + public int? Capacity { get; set; } + + /// + /// The playing surface of the stadium (Grass or Artificial) + /// + [Description("The playing surface of the stadium (Grass or Artificial)")] + [DataMember(Name = "Surface", Order = 12)] + public string Surface { get; set; } + + /// + /// The geographic latitude coordinate of this venue. + /// + [Description("The geographic latitude coordinate of this venue.")] + [DataMember(Name = "GeoLat", Order = 13)] + public decimal? GeoLat { get; set; } + + /// + /// The geographic longitude coordinate of this venue. + /// + [Description("The geographic longitude coordinate of this venue.")] + [DataMember(Name = "GeoLong", Order = 14)] + public decimal? GeoLong { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/WNBA/Game.cs b/FantasyData.Api.Client.NetCore/Model/WNBA/Game.cs new file mode 100644 index 0000000..cbc0fb9 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/WNBA/Game.cs @@ -0,0 +1,160 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.WNBA +{ + [DataContract(Namespace="", Name="Game")] + [Serializable] + public partial class Game + { + /// + /// The unique ID of this game + /// + [Description("The unique ID of this game")] + [DataMember(Name = "GameID", Order = 1)] + public int GameID { get; set; } + + /// + /// The WNBA season of the game + /// + [Description("The WNBA season of the game")] + [DataMember(Name = "Season", Order = 2)] + public int Season { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Playoffs). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Playoffs).")] + [DataMember(Name = "SeasonType", Order = 3)] + public int SeasonType { get; set; } + + /// + /// Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled + /// + [Description("Indicates the game's status. Possible values include: Scheduled, InProgress, Final, F/OT, Suspended, Postponed, Canceled")] + [DataMember(Name = "Status", Order = 4)] + public string Status { get; set; } + + /// + /// The date of the game + /// + [Description("The date of the game")] + [DataMember(Name = "Day", Order = 5)] + public DateTime? Day { get; set; } + + /// + /// The date and time of the game + /// + [Description("The date and time of the game")] + [DataMember(Name = "DateTime", Order = 6)] + public DateTime? DateTime { get; set; } + + /// + /// The abbreviation of the Away Team + /// + [Description("The abbreviation of the Away Team")] + [DataMember(Name = "AwayTeam", Order = 7)] + public string AwayTeam { get; set; } + + /// + /// The abbreviation of the Home Team + /// + [Description("The abbreviation of the Home Team")] + [DataMember(Name = "HomeTeam", Order = 8)] + public string HomeTeam { get; set; } + + /// + /// The unique ID of the away team + /// + [Description("The unique ID of the away team")] + [DataMember(Name = "AwayTeamID", Order = 9)] + public int AwayTeamID { get; set; } + + /// + /// The unique ID of the home team + /// + [Description("The unique ID of the home team")] + [DataMember(Name = "HomeTeamID", Order = 10)] + public int HomeTeamID { get; set; } + + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 11)] + public int? StadiumID { get; set; } + + /// + /// Number of points the away scored in this game + /// + [Description("Number of points the away scored in this game")] + [DataMember(Name = "AwayTeamScore", Order = 12)] + public int? AwayTeamScore { get; set; } + + /// + /// Number of points the home scored in this game + /// + [Description("Number of points the home scored in this game")] + [DataMember(Name = "HomeTeamScore", Order = 13)] + public int? HomeTeamScore { get; set; } + + /// + /// The timestamp of when the record was last updated (US Eastern Time). + /// + [Description("The timestamp of when the record was last updated (US Eastern Time).")] + [DataMember(Name = "Updated", Order = 14)] + public DateTime? Updated { get; set; } + + /// + /// The current quarter in the game. Possible values include: 1, 2, 3, 4, Half, OT, NULL + /// + [Description("The current quarter in the game. Possible values include: 1, 2, 3, 4, Half, OT, NULL")] + [DataMember(Name = "Quarter", Order = 15)] + public string Quarter { get; set; } + + /// + /// Number of minutes remaining in the quarter + /// + [Description("Number of minutes remaining in the quarter")] + [DataMember(Name = "TimeRemainingMinutes", Order = 16)] + public int? TimeRemainingMinutes { get; set; } + + /// + /// Number of seconds remaining in the quarter + /// + [Description("Number of seconds remaining in the quarter")] + [DataMember(Name = "TimeRemainingSeconds", Order = 17)] + public int? TimeRemainingSeconds { get; set; } + + /// + /// A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this game. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalGameID", Order = 18)] + public int GlobalGameID { get; set; } + + /// + /// A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the away team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalAwayTeamID", Order = 19)] + public int GlobalAwayTeamID { get; set; } + + /// + /// A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for the home team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalHomeTeamID", Order = 20)] + public int GlobalHomeTeamID { get; set; } + + /// + /// The details of the quarters (including overtime periods) for this game. + /// + [Description("The details of the quarters (including overtime periods) for this game.")] + [DataMember(Name = "Quarters", Order = 20021)] + public Quarter[] Quarters { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/WNBA/Quarter.cs b/FantasyData.Api.Client.NetCore/Model/WNBA/Quarter.cs new file mode 100644 index 0000000..2638b22 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/WNBA/Quarter.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.WNBA +{ + [DataContract(Namespace="", Name="Quarter")] + [Serializable] + public partial class Quarter + { + /// + /// Unique identifier for each Quarter. + /// + [Description("Unique identifier for each Quarter.")] + [DataMember(Name = "QuarterID", Order = 1)] + public int QuarterID { get; set; } + + /// + /// The unique ID for this game. + /// + [Description("The unique ID for this game.")] + [DataMember(Name = "GameID", Order = 2)] + public int GameID { get; set; } + + /// + /// The Number (Order) of the Quarter in the scope of the Game. + /// + [Description("The Number (Order) of the Quarter in the scope of the Game.")] + [DataMember(Name = "Number", Order = 3)] + public int Number { get; set; } + + /// + /// The Name of the Quarter (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc) + /// + [Description("The Name of the Quarter (possible values: 1, 2, 3, 4, OT, OT2, OT3, etc)")] + [DataMember(Name = "Name", Order = 4)] + public string Name { get; set; } + + /// + /// The total points scored by the away team in this Quarter. + /// + [Description("The total points scored by the away team in this Quarter.")] + [DataMember(Name = "AwayScore", Order = 5)] + public int? AwayScore { get; set; } + + /// + /// The total points scored by the home team in this Quarter. + /// + [Description("The total points scored by the home team in this Quarter.")] + [DataMember(Name = "HomeScore", Order = 6)] + public int? HomeScore { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/WNBA/Season.cs b/FantasyData.Api.Client.NetCore/Model/WNBA/Season.cs new file mode 100644 index 0000000..e414289 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/WNBA/Season.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.WNBA +{ + [DataContract(Namespace="", Name="Season")] + [Serializable] + public partial class Season + { + /// + /// The WNBA regular season for which these totals apply + /// + [Description("The WNBA regular season for which these totals apply")] + [DataMember(Name = "Year", Order = 1)] + public int Year { get; set; } + + /// + /// The year in which the season started + /// + [Description("The year in which the season started")] + [DataMember(Name = "PreseasonStartDate", Order = 2)] + public DateTime PreseasonStartDate { get; set; } + + /// + /// The start date of the regular season + /// + [Description("The start date of the regular season")] + [DataMember(Name = "RegularSeasonStartDate", Order = 3)] + public DateTime? RegularSeasonStartDate { get; set; } + + /// + /// The start date of the postseason + /// + [Description("The start date of the postseason")] + [DataMember(Name = "PostSeasonStartDate", Order = 4)] + public DateTime? PostSeasonStartDate { get; set; } + + /// + /// The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar). + /// + [Description("The type of season that this record corresponds to (1=Regular Season, 2=Preseason, 3=Postseason, 4=Offseason, 5=AllStar).")] + [DataMember(Name = "CurrentSeasonType", Order = 5)] + public string CurrentSeasonType { get; set; } + + /// + /// The string to pass into subsequent API calls in the season parameter + /// + [Description("The string to pass into subsequent API calls in the season parameter")] + [DataMember(Name = "ApiSeason", Order = 6)] + public string ApiSeason { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/WNBA/Stadium.cs b/FantasyData.Api.Client.NetCore/Model/WNBA/Stadium.cs new file mode 100644 index 0000000..2b3af63 --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/WNBA/Stadium.cs @@ -0,0 +1,55 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.WNBA +{ + [DataContract(Namespace="", Name="Stadium")] + [Serializable] + public partial class Stadium + { + /// + /// The unique ID of the stadium + /// + [Description("The unique ID of the stadium")] + [DataMember(Name = "StadiumID", Order = 1)] + public int StadiumID { get; set; } + + /// + /// Whether or not this stadium is the home venue for an active team + /// + [Description("Whether or not this stadium is the home venue for an active team")] + [DataMember(Name = "Active", Order = 2)] + public bool Active { get; set; } + + /// + /// The full name of the stadium + /// + [Description("The full name of the stadium")] + [DataMember(Name = "Name", Order = 3)] + public string Name { get; set; } + + /// + /// The city where the stadium is located + /// + [Description("The city where the stadium is located")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The US state where the stadium is located (if Stadium is outside US, this value is NULL) + /// + [Description("The US state where the stadium is located (if Stadium is outside US, this value is NULL)")] + [DataMember(Name = "State", Order = 5)] + public string State { get; set; } + + /// + /// The 2-digit country code where the stadium is located + /// + [Description("The 2-digit country code where the stadium is located")] + [DataMember(Name = "Country", Order = 6)] + public string Country { get; set; } + + } +} + diff --git a/FantasyData.Api.Client.NetCore/Model/WNBA/Team.cs b/FantasyData.Api.Client.NetCore/Model/WNBA/Team.cs new file mode 100644 index 0000000..ae41edb --- /dev/null +++ b/FantasyData.Api.Client.NetCore/Model/WNBA/Team.cs @@ -0,0 +1,69 @@ +using System; +using System.ComponentModel; +using System.Runtime.Serialization; + +namespace FantasyData.Api.Client.NetCore.Model.WNBA +{ + [DataContract(Namespace="", Name="Team")] + [Serializable] + public partial class Team + { + /// + /// The auto-generated unique ID of the Team + /// + [Description("The auto-generated unique ID of the Team")] + [DataMember(Name = "TeamID", Order = 1)] + public int TeamID { get; set; } + + /// + /// Abbreviation of the team (e.g. LA, PHX, NY etc.) + /// + [Description("Abbreviation of the team (e.g. LA, PHX, NY etc.)")] + [DataMember(Name = "Key", Order = 2)] + public string Key { get; set; } + + /// + /// Whether or not this team is active + /// + [Description("Whether or not this team is active")] + [DataMember(Name = "Active", Order = 3)] + public bool Active { get; set; } + + /// + /// The city/location of the team (e.g. Los Angeles, Phoenix, New York, etc.) + /// + [Description("The city/location of the team (e.g. Los Angeles, Phoenix, New York, etc.)")] + [DataMember(Name = "City", Order = 4)] + public string City { get; set; } + + /// + /// The mascot of the team (e.g. Sparks, Suns, Dream, etc.) + /// + [Description("The mascot of the team (e.g. Sparks, Suns, Dream, etc.)")] + [DataMember(Name = "Name", Order = 5)] + public string Name { get; set; } + + /// + /// The conference of the team (possible values: Eastern, Western) + /// + [Description("The conference of the team (possible values: Eastern, Western)")] + [DataMember(Name = "Conference", Order = 6)] + public string Conference { get; set; } + + /// + /// The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use) + /// + [Description("The link to the team's logo hosted on Wikipedia. (This is not licensed for public or commercial use)")] + [DataMember(Name = "WikipediaLogoUrl", Order = 7)] + public string WikipediaLogoUrl { get; set; } + + /// + /// A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues. + /// + [Description("A globally unique ID for this team. This value is guaranteed to be unique across all sports/leagues.")] + [DataMember(Name = "GlobalTeamID", Order = 8)] + public int GlobalTeamID { get; set; } + + } +} + diff --git a/FantasyData.Api.Client/FantasyData.Api.Client.sln b/FantasyData.Api.Client/FantasyData.Api.Client.sln new file mode 100644 index 0000000..0330098 --- /dev/null +++ b/FantasyData.Api.Client/FantasyData.Api.Client.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29609.76 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FantasyData.Api.Client", "FantasyData.Api.Client.csproj", "{4917F563-EC8F-4E15-B08A-E18B514A3960}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FantasyData.Api.Client.NetCore", "..\FantasyData.Api.Client.NetCore\FantasyData.Api.Client.NetCore.csproj", "{91720E99-E681-47D7-AC41-7C8C8AA6BE5D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4917F563-EC8F-4E15-B08A-E18B514A3960}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4917F563-EC8F-4E15-B08A-E18B514A3960}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4917F563-EC8F-4E15-B08A-E18B514A3960}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4917F563-EC8F-4E15-B08A-E18B514A3960}.Release|Any CPU.Build.0 = Release|Any CPU + {91720E99-E681-47D7-AC41-7C8C8AA6BE5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {91720E99-E681-47D7-AC41-7C8C8AA6BE5D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {91720E99-E681-47D7-AC41-7C8C8AA6BE5D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {91720E99-E681-47D7-AC41-7C8C8AA6BE5D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {082AC64B-2D34-4ADF-94B4-D737B9E20AB2} + EndGlobalSection +EndGlobal