Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ydtapi-2.0-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page