src/FlexiPeeHP/FlexiBeeRO.php
public function getApiURL($format = null)
    {
        $apiUrl = str_replace(['.'.$this->format, '?limit=0'], '', $this->apiURL);
        return $apiUrl.(empty($format) ? '' : '.'.$format );
    }
public function getApiURL($format = null)
    {
        $apiUrl = str_replace(['.'.$this->format, '?limit=0'], '', $this->apiURL);
        return $apiUrl.(empty($format) ? '' : '.'.$format );
    }
public function getApiURL ( $ format = null ) { $ apiUrl = str_replace ( [ '.' . $ this -> format , '?limit=0' ] , '' , $ this -> apiURL ) ; return $ apiUrl . ( empty ( $ format ) ? '' : '.' . $ format ) ; }
Gives you current ApiURL with given format suffix

@param string $format json|html|xml|...

@return string API URL for current record or object/evidence
Gives you current ApiURL with given format suffix