sjtipton / pro_football_api Goto Github PK
View Code? Open in Web Editor NEWAPI containing datapoints for NFL Teams, schedules, stats and more
Home Page: http://pro-football-api.herokuapp.com/
API containing datapoints for NFL Teams, schedules, stats and more
Home Page: http://pro-football-api.herokuapp.com/
Expose Game resource so an API user can retrieve a list of Games:
GET '/api/v1/games?auth_token=your_api_token'
GET '/api/v1/schedule?auth_token=your_api_token' (alias)
# => retrieve an index of all Games grouped by :week and ordered by :played_at and then by :label
# => @games = Game.order("week ASC, played_at ASC, label ASC")
GET '/api/v1/games/:id?auth_token=your_api_token'
# => retrieve a specified Game
GET '/api/v1/teams/:id/games?auth_token=your_api_token'
GET '/api/v1/teams/:id/schedule?auth_token=your_api_token' (alias)
# => retrieve a schedule for a specified Team ordered by :week
# => id = params[:id]
# => @games = Game.where("away_team_id = ? or home_team_id = ?", id, id).order("week ASC")
Should we expose @team
in TeamGamesController? If so, it may need to be glued into the JSON response.
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.