AioGeoIP implements the functionality of storing requests already made in a
set object so
that it is not necessary to waste computer and network resources making the same request
made previously, in addition to containing methods to obtain a history of the last 100 records.
You can use the function
geoip by the class
AioGeoIP (). Geoip or directly with import
from aiogeoip import geoip.
Class for optimizing the use of Geolocation by IP
It is a class that stores the last 100
Geolocationobjects so that no more than one request is made to the same IP address.
returns a Geolocation object from the IPv4 address.
ip (str) – IPv4 address.
returns all stored