Przykładowo, plik json wygląda tak:
{ "response": { "game_count": 14, "games": [ { "appid": 4000, "playtime_forever": 556 }, { "appid": 12210, "playtime_forever": 274 }, { "appid": 43110, "playtime_forever": 0 }, { "appid": 730, "playtime_2weeks": 889, "playtime_forever": 13513 }, { "appid": 113400, "playtime_forever": 34 }, { "appid": 302830, "playtime_forever": 6 }, { "appid": 304930, "playtime_forever": 547 }, { "appid": 8600, "playtime_forever": 0 }, { "appid": 8660, "playtime_forever": 0 }, { "appid": 211500, "playtime_forever": 0 }, { "appid": 319630, "playtime_forever": 186 }, { "appid": 203770, "playtime_forever": 0 }, { "appid": 244850, "playtime_forever": 0 }, { "appid": 209660, "playtime_forever": 0 } ] } }
I jak wyciągnać z tego wartości "game_count" i "playtime_forever" pod "appid: 730" do php? Będę wdzięczny za pomoc.
