mysportsfeeds / mysportsfeeds-api Goto Github PK
View Code? Open in Web Editor NEWFeature requests for the MySportsFeeds Sports Data API.
Feature requests for the MySportsFeeds Sports Data API.
Currently all API requests use HTTP Basic over SSL with your MySportsFeeds account credentials. Instead, we'll be switching to use an API key, which is more typical of most APIs and has some other benefits.
Version 1.0 of the API will continue to use HTTP Basic, and will eventually be deprecated and phased out.
Along with the general description of the injury, will also optionally contain:
The intent is to retrofit this into v1.0 of the existing data feed. Otherwise, may roll into v1.1.
We'll be adding a stat for Blocked Shots (both team and player), as it's needed for proper DFS support.
MLB can occasionally schedule double-headers on the same day with the same teams. So will need to qualify which game via an optional suffix.
(E.g. - "20170501-NYY-BOS-1" or "20170501-NYY-BOS-2")
Need to adjust all team GF/GA stats retroactively.
We'll be adding league support for Soccer and the Premier League The goal is to make the last 5 years available for the initial offering.
It would be great to have stats added to the play by play for ...
Thanks.
Some stadiums have the wrong name:
Bills - New Era Field
Dolphins - Hard Rock Stadium
Vikings - U.S. Bank Stadium
Broncos - Sports Authority Field at Mile High
Saints - Mercedes-Benz Superdome
Raiders - Oakland Coliseum
Chargers - StubHub Center
Falcons - Mercedes-Benz Stadium
Games outside of USA:
Ravens @ Jaguars - 2017-09-24 - Wembley Stadium (London)
Saints @ Dolphins - 2017-10-01 - Wembley Stadium (London)
Cardinals @ Rams - 2017-10-22 - Twickenham Stadium (London)
Vikings @ Browns - 2017-10-29 - Twickenham Stadium (London)
Patriots @ Raiders - 2017-11-19 - Estadio Azteca (Mexico)
trying something like
https://api.mysportsfeeds.com/v1.1/pull/nhl/2016-2017-regular/player_gamelogs.json?player=jamie-benn&date=from-20161013-to-20161022
returns 404, but something like
https://api.mysportsfeeds.com/v1.1/pull/nhl/2016-2017-regular/player_gamelogs.json?player=jamie-benn&date=until-20161022
seems to respond with correct results.
am i missing something small here? after reading the documentation i saw there is no explicit example of a date-range between two specified dates where both specified dates are in YYYYMMDD format. is that not possible?
We already track starting lineups internally, but we'll be exposing that in new data feed for v1.0 of the API.
A new pair of feeds would be extremely useful to return a list of game logs for applicable filters. (players/teams/dates/etc)
I could see it being helpful. Especially for MLB if Handedness was an included JSON property.
We'll be going back and adding retroactive data for all leagues. Our goal is to do this is 5-year increments, starting with the NFL, then MLB, NBA, and NHL. Along the way we'll be adding any newly introduced stats for recent seasons.
For the NFL, NBA, and NHL, often plays which occur within the same second aren't always ordered properly in the Game Play-By-Play data feed. As this is common code, it affects all these sports equally (baseball is handled separately and is working as expected).
Will be performing the necessary data migrations and code changes to correct this behaviour.
Currently data feeds return a huge amount of data for all relevant players/teams/games.
We'll be adding additional filters and sorting for each feed. The type of filters and sorting will be specific to each feed.
The game was changed to Nov-19 1 PM (week 11)
Currently when filtering team/player stats using either teamstats or playerstats parameters, multiple stats will be returned if the abbreviations apply to more than one category.
That should be altered to allow a prefix for the category, in cases you want to further narrow down the included stats.
For example:
"playerstats=Yds" would become "playerstats=Passing.Yds"
Our current PUSH functionality is limited to email and FTP delivery methods only. We'll be adding support for WebHooks where we'll push the data to an HTTP endpoint you specify.
Hey Brad, first I wanted to thank you for all of the effort you have put into this project, I truly appreciate it a lot and I am having a lot of fun playing with the NHL data that your api's provide.
I noticed something when looking at team standings for past seasons, it is definitely not a critical issue and I am not sure if it is absolutely necessary to change, but it seems that the responses return Arizona Coyotes
in some cases when I believe it should be Phoenix Coyotes
. I think that the franchise didn't change their city from Phoenix
to Arizona
until after the 2013-2014
season, but in this response from the division_team_standings
api for the 2007-2008
regular season, the team appears as the Arizona Coyotes
. Again, I don't think this is a huge deal, but I thought I might mention it just in case it is something that could have been overlooked and you would want to change.
https://www.mysportsfeeds.com/api/feed/pull/nhl/2007-2008-regular/division_team_standings.json?teamstats=none&playerstats=none
{"divisionteamstandings":{"lastUpdatedOn":"2017-07-02 10:29:08 PM","division":[{"@name":"Eastern/Atlantic","teamentry":[{"team":{"ID":"10","City":"Pittsburgh","Name":"Penguins","Abbreviation":"PIT"},"rank":"1","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"7","City":"New Jersey","Name":"Devils","Abbreviation":"NJD"},"rank":"2","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"9","City":"New York","Name":"Rangers","Abbreviation":"NYR"},"rank":"3","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"6","City":"Philadelphia","Name":"Flyers","Abbreviation":"PHI"},"rank":"4","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"8","City":"New York","Name":"Islanders","Abbreviation":"NYI"},"rank":"5","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}}]},{"@name":"Eastern/Northeast","teamentry":[{"team":{"ID":"14","City":"Montreal","Name":"Canadiens","Abbreviation":"MTL"},"rank":"1","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"13","City":"Ottawa","Name":"Senators","Abbreviation":"OTT"},"rank":"2","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"11","City":"Boston","Name":"Bruins","Abbreviation":"BOS"},"rank":"3","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"15","City":"Buffalo","Name":"Sabres","Abbreviation":"BUF"},"rank":"4","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"12","City":"Toronto","Name":"Maple Leafs","Abbreviation":"TOR"},"rank":"5","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}}]},{"@name":"Eastern/Southeast","teamentry":[{"team":{"ID":"5","City":"Washington","Name":"Capitals","Abbreviation":"WSH"},"rank":"1","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"3","City":"Carolina","Name":"Hurricanes","Abbreviation":"CAR"},"rank":"2","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"4","City":"Florida","Name":"Panthers","Abbreviation":"FLO"},"rank":"3","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"2","City":"Atlanta","Name":"Thrashers","Abbreviation":"ATL"},"rank":"4","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"1","City":"Tampa Bay","Name":"Lightning","Abbreviation":"TBL"},"rank":"5","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}}]},{"@name":"Western/Pacific","teamentry":[{"team":{"ID":"26","City":"San Jose","Name":"Sharks","Abbreviation":"SJS"},"rank":"1","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"29","City":"Anaheim","Name":"Ducks","Abbreviation":"ANA"},"rank":"2","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"27","City":"Dallas","Name":"Stars","Abbreviation":"DAL"},"rank":"3","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"30","City":"Arizona","Name":"Coyotes","Abbreviation":"ARI"},"rank":"4","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"28","City":"Los Angeles","Name":"Kings","Abbreviation":"LAK"},"rank":"5","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}}]},{"@name":"Western/Northwest","teamentry":[{"team":{"ID":"25","City":"Minnesota","Name":"Wild","Abbreviation":"MIN"},"rank":"1","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"22","City":"Colorado","Name":"Avalanche","Abbreviation":"COL"},"rank":"2","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"23","City":"Calgary","Name":"Flames","Abbreviation":"CGY"},"rank":"3","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"24","City":"Edmonton","Name":"Oilers","Abbreviation":"EDM"},"rank":"4","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"21","City":"Vancouver","Name":"Canucks","Abbreviation":"VAN"},"rank":"5","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}}]},{"@name":"Western/Central","teamentry":[{"team":{"ID":"16","City":"Detroit","Name":"Red Wings","Abbreviation":"DET"},"rank":"1","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"18","City":"Nashville","Name":"Predators","Abbreviation":"NSH"},"rank":"2","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"20","City":"Chicago","Name":"Blackhawks","Abbreviation":"CHI"},"rank":"3","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"19","City":"Columbus","Name":"Blue Jackets","Abbreviation":"CBJ"},"rank":"4","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}},{"team":{"ID":"17","City":"St. Louis","Name":"Blues","Abbreviation":"STL"},"rank":"5","stats":{"GamesPlayed":{"@abbreviation":"GP","#text":"82"},"stats":null}}]}]}}
Although we do track rounds and series internally, we need to expose these as data feeds.
We already have capability of allowing any subscriber to suggest changes for NHL games, as well as player bio, game schedules, and injuries. We intend to expand that functionality to the other leagues and sports as well.
This is especially useful for MLB. There would be two different scenarios:
game was postponed/delayed before game began. In that case, the original and new dates should be included.
game was postponed/delayed AFTER game began and at least one at-bat was started. In that case, a special type of play will be needed to indicated the nature of the delay and when to expect the game to resume.
Since we already support Football in the form of the NFL, we'll be adding league support for the NCAA. The goal is to make the last 5 years available for the initial offering.
Although we track the source IDs for DraftKings and FanDuel, they're not yet included in the feed. But they soon will be!
For convenience, it would be useful to know whether a team has been eliminated or not. Would help for apps where only remaining teams and players can be selected.
Currently, all GB (Games Behind) for all Teams are equal to 0.0 for division team standings. They should reflect the actual games behind the leader in each division.
This would require some math...
As DFS PGA is getting bigger and bigger some people may find this a great add-on to MySportsFeeds! Adding cumulative stats, DFS feed, play by play, daily schedule, etc.
Currently when you access the daily schedule you receive an array of gameEntry
objects
{
id: "33462",
date: "2017-02-14",
time: "7:00PM",
awayTeam: {
ID: "22",
City: "Colorado",
Name: "Avalanche",
Abbreviation: "COL"
},
homeTeam: {
ID: "7",
City: "New Jersey",
Name: "Devils",
Abbreviation: "NJD"
},
location: "Prudential Center"
}
Rather than having a date and time property would it be possible to add an ISO 8601 date and a timezone property instead. This would allow for easier tracking of when and where games are going to start and make it easier to parse the dates for use with the play-by-play
endpoint
Add the missing week number for feeds:
Add a new data feed for v1.0 of the API. Will contain historical daily salaries.
A new data feed will be created to list depth charts for each team, released in v1.0 of the API.
There are a number of game- and venue-related details which can and should be added for each game:
A feed is needed to specify the relevant season for a given date. Details will include the start/end date, and interval type (preseason, regular, playoff).
Los Angeles Chargers doesnt appear in any standings.
A number of wrapper libraries will be introduced to handle everything for you:
A separate repository will be created for each. Initial languages being considered are:
The game is not being updated in scoreboard.json.
I think it would be great to have a Vegas Odds for NFL, MLB, NBA and NHL.
A new feed will be introduced to v1.0 to list historical contract and draft info for each player, including:
Contract:
Draft:
Since we already support Basketball in the form of the NBA, we'll be adding league support for the NCAA. The goal is to make the last 5 years available for the initial offering.
Each season's supported stats are configurable. This will be especially useful when we start adding historical seasons, and deal with rules changes.
This feed will explicitly state what's included.
While the scoring plays are listed with a description, it would be extra useful if the actual points earned for the scoring team were listed alongside.
The daily_dfs feed has duplicates for DeMarcus Ayers, with differing salaries.
Our current PUSH functionality is limited to postgame only. We'll be expanding on that to allow an automated PUSH of the data when changes are made during live games.
A feed that contains current league averages for specific stats. Like wOBA, ISO, RushingTD, etc.
For games ending in a shootout, the game_boxscore feed includes ALL shootout goals when calculating the periodTotals.awayScore and periodTotals.homeScore. That can be misleading, as the game's overall period score is limited to an increase of one for the shootout.
Instead, the score should be limited to a maximum of one this scenario.
This would be helpful for people if there are trying to get an average of how many fantasy points a player has scored over a season or a certain period of time. Instead of have to call the Daily DFS API multiple times.
Include salary and actual scored dfs points. For the cumulative stats fantasy point floor and fantasy point ceiling could be added.
I would like to see the addition of all players currently on the ice for every entry in the NHL play-by-play feed.
Entering an issue here after having discussed this with Brad over e-mail.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.