ChuckNorris
OTP application to consume https://api.chucknorris.io
##
Installation
The package can be installed by adding chuck_norris to your list of dependencies in mix.exs:
def deps do
[
{:chuck_norris, "~> 0.1.0"}
]
endUse
If added as dependency the server will start ChuckNorris.Server and load a joke for each category that could be accessed by:
iex> ChuckNorris.Server.get_jokes
The jokes will be refreshed each 5 min.