Metadata-Version: 2.1
Name: PyTranslo
Version: 1.0
Summary: Python Client Library for Translo API.
Author-email: dannkunt <dannkunt@gmail.com>
Project-URL: github, https://github.com/dannkunt/PyTranslo
Project-URL: rapidapi, https://rapidapi.com/armangokka/api/translo
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE

# PyTranslo
Python Client Library for Translo API. https://rapidapi.com/armangokka/api/translo

# Installing

```sh
pip install -U PyTranslo
```

# Usage

```python
from PyTranslo import PyTranslo

api = PyTranslo("<TOKEN>")

api.translate("Отличная библиотека", "en")  # "Excellent library"

api.translate("Knows many languages", "ru")  # "Знает много языков"

api.translate("没有必要指出翻译来自哪种语言。", "en")  # "There is no need to indicate which language the translation comes from."
api.translate("Но можно если нужно", "en", from_lang="ru")  # "But you can if you need"

api.detect("Что это за язык?") # "ru"
```
