Packages

a simple wrapper of stockfighter http api

Current section

Files

Jump to
stockfighter lib stockfighter.ex
Raw

lib/stockfighter.ex

defmodule Stockfighter do
@endpoint "https://api.stockfighter.io/ob/api"
use HTTPoison.Base
# override process_url in HTTPoison.Base
defp process_url(url) do
Path.join(@endpoint, url)
end
end