Skip to content

Commit ddcae0e

Browse files
committed
docs: update
1 parent ac3335a commit ddcae0e

File tree

2 files changed

+220
-198
lines changed

2 files changed

+220
-198
lines changed

src/lingodotdev/__init__.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
"""
2-
Public entry point for the Lingo.dev Python SDK.
1+
"""Public entry point for the Lingo.dev Python SDK.
2+
3+
The package exposes LingoDotDevEngine, the asynchronous client used to access
4+
the Lingo.dev localization API. Refer to the engine module for detailed usage
5+
guidance.
36
4-
The package exposes :class:`~lingodotdev.engine.LingoDotDevEngine`, the
5-
asynchronous client used to access the Lingo.dev localization API. Refer to the
6-
engine module for detailed usage guidance.
7+
async with LingoDotDevEngine({"api_key": "..."}) as engine:
8+
result = await engine.localize_text("Hello", {"target_locale": "es"})
79
"""
810

911
__version__ = "1.3.0"

0 commit comments

Comments
 (0)