src/API/Search.php
public function streamsChannel($channel)
    {
        $response = $this->client->get(config('twitch-api.api_url') . '/kraken/streams/' . $channel);

        return $response->json();
    }
public function streamsChannel($channel)
    {
        $response = $this->client->get(config('twitch-api.api_url') . '/kraken/streams/' . $channel);

        return $response->json();
    }
public function streamsChannel ( $ channel ) { $ response = $ this -> client -> get ( config ( 'twitch-api.api_url' ) . '/kraken/streams/' . $ channel ) ; return $ response -> json ( ) ; }
Returns a stream object if live.

@param $channel

@return json
Returns a stream object if live .