Cloudsight API v0.4.0 CloudsightElixir.Client

Link to this section Summary

Functions

Creates a new client with your authentication information that will be passed to all future methods

Link to this section Types

Link to this type api_key()
api_key() :: binary()
Link to this type t()
t() :: %CloudsightElixir.Client{api_key: api_key(), endpoint: binary()}

Link to this section Functions

Link to this function new(api_key)
new(api_key()) :: t()

Creates a new client with your authentication information that will be passed to all future methods

Examples

iex> CloudsightElixir.Client.new("test_api")
%CloudsightElixir.Client{api_key: "test_api", endpoint: "https://api.cloudsight.ai"}
Link to this function new(api_key, endpoint)