Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 670 Bytes

README.md

File metadata and controls

36 lines (24 loc) · 670 Bytes

ExPolygon

CircleCI

Polygon.io API Client for Elixir

Installation

List the Hex package in your application dependencies.

def deps do
  [
    {:ex_polygon, "~> 0.0.4"}
  ]
end

Run mix deps.get to install.

Configuration

Add the following configuration variables in your config/config.exs file:

use Mix.Config

config :ex_polygon, endpoint: "https://api.polygon.io"

Usage

Pass the api key along to any API calls you make

{:ok, locales} = ExPolygon.Rest.Locales.query("MY_API_KEY")