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
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 Distribution
Itzuli-1.1.0.tar.gz
(14.9 kB
view hashes)
Built Distribution
Itzuli-1.1.0-py3-none-any.whl
(14.7 kB
view hashes)