Deprecated BitsΒΆ

This part of the documentation contains things that eventually will be deleted.

pyuploadcare.file.File.file_id

Use uuid instead.

pyuploadcare.file.File.info

Use info() instead.

pyuploadcare.file.File.is_stored

Use is_stored() instead.

pyuploadcare.file.File.is_removed

Use is_removed() instead.

pyuploadcare.file.File.url

Use cdn_url instead.

pyuploadcare.file.File.filename

Use filename() instead.

pyuploadcare.file.File.ucare
pyuploadcare.file.File.api_uri
pyuploadcare.file.File.storage_uri
pyuploadcare.file.File.is_on_s3
pyuploadcare.file.File.ensure_on_s3(timeout=5)
pyuploadcare.file.File.keep(**kwargs)

Use store(wait=False, timeout=5) instead.

pyuploadcare.file.File.cropped(width=None, height=None)

Contruct url with crop modificator manually instead.

pyuploadcare.file.File.resized(width=None, height=None)

Contruct url with resize modificator manually instead.

pyuploadcare.file.File.serialize()

Use uuid instead.

exception pyuploadcare.exceptions.UploadCareException

Use UploadcareException instead.

class pyuploadcare.UploadCare

Use API resources instead, e.g. File, FileGroup.

ucare CLI:

  • custom_headers was removed;
  • api_url was renamed to api_base;
  • upload_url was renamed to upload_base.

Project Versions

Previous topic

Command Line Tool

Next topic

Core API

This Page