PHP one line to access JSON feed url

$contents = get_object_vars(json_decode(stream_get_contents(fopen("http://www.google.com/base/feeds/snippets?q=for+sale&orderby=[x%3Dbedrooms(int)%3A+if+exists(x)+then+max(x)+else+0]&alt=json","rb"))));

Post a Comment