-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
48 lines (48 loc) · 2.07 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<html>
<head></head>
<body>
<h2>NFL_Draftkings</h2>
<h3>Public Methods</h3>
<ul>
<li>
<p>get_scores(name=None, position=None, team=None, week=None, season=None)</p>
<p>General method for getting score of any player, position or team in a specific season or week. If no arguments are specified, all players season stats from the latest season are returned.</p>
<span>Arguments:</span>
<ul>
<li>name: String</li>
<li>position: String</li>
<li>team: String</li>
<li>week: Integer</li>
<li>season: Integer</li>
</ul>
<p>Return: A list of player dictionaries.</p>
</li>
<li>
<p>get_weekly_scores(name=None, position=None, team=None, weeks=None, season=None)</p>
<p>Method to get a player, position or team's scores week by week. If weeks is not specified it will be weeks 1-17.</p>
<span>Arguments:</span>
<ul>
<li>name: String</li>
<li>position: String</li>
<li>team: String</li>
<li>weeks: List or Tuple</li>
<li>season: Integer</li>
</ul>
<p>Returns: A list of player dictionaries.</p>
</li>
<li>
<p>get_top_performers(position=None, team=None, week=None, season=None, top=10):</p>
<p>Method to get top performers for a given week or season, based on position, team or overall league.</p>
<span>Arguments:</span>
<ul>
<li>position: String</li>
<li>team: String</li>
<li>week: Integer</li>
<li>season: Integer</li>
<li>top: Integer</li>
</ul>
<p>Returns: A list of player dictionaries.</p>
</li>
</ul>
</body>
</html>