Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit c9c2ed1

Browse files
committed
- set standard-api-host to api-free.deepl.com
- update README.md - update CHANGELOG.md
1 parent fb2e151 commit c9c2ed1

File tree

3 files changed

+22
-3
lines changed

3 files changed

+22
-3
lines changed

โ€ŽCHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9-
## [2.0.0] - 2020-09-??
9+
## [3.0.0] - 2021-07-??
10+
####Major overhaul of the Library with some Breaking changes. Please read before updating!
11+
### Added
12+
- Support for PHP 8
13+
- Support for cURL proxy
14+
### Changed
15+
- Moved from travis-ci.org to travis-ci.com
16+
- Added specific curl_error to message in DeepLException
17+
- Fix some Tests that where too specific
18+
- standard api-host from api.deepl.com to api-free.deepl.com
19+
### Removed
20+
- Support for PHP < 7.3
21+
22+
## [2.0.1] - 2020-09-29
1023
####Major overhaul of the Library with some Breaking changes. Please read before updating!
1124
### Added
1225
- Ability to change the API-Host

โ€ŽREADME.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
Simple PHP Library for DeepL API. You can translate one or multiple text strings (up to 50) per request.
1111

12-
๐Ÿ‡ฉ๐Ÿ‡ช๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ช๐Ÿ‡ธ๐Ÿ‡ฒ๐Ÿ‡ฝ๐Ÿ‡ซ๐Ÿ‡ท๐Ÿ‡ฎ๐Ÿ‡น๐Ÿ‡ฏ๐Ÿ‡ต๐Ÿ‡ณ๐Ÿ‡ฑ๐Ÿ‡ต๐Ÿ‡ฑ๐Ÿ‡ต๐Ÿ‡น๐Ÿ‡ง๐Ÿ‡ท๐Ÿ‡ท๐Ÿ‡บ๐Ÿ‡จ๐Ÿ‡ณ
12+
๐Ÿ‡ฉ๐Ÿ‡ช๐Ÿ‡ฆ๐Ÿ‡น๐Ÿ‡จ๐Ÿ‡ญ๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡บ๐Ÿ‡ธ๐Ÿ‡ช๐Ÿ‡ธ๐Ÿ‡ฒ๐Ÿ‡ฝ๐Ÿ‡ซ๐Ÿ‡ท๐Ÿ‡ฎ๐Ÿ‡น๐Ÿ‡ฏ๐Ÿ‡ต๐Ÿ‡ณ๐Ÿ‡ฑ๐Ÿ‡ต๐Ÿ‡ฑ๐Ÿ‡ต๐Ÿ‡น๐Ÿ‡ง๐Ÿ‡ท๐Ÿ‡ท๐Ÿ‡บ๐Ÿ‡จ๐Ÿ‡ณ๐Ÿ‡ฌ๐Ÿ‡ท๐Ÿ‡ฉ๐Ÿ‡ฐ๐Ÿ‡จ๐Ÿ‡ฟ๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ซ๐Ÿ‡ฎ๐Ÿ‡ญ๐Ÿ‡บ๐Ÿ‡ฑ๐Ÿ‡น๐Ÿ‡ฑ๐Ÿ‡ป๐Ÿ‡ท๐Ÿ‡ด๐Ÿ‡ท๐Ÿ‡ธ๐Ÿ‡ธ๐Ÿ‡ฐ๐Ÿ‡ธ๐Ÿ‡ช
1313

1414
[Official DeepL API][link-deepl]
1515

@@ -32,6 +32,12 @@ $authKey = '<AUTH KEY>';
3232
$deepl = new DeepL($authKey);
3333
```
3434

35+
Use the DeepL API Pro:
36+
```php
37+
$authKey = '<AUTH KEY>';
38+
$deepl = new DeepL($authKey,2,'api.deepl.com');
39+
```
40+
3541
### Translate
3642
Translate one Text:
3743

โ€Žsrc/DeepL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class DeepL
8484
* @param integer $apiVersion
8585
* @param string $host
8686
*/
87-
public function __construct($authKey, $apiVersion = 2, $host = 'api.deepl.com')
87+
public function __construct($authKey, $apiVersion = 2, $host = 'api-free.deepl.com')
8888
{
8989
$this->authKey = $authKey;
9090
$this->apiVersion = $apiVersion;

0 commit comments

Comments
ย (0)