$name is playing $game with $viewers viewers.
";
echo "Stream title is: $status
";
echo "
";
echo "
";
}
else {
echo "Error in results from api.twitch.tv, cannot fetch a channel.";
}
}
else {
echo "Error in results from api.twitch.tv, probably cannot connect to server.";
}
}
}
?>