Overview
You can use many popular programming languages to access the DeepL API. DeepL enables this through six official client libraries. Hosted on GitHub, these client libraries handle API requests and help parse responses so you can focus on building your application. For example, the JavaScript library’stranslateDocument() function handles the document translation workflow - uploading a document, polling for completion, and downloading the result.
This documentation site frequently includes code samples in the six programming languages DeepL supports and maintains. But for complete information, setup instructions, installation steps, and code samples, see these GitHub repositories:
DeepL C# Library
deeplcom\deepl-dotnet
DeepL Java Library
deeplcom\deepl-java
DeepL JavaScript Library
deeplcom\deepl-node
DeepL PHP Library
deeplcom\deepl-php
DeepL Python Library
deeplcom\deepl-python
DeepL Ruby Library
deeplcom\deepl-rb
Community-created client libraries
The DeepL community maintains client libraries for other languages, including Dart, Go, Rust, and Kotlin.Next steps
Now that you’ve found your client library, here are a few ways to keep learning about the DeepL API:- try sample requests in our playground
- DeepL 101 - a quick guide to text and document translation
- Translation: a beginner’s guide - a detailed guide to fundamental translation features