如何从这个json请求中获取团队和时钟

时间:2016-09-19 14:57:21

标签: c# json

我试图从NFL手中夺取球队和当前的比赛时钟。

我正在使用此网址:

http://www.nfl.com/liveupdate/scores/scores.json?eid=2016091500

然后返回:

{
2016091500: {
  home: {
    score: {
      1: 7,
      2: 3,
      3: 14,
      4: 7,
      5: 0,
      T: 31
    },
    abbr: "BUF",
    to: 0
    },
    away: {
       score: {
         1: 6,
         2: 14,
         3: 7,
         4: 10,
         5: 0,
         T: 37
       },
       abbr: "NYJ",
       to: 2
       },
    bp: 20,
   down: 0,
   togo: 0,
   clock: "00:00",
   posteam: "BUF",
   note: null,
   redzone: false,
   stadium: "New Era Field",
   media: {
     radio: {
      home: null,
      away: null
     },
     tv: "CBS",
     sat: null,
     sathd: null
     },
     yl: "",
     qtr: "Final"
},
...
}

2016091500是游戏ID,它是独一无二的。

由于

0 个答案:

没有答案