- Notifications
You must be signed in to change notification settings - Fork1
Find Russian and Ukraine city by IP address and find country for other country Elixir
License
NotificationsYou must be signed in to change notification settings
sergey-chechaev/elixir_ipgeobase
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Find Russian and Ukraine city by IP address and find country for other country. Sourcehttp://ipgeobase.ru/
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"Itavailable in Hex, the package can be installed as:
Add ipgeobase to your list of dependencies in
mix.exs:def deps do[{:ipgeobase, "~> 0.0.1"}]end
Ensure ipgeobase is started before your application:
def application do[applications: [:ipgeobase]]end
About
Find Russian and Ukraine city by IP address and find country for other country Elixir
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.