Conversion_Kitchen_Code/kitchen_counter/conversion/translation
Ubuntu 2153ae509c conversion latest 2024-04-30 04:59:37 +00:00
..
__pycache__ first commit 2024-04-27 09:33:09 +00:00
build first commit 2024-04-27 09:33:09 +00:00
dist first commit 2024-04-27 09:33:09 +00:00
docs first commit 2024-04-27 09:33:09 +00:00
indictrans conversion latest 2024-04-30 04:59:37 +00:00
python-client-generated first commit 2024-04-27 09:33:09 +00:00
swagger_client first commit 2024-04-27 09:33:09 +00:00
swagger_client.egg-info first commit 2024-04-27 09:33:09 +00:00
test first commit 2024-04-27 09:33:09 +00:00
.testing_languages_working_translation.py.swp first commit 2024-04-27 09:33:09 +00:00
=1.10 first commit 2024-04-27 09:33:09 +00:00
Adding_Scripts_To_SampleSCripts.py first commit 2024-04-27 09:33:09 +00:00
README.md first commit 2024-04-27 09:33:09 +00:00
all_transliteration.py first commit 2024-04-27 09:33:09 +00:00
all_transliteration_actionline.py first commit 2024-04-27 09:33:09 +00:00
authentication.json first commit 2024-04-27 09:33:09 +00:00
buck_2_unicode.py first commit 2024-04-27 09:33:09 +00:00
cleaned_file.txt first commit 2024-04-27 09:33:09 +00:00
createDict.py first commit 2024-04-27 09:33:09 +00:00
debu1414.log first commit 2024-04-27 09:33:09 +00:00
debug99.log first commit 2024-04-27 09:33:09 +00:00
detect55ion.py first commit 2024-04-27 09:33:09 +00:00
detectio11n.py first commit 2024-04-27 09:33:09 +00:00
detection.py first commit 2024-04-27 09:33:09 +00:00
detection4march.py first commit 2024-04-27 09:33:09 +00:00
detection5april.py first commit 2024-04-27 09:33:09 +00:00
detection123.py first commit 2024-04-27 09:33:09 +00:00
detection_20_dec.py first commit 2024-04-27 09:33:09 +00:00
detection_w.py first commit 2024-04-27 09:33:09 +00:00
detectiongood.py first commit 2024-04-27 09:33:09 +00:00
detectiongood2.py first commit 2024-04-27 09:33:09 +00:00
detectionnew.py first commit 2024-04-27 09:33:09 +00:00
detectionold.py first commit 2024-04-27 09:33:09 +00:00
dev-rom-ritwik.py first commit 2024-04-27 09:33:09 +00:00
dev-rom-sheetal.py first commit 2024-04-27 09:33:09 +00:00
ek_new_file.py first commit 2024-04-27 09:33:09 +00:00
external_conversion.py conversion latest 2024-04-30 04:59:37 +00:00
external_conversion_bkp1704.py first commit 2024-04-27 09:33:09 +00:00
extra.py first commit 2024-04-27 09:33:09 +00:00
f1.txt first commit 2024-04-27 09:33:09 +00:00
file.txt first commit 2024-04-27 09:33:09 +00:00
file.txt.py first commit 2024-04-27 09:33:09 +00:00
file1.txt first commit 2024-04-27 09:33:09 +00:00
file1.txt.py first commit 2024-04-27 09:33:09 +00:00
file2.txt first commit 2024-04-27 09:33:09 +00:00
file2.txt.py first commit 2024-04-27 09:33:09 +00:00
file_lines.docx first commit 2024-04-27 09:33:09 +00:00
file_lines.txt first commit 2024-04-27 09:33:09 +00:00
file_lines_200.txt first commit 2024-04-27 09:33:09 +00:00
file_lines_2003.txt first commit 2024-04-27 09:33:09 +00:00
final_translation.py first commit 2024-04-27 09:33:09 +00:00
final_transliteration.py first commit 2024-04-27 09:33:09 +00:00
final_transliteration_only.py first commit 2024-04-27 09:33:09 +00:00
final_transliteration_only1april.py first commit 2024-04-27 09:33:09 +00:00
final_transliteration_only2.py first commit 2024-04-27 09:33:09 +00:00
final_transliteration_only23.py first commit 2024-04-27 09:33:09 +00:00
final_transliteration_only_working.py first commit 2024-04-27 09:33:09 +00:00
final_transliteration_onlypreb.py first commit 2024-04-27 09:33:09 +00:00
final_transliteration_translation.py first commit 2024-04-27 09:33:09 +00:00
fourstepconversion.py first commit 2024-04-27 09:33:09 +00:00
fourstepconversion2.py first commit 2024-04-27 09:33:09 +00:00
getting_languages_Codes.py first commit 2024-04-27 09:33:09 +00:00
getting_languages_Scripts.py first commit 2024-04-27 09:33:09 +00:00
git_push.sh first commit 2024-04-27 09:33:09 +00:00
google_check.py first commit 2024-04-27 09:33:09 +00:00
keys_aws.json first commit 2024-04-27 09:33:09 +00:00
language_codes.json first commit 2024-04-27 09:33:09 +00:00
language_pairs_languages.json first commit 2024-04-27 09:33:09 +00:00
list_languages.py first commit 2024-04-27 09:33:09 +00:00
lls.json first commit 2024-04-27 09:33:09 +00:00
lls2.json first commit 2024-04-27 09:33:09 +00:00
logger.py first commit 2024-04-27 09:33:09 +00:00
multiprocessing_funcs.py first commit 2024-04-27 09:33:09 +00:00
multiprocessing_funcs2.py first commit 2024-04-27 09:33:09 +00:00
newconversion.py first commit 2024-04-27 09:33:09 +00:00
output.txt first commit 2024-04-27 09:33:09 +00:00
readme.txt first commit 2024-04-27 09:33:09 +00:00
readme.txt.py first commit 2024-04-27 09:33:09 +00:00
requirements.txt first commit 2024-04-27 09:33:09 +00:00
requirements.txt.py first commit 2024-04-27 09:33:09 +00:00
requirementslib.txt first commit 2024-04-27 09:33:09 +00:00
s2s.py first commit 2024-04-27 09:33:09 +00:00
script_actionline.py first commit 2024-04-27 09:33:09 +00:00
script_detector.py first commit 2024-04-27 09:33:09 +00:00
script_reading.py first commit 2024-04-27 09:33:09 +00:00
script_reading_actionline.py first commit 2024-04-27 09:33:09 +00:00
script_translation_log.txt first commit 2024-04-27 09:33:09 +00:00
script_writing.py first commit 2024-04-27 09:33:09 +00:00
scripts.json first commit 2024-04-27 09:33:09 +00:00
selection_source.py first commit 2024-04-27 09:33:09 +00:00
selection_source_actionline.py first commit 2024-04-27 09:33:09 +00:00
setup.py first commit 2024-04-27 09:33:09 +00:00
subtitle.py first commit 2024-04-27 09:33:09 +00:00
test-requirements.txt first commit 2024-04-27 09:33:09 +00:00
test-requirements.txt.py first commit 2024-04-27 09:33:09 +00:00
test20-1.py first commit 2024-04-27 09:33:09 +00:00
test20_2.py first commit 2024-04-27 09:33:09 +00:00
test22.py first commit 2024-04-27 09:33:09 +00:00
testing.py first commit 2024-04-27 09:33:09 +00:00
testing2.py first commit 2024-04-27 09:33:09 +00:00
testing_fonts_all_langs.py first commit 2024-04-27 09:33:09 +00:00
testing_languages.py first commit 2024-04-27 09:33:09 +00:00
testing_languages_working_translation.py first commit 2024-04-27 09:33:09 +00:00
testing_response_times.py first commit 2024-04-27 09:33:09 +00:00
testing_scripts.py first commit 2024-04-27 09:33:09 +00:00
testing_scripts_mini.py first commit 2024-04-27 09:33:09 +00:00
testttttt.py first commit 2024-04-27 09:33:09 +00:00
testttttt2.py first commit 2024-04-27 09:33:09 +00:00
tox.ini first commit 2024-04-27 09:33:09 +00:00
transString.py first commit 2024-04-27 09:33:09 +00:00
translation_comparison.py first commit 2024-04-27 09:33:09 +00:00
translation_function.py first commit 2024-04-27 09:33:09 +00:00
translation_metric.py first commit 2024-04-27 09:33:09 +00:00
translation_resources.py first commit 2024-04-27 09:33:09 +00:00
translation_resources_actionline.py first commit 2024-04-27 09:33:09 +00:00
translation_resources_old.py first commit 2024-04-27 09:33:09 +00:00
translation_variables.py first commit 2024-04-27 09:33:09 +00:00
transliteration.zh.tar.bz2 first commit 2024-04-27 09:33:09 +00:00
transliteration_function.py first commit 2024-04-27 09:33:09 +00:00
transliteration_resources.py first commit 2024-04-27 09:33:09 +00:00
transliteration_testing.py first commit 2024-04-27 09:33:09 +00:00
twostepconversion.py first commit 2024-04-27 09:33:09 +00:00
urls.py first commit 2024-04-27 09:33:09 +00:00
vector_transliteration.py first commit 2024-04-27 09:33:09 +00:00
vector_transliteration_13may.py first commit 2024-04-27 09:33:09 +00:00
vector_transliteration_working.py first commit 2024-04-27 09:33:09 +00:00

README.md

swagger-client

Lingvanex works via HTTPS requests. The URL of all requests starts with https://api-b2b.backenster.com/b1/api/v3/. In case of a protocol selection error and using HTTP, the request will be redirected to the address with the HTTPS protocol (status code 302).

Authentication of requests is done by adding the “Authorization” header with the following data format: Bearer The key can be created on the user control panel page https://lingvanex.com/account. Example: "Authorization: Bearer <YOUR_API_KEY>".

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com//.git

(you may need to run pip with root permission: sudo pip install git+https://github.com//.git)

Then import the package:

import swagger_client 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import swagger_client

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: APIKeyHeader
configuration = swagger_client.Configuration()
configuration.api_key['Authorization'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['Authorization'] = 'Bearer'

# create an instance of the API class
api_instance = swagger_client.TranslateApi(swagger_client.ApiClient(configuration))
platform = 'api' # str | api (default to api)
code = 'en_GB' # str | the language code in the format “language code_code of the country”, which is used to display the names of the languages. The language code is represented only in lowercase letters, the country code only in uppercase letters (example en_GB, es_ES, ru_RU etc). If this option is not present, then English is used by default (optional) (default to en_GB)

try:
    # Getting the list of languages
    api_response = api_instance.get_languages_get(platform, code=code)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling TranslateApi->get_languages_get: %s\n" % e)

Documentation for API Endpoints

All URIs are relative to https://api-b2b.backenster.com/b1/api/v3

Class Method HTTP request Description
TranslateApi get_languages_get GET /getLanguages Getting the list of languages
TranslateApi translate_post POST /translate Text translation

Documentation For Models

Documentation For Authorization

APIKeyHeader

  • Type: API key
  • API key parameter name: Authorization
  • Location: HTTP header

Author

info@lingvanex.com