Text Analysis

ÜCRETSİZ
Taraf Bhavya Gaur | Güncelleyen 8 days ago | Text Analysis
Popülerlik

9.8 / 10

Gecikme

323ms

Hizmet Düzeyi

100%

Health Check

N/A

Tüm Tartışmalara Dön

Adding the file to the code in IDE

Rapid account: Jamieshelleu
jamieshelleu
3 years ago

I am trying to use the API in either python or powershell, but when calling from my IDE I don’t know how to add input_file - is there a way I can add it from my IDE? In the code it says input_file but I don’t know how it’s calling it from the required parameters

Rapid account: Gaurmanojkumar 530
gaurmanojkumar530 Commented 2 years ago

Sorry for answering so late. (For some reason rapidAPI did not inform me of this inner comment, please make a separate main comment so that I get notified!).
I am not familiar with CURL. But its always possible to use postman for sending the request. Also postman has an auto code generation feature and I think CURL is supported. Please feel free to make any queries at any time (possibly in the main comment section). Thanks for choosing us!

Rapid account: Maryamahmed 007 Bio Q Cenrog 8
maryamahmed007-bioQCenrog8 Commented 3 years ago

Hi I have a similar question, how do I add the input file in general? This is the extract text from image endpoint I’m trying to get working. From CURL how do I specify the path of the file on my computer or exactly how? Thanks!

Rapid account: Gaurmanojkumar 530
gaurmanojkumar530 Commented 3 years ago

Did our previous comment solve your issue?

Rapid account: Gaurmanojkumar 530
gaurmanojkumar530 Commented 3 years ago

We are happy to help you out.

In python3 there is a library called “requests” which you can use to make various HTTP requests.

URL for installation: https://pypi.org/project/requests/
URL for documentation: https://docs.python-requests.org/en/master/

We will also provide you a python3 code sample, so that you can try it out yourself.

URL for code sample: https://gist.github.com/bhavyagaur99/e664b6bd7d08d17995fac069e6d32acf

Unfortunately, we are not familiar with powershell. So it will take us some time to make this script.

If you require any other assistance please let us know.

Aşağıya yorum ekleyerek tartışmaya katılın:

Yeni yorumlar göndermek için giriş yapın / kaydolun