If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.
If you experience errors, when you try to download a file, make sure your network policies (enforced by your company or ISP) allow downloading ZIP and/or MSI files.

Installation
Das Paket ist verfügbar bei PyPI und kann über pip mit folgendem Befehl installiert werden:
pip install groupdocs-translation-cloud

Wie verwendet man das SDK?
Unsere API ist vollständig unabhängig von Ihrem Betriebssystem, Datenbanksystem oder Ihrer Entwicklungssprache. Sie können jede Sprache und Plattform verwenden, die HTTP unterstützt, um mit unserer API zu interagieren. Das manuelle Schreiben von Client-Code kann jedoch schwierig, fehleranfällig und zeitaufwändig sein. Daher haben wir SDKs in vielen Entwicklungssprachen bereitgestellt und unterstützen diese, um die Integration Ihrer Cloud-Apps zu erleichtern.
Schnellstart
1. API-Schlüssel abrufen, falls noch nicht vorhanden
Erstellen Sie ein persönliches Konto im GroupDocs Cloud Dashboard und klicken Sie auf Get Keys. Diese Schlüssel gelten für alle GroupDocs Cloud-Produkte. Bei Problemen lesen Sie diese detaillierte Anleitung. Sobald Sie Ihre Schlüssel erhalten haben, folgen Sie diesem Artikel, um GroupDocs.Translation Cloud auszuprobieren, oder machen Sie sich mit dem Entwicklerhandbuch für weitere Details vertraut.
2. SDK installieren
Installieren Sie groupdocs-translation-cloud mit PIP von PyPI durch:
pip install groupdocs-translation-cloud
Oder klonen Sie das Repository und installieren Sie es über Setuptools:
3. Demo ausführen
- SDK auschecken oder von PyPI beziehen
- Ihre client_id & client_secret setzen
- Jupyter Notebook demo.ipynb ausführen
Struktur
Dieses Projekt umfasst:
- Modul „groupdocstranslationcloud“, dies ist das SDK. Sie können es in Ihre Anwendung integrieren. Es enthält sowohl Translation- als auch Storage-API
- Modul „test“, Unittests. Sie können sie ansehen, um verschiedene Codebeispiele zu sehen.
- Jupyter Notebook „demo“. Beispiel-Demo-Notebook.
Abhängigkeiten
Versionsunterstützung
Python :: 2.7, Python :: 3, Python :: 3.4, Python :: 3.5, Python :: 3.6, Python :: 3.7, Python :: 3.8
Nur Text übersetzen
# Load the gem
import groupdocs_translation_cloud
# Get Client Id and Client Secret from https://dashboard.groupdocs.cloud
my_client_id = ""
my_client_secret = ""
# Create instance of the API
configuration = Configuration(apiKey=my_client_secret, appSid=my_client_id)
api = TranslationApi(configuration)
#document translation
pair = "en-fr"
_format = "docx"
storage = "First Storage"
name = "test.docx"
folder = ""
savepath = ""
savefile = "test_python.docx"
masters = False
elements = []
translator = TranslateDocument(pair, _format, storage, name, folder, savepath, savefile, masters, elements)
request = translator.to_string()
res_doc = api.post_translate_document(request)
print(res_doc.message)
Dokumentation für API-Endpunkte
Alle URIs sind relativ zu https://api.groupdocs.cloud/v2.0/translation
| Class | | Method | HTTP request | Description |
|---|
TranslationApi | | autoPost | POST /auto | Beliebige unterstützte Datei übersetzen |
TranslationApi | | csvPost | POST /csv | CSV- und TSV-Dateien übersetzen |
TranslationApi | | documentPost | POST /document | Microsoft Word-Dokumente, rtf, txt, odt übersetzen |
TranslationApi | | documentRequestIdGet | GET /document/{requestId} | Dokumentenübersetzungsstatus zurückgeben. Gibt auch URLs zum Herunterladen des übersetzten Dokuments zurück, wenn die Übersetzung erfolgreich war |
TranslationApi | | documentTrialPost | POST /document/trial | Testübersetzung von Microsoft Word-Dokumenten, rtf, txt, odt ohne Konvertierung. Übersetzt nur die erste Seite oder 1000 Zeichen. |
TranslationApi | | hcGet | GET /hc | Health Check für alle Dienste. |
TranslationApi | | htmlPost | POST /html | HTML-Dateien übersetzen |
TranslationApi | | hugoGet | GET /hugo | Hugo-Syntaxstruktur aus Markdown-Datei abrufen |
TranslationApi | | hugoPost | POST /hugo | Hugo-Syntaxstrukturanalyse aus Markdown-Datei ausführen |
TranslationApi | | imageToFilePost | POST /image-to-file | Bild oder gescanntes PDF übersetzen und Datei zurückgeben |
TranslationApi | | imageToTextPost | POST /image-to-text | Text auf Bild oder gescanntem PDF übersetzen |
TranslationApi | | languagesGet | GET /languages | Liste der verfügbaren Sprachpaare zurückgeben |
TranslationApi | | markdownPost | POST /markdown | Markdown-Dateien übersetzen |
TranslationApi | | pdfPost | POST /pdf | PDF-Dateien übersetzen |
TranslationApi | | pdfTrialPost | POST /pdf/trial | Test-PDF-Übersetzung. Übersetzt nur die erste Seite ohne Konvertierung in ein anderes Format. |
TranslationApi | | presentationPost | POST /presentation | Microsoft PowerPoint-Präsentationen, odp übersetzen |
TranslationApi | | resxPost | POST /resx | RESX-Dateien übersetzen |
TranslationApi | | spreadsheetPost | POST /spreadsheet | Microsoft Excel-Arbeitsmappen, ods übersetzen |
TranslationApi | | textPost | POST /text | Text übersetzen |
TranslationApi | | textRequestIdGet | GET /text/{requestId} | Textübersetzungsstatus zurückgeben. Gibt auch übersetzten Text zurück, wenn die Übersetzung erfolgreich war |
TranslationApi | | textTrialPost | POST /text/trial | Test-Textübersetzung. Übersetzt nur 1000 Zeichen. |
Dokumentation für Modelle
CloudFileResponse, CloudHugoResponse, CloudTextResponse, CsvFileRequest, FileRequest, HealthCheckStatus, HtmlFileRequest, HttpStatusCode, HugoRequest, ImageToFileRequest, ImageToTextRequest, LanguagePairData, MarkdownFileRequest, PdfFileRequest, PresentationFileRequest, ResxFileRequest, SpreadsheetFileRequest, StatusResponse, StringStringTuple, TextDocumentFileRequest, TextRequest, UrlFileInfo, WorksheetData
GroupDocs.Translation Cloud SDKs
GitHub

Package Manager

