NodePing.Information.get_locations
You're seeing just the function
get_locations
, go back to NodePing.Information module for more information.
Get region location information, the region name and list of probe locations.
Parameters
token
- NodePing API token that is provided with account
Examples
iex> token = System.fetch_env!("TOKEN")
iex> {:ok, result} = NodePing.Information.get_locations(token)
iex> Map.keys(result)
["eao", "eur", "lam", "nam", "wlw"]
Get region location information, the region name and list of probe locations.
Parameters
token
- NodePing API token that is provided with account
Examples
iex> token = System.fetch_env!("TOKEN")
iex> {:ok, result} = NodePing.Information.get_locations(token, "nam")
iex> Map.keys(result)
["locations", "regionname"]