BurntSushi / nflgame

An API to retrieve and read NFL Game Center JSON data. It can work with real-time data, which can be used for fantasy football.
http://pdoc.burntsushi.net/nflgame
The Unlicense
1.27k stars 413 forks source link

End Yardline #306

Open NextPlayPredictions opened 7 years ago

NextPlayPredictions commented 7 years ago

I'm trying to access a given play's end yardline number. Each Play object contains an instance variable "yardline" that returns a given play's line of scrimmage to start the play. I need the yardline that the play ends at.

Does anyone know of a solution to this? If not, can functionality be added? NFL.com's API notes that it contains both a starting yardline and ending yardline for its Play class structure.

https://api.nfl.com/docs/league/models/play/index.html

Thanks