CountryLookup (country_lookup v0.0.2)
View SourceSummary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Lookup by area code (e.g., "7840", "93", "35818"). Returns a map: %{name: ..., flag_svg: ...} or nil if not found.
Search countries by (partial) name, case-insensitive. Returns a list of maps: [%{name: ..., flag_image: ...}, ...]
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.init/1
.
Lookup by area code (e.g., "7840", "93", "35818"). Returns a map: %{name: ..., flag_svg: ...} or nil if not found.
Search countries by (partial) name, case-insensitive. Returns a list of maps: [%{name: ..., flag_image: ...}, ...]