YTapi

Update of "YTapi"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview

Artifact ID: 86a04486af18d01f0e36b2093323e735a0c91aa1
Page Name:YTapi
Date: 2012-09-12 11:47:26
Original User: z0rr0
Parent: 65c81213c0d4454ef86c46b1702825aed7a7a2d9 (diff)
Content

YTapi

It is simple Python script for Yandex Translate API. Default use en-ru direction, see more...

Examples:

  1. ./ytapi.py London is the capital of Great Britain
    'Лондон-столица Великобритании'

    OR
    ./ytapi.py "London is the capital of Great Britain"
    'Лондон-столица Великобритании'
  2. ./ytapi.py en hi
    'привет'
  3. ./ytapi.py ru привет всем
    'hi all'

Dependences: Python (default Python3, version for Python2 in 'python2' branch), urllib, json

It is part of ConDict project.