- file_get_contents: documentation ( source)
- print_r: documentation ( source)
- str_replace: documentation ( source)
<?php
$json_url = "https://api.periscope.tv/api/v2/_getRankedFeedPublic";
$json = file_get_contents($json_url);
$json = str_replace('http://pbs.twimg.com/profile_images/', 'http://www.perisearch.net/images/avatar.php/', $json);
print_r ($json);
?>