Current section
Files
Jump to
Current section
Files
src/client@location_area.erl
-module(client@location_area).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch]).
-export([fetch_for_pokemon_with_id/1, fetch_for_pokemon_with_name/1]).
-spec fetch_for_pokemon_with_id(integer()) -> {ok,
list(internal@pokemon@location_area@location_area:location_area())} |
{error, internal@http@error:error()}.
fetch_for_pokemon_with_id(Id) ->
internal@pokemon@location_area@client:fetch_for_pokemon_with_id(Id).
-spec fetch_for_pokemon_with_name(binary()) -> {ok,
list(internal@pokemon@location_area@location_area:location_area())} |
{error, internal@http@error:error()}.
fetch_for_pokemon_with_name(Name) ->
internal@pokemon@location_area@client:fetch_for_pokemon_with_name(Name).