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
metadata
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 /- информация об APIGET /health- проверка работоспособностиGET /api/v1/translate/languages- список языковGET /api/v1/translate/?text=hello&target=ru- простой переводPOST /api/v1/translate/- перевод с JSON телом