code: def _sync_kaggle_download(self, kaggle_url, destination_path):
      
      kaggle_file = kaggle.KaggleFile.from_url(kaggle_url)
      downloader = self.kaggle_downloader(kaggle_file.competition)
      filepath = downloader.download_file(kaggle_file.filename, destination_path)
  
      dl_size = tf.io.gfile.stat(filepath).length
      checksum = self._checksumer()
      with tf.io.gfile.GFile(filepath, 'rb') as f:
        while True:
          block = f.read(io.DEFAULT_BUFFER_SIZE)
          if not block:
            break
          checksum.update(block)
      return checksum.hexdigest(), dl_size
docs: Download with Kaggle API.