https://github.com/melbardis/elixir-octopart-api
Elixir client for the Octopart API.
https://github.com/melbardis/elixir-octopart-api
elixir library octopart
Last synced: 4 months ago
JSON representation
Elixir client for the Octopart API.
- Host: GitHub
- URL: https://github.com/melbardis/elixir-octopart-api
- Owner: melbardis
- License: mit
- Created: 2018-09-09T20:53:41.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-25T18:23:46.000Z (over 7 years ago)
- Last Synced: 2025-10-31T22:00:56.215Z (8 months ago)
- Topics: elixir, library, octopart
- Language: Elixir
- Size: 29.3 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
- [Overview](https://octopart.com/api/docs/v3/overview)
- [Search Tutorial](https://octopart.com/api/docs/v3/search-tutorial)
- [Rest API Reference](https://octopart.com/api/docs/v3/rest-api)
## Installation
If [available in Hex](https://hex.pm/docs/publish), the package can be installed
by adding `octopart_api` to your list of dependencies in `mix.exs`:
```elixir
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="
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
be found at [https://hexdocs.pm/octopart_api](https://hexdocs.pm/octopart_api).