Popularity
1.4
Declining
Activity
0.0
Stable
7
2
1
Monthly Downloads: 4
Programming language: Elixir
License: MIT License
Tags:
Geolocation
ipgeobase alternatives and similar packages
Based on the "Geolocation" category.
Alternatively, view ipgeobase alternatives based on common mentions on social networks and blogs.
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
Promo
coderabbit.ai
Do you think we are missing an alternative of ipgeobase or a related project?
README
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:
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