+ 6
IP API not working
Ive made a code to fetch a users location and I need help My code: https://code.sololearn.com/WmWhuR37qnkC/?ref=app Screenshot of the dashboard: https://linkpicture.com/q/API-docs.png API:https://rapidapi.com/fcambus/api/telize
8 ответов
+ 5
P.M. i just found out that the API was paid. I found a free one:
ipgeolocationapi.com/
I want to find out country and region, but I don’t know how to use it. PLease help.
+ 4
P.M. i get: “message: you are not subscribed to this API”
+ 4
Galaxy-Coding (CodeWarrior) ok i'll try it and will let you know if i can help you
+ 4
you're welcome😁
i dont know about getJSON
maybe i have to learn more about jquery🤔
+ 3
maybe it means your header parameters are not correct or something like that
+ 3
P.M. thank you SO much. I really apreciate your help!
by the way, I updated my code, but it still won’t work using Jquery getJSON
0
Well... I don't really understand the Geolocation API that much but I found this article on w3school: https://www.w3schools.com/html/html5_geolocation.asp
Also, I think you're supposed to use navigator.geolocation.getCurrentPosition() (According to w3school and solo-learn)