protected function getApiRequestParams(Event $event)
    {
        $params = $event->getCustomParams();
        $user = $params[0];

        return array(
            'format' => 'json',
            'api_key' => $this->apiKey,
            'method' => 'user.getrecenttracks',
            'user' => $user,
            'limit' => '1'
        );
    }
protected function getApiRequestParams(Event $event)
    {
        $params = $event->getCustomParams();
        $user = $params[0];

        return array(
            'format' => 'json',
            'api_key' => $this->apiKey,
            'method' => 'user.getrecenttracks',
            'user' => $user,
            'limit' => '1'
        );
    }
protected function getApiRequestParams ( Event $ event ) { $ params = $ event -> getCustomParams ( ) ; $ user = $ params [ 0 ] ; return array ( 'format' => 'json' , 'api_key' => $ this -> apiKey , 'method' => 'user.getrecenttracks' , 'user' => $ user , 'limit' => '1' ) ; }
Returns a querystring parameters array

@param \Phergie\Irc\Plugin\React\Command\CommandEvent $event
@return array
Returns a querystring parameters array