Logo

0x5a.live

for different kinds of informations and explorations.

GitHub - sergey-chechaev/elixir_ipgeobase: Find Russian and Ukraine city by IP address and find country for other country Elixir

Find Russian and Ukraine city by IP address and find country for other country Elixir - sergey-chechaev/elixir_ipgeobase

Visit SiteGitHub - sergey-chechaev/elixir_ipgeobase: Find Russian and Ukraine city by IP address and find country for other country Elixir

GitHub - sergey-chechaev/elixir_ipgeobase: Find Russian and Ukraine city by IP address and find country for other country Elixir

Find Russian and Ukraine city by IP address and find country for other country Elixir - sergey-chechaev/elixir_ipgeobase

Powered by 0x5a.live 💗

Ipgeobase

Find Russian and Ukraine city by IP address and find country for other country. Source http://ipgeobase.ru/

Examples

  iex> ip = Ipgeobase.find_by_ip("46.188.121.160")
  %Ipgeobase{city: "Москва", country: "RU"}
  iex> ip.city
  "Москва"
  iex> ip.country
  "RU"
  
  iex> Ipgeobase.find_by_ip("5.10.159.255")
  %Ipgeobase{city: "", country: "GB"}
  iex> ip.country
  "GB"

Installation

It available in Hex, the package can be installed as:

  1. Add ipgeobase to your list of dependencies in mix.exs:

    def deps do [{:ipgeobase, "~> 0.0.1"}] end

  2. Ensure ipgeobase is started before your application:

    def application do [applications: [:ipgeobase]] end

Elixir Resources

are all listed below.

Resources

listed to get explored on!!

Made with ❤️

to provide different kinds of informations and resources.