GithubHelp home page GithubHelp logo

mysportsfeeds / mysportsfeeds-api Goto Github PK

View Code? Open in Web Editor NEW
43.0 13.0 3.0 2 KB

Feature requests for the MySportsFeeds Sports Data API.

mysportsfeeds-api sports sports-stats sportsanalytics dfs fantasy-sports sports-data football-data baseball-analysis-packages mlb-gameday

mysportsfeeds-api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mysportsfeeds-api's Issues

Introduce API keys

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.

Improved detail for player injuries

Along with the general description of the injury, will also optionally contain:

  • start/end dates
  • status (IR, Probable, Questionable, Doubtful, Out, Suspended)
  • history of injuries per player

The intent is to retrofit this into v1.0 of the existing data feed. Otherwise, may roll into v1.1.

Add support for Soccer

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.

Batted Ball Stats

It would be great to have stats added to the play by play for ...

  • Exit Velocity
  • Launch Angle
  • Batted Ball Distance

Thanks.

[NFL] Stadiums with the wrong name

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)

date-range parameter format

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?

Add Game Lineup data feed

We already track starting lineups internally, but we'll be exposing that in new data feed for v1.0 of the API.

Add Handedness

I could see it being helpful. Especially for MLB if Handedness was an included JSON property.

Expand historical data for all leagues

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.

Plays not in order when occurring within the same second

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.

Add filtering/sorting for all data feeds

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.

Stats Selectors: allow category prefix

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"

Support for WebHooks

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.

Arizona instead of Phoenix in older season

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}}]}]}}

Enable full crowd-sourcing

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.

Add support for postponed/delayed games

This is especially useful for MLB. There would be two different scenarios:

  1. game was postponed/delayed before game began. In that case, the original and new dates should be included.

  2. 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.

Add support for NCAA FB

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.

Track team/player playoff status

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.

Fix GB in MLB Division Team Standings

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.

Add PGA / Golf Data Feeds

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.

Change date and time to use ISO 8601 standard

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 DFS data feed

Add a new data feed for v1.0 of the API. Will contain historical daily salaries.

New Feed: what season is it?

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).

NFL Standings

Los Angeles Chargers doesnt appear in any standings.

Create open-source wrapper libraries in popular languages

A number of wrapper libraries will be introduced to handle everything for you:

  • authentication
  • compression
  • store data locally (raw files, SQL, etc)
  • sort and filter on specific players, teams, games, and/or dates

A separate repository will be created for each. Initial languages being considered are:

  • PHP
  • Python
  • Node.js
  • Java
  • Ruby
  • R
  • C#
  • Objective-C

Add Vegas Odds

I think it would be great to have a Vegas Odds for NFL, MLB, NBA and NHL.

New data feed for player contract and draft details

A new feed will be introduced to v1.0 to list historical contract and draft info for each player, including:

Contract:

  • start/end dates
  • salary
  • term
  • No-Trade or other clauses
  • bonuses

Draft:

  • league & team
  • when
  • round
  • selection

Add support for NCAA BB

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.

Support for Live PUSH of data

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.

Add League Averages Feed

A feed that contains current league averages for specific stats. Like wOBA, ISO, RushingTD, etc.

Correct game_boxscore period score for Shootouts (NHL)

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.

Add DFS Data to Player Game Logs and Cumulative Stats Feeds

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.

Add players on ice to the play-by-play feed

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.