Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mismatch between README and actual code #61

Open
i5-650 opened this issue Jan 18, 2025 · 1 comment
Open

Mismatch between README and actual code #61

i5-650 opened this issue Jan 18, 2025 · 1 comment

Comments

@i5-650
Copy link

i5-650 commented Jan 18, 2025

Hello !

I'm creating a small Java project that uses DeepL API and I faced a strange issue:

In the README, you state the following to instantiate a DeepLClient:

deepLClient = new DeepLClient(apiKey);

However, the code of DeepLClient (here) need an extra TranslatorOptions. In addition, this TranslatorOptions is deprecated and the new DeepLClientOptions is as well.

Perhaps I'm getting ahead of myself, but I believe there may be a mistake here.

@Frenzie
Copy link

Frenzie commented Jan 22, 2025

Not only that, but I see a deprecation notice on all methods for DeepLClient and DeepLClientOptions, which can't be correct.


Maybe they should be annotated something like @Internal instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants