Skip to main content
se añadieron 113 caracteres en el cuerpo
Origen Enlace
user22721
user22721

Quiero saber como puedo acceder al código de este json con php.

[{ "GameId": 53614, "Season": 2018, "SeasonType": 1, "Day": "2018-09-28T00:00:00", "DateTime": "2018-09-28T14:10:00", "Status": "InProgress", "AwayTeamId": 16, "HomeTeamId": 20, "AwayTeamName": "CHW", "HomeTeamName": "MIN", "GlobalGameId": 10053614, "GlobalAwayTeamId": 10000016, "GlobalHomeTeamId": 10000020, "PregameOdds": [{ "GameOddId": 509945, "Sportsbook": "BetDSI", "GameId": 53614, "Created": "2018-09-28T14:12:36", "Updated": "2018-09-28T16:27:12", "HomeMoneyLine": -185, "AwayMoneyLine": 169, "HomePointSpread": -1.7, "AwayPointSpread": 1.7, "HomePointSpreadPayout": 140, "AwayPointSpreadPayout": -163, "OverUnder": 9.0, "OverPayout": -123, "UnderPayout": -123 }], "LiveOdds": [] }]
[{
  "GameId": 53614,
  "Season": 2018,
  "SeasonType": 1,
  "Day": "2018-09-28T00:00:00",
  "DateTime": "2018-09-28T14:10:00",
  "Status": "InProgress",
  "AwayTeamId": 16,
  "HomeTeamId": 20,
  "AwayTeamName": "CHW",
  "HomeTeamName": "MIN",
  "GlobalGameId": 10053614,
  "GlobalAwayTeamId": 10000016,
  "GlobalHomeTeamId": 10000020,
  "PregameOdds": [{
    "GameOddId": 509945,
    "Sportsbook": "BetDSI",
    "GameId": 53614,
    "Created": "2018-09-28T14:12:36",
    "Updated": "2018-09-28T16:27:12",
    "HomeMoneyLine": -185,
    "AwayMoneyLine": 169,
    "HomePointSpread": -1.7,
    "AwayPointSpread": 1.7,
    "HomePointSpreadPayout": 140,
    "AwayPointSpreadPayout": -163,
    "OverUnder": 9.0,
    "OverPayout": -123,
    "UnderPayout": -123
  }],
  "LiveOdds": []
}]

Quiero saber como puedo acceder al código de este json con php.

[{ "GameId": 53614, "Season": 2018, "SeasonType": 1, "Day": "2018-09-28T00:00:00", "DateTime": "2018-09-28T14:10:00", "Status": "InProgress", "AwayTeamId": 16, "HomeTeamId": 20, "AwayTeamName": "CHW", "HomeTeamName": "MIN", "GlobalGameId": 10053614, "GlobalAwayTeamId": 10000016, "GlobalHomeTeamId": 10000020, "PregameOdds": [{ "GameOddId": 509945, "Sportsbook": "BetDSI", "GameId": 53614, "Created": "2018-09-28T14:12:36", "Updated": "2018-09-28T16:27:12", "HomeMoneyLine": -185, "AwayMoneyLine": 169, "HomePointSpread": -1.7, "AwayPointSpread": 1.7, "HomePointSpreadPayout": 140, "AwayPointSpreadPayout": -163, "OverUnder": 9.0, "OverPayout": -123, "UnderPayout": -123 }], "LiveOdds": [] }]

Quiero saber como puedo acceder al código de este json con php.

[{
  "GameId": 53614,
  "Season": 2018,
  "SeasonType": 1,
  "Day": "2018-09-28T00:00:00",
  "DateTime": "2018-09-28T14:10:00",
  "Status": "InProgress",
  "AwayTeamId": 16,
  "HomeTeamId": 20,
  "AwayTeamName": "CHW",
  "HomeTeamName": "MIN",
  "GlobalGameId": 10053614,
  "GlobalAwayTeamId": 10000016,
  "GlobalHomeTeamId": 10000020,
  "PregameOdds": [{
    "GameOddId": 509945,
    "Sportsbook": "BetDSI",
    "GameId": 53614,
    "Created": "2018-09-28T14:12:36",
    "Updated": "2018-09-28T16:27:12",
    "HomeMoneyLine": -185,
    "AwayMoneyLine": 169,
    "HomePointSpread": -1.7,
    "AwayPointSpread": 1.7,
    "HomePointSpreadPayout": 140,
    "AwayPointSpreadPayout": -163,
    "OverUnder": 9.0,
    "OverPayout": -123,
    "UnderPayout": -123
  }],
  "LiveOdds": []
}]
se eliminaron 907 caracteres en el cuerpo
Origen Enlace

Quiero saber como puedo acceder al código de este json con php, ya hice el json_decode y este es el resultado:.

    array(16) {
  [0]=>
  object(stdClass)#2 (15) {
    ["GameId"]=>
    int(53614)
    ["Season"]=>
    int(2018)
    ["SeasonType"]=>
    int(1)
    ["Day"]=>
    string(19) "2018-09-28T00:00:00"
    ["DateTime"]=>
    string(19) "2018-09-28T14:10:00"
    ["Status"]=>
    string(5) "Final"
    ["AwayTeamId"]=>
    int(16)
    ["HomeTeamId"]=>
    int(20)
    ["AwayTeamName"]=>
    string(3) "CHW"
    ["HomeTeamName"]=>
    string(3) "MIN"
    ["GlobalGameId"]=>
    int(10053614)
    ["GlobalAwayTeamId"]=>
    int(10000016)
    ["GlobalHomeTeamId"]=>
    int(10000020)
    ["PregameOdds"]=>
    array(1) {
      [0]=>
      object(stdClass)#3 (14) {
        ["GameOddId"]=>
        int(509945)
        ["Sportsbook"]=>
        string(6) "BetDSI"
        ["GameId"]=>
        int(53614)
        ["Created"]=>
        string(19) "2018-09-28T14:12:36"
        ["Updated"]=>
        string(19) "2018-09-28T17:15:12"
        ["HomeMoneyLine"]=>
        int(-185)
        ["AwayMoneyLine"]=>
        int(169)
        ["HomePointSpread"]=>
        float(-1.7)
        ["AwayPointSpread"]=>
        float(1.7)
        ["HomePointSpreadPayout"]=>
        int(140)
        ["AwayPointSpreadPayout"]=>
        int(-163)
        ["OverUnder"]=>
        float(9)
        ["OverPayout"]=>
        int(-123)
        ["UnderPayout"]=>
        int(-123)
      }
    }
    ["LiveOdds"]=>
    array(0) {
    }
  }
[{ "GameId": 53614, "Season": 2018, "SeasonType": 1, "Day": "2018-09-28T00:00:00", "DateTime": "2018-09-28T14:10:00", "Status": "InProgress", "AwayTeamId": 16, "HomeTeamId": 20, "AwayTeamName": "CHW", "HomeTeamName": "MIN", "GlobalGameId": 10053614, "GlobalAwayTeamId": 10000016, "GlobalHomeTeamId": 10000020, "PregameOdds": [{ "GameOddId": 509945, "Sportsbook": "BetDSI", "GameId": 53614, "Created": "2018-09-28T14:12:36", "Updated": "2018-09-28T16:27:12", "HomeMoneyLine": -185, "AwayMoneyLine": 169, "HomePointSpread": -1.7, "AwayPointSpread": 1.7, "HomePointSpreadPayout": 140, "AwayPointSpreadPayout": -163, "OverUnder": 9.0, "OverPayout": -123, "UnderPayout": -123 }], "LiveOdds": [] }]

Quiero saber como puedo acceder al código de este json con php, ya hice el json_decode y este es el resultado:

    array(16) {
  [0]=>
  object(stdClass)#2 (15) {
    ["GameId"]=>
    int(53614)
    ["Season"]=>
    int(2018)
    ["SeasonType"]=>
    int(1)
    ["Day"]=>
    string(19) "2018-09-28T00:00:00"
    ["DateTime"]=>
    string(19) "2018-09-28T14:10:00"
    ["Status"]=>
    string(5) "Final"
    ["AwayTeamId"]=>
    int(16)
    ["HomeTeamId"]=>
    int(20)
    ["AwayTeamName"]=>
    string(3) "CHW"
    ["HomeTeamName"]=>
    string(3) "MIN"
    ["GlobalGameId"]=>
    int(10053614)
    ["GlobalAwayTeamId"]=>
    int(10000016)
    ["GlobalHomeTeamId"]=>
    int(10000020)
    ["PregameOdds"]=>
    array(1) {
      [0]=>
      object(stdClass)#3 (14) {
        ["GameOddId"]=>
        int(509945)
        ["Sportsbook"]=>
        string(6) "BetDSI"
        ["GameId"]=>
        int(53614)
        ["Created"]=>
        string(19) "2018-09-28T14:12:36"
        ["Updated"]=>
        string(19) "2018-09-28T17:15:12"
        ["HomeMoneyLine"]=>
        int(-185)
        ["AwayMoneyLine"]=>
        int(169)
        ["HomePointSpread"]=>
        float(-1.7)
        ["AwayPointSpread"]=>
        float(1.7)
        ["HomePointSpreadPayout"]=>
        int(140)
        ["AwayPointSpreadPayout"]=>
        int(-163)
        ["OverUnder"]=>
        float(9)
        ["OverPayout"]=>
        int(-123)
        ["UnderPayout"]=>
        int(-123)
      }
    }
    ["LiveOdds"]=>
    array(0) {
    }
  }

Quiero saber como puedo acceder al código de este json con php.

[{ "GameId": 53614, "Season": 2018, "SeasonType": 1, "Day": "2018-09-28T00:00:00", "DateTime": "2018-09-28T14:10:00", "Status": "InProgress", "AwayTeamId": 16, "HomeTeamId": 20, "AwayTeamName": "CHW", "HomeTeamName": "MIN", "GlobalGameId": 10053614, "GlobalAwayTeamId": 10000016, "GlobalHomeTeamId": 10000020, "PregameOdds": [{ "GameOddId": 509945, "Sportsbook": "BetDSI", "GameId": 53614, "Created": "2018-09-28T14:12:36", "Updated": "2018-09-28T16:27:12", "HomeMoneyLine": -185, "AwayMoneyLine": 169, "HomePointSpread": -1.7, "AwayPointSpread": 1.7, "HomePointSpreadPayout": 140, "AwayPointSpreadPayout": -163, "OverUnder": 9.0, "OverPayout": -123, "UnderPayout": -123 }], "LiveOdds": [] }]

Como ¿Cómo puedo acceder a los datos de este jsonJSON?

Quiero saber como puedo acceder al codigocódigo de este json con php, ya hice el json_decode y este es el resultado:

array(16) { [0]=> object(stdClass)#2 (15) { ["GameId"]=> int(53614) ["Season"]=> int(2018) ["SeasonType"]=> int(1) ["Day"]=> string(19) "2018-09-28T00:00:00" ["DateTime"]=> string(19) "2018-09-28T14:10:00" ["Status"]=> string(5) "Final" ["AwayTeamId"]=> int(16) ["HomeTeamId"]=> int(20) ["AwayTeamName"]=> string(3) "CHW" ["HomeTeamName"]=> string(3) "MIN" ["GlobalGameId"]=> int(10053614) ["GlobalAwayTeamId"]=> int(10000016) ["GlobalHomeTeamId"]=> int(10000020) ["PregameOdds"]=> array(1) { [0]=> object(stdClass)#3 (14) { ["GameOddId"]=> int(509945) ["Sportsbook"]=> string(6) "BetDSI" ["GameId"]=> int(53614) ["Created"]=> string(19) "2018-09-28T14:12:36" ["Updated"]=> string(19) "2018-09-28T17:15:12" ["HomeMoneyLine"]=> int(-185) ["AwayMoneyLine"]=> int(169) ["HomePointSpread"]=> float(-1.7) ["AwayPointSpread"]=> float(1.7) ["HomePointSpreadPayout"]=> int(140) ["AwayPointSpreadPayout"]=> int(-163) ["OverUnder"]=> float(9) ["OverPayout"]=> int(-123) ["UnderPayout"]=> int(-123) } } ["LiveOdds"]=> array(0) { } } }
    array(16) {
  [0]=>
  object(stdClass)#2 (15) {
    ["GameId"]=>
    int(53614)
    ["Season"]=>
    int(2018)
    ["SeasonType"]=>
    int(1)
    ["Day"]=>
    string(19) "2018-09-28T00:00:00"
    ["DateTime"]=>
    string(19) "2018-09-28T14:10:00"
    ["Status"]=>
    string(5) "Final"
    ["AwayTeamId"]=>
    int(16)
    ["HomeTeamId"]=>
    int(20)
    ["AwayTeamName"]=>
    string(3) "CHW"
    ["HomeTeamName"]=>
    string(3) "MIN"
    ["GlobalGameId"]=>
    int(10053614)
    ["GlobalAwayTeamId"]=>
    int(10000016)
    ["GlobalHomeTeamId"]=>
    int(10000020)
    ["PregameOdds"]=>
    array(1) {
      [0]=>
      object(stdClass)#3 (14) {
        ["GameOddId"]=>
        int(509945)
        ["Sportsbook"]=>
        string(6) "BetDSI"
        ["GameId"]=>
        int(53614)
        ["Created"]=>
        string(19) "2018-09-28T14:12:36"
        ["Updated"]=>
        string(19) "2018-09-28T17:15:12"
        ["HomeMoneyLine"]=>
        int(-185)
        ["AwayMoneyLine"]=>
        int(169)
        ["HomePointSpread"]=>
        float(-1.7)
        ["AwayPointSpread"]=>
        float(1.7)
        ["HomePointSpreadPayout"]=>
        int(140)
        ["AwayPointSpreadPayout"]=>
        int(-163)
        ["OverUnder"]=>
        float(9)
        ["OverPayout"]=>
        int(-123)
        ["UnderPayout"]=>
        int(-123)
      }
    }
    ["LiveOdds"]=>
    array(0) {
    }
  }

Como puedo acceder a los datos de este json

Quiero saber como puedo acceder al codigo de este json con php, ya hice el json_decode y este es el resultado:

array(16) { [0]=> object(stdClass)#2 (15) { ["GameId"]=> int(53614) ["Season"]=> int(2018) ["SeasonType"]=> int(1) ["Day"]=> string(19) "2018-09-28T00:00:00" ["DateTime"]=> string(19) "2018-09-28T14:10:00" ["Status"]=> string(5) "Final" ["AwayTeamId"]=> int(16) ["HomeTeamId"]=> int(20) ["AwayTeamName"]=> string(3) "CHW" ["HomeTeamName"]=> string(3) "MIN" ["GlobalGameId"]=> int(10053614) ["GlobalAwayTeamId"]=> int(10000016) ["GlobalHomeTeamId"]=> int(10000020) ["PregameOdds"]=> array(1) { [0]=> object(stdClass)#3 (14) { ["GameOddId"]=> int(509945) ["Sportsbook"]=> string(6) "BetDSI" ["GameId"]=> int(53614) ["Created"]=> string(19) "2018-09-28T14:12:36" ["Updated"]=> string(19) "2018-09-28T17:15:12" ["HomeMoneyLine"]=> int(-185) ["AwayMoneyLine"]=> int(169) ["HomePointSpread"]=> float(-1.7) ["AwayPointSpread"]=> float(1.7) ["HomePointSpreadPayout"]=> int(140) ["AwayPointSpreadPayout"]=> int(-163) ["OverUnder"]=> float(9) ["OverPayout"]=> int(-123) ["UnderPayout"]=> int(-123) } } ["LiveOdds"]=> array(0) { } } }

¿Cómo puedo acceder a los datos de este JSON?

Quiero saber como puedo acceder al código de este json con php, ya hice el json_decode y este es el resultado:

    array(16) {
  [0]=>
  object(stdClass)#2 (15) {
    ["GameId"]=>
    int(53614)
    ["Season"]=>
    int(2018)
    ["SeasonType"]=>
    int(1)
    ["Day"]=>
    string(19) "2018-09-28T00:00:00"
    ["DateTime"]=>
    string(19) "2018-09-28T14:10:00"
    ["Status"]=>
    string(5) "Final"
    ["AwayTeamId"]=>
    int(16)
    ["HomeTeamId"]=>
    int(20)
    ["AwayTeamName"]=>
    string(3) "CHW"
    ["HomeTeamName"]=>
    string(3) "MIN"
    ["GlobalGameId"]=>
    int(10053614)
    ["GlobalAwayTeamId"]=>
    int(10000016)
    ["GlobalHomeTeamId"]=>
    int(10000020)
    ["PregameOdds"]=>
    array(1) {
      [0]=>
      object(stdClass)#3 (14) {
        ["GameOddId"]=>
        int(509945)
        ["Sportsbook"]=>
        string(6) "BetDSI"
        ["GameId"]=>
        int(53614)
        ["Created"]=>
        string(19) "2018-09-28T14:12:36"
        ["Updated"]=>
        string(19) "2018-09-28T17:15:12"
        ["HomeMoneyLine"]=>
        int(-185)
        ["AwayMoneyLine"]=>
        int(169)
        ["HomePointSpread"]=>
        float(-1.7)
        ["AwayPointSpread"]=>
        float(1.7)
        ["HomePointSpreadPayout"]=>
        int(140)
        ["AwayPointSpreadPayout"]=>
        int(-163)
        ["OverUnder"]=>
        float(9)
        ["OverPayout"]=>
        int(-123)
        ["UnderPayout"]=>
        int(-123)
      }
    }
    ["LiveOdds"]=>
    array(0) {
    }
  }
Origen Enlace
Loading