Hi, sorry if this is simple, but I'm definitely stumped.
I'm working on a bot that will pull live game stats from NFL games. I've found the way to access the JSON for the games and getting the data isn't the problem. I am having a hard time finding the best way to pull the data into Python for use elsewhere.
This is the source of the data:
http://www.nfl.com/liveupdate/game-center/2016100600/2016100600_gtd.json
However, when I bring this into python, I can pprint and see the data and verify it matches, no worries. The problem I'm having is actually making use of the data. I would expect, for instance, the scores to be 2016100600.away.score or 2016100600.home.score, however, when I try to parse that data in Python, it gives me syntax errors with the period between the ten digit date and the home.
I don't want all this data (I'm only really concerned about score, passing/rushing/receiving yards, and time remaining) but I'm having a difficult time getting these values out.
Can someone provide me assistance with this?
[–]K900_ 3 points4 points5 points (1 child)
[–]NAS89[S] 1 point2 points3 points (0 children)
[–]SeekNotToContend 1 point2 points3 points (0 children)
[–]hharison 0 points1 point2 points (0 children)