ExCrowdin.API behaviour (ex_crowdin v0.2.3)

Utilities for interacting with the Crowdin API v2.

Link to this section Summary

Link to this section Types

Specs

body() :: iodata() | {:multipart, list()}

Specs

headers() :: %{required(String.t()) => String.t()} | %{}

Specs

method() :: :get | :post | :put | :delete | :patch

Link to this section Functions

Link to this function

project_path(project_id, path)

Link to this function

request(path, method, body \\ "", headers \\ %{}, opts \\ [])

Specs

request(String.t(), method(), body(), headers(), list()) ::
  {:ok, map()} | {:error, any()}

Link to this section Callbacks

Link to this callback

project_path(arg1, arg2)

Specs

project_path(String.t(), String.t()) :: String.t()