Youdao translate API for python
Project description
This is a translate API that was made with requests.post, hashlib, and random
The module use 有道翻译 to translate
It’s not open source, so there’s no licenses.
Run it with a simple line of code in terminal:
::
python -m tapi
It will print out the result of translation
Or you can use it like this:
::
xxxxxxxxxx
from tapi import mainAPI
mainAPI('Hello', fr='AUTO', to='AUTO')
It will return a dict with type(EN2ZH? ZH2ES?……), result, smart result(With the meaning of words) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Author: UNKNOWN
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ydtapi-2.0-py3-none-any.whl.
File metadata
- Download URL: ydtapi-2.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b24041c698d06405dfdb7704583d8a99a5fa1bb79036e50ad3ec6e676fe14438
|
|
| MD5 |
33abc0331cb200f6bc00dcfb97e7c731
|
|
| BLAKE2b-256 |
7160ef31176e954a811111255261a94ab39f8d1cb4163c3ee8ce799eb9882ede
|