Polygon.io API Client for Elixir
List the Hex package in your application dependencies.
def deps do
  [
    {:ex_polygon, "~> 0.0.4"}
  ]
endRun mix deps.get to install.
Add the following configuration variables in your config/config.exs file:
use Mix.Config
config :ex_polygon, endpoint: "https://api.polygon.io"Pass the api key along to any API calls you make
{:ok, locales} = ExPolygon.Rest.Locales.query("MY_API_KEY")