public function getApiURI($path = '', $params = array()) {
        if (!$path) {
          throw new Exception('Missing argument');

        }
        return $this->getUrl('api', $path, array_merge(array('oauth_token' => $this->getAccessToken()),$params));
    }
public function getApiURI($path = '', $params = array()) {
        if (!$path) {
          throw new Exception('Missing argument');

        }
        return $this->getUrl('api', $path, array_merge(array('oauth_token' => $this->getAccessToken()),$params));
    }
public function getApiURI ( $ path = '' , $ params = array ( ) ) { if ( ! $ path ) { throw new Exception ( 'Missing argument' ) ; } return $ this -> getUrl ( 'api' , $ path , array_merge ( array ( 'oauth_token' => $ this -> getAccessToken ( ) ) , $ params ) ) ; }
Get the API URI

@param string $path
@param array $params
@return string the API URI
Get the API URI