Elixir client for the Octopart API.
In development!
Documentation for the various fields and queries available for Octopart, view the following links:
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
- 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.
- 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.