Skip to content
REST API for the top NFL players of the year. Built using Django, and deployed on Heroku through a Docker container. CI was implemented using Travis-CI
Python Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app updated README and final fixes Aug 22, 2019
.gitignore Initial commit Aug 7, 2019
.travis.yml added linter and Travis-CI configuration Aug 7, 2019
Dockerfile setup for deployment Aug 22, 2019
LICENSE Initial commit Aug 7, 2019
Procfile setup for deployment Aug 22, 2019
README.md updated README and final fixes Aug 22, 2019
docker-compose.yml setup db connection Aug 12, 2019
requirements.txt setup for deployment Aug 22, 2019

README.md

NFLTop100-API

Django REST API for the top 100 NFL players of the year

Admin: https://nfltop100.herokuapp.com/admin
Root: https://nfltop100.herokuapp.com/api/top100

  • Note: Only admin users have access to full CRUD functionalities
  • Note: All ids are integers > 0

Endpoints:

Example: https://nfltop100.herokuapp.com/api/top100/players/?team=1&position=5

Endpoint to view teams: /teams - https://nfltop100.herokuapp.com/api/top100/teams
Endpoint to view specific team: /teams/{team_id}
Endpoint to filter teams that have players in the top 100: /teams/?assigned_only=1

Endpoint to view positions: /positions - https://nfltop100.herokuapp.com/api/top100/positions
Endpoint to view specific position: /positions/{position_id}
Endpoint to filter positions that have players in the top 100: /positions/?assigned_only=1

Endpoint to view players: /players - https://nfltop100.herokuapp.com/api/top100/players
Endpoint to view specific player: /players/{player_id}
Endpoint to filter players playing for a specific team: /players/?team={team_id}
Endpoint to filter players playing a specific position: /players/?position={position_id}
Endpoint to filter players playing at specific teams and specific positions: /players/?team={team_id}&position={position_id}

You can’t perform that action at this time.