code: def _get_url(method,
               api_url,
               api_version):
      '''
      Build the API URL.
      '''
      return '{url}/{version}/{method}.json'.format(url=api_url,
                                                    version=float(api_version),
                                                    method=methodf _get_url(method,
               api_url,
               api_version):
      '''
      Build the API URL.
      '''
      return '{url}/{version}/{method}.json'.format(url=api_url,
                                                    version=float(api_version),
                                                    method=method)
docs: Build the API URL.