Packages

The Prop Odds API allows you to query player and game prop odds from different bookies.

Current section

Files

Jump to
prop_odds_api config runtime.exs
Raw

config/runtime.exs

import Config
# config/runtime.exs is executed for all environments, including
# during releases. It is executed after compilation and before the
# system starts, so it is typically used to load production configuration
# and secrets from environment variables or elsewhere. Do not define
# any compile-time configuration in here, as it won't be applied.
# The block below contains prod specific runtime configuration.
if base_url = System.get_env("PROP_ODDS_API_BASE_URI") do
config :prop_odds_api, base_url: base_url
end