Spaces:
Sleeping
Sleeping
|
Download README.md from knighter75/translate-api: direct link, hf CLI and curl.
- Browser
- Download file 590 Bytes
-
https://huggingface.co/spaces/knighter75/translate-api/resolve/main/README.md
- Command line
-
hf download hf://spaces/knighter75/translate-api/README.md
-
curl -L -o README.md https://huggingface.co/spaces/knighter75/translate-api/resolve/main/README.md
590 Bytes
| title: Google Translate API | |
| emoji: 🌐 | |
| colorFrom: blue | |
| colorTo: green | |
| sdk: docker | |
| app_file: app/main.py | |
| pinned: false | |
| # Google Translate API | |
| FastAPI приложение для перевода текста через Google Translate. | |
| ## Эндпоинты | |
| - `GET /` - информация об API | |
| - `GET /health` - проверка работоспособности | |
| - `GET /api/v1/translate/languages` - список языков | |
| - `GET /api/v1/translate/?text=hello&target=ru` - простой перевод | |
| - `POST /api/v1/translate/` - перевод с JSON телом |