View Source ExPersona.Client (ex_persona v1.0.1)

Make requests to the API.

The requests are made using ExPersona.Client.Operations.

Link to this section Summary

Functions

Make a GET request to the API at the given URL.

Call the API with the given ExPersona.Client.Operation.

Call the API with the given ExPersona.Client.Operation.

Link to this section Functions

Link to this function

get(url, headers, params)

View Source
@spec get(String.t(), [{atom(), String.t()}], list()) ::
  {:ok, binary(), list()} | {:error, String.t()}

Make a GET request to the API at the given URL.

@spec request!(ExPersona.Client.Operation.t()) :: struct()

Call the API with the given ExPersona.Client.Operation.

This function throws an error if there was any issue calling the API.

Call the API with the given ExPersona.Client.Operation.