OpenNodex v0.3.0 OpenNodex.Client View Source
Configuration struct for the OpenNodex client.
Link to this section Summary
Functions
Creates a new OpenNodex client with api_key
(created on the opennode.co
console) and either the default base url, or a specified base_url
Link to this section Functions
Link to this function
new(api_key) View Source
Creates a new OpenNodex client with api_key
(created on the opennode.co
console) and either the default base url, or a specified base_url
.
Examples
iex> OpenNodex.Client.new("test-key")
%OpenNodex.Client{api_key: "test-key", base_url: "https://api.opennode.co/v1"}
Link to this function