Countdown to NFL kickoff


#1

Hey all,

Season kickoff is at our doors and I figured there was Football fans around here :nerd_face:

I decided to start an image countdown as we do on another board (operationsports)

There’s is eleven day remaining toward day zero. Yesterday I would have posted an image of my favourite player

But since we need number 11 today, here we go :

Up to you, post your favourite players wearing the jersey representing the amount of days remaining before kickoff.

@ady624 Afterthought… Maybe this thread will be helpful for you? :wink:


#2


#3


#4

Chiiiiieeeeeefs kingdom!! OooooooOooooooooOOOOOOOhhhhhh woooooaaaahhhhhhhh oooooOoooohhh


#5

Chiefs are going to play the Pats on their first game. Go Pats?! :wink:

So how would you guys see this? What is it that you need? Know the day the fav team has a game? Or live goals too? Live gools may not work good due to delays in polling events…


#6

I’d certainly use the following, if available by the data provider:

-team schedule
-weekly matchups
-broadcaster information (which channel)
-post game scores
-individual/team stats
-injury alert
-standings
-transaction/waiver alert

That’s what comes on top of my head. I foresee a shit ton of pistons using this API :relaxed:

As for live scores, I personally wouldn’t use it.

May I suggest however to have a customized data polling schedule? I.e poll a lot less often during the week and a lot more often during the games. You’d save poll counts while providing fresh info at the right time.

Thanks a lot, this really is my pet projet.


#7


#8

Nice choice @Kebel871! Tom friggen Brady rules! It’s going to be tougher this season though without Edelman.


#9

What happened to 9, 8, 7, 6, 5? Errr…


#10

If Gronk can stay healthy and with the addition of Brandon Cooks, we should be fine. It’s sad to Julian tho… he’s a warrior!


#11

Got busy and wanted to give you guys the chance to participate::stuck_out_tongue_winking_eye:


#12
{
"2017120302":{
"week":13,
"meridiem":"PM",
"gamekey":"57413",
"season_type":"REG",
"away":"NE",
"year":2017,
"month":12,
"eid":"2017120302",
"time":"1:00",
"home":"BUF",
"wday":"Sun",
"day":3
},
"2017102903":{
"week":8,
"meridiem":"PM",
"gamekey":"57345",
"season_type":"REG",
"away":"LAC",
"year":2017,
"month":10,
"eid":"201 7102903",
"time":"1:00",
"home":"NE",
"wday":"Sun",
"day":29
},
"2017092407":{
"week":3,
"meridiem":"PM",
"gamekey":"57274",
"season_type":"REG",
"away":"HOU",
"year ":2017,
"month":9,
"eid":"2017092407",
"time":"1:00",
"home":"NE",
"wday":"Sun",
"day":24
},
"2017082551":{
"week":3,
"meridiem":"PM",
"gamekey":"57206",
"season_ty pe":"PRE",
"away":"NE",
"year":2017,
"month":8,
"eid":"2017082551",
"time":"7:00",
"home":"DET",
"wday":"Fri",
"day":25
},
"2017081057":{
"week":1,
"meridiem":"PM",
"gamekey":"57183",
"season_type":"PRE",
"away":"JAX",
"year":2017,
"month":8,
"eid":"2017081057",
"time":"7:30",
"home":"NE",
"wday":"Thu",
"day":10
},
"201711190 9":{
"week":11,
"meridiem":"PM",
"gamekey":"57391",
"season_type":"REG",
"away":"NE",
"year":2017,
"month":11,
"eid":"2017111909",
"time":"4:25",
"home":"OAK",
"wd ay":"Sun",
"day":19
},
"2017123106":{
"week":17,
"meridiem":"PM",
"gamekey":"57480",
"season_type":"REG",
"away":"NYJ",
"year":2017,
"month":12,
"eid":"2017123106",
"time":"1:00",
"home":"NE",
"wday":"Sun",
"day":31
},
"2017090700":{
"week":1,
"meridiem":"PM",
"gamekey":"57234",
"season_type":"REG",
"away":"KC",
"year":2017,
" month":9,
"eid":"2017090700",
"time":"8:30",
"home":"NE",
"wday":"Thu",
"day":7
},
"2017112604":{
"week":12,
"meridiem":"PM",
"gamekey":"57401",
"season_type":"REG",
"away":"MIA",
"year":2017,
"month":11,
"eid":"2017112604",
"time":"1:00",
"home":"NE",
"wday":"Sun",
"day":26
},
"2017081956":{
"week":2,
"meridiem":"PM",
"gameke y":"57190",
"season_type":"PRE",
"away":"NE",
"year":2017,
"month":8,
"eid":"2017081956",
"time":"8:00",
"home":"HOU",
"wday":"Sat",
"day":19
},
"2017100107":{
"wee k":4,
"meridiem":"PM",
"gamekey":"57290",
"season_type":"REG",
"away":"CAR",
"year":2017,
"month":10,
"eid":"2017100107",
"time":"1:00",
"home":"NE",
"wday":"Sun",
"day":1
},
"2017100500":{
"week":5,
"meridiem":"PM",
"gamekey":"57298",
"season_type":"REG",
"away":"NE",
"year":2017,
"month":10,
"eid":"2017100500",
"time":"8:2 5",
"home":"TB",
"wday":"Thu",
"day":5
},
"2017122404":{
"week":16,
"meridiem":"PM",
"gamekey":"57464",
"season_type":"REG",
"away":"BUF",
"year":2017,
"month":12,
"eid":"2017122404",
"time":"1:00",
"home":"NE",
"wday":"Sun",
"day":24
},
"2017083162":{
"week":4,
"meridiem":"PM",
"gamekey":"57229",
"season_type":"PRE",
"away":" NYG",
"year":2017,
"month":8,
"eid":"2017083162",
"time":"7:30",
"home":"NE",
"wday":"Thu",
"day":31
},
"2017101505":{
"week":6,
"meridiem":"PM",
"gamekey":"57318",
"season_type":"REG",
"away":"NE",
"year":2017,
"month":10,
"eid":"2017101505",
"time":"1:00",
"home":"NYJ",
"wday":"Sun",
"day":15
},
"2017121709":{
"week":15,
"me ridiem":"PM",
"gamekey":"57454",
"season_type":"REG",
"away":"NE",
"year":2017,
"month":12,
"eid":"2017121709",
"time":"4:25",
"home":"PIT",
"wday":"Sun",
"day":1 7
},
"2017121100":{
"week":14,
"meridiem":"PM",
"gamekey":"57441",
"season_type":"REG",
"away":"NE",
"year":2017,
"month":12,
"eid":"2017121100",
"time":"8:30",
"hom e":"MIA",
"wday":"Mon",
"day":11
},
"2017091705":{
"week":2,
"meridiem":"PM",
"gamekey":"57256",
"season_type":"REG",
"away":"NE",
"year":2017,
"month":9,
"eid":"2 017091705",
"time":"1:00",
"home":"NO",
"wday":"Sun",
"day":17
},
"2017111211":{
"week":10,
"meridiem":"PM",
"gamekey":"57379",
"season_type":"REG",
"away":"NE",
"ye ar":2017,
"month":11,
"eid":"2017111211",
"time":"8:30",
"home":"DEN",
"wday":"Sun",
"day":12
},
"2017102212":{
"week":7,
"meridiem":"PM",
"gamekey":"57339",
"seaso n_type":"REG",
"away":"ATL",
"year":2017,
"month":10,
"eid":"2017102212",
"time":"8:30",
"home":"NE",
"wday":"Sun",
"day":22
}
}

New England Patriots :smiley:


#13

I don’t know why but that blue screen reminds me Windows 3.1… aaaaahhhh, the good old days :smile:

What’s even better is what is written on the screen :football:


#14

Ok, so far I have these pieces:

  1. list of teams (duh)
  2. list of all games in preseason, regular, and postseason (updates weekly on Sunday at 11:55pm), as game schedules get added or change)
  3. list of all games today (updates daily at midnight)
  4. list of all teams’ games (updates daily at midnight)
  5. list of all teams’ games today (updates daily at midnight)

Will work on live updates and events - have to build a mechanism to push events to “subscribing” pistons - scores update every 15 seconds.

Now, what do you guys see as useful capabilities?


#15

that’s my favorite linux editor: midnight commander - resembles the Norton Commander on DOS, yeah - maybe that’s why I love it :smiley: I prefer it to vim and nano because it remembers the last edit position when I reopen the files. Awesome when switching from file to file.


#16

Depending on what is available, here’s what I’d find the most useful :


#17

Unless that has changed since the screen shot above you might want to change LA to LAR and SD to LAC…

Also, I strongly suggest you don’t try to do the same with college football even if people ask - with all the team/division changes they do every year that is much more painful than the NFL (I write this little widget for the macOS Dashboard so I know…). Are you generating that JSON are you you getting it in that form? The source data my widget uses is a lot more messy!


#18

So I see the following capabilities and I’ll try to fill in all of them, but not promising anything - the triggers are the most complicated and will be done LAST.

expressions:

  • team has active game
  • team next game’s datetime (should return NOW if team is playing?)
  • team’s current game opponent
  • team’s current game score

conditions:

  • team has game today?

triggers:

  • team’s game started
  • team scored (yey)
  • team’s game’s score changed
  • team’s game ended
  • team won game
  • team lost game

For the expressions, I’m thinking of providing the $nfl composite variable, where you can do:

$nfl.teams..data…
$nfl..games << list of all games
$nfl..playing < true when game is active?
$nfl..game.data (data will be one of home, away, home_score, away_score, etc.)
$nfl..nextGame < date/time of next game?

etc. still working on these specs.


#19

LA is LA. JAC changed to JAX, SD changed to LAC, I already fixed all. I think Rams have LA, it works that way…

This is the list I get from NFL:

{
"MIN":{
"state":"Minnesota",
"full":"Minnesota Vikings",
"name":"Vikings"
},
"MIA":{
"state":"Miami",
"full":"Miami Dolphins",
"name":"Dolphins"
},
"CAR":{
"state":"Ca rolina",
"full":"Carolina Panthers",
"name":"Panthers"
},
"ATL":{
"state":"Atlanta",
"full":"Atlanta Falcons",
"name":"Falcons"
},
"DET":{
"state":"Detroit",
"full":"De troit Lions",
"name":"Lions"
},
"CIN":{
"state":"Cincinnati",
"full":"Cincinnati Bengals",
"name":"Bengals"
},
"NYJ":{
"state":"Jets",
"full":"N.Y.J.",
"name":"New York Jets"
},
"DEN":{
"state":"Denver",
"full":"Denver Broncos",
"name":"Broncos"
},
"BAL":{
"state":"Baltimore",
"full":"Baltimore Ravens",
"name":"Ravens"
},
"NYG":{
"state ":"Giants",
"full":"N.Y.G.",
"name":"New York Giants"
},
"OAK":{
"state":"Oakland",
"full":"Oakland Raiders",
"name":"Raiders"
},
"TEN":{
"state":"Tennessee",
"full":" Tennessee Titans",
"name":"Titans"
},
"LA":{
"state":"Los Angeles",
"full":"Los Angeles Rams",
"name":"Rams"
},
"DAL":{
"state":"Dallas",
"full":"Dallas Cowboys",
"name":"Cowboys"
},
"NE":{
"state":"New England",
"full":"New England Patriots",
"name":"Patriots"
},
"SEA":{
"state":"Seattle",
"full":"Seattle Seahawks",
"name":"Seahawks"
},
"CLE":{
"state":"Cleveland",
"full":"Cleveland Browns",
"name":"Browns"
},
"BUF":{
"state":"Buffalo",
"full":"Buffalo Bills",
"name":"Bills"
},
"JAX":{
"state":"Jacks onville",
"full":"Jacksonville Jaguars",
"name":"Jaguars"
},
"CHI":{
"state":"Chicago",
"full":"Chicago Bears",
"name":"Bears"
},
"TB":{
"state":"Tampa Bay",
"full":"Ta mpa Bay Buccaneers",
"name":"Buccaneers"
},
"HOU":{
"state":"Houston",
"full":"Houston Texans",
"name":"Texans"
},
"GB":{
"state":"Green Bay",
"full":"Green Bay Packers",
"name":"Packers"
},
"WAS":{
"state":"Washington",
"full":"Washington Redskins",
"name":"Redskins"
},
"KC":{
"state":"Kansas City",
"full":"Kansas City Chiefs",
"name":"Chiefs"
},
"PHI":{
"state":"Philadelphia",
"full":"Philadelphia Eagles",
"name":"Eagles"
},
"PIT":{
"state":"Pittsburgh",
"full":"Pittsburgh Steelers",
"name":"Steeler s"
},
"NO":{
"state":"New Orleans",
"full":"New Orleans Saints",
"name":"Saints"
},
"LAC":{
"state":"Los Angeles",
"full":"Los Angeles Chargers",
"name":"Chargers"
},
"IN D":{
"state":"Indianapolis",
"full":"Indianapolis Colts",
"name":"Colts"
},
"ARI":{
"state":"Arizona",
"full":"Arizona Cardinals",
"name":"Cardinals"
},
"SF":{
"state":"San Francisco",
"full":"San Francisco 49ers",
"name":"49ers"
}
}

#20

I’m using the nomenclature that CBS Sports uses - they use LAR for the Rams: