How I get json maxtempm of my PWS in PHP?

  • 1
  • Question
  • Updated 5 years ago
Hi, my code is:

$parsed_json_history[$i] = json_decode(file_get_contents("http://api.wunderground.com/api/{$api..."));

$maxtemp[$i] = $parsed_json_history[$i]->{'history'}->{'dailysummary'}->{'maxtempm'}."\n";

But I can't get maxtempm value..Where is the error? Ty
Photo of Simon

Simon

  • 3 Posts
  • 1 Reply Like

Posted 5 years ago

  • 1
Photo of Simon

Simon

  • 3 Posts
  • 1 Reply Like
Up