API | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

API

I am working on API with Python. I have to obtain data from URL to display at Python application. I have saved my API key but not sure how to call it. Please help

6th Apr 2022, 1:59 PM
Knowledge Is Power
Knowledge Is Power - avatar
4 Answers
+ 1
You did all that. You should have the server generate and keep track of key data: value, date issued, ect. Then whenever anyone tries to use the api, check key value and date first. If they check out, allow use of api
6th Apr 2022, 3:29 PM
Slick
Slick - avatar
0
Thank you for your response. After saving the API how do i recall at my IDE (visual basic) I am new to API
6th Apr 2022, 4:16 PM
Knowledge Is Power
Knowledge Is Power - avatar
0
It depends on the api. Once you have your key, just save it in a file and import it or hardcode it into your program. Then use the api's request and provide they key however api owners want
6th Apr 2022, 4:20 PM
Slick
Slick - avatar
0
And you can start making another account. This one will be gone soon Fequmufosuhi VintomaperCom
7th Apr 2022, 8:01 PM
Slick
Slick - avatar