Skip to content

mithereal/ex_speedtest

Repository files navigation

Speedtest

Hex Docs Hex.pm License Last Updated

Elixir module for testing internet bandwidth using speedtest.net

Installation

If available in Hex, the package can be installed by adding speedtest to your list of dependencies in mix.exs:

def deps do
  [
    {:speedtest, "~> 1.1.1"}
  ]
end

Usage

iex> Speedtest.run()

Configuration (optional)

config :speedtest,
 key: "xxx",
threads: nil,
 include: nil,
exclude: nil

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/speedtest.