Android Question Problem with https job

khwarizmi

Active Member
Licensed User
Longtime User
Hi all

I'm trying to get information about the user country and currency through his IP address:

B4X:
Dim job4 As HttpJob
                job4.Initialize("", Me)
                job4.Download("https://ipapi.co/102.125.203.109/json/")
               ProgressDialogShow("please wait ..")
                Wait For (job4) JobDone(job4 As HttpJob)
                If job4.Success Then
                    res = job4.GetString
                Log(res)
                
                End If

the result is : {"error": true, "reason": "RateLimited", "message": "Please contact or sign-up for IP Location @ https://ipapi.co"}
Note that the site does not require login or API.
 

DonManfred

Expert
Licensed User
Longtime User
Note that the site does not require login or API.
Note that the site has Limits and also Paid plans.

ipapilimits011.png


Also note that all users who are using this api count into the free plan. Means: not only you. All other people on the world using this Api without an Apikey.

 
Upvote 0

khwarizmi

Active Member
Licensed User
Longtime User
thanks @DonManfred
I have not reached the daily limit yet, also, the link is still running on the browser.

This may be due to limited plan:
Paid Plan
Premium Features
HTTPS / SSL
Secure API for IP address lookup
Production ready & scalable
Seamless upgrades as traffic grows. No code changes
E-Mail support
Expert help with API usage, integration / issues
Usage alerts
E-Mail alerts warn you before you run out of quota
API to monitor usage
Transparently track your usage & control costs
Bulk IP lookup
Get location of multiple IP addresses with a GUI
Free Plan

HTTPS / SSL
Secure API for IP address lookup
Suitable for testing / development
Not recommended for production
No support
No usage alerts
No usage monitoring
Limited Bulk IP lookup

 
Last edited:
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

khwarizmi

Active Member
Licensed User
Longtime User
There is a method that I don't prefer to use is to read the code from the page, as in this example, and then draw the results.
Better to try another website to get the information via the IP.
 
Last edited:
Upvote 0
Top