2
import QtQuick.XmlListModel 2.0
5
// We can Keep a Eye on these api also
6
//http://blog.programmableweb.com/2012/08/01/91-sports-apis-fanfeedr-seatwave-and-espn/
7
//http://football.myfantasyleague.com/
12
******************************
14
******************************
15
http://fantasydata.com/rss/rotoworld/
19
***************************
21
***************************
31
****************************
33
****************************
37
ESPN apikey=2h5sytpesd97v5fxmrfrkm7x
38
espn can be used for a couple of things. First to get all the info about a player (id most important )
40
http://api.espn.com/v1/sports/football/nfl/athletes/?_accept=text%2Fxml&apikey=2h5sytpesd97v5fxmrfrkm7x
42
then we can use the id of the player to get things like there Picture
43
http://a.espncdn.com/combiner/i?img=/i/headshots/nfl/players/full/{PLAYERID}.png&w=350&h=254
45
we can also get there teams icon with
46
http://a1.espncdn.com/prod/assets/clubhouses/2010/nfl/bg_elements/teamlogos/{TEAM ABRIVE}.png
48
We can get the background for espn with the url
49
http://a1.espncdn.com/prod/assets/clubhouses/2010/nfl/bg_elements/SF.jpg
55
*******************************
57
*******************************
62
http://api.fantasy.nfl.com/application/login?appKey=sampleapp×tamp=1268089312&signature=c21bdddc4d4b33f1764c38b9200248d8
65
http://api.fantasy.nfl.com/auth/login?appKey=sample&username=testuser&password=passtest×tamp=1268089312&signature=c21bdddc4d4b33f1764c38b9200248d8
67
http://api.fantasy.nfl.com/league/players?leagueId=1&authToken=MTIzNCYxJjEyNjgwODg4NTY= NEED API KEY
68
http://api.fantasy.nfl.com/league/schedule?leagueId=1&authToken=MTIzNCYxJjEyNjgwODg4NTY=
69
http://api.fantasy.nfl.com/league/settings?leagueId=1&authToken=MTIzNCYxJjEyNjgwODg4NTY=
70
http://api.fantasy.nfl.com/league/standings?leagueId=1&authToken=MTIzNCYxJjEyNjgwODg4NTY=
71
http://api.fantasy.nfl.com/league/messages?leagueId=1&authToken=MTIzNCYxJjEyNjgwODg4NTY=
72
http://api.fantasy.nfl.com/league/matchups?leagueId=1250&week=3&authToken=MTIzNCYxJjEyNjgwODg4NTY=
73
http://api.fantasy.nfl.com/league/transactions?leagueId=1&authToken=MTIzNCYxJjEyNjgwODg4NTY=
74
http://api.fantasy.nfl.com/league/team/roster?leagueId=1&teamId=1&week=4&authToken=MTIzNCYxJjEyNjgwODg4NTY=
75
http://api.fantasy.nfl.com/league/team/schedule?leagueId=1&teamId=1&authToken=MTIzNCYxJjEyNjgwODg4NTY=
76
http://api.fantasy.nfl.com/league/team/matchup?leagueId=1&teamId=1&week=4&authToken=MTIzNCYxJjEyNjgwODg4NTY=
77
http://api.fantasy.nfl.com/user/leagues?authToken=MTIzNCYxJjEyNjgwODg4NTY=
78
http://api.fantasy.nfl.com/user/notifications?authToken=MTIzNCYxJjEyNjgwODg4NTY=
84
**********NO KEY NEEDED***************
85
http://www.nfl.com/rss/rsslanding?searchString=gamehighlightsVideo << game Highlights
86
http://www.nfl.com/liveupdate/scorestrip/ss.xml << liveupdates of scores
88
http://api.fantasy.nfl.com/players/news << FF player News
89
http://api.fantasy.nfl.com/players/scoringleaders?season=2010&week=1 << player FF leaders by year
91
http://api.fantasy.nfl.com/leaderboard?siteId=34&count=10 << FF leaders
92
http://api.fantasy.nfl.com/players/editordraftranks << FF draft ranking NFL editors
93
http://api.fantasy.nfl.com/players/userdraftranks << by the User
94
http://api.fantasy.nfl.com/players/researchinfo << sort list of top owned research
95
http://api.fantasy.nfl.com/players/news << player News
96
http://api.fantasy.nfl.com/players/scoringleaders?season=2010&week=1
99
http://api.fantasy.nfl.com/players/advanced?season=2012&week=1&count=1
105
source: "http://www.nfl.com/rss/rsslanding?searchString=home"
107
namespaceDeclarations: "declare default element namespace 'http://www.w3.org/2005/Atom';"
109
XmlRole{name:"title"; query: "title/string()"}
110
XmlRole{name:"author"; query: "author/name/string()"}
111
XmlRole{name:"sourceUrl"; query: "id/string()"}
112
XmlRole{name:"summary"; query: "summary/string()"}
113
XmlRole{name:"created"; query: "published/string()"}
116
if(status === XmlListModel.Loading){console.log("loading")}
117
if(status === XmlListModel.Error){console.log("Error \t"+ errorString())}
119
if(status === XmlListModel.Ready){