http://fucking-great-advice.ru API wrapper for Elixir
The package can be installed from hex:
- Add
fucking_great_advice
to your list of dependencies inmix.exs
:
def deps do
[{:fucking_great_advice, "~> 0.0.1"}]
end
- Ensure
fucking_great_advice
is started before your application:
def application do
[applications: [:fucking_great_advice]]
end
- Run one of the API methods:
iex(1)> FuckingGreatAdvice.random
%FuckingGreatAdvice.Model.Advice{id: "15777", sound: "",
text: "Ставь блять конкретные сроки!"}
Copyright © 2017 Marat Galiev <kazanlug@gmail.com>
This work is free. You can redistribute it and/or modify it under the
terms of the MIT License. See the LICENSE file for more details.