Elixir tools for accessing the WorldPing API (see https://worldping.raintank.io).
-
Add worldping to your list of dependencies in
mix.exs
:def deps do [{:worldping, "~> 0.0.1", github: "boringbutgreat/worldping"}] end
-
Ensure worldping is started before your application:
def application do [applications: [:worldping]] end
-
Configure the api_key environment variable in your config files:
config :worldping, api_key: "bearer <your_key>"
config :worldping, api_host: "test"