src/API/Follow.php
public function userFollowsChannels($user, $options = [])
    {
        $availableOptions = ['limit', 'offset', 'direction', 'sortby'];

        //  Filter the available options
        foreach ($availableOptions as $option) {

            if (isset($options[ $option ])) {

                $options[ $option ] = $options[ $option ];
            }
        }

        $url = 'kraken/users/' . $user . '/follows/channels';

        $response = $this->client->get($url, ['body' => $options]);

        return $response->json();
    }
public function userFollowsChannels($user, $options = [])
    {
        $availableOptions = ['limit', 'offset', 'direction', 'sortby'];

        //  Filter the available options
        foreach ($availableOptions as $option) {

            if (isset($options[ $option ])) {

                $options[ $option ] = $options[ $option ];
            }
        }

        $url = 'kraken/users/' . $user . '/follows/channels';

        $response = $this->client->get($url, ['body' => $options]);

        return $response->json();
    }
public function userFollowsChannels ( $ user , $ options = [ ] ) { $ availableOptions = [ 'limit' , 'offset' , 'direction' , 'sortby' ] ; //  Filter the available options foreach ( $ availableOptions as $ option ) { if ( isset ( $ options [ $ option ] ) ) { $ options [ $ option ] = $ options [ $ option ] ; } } $ url = 'kraken/users/' . $ user . '/follows/channels' ; $ response = $ this -> client -> get ( $ url , [ 'body' => $ options ] ) ; return $ response -> json ( ) ; }
Returns a list of follows objects.
Parameters
Name    Required?    Type    Description
limit    optional    integer    Maximum number of objects in array. Default is 25. Maximum is 100.
offset    optional    integer    Object offset for pagination. Default is 0.
direction    optional    string    Sorting direction. Default is desc. Valid values are asc and desc.
sortby    optional    string    Sort key. Default is created_at. Valid values are created_at and last_broadcast.

@param       $user
@param array $options

@return mixed
Returns a list of follows objects . Parameters Name Required? Type Description limit optional integer Maximum number of objects in array . Default is 25 . Maximum is 100 . offset optional integer Object offset for pagination . Default is 0 . direction optional string Sorting direction . Default is desc . Valid values are asc and desc . sortby optional string Sort key . Default is created_at . Valid values are created_at and last_broadcast .