Documentation for ExZipcodes.
ExZipcodes
Look up a US zip code.
iex> ExZipcodes.lookup(10011) {:ok, %{ city: "New York", state: "NY" }} iex> ExZipcodes.lookup("not a zip code") {:error, "Zip code not found"}