OpenNodex v0.3.2 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

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"}