Registry / networking / deepl-rb

deepl-rb

JSON →
library3.8.0rbrubygemsunverified

Official Ruby library for the DeepL language translation API (v2).

gem install deepl-rb
INSTALL
IMPORT
SIG · DEEPL-RB
D
deepl-rb
networkingrubyv3.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DeepL
require 'deepl'

Configure the API key and translate text from English to German.

require 'deepl' DeepL.configure { |config| config.auth_key = 'your-api-key' } translation = DeepL.translate('Hello', 'EN', 'DE') puts translation.text
Debug
Known issues
gotchaRequires a valid DeepL API key (free or pro).
fix
Obtain an API key from DeepL and set it via configuration.
affects: >= 1.0.0
Upgrade
Version history
3.8.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
deepl-rb — gem install deepl-rb · libregistry