You can try this json api.
https://www.geoplugin.com/webservices/json

I believe there's a lot of services out there with this capability.

On Thu, 16 Dec 2021 at 10:13, Amor Zamora <[email protected]> wrote:

>
> Can you help me?
> I need to obtain the country of where the users access from the IP and
> insert that information into the sqlite3 database.
>
> Little description.
> I have an application that I have to do the statistics and insert into the
> sqlite3 database, the IP information, the country from which it is
> accessed, who generates the information and how many times has clicked on
> the application.
> Question 1 is that I cannot find any suitable module in DJango that allows
> me to combine the information described above.
> I am using. IP_address, os, daemonize and socket and I don't quite realize
> how to get the country from where it is accessed.
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKMTbHVU%2BkJQw%2B8wnA7U__x7zCnrd%3DyvA%2BwmwFta2cPDwS6%2BMg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKMTbHVU%2BkJQw%2B8wnA7U__x7zCnrd%3DyvA%2BwmwFta2cPDwS6%2BMg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFKhtoQQ8e41eV7p_ZCsJReg%2BZqVAHR%2BUjfmwjXpYMvCZ-SEpw%40mail.gmail.com.

Reply via email to