Format the input url and optional parameters, and provides the final url
        where to get the given resource.

        Args:
            url: The url of an OEmbed resource.
            **opt: Parameters passed to the url.

        Returns:
            The complete url of the endpoint and resource.

def request(self, url, **opt):
        '''
        Format the input url and optional parameters, and provides the final url
        where to get the given resource.

        Args:
            url: The url of an OEmbed resource.
            **opt: Parameters passed to the url.

        Returns:
            The complete url of the endpoint and resource.
        '''
        params = opt
        params['url'] = url
        urlApi = self._urlApi

        if 'format' in params and self._implicitFormat:
            urlApi = self._urlApi.replace('{format}', params['format'])
            del params['format']

        if '?' in urlApi:
            return "%s&%s" % (urlApi, urllib.urlencode(params))
        else:
            return "%s?%s" % (urlApi, urllib.urlencode(params))