public function getPulse($pulseId, $fields = ['*'])
    {
        $apiUrl = $this->getEndpoint('pulses');
        $apiUrl .= $pulseId;

        $params = array(
            'fields' => implode(',', $fields)
        );

        $apiData = $this->apiGet($apiUrl, $params);

        return $this->decodeSingle($apiData);
    }
public function getPulse($pulseId, $fields = ['*'])
    {
        $apiUrl = $this->getEndpoint('pulses');
        $apiUrl .= $pulseId;

        $params = array(
            'fields' => implode(',', $fields)
        );

        $apiData = $this->apiGet($apiUrl, $params);

        return $this->decodeSingle($apiData);
    }
public function getPulse ( $ pulseId , $ fields = [ '*' ] ) { $ apiUrl = $ this -> getEndpoint ( 'pulses' ) ; $ apiUrl .= $ pulseId ; $ params = array ( 'fields' => implode ( ',' , $ fields ) ) ; $ apiData = $ this -> apiGet ( $ apiUrl , $ params ) ; return $ this -> decodeSingle ( $ apiData ) ; }
Get pulse information by ID

@param integer $pulseId
@param array $fields
@return \StdClass
@throws \Exception
Get pulse information by ID