Build corporate document comparison tools using REST API. Works as a comprehensive solution for all major file formats.
Start Free TrialGroupDocs.Comparison for Cloud is a REST API that enables your Python applications to fetch two documents of supported file format, compare those same format documents and find differences between them. The SDK allows you to make a resultant file and enables you to accept or reject the retrieved changes. Our Document Comparison SDK allows easy integration into your existing Python applications, to empower your end-users to compare documents, spreadsheets, presentations, Microsoft Visio diagrams, emails, and files of many other formats.
Using GroupDocs.Comparison Cloud API, you can compare documents and get the list of modifications in the form of images. Following piece of code shows how you can compare a source and a target DOCX files and fetch their differences in a result.DOCX file. Later you can get the resultant DOCX file as images using Python:
# Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).
app_sid = "XXXX-XXXX-XXXX"
app_key = "XXXXXXXXXXXX"
# Create instance of the API.
api = groupdocs_comparison_cloud.ComparisonApi.from_keys(app_sid, app_key)
options = groupdocs_comparison_cloud.GetComparisonOptions("source.pdf", "target.pdf")
response = api.comparisons(ComparisonsRequest(options))
print(response)