-
Notifications
You must be signed in to change notification settings - Fork 0
Home
My fantasy football league is full of people who still come to the draft with a ream of paper and magazines. They also drink heavily during the draft. This combination leads to mass chaos towards the end of the draft as people forget who is on their team and who was taken.
This c#.Net WPF application displays the team on the clock and their players, the best available players overall and by position, overall selections made and the last ten picks.
CBSSports development APIs are used: http://developer.cbssports.com/documentation/api/files/sports
To get the token needed for the api authentication, I use Fiddler to capture traffic after login to CBS Sports fantasy league and look for an api call
GET http://[leaguename].football.cbssports.com/api/league/feed?version=3.0&response_format=json&access_token=U2FsdGVkX1_5N-l151QHev-qo3MDzgyaxSk9dm2TiiBQo_uoYkgZOjrqupOt9VoB0quP1PzOOPpodYt70XD4ci1S0s9eRD_zCtvKjEDf4-clXbiEoAtJw4A6C5pGbUTQxw3CyDE4gyRWhzMnV_E16Q&content_type=all HTTP/1.1 Host: 18927-h2h.football.cbssports.com Connection: keep-alive Accept: application/json, text/javascript, /; q=0.01
Tokens expire after a few days.