Write a python script using a Rest API

Suoritettu Julkaistu 5 vuotta sitten Maksettu toimituksen yhteydessä
Suoritettu Maksettu toimituksen yhteydessä

To understand this project proposal, please do the following steps.

1. Go here: [login to view URL]

2. Open DevTools in Chrome and go to Network.

3. then on the translator site, press 'Translate and Compare'

4. Click on either of the 'Is this Better?' buttons

5. Then (in DevTools) click 'translate'

6. Go to Preview on the top right of 'translate'

You'll see something like:

resultNMT: "Judging from the market performance, the RMB exchange rate has a clear two-way floating characteristic, the exchange rate elasticity strengthens, The exchange rate expectation overall Stable."

resultResearch: "Judging from the market performance, over the past year, the RMB exchange rate has obvious characteristics of two-way floating, the exchange rate flexibility has increased, and the exchange rate is expected to be stable overall."

resultSMT: null

sourceLanguage: "zh-Hans"

targetLanguage: "en"

text: "从市场表现来看,一年来,人民币汇率双向浮动特征明显,汇率弹性增强,汇率预期总体平稳。"

I have included a postman script which demonstrates that this works as a Rest API call.

I want the same thing to be done via Python script.

So, the result I want is a python script which will take as an input a txt file; it will input each LINE of that file (I will tokenize myself; just take each linebreak as a token);

Then, the output will be simply another txt which is LINE1 of original and underneath resultResearch. And so on for every line of the original input.

JavaScript Linux PHP Python Tietojärjestelmäarkkitehtuuri

Projektin tunnus: #17910911

Tietoa projektista

2 ehdotusta Etäprojekti Aktiivinen 5 vuotta sitten

Myönnetty käyttäjälle:

abderrahimouakki

Hi I've tested the API with Postman and I can write a client for it using python . I'm a python developer with 5 years of experience working on web apps ( including REST API projects) contact me via chat to discu Lisää

$133 USD 3 päivässä
(42 Arvostelua)
5.8

2 freelanceria on tarjonnut keskimäärin $122 tähän työhön

sambestsolutions

Hi I am an Engineering undergraduate with experienced in python more than 3 years. I have used python to create and access rest API for various business applications. I can do this for you. Please message to discuss f Lisää

$111 USD 7 päivässä
(5 arvostelua)
2.7