Text Readability

부분 유료
분류별 Translated | 업데이트됨 5 days ago | Text Analysis
인기

5.4 / 10

지연 시간

274ms

서비스 수준

75%

Health Check

N/A

모든 토론으로 돌아가기

All results are showing 'Unknown' on local machine

Rapid account: Malharlakdawala
malharlakdawala
2 years ago

the api works properly on rapiapi playground
But when I am running same on local machine, all response are showing unknown, as below
{“level”:“unknown”,“hard_terms”:[],“cached”:false}

my code:

url = “https://translated-text-readability-v1.p.rapidapi.com/analyze.php"
payload = {“text”:” the company are hc trader. the company are working with all kinds of sanitary hardware electricals complite range of bulding concutration. and many more their company is tradeing company" , “language”: “en”}
headers = {
‘content-type’: “application/json”,
‘x-rapidapi-host’: “translated-text-readability-v1.p.rapidapi.com”,
’<API KEY>"
}

response = requests.request(“POST”, url, data=payload, headers=headers)
print(response)
print(response.text)

아래에 의견을 추가하고 토론에 참여하세요.

새 댓글을 게시하려면 로그인 / 가입