Elixir interface for the Lokalise APIv2.
View the Project on GitHub lokalise/elixir-lokalise-api
{:ok, users} = ElixirLokaliseApi.TeamUsers.all(team_id, limit: 1, page: 2)
user = hd(users.items)
user.user_id
{:ok, user} = ElixirLokaliseApi.TeamUsers.find(team_id, user_id)
user.user_id
data = %{
role: "admin"
}
{:ok, user} = ElixirLokaliseApi.TeamUsers.update(team_id, user_id, data)
user.user_id
{:ok, resp} = ElixirLokaliseApi.TeamUsers.delete(team_id, user_id)
resp.team_user_deleted