melbardis / elixir-octopart-api

Elixir client for the Octopart API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OctopartApi

Elixir client for the Octopart API.

In development!

OctopartApi Documentation

Documentation for the various fields and queries available for Octopart, view the following links:

Installation

If available in Hex, the package can be installed by adding octopart_api to your list of dependencies in mix.exs:

def deps do
  [
    {:octopart_api, "~> 0.1.0"}
  ]
end

Before User

  1. register with octopart.com and obtain an api key. This is required to gain access to their database. Note: access is rate limited to 3 requests/second. Money can overcome this limitation.
  2. define an environment variable "OCTOPART_APIKEY=<your api key from step 1>"

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/octopart_api.

About

Elixir client for the Octopart API.

License:MIT License


Languages

Language:Elixir 100.0%