Re: get country from IP_addres.

2021-12-23 Thread Bernard Mallala
In line with prior examples by others, take a look at this complete example leveraging GeoIP2 Get Visitor Location using GeoIP2 in Django https://medium.com/@arrosid/get-visitor-location-using-geoip2-in-django-32ad3d417115 Geolocation with GeoIP2 https://docs.djangoproject.com/en/4.0/ref/contrib

Re: get country from IP_addres.

2021-12-23 Thread Come Now
>From ipinfo.io في الخميس، ١٦ ديسمبر ٢٠٢١ ٤:٠٩ ص Amor Zamora كتب: > 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

Re: get country from IP_addres.

2021-12-16 Thread Agoua David
Hi I think you should use an API to fetch the country and some other information about you users Many site provide a way to get the country of an IP address through an api Le jeu. 16 déc. 2021 à 02:09, Amor Zamora a écrit : > Can you help me? > I need to obtain the country of where the users ac

Re: get country from IP_addres.

2021-12-16 Thread fahad ahmad
There are geoip databases you can download or use api services such as: https://ipgeolocation.io/ to get the information. On Thu, Dec 16, 2021, 09:08 Amor Zamora wrote: > Can you help me? > I need to obtain the country of where the users access from the IP and > insert that information into th

Re: get country from IP_addres.

2021-12-15 Thread Amor Zamora
Thank you very much I review it and let you know if it served me. El jue, 16 dic 2021 a las 3:30, Michael Thomas (< michael.thomas.s...@gmail.com>) escribió: > The geoip2 python package will help you get location information from the > the IP. > Inserting the data into a database via the ORM is

Re: get country from IP_addres.

2021-12-15 Thread Michael Thomas
The geoip2 python package will help you get location information from the the IP. Inserting the data into a database via the ORM is fairly straight forward. If you haven't worked with the ORM yet, this part of the django tutorial should get you pointed in the right direction: https://docs.djangopro

get country from IP_addres.

2021-12-15 Thread Amor Zamora
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