DataForSeo v0.3.3 DataForSeo.Behaviour behaviour View Source

A definition of the intended behavior of the core functions.

Link to this section Summary

Link to this section Callbacks

Link to this callback

configure()

View Source
configure() :: Keyword.t() | nil
Link to this callback

configure(arg1)

View Source
configure(Keyword.t()) :: :ok
Link to this callback

configure(arg1, arg2)

View Source
configure(:global | :process, Keyword.t()) :: :ok
Link to this callback

task_get(arg1, list)

View Source
task_get(String.t(), list()) ::
  {:ok, DataForSeo.Serp.GetTask.Response.t() | map()} | {:error, String.t()}
Link to this callback

task_post(arg1, arg2)

View Source
task_post(String.t() | [String.t()] | map(), Keyword.t()) ::
  {:ok, DataForSeo.Serp.Response.t()} | {:error, String.t()}
Link to this callback

tasks_ready()

View Source
tasks_ready() :: {:ok, DataForSeo.Serp.Response.t()} | {:error, String.t()}