Help Me for God sake | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

Help Me for God sake

RapidApi i need help in rapidapi if anyone is familiar with rapidapi.com please help me

24th Mar 2021, 3:26 AM
Nitin Bisht
Nitin Bisht - avatar
5 Antworten
+ 5
api are usually fetched from client side, through XMLHttpRequest (javascript)... not from server side (php)... anyway, I cannot help further, as I know rapidapi only since I have google it ;P however, as it seems to be a paid service, you'll have surely the possibility to contact them to request help, if you didn't find useful information through their website...
24th Mar 2021, 3:45 AM
visph
visph - avatar
+ 3
In your application you can use API using Ajax. It's a simple JavaScript code where you need to pass some parameters to get data through API. See I have used here https://code.sololearn.com/W32DIrxqyPK1/# See this is a simple JS code where I am passing countries as a parameter and getting response $.ajax({ url: 'https://covid19api.io/api/v1/ReportsByCountries/' + countries, success: function(response) { var report = response.report; }, error: function() { alert("System seems to be offline, try again!"); } }); Here countries is comma separated string. It may be vary depends on API.
24th Mar 2021, 4:45 AM
A͢J
A͢J - avatar
+ 1
RapidApi is not a programming language... RapidAPI's Enterprise Hub is an internal API Marketplace... you should post this kind of question in your feed rather than in Q&A ^^
24th Mar 2021, 3:32 AM
visph
visph - avatar
0
visph brother I want to use an api in my php program that's why I am asking, that's why i am asking if anyone familiar with rapidapi so that I can ask how to integrate api in our program.
24th Mar 2021, 3:39 AM
Nitin Bisht
Nitin Bisht - avatar
- 1
im not familiar with php, but i have used this post to help me get a better understanding of api integration using python. https://medium.com/daily-python/consuming-nasa-api-using-python-part-1-daily-python-17-4ce104fa47ab
24th Mar 2021, 4:37 AM
you are smart. you are brave.
you are smart. you are brave. - avatar