bkenny266 / djifts

hockey
4 stars 1 forks source link

djifts

Overview

This is a Django/Python web application currently in development. The goal of this project is to collect data from NHL games related to player line combinations and aggregate statistics to measure the performance of these line combinations. The stats that we will measure are goals, shots, hits, shot blocks, and ice time. By collecting data from each hockey game over the course of a season, we can determine the lines that are the top performers in each of these statistical categories. The plan is to allow users to view lists of top performing lines over various lengths of time and on various scopes: league-wide, team-wide, and game-wide.

To install

```
pip install -r requirements.txt
```

Requires Python 2.7, Django 1.5.1, and the following python modules: BeautifulSoup, requests, nameparser

The Applications

API:

Delivers json data upon request

```
/api/get_game_list/ - request headers for all loaded game data
/api/get_game_list/[team_initials] - request headers for a specific team's loaded data
/api/get_game_data/[game_id] - request game-level data 
```

Datamanager:

Includes methods used for downloading, processing, and storing data.

Games:

Includes models and views for interacting with data on a "game" level.

Teams:

Includes models and views for interacting with data on a "team" level.

Players:

Includes models and views for interacting with data on a "player" level.

Next Steps

Other things to do