@@ -52,6 +52,8 @@ Here are some examples how to do this in plain HTTP, as a cURL command, and usin
5252 ```
5353 </Tab >
5454 <Tab title = " Python" >
55+ Minimum client library version: 1.24.0
56+
5557 ```python
5658 result = deepl_client.translate_text(
5759 "Hello, world!",
@@ -62,6 +64,8 @@ Here are some examples how to do this in plain HTTP, as a cURL command, and usin
6264 ```
6365 </Tab >
6466 <Tab title = " Node.JS" >
67+ Minimum client library version: 1.21.0
68+
6569 ```typescript
6670 const result = await deeplClient.translateText(
6771 'Hello, world!',
@@ -76,6 +80,8 @@ Here are some examples how to do this in plain HTTP, as a cURL command, and usin
7680 ```
7781 </Tab >
7882 <Tab title = " PHP" >
83+ Minimum client library version: 1.13.0
84+
7985 ```php
8086 $result = $deeplClient->translateText(
8187 'Hello, world!',
@@ -87,6 +93,8 @@ Here are some examples how to do this in plain HTTP, as a cURL command, and usin
8793 ```
8894 </Tab >
8995 <Tab title = " C#" >
96+ Minimum client library version: 1.16.0
97+
9098 ```csharp
9199 var translatedText = await client.TranslateTextAsync(
92100 "Hello, world!",
@@ -96,16 +104,20 @@ Here are some examples how to do this in plain HTTP, as a cURL command, and usin
96104 ```
97105 </Tab >
98106 <Tab title = " Java" >
107+ Minimum client library version: 1.11.0
108+
99109 ```java
100110 TextTranslationOptions textTranslationOptions = new TextTranslationOptions();
101- textTranslationOptions. setExtraBodyParameters(new HashMap< String , String > () {{
102- put (" enable_beta_languages" , " 1" );
103- }} );
111+ textTranslationOptions.setExtraBodyParameters(
112+ Map.of ("enable_beta_languages", "1");
113+ );
104114 TextResult result = deepLClient.translateText("Hello, world!", null, "ace",
105115 textTranslationOptions);
106116 ```
107117 </Tab >
108118 <Tab title = " Ruby" >
119+ Minimum client library version: 3.3.0
120+
109121 ```ruby
110122 translation = DeepL.translate 'Hello, world!', nil, 'ace',
111123 extra_body_parameters: { enable_beta_languages : true }
0 commit comments