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 details)
Built Distribution
Itzuli-1.1.0-py3-none-any.whl
(14.7 kB
view details)
File details
Details for the file Itzuli-1.1.0.tar.gz
.
File metadata
- Download URL: Itzuli-1.1.0.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0200d6936f3b16679edc27c176a40eb8c03e96fd0d436989ef206993cd7d0fe |
|
MD5 | d9056888f1e1477f6ccfb4e519322a22 |
|
BLAKE2b-256 | 81b367255961335998966b6ab3d3362483be63deffe2822b9e90bd075203962e |
File details
Details for the file Itzuli-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: Itzuli-1.1.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 182b5a23d048c77163ec2fcef5317e734344ab37403cb87d8abb248dd1df38b7 |
|
MD5 | 041b1c441cb437f71b4940568ca65ffe |
|
BLAKE2b-256 | 535b506cd6ab607efd8ed5dee539005e8aaa3c279da780efb5f205b743c9a71c |