Skip to main content

Itzuli API library

Project description

Itzuli API library

Functions in "Itzuli" package

getTranslation(text, fromlang, tolang)
getQuota()
sendFeedback(id, correction, evaluation)
addTag(tagName)

An exception will be thrown if any error detected.

Example

Install the package

pip install Itzuli

Import:

from Itzuli import Itzuli

Initialize with your api key:

itzuliapi = Itzuli("apikey")

Make a translation:

itzuliapi.getTranslation("kaixo! zer moduz?", "eu", "es")

Get quota:

itzuliapi.getQuota()

Send feedback:

itzuliapi.sendFeedback("id from translation, "corrected text", 1)

Project details


Download files

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

Source Distribution

Itzuli-1.1.0.tar.gz (14.9 kB view hashes)

Uploaded Source

Built Distribution

Itzuli-1.1.0-py3-none-any.whl (14.7 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