ex_idobata v0.3.0 ExIdobata.API.Room

A module of room of idobata.io.

See idobata public API.

Link to this section Summary

Functions

Gets list of rooms.

Link to this section Types

Link to this type

access_token()

access_token() :: String.t() | ExIdobata.API.AccessToken.t()
Link to this type

t()

t() :: %ExIdobata.API.Room{
  id: String.t(),
  name: String.t(),
  organization: String.t()
}

Link to this section Functions

Link to this function

get(access_token)

(since 0.2.0)
get(access_token()) :: [map()]

Gets list of rooms.

It returns like bellow.

[
  %ExIdobata.API.Room{id: "aaaaaaa", name: "room1", organization: "foo"},
  %ExIdobata.API.Room{id: "bbbbbbb", name: "room2", organization: "foo"},
  %ExIdobata.API.Room{id: "ccccccc", name: "room3", organization: "bar"}
]