Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
0766388
CDL: some cleanup, and random.choice fixed in pyfsi
cdleong Jan 21, 2019
4a0df60
CDL:scraped down the stat categories
cdleong Jan 21, 2019
1d89a20
CDL: more data
cdleong Jan 21, 2019
f3b6679
Some notes
cdleong Jan 21, 2019
b03b954
CDL: new function to download stat categories
cdleong Jan 21, 2019
28fd986
CDL: stub class to plot average fantasy points by position
cdleong Jan 21, 2019
a72ad38
CDL: tested out getting league-specific stats, giving me actual fanta…
cdleong Jan 21, 2019
ff3eaee
CDL: some code cleanup for yahoo_sports_interface
cdleong Jan 24, 2019
019c125
CDL: player fantasy points scored in 2018 season
cdleong Jan 24, 2019
6d7aa23
CDL: script to plot point distributions by position
cdleong Jan 24, 2019
7ac5bd6
CDL: some data updates
cdleong Jan 30, 2019
5d46f11
CDL: boxplot for point distribution by player positions
cdleong Jan 31, 2019
bf218f6
CDL: script for parsing data files
cdleong Feb 1, 2019
e26a474
CDL: updating position/score graphing scripts
cdleong Feb 1, 2019
079d76b
CDL: updating the Yahoo sports interface somewhat, moving datafile pa…
cdleong Feb 1, 2019
5e431e9
CDL: python script for generating csv from player data
cdleong Feb 22, 2019
78f0157
CDL: first pass at requirements.yml
cdleong Feb 22, 2019
91b1040
CDL: various changes, including prompting the user so as to get leagu…
cdleong Feb 22, 2019
afb0dcc
CDL: updating readme a bit.
cdleong Feb 22, 2019
bed0e6a
CDL: stat categories, for future reference.
cdleong Feb 22, 2019
9a7cf39
CDL: add pic to README
cdleong Feb 22, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 47 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,47 @@
# pyfantasy

Using Python to have fun with fantasy sports!


## Getting Started
(TODO, Still in development!)

### Prerequisites
* Uses [YahooSports](https://github.com/thorrr/YahooSports) to connect to Yahoo Fantasy Sports API.

### Setup
(Still in development!)

## Authors

* **[Colin Leong]((https://github.com/cdleong))**

## Acknowledgments
* [Jason Bell](https://github.com/thorrr) the author of [YahooSports](https://github.com/thorrr/YahooSports), which I'm using to pull data down.


## License

This project is licensed under the GPLv3 License - see the [LICENSE.md](LICENSE.md) file for details


# pyfantasy

Using Python to have fun with fantasy sports!

![](images/player_box.png)

## Getting Started
(TODO, Still in development!)

### Prerequisites
* Uses [YahooSports](https://github.com/thorrr/YahooSports) to connect to Yahoo Fantasy Sports API.

### Setup
(Still in development!)

```
# setup conda environment.
conda env create -n pyfantasy -f requirements.yml
```




## YahoSports Data scraping:

Query documentation can be found here: https://developer.yahoo.com/fantasysports/guide/

Basically, the query goes "game/nfl/something"

Player resource: https://developer.yahoo.com/fantasysports/guide/#player-resource or https://developer.yahoo.com/fantasysports/guide/player-resource.html
Game resource: https://developer.yahoo.com/fantasysports/guide/game-resource.html

You need to generate an auth file using your Yahoo developer credentials: https://developer.yahoo.com/apps/ and [YahooSports](https://github.com/thorrr/YahooSports)

## Authors

* **[Colin Leong]((https://github.com/cdleong))**

## Acknowledgments
* [Jason Bell](https://github.com/thorrr) the author of [YahooSports](https://github.com/thorrr/YahooSports), which I'm using to pull data down.


## License

This project is licensed under the GPLv3 License - see the [LICENSE.md](LICENSE.md) file for details


File renamed without changes.
371,097 changes: 371,097 additions & 0 deletions data/all_players_after_2018_season_with_stats.txt

Large diffs are not rendered by default.

Loading