Ipapi::Client
Constructors
Instance methods
Retrive autonomous system number of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive city name of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive country code (2 letter, ISO 3166-1 alpha-2) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive country code (2 letter, ISO 3166-1 alpha-2) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive area of the country (in sq km) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive country calling code (dial in code, comma separated) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive capital of the country of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive country code (2 letter, ISO 3166-1 alpha-2) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive country code (3 letter, ISO 3166-1 alpha-3) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive short country name of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive population of the country of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive country specific TLD (top-level domain) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive currency code (ISO 4217) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive currency name of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive whether IP address belongs to a country that is a member of the European Union (EU) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive public (external) IP address (same as URL ip) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive languages spoken (comma separated 2 or 3 letter ISO 639 code with optional hyphen separated country suffix) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive latitude of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive comma separated latitude and longitude of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive the location of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive longitude of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive organization name of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive postal code / zip code of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive region name (administrative division) of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive region code of a specific IP address.
If ip_address is nil, use the client's IP.
Retrive timezone (IANA format i.e. “Area/Location”) of a specific IP address.
If ip_address is nil, use the client's IP.