wifi_password v0.1.1 WifiPassword View Source

Documentation for WifiPassword.

Link to this section Summary

Functions

Returns the password of your a given router based on its ssid

Link to this section Functions

Specs

get(binary()) :: {:error, :denied | :not_found} | {:ok, binary()}

Returns the password of your a given router based on its ssid

Examples

iex> WifiPassword.get("my-router")
{:ok, "YoUrWiFiPasSwOrD"}

iex> WifiPassword.get("my-invalid-router")
{:error, :not_found}