Created
October 6, 2011 07:13
-
-
Save lajlev/1266730 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// The JSON feed is gzipped. This is needed to unpack it before using | |
require('inc/gzdecode.php'); | |
// Get the JSON feed and gzunpack | |
$file = gzdecode( file_get_contents("http://s.trustpilot.com/tpelements/917278/f.json.gz") ); | |
// JSON decode the string | |
$json = json_decode($file); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment