ElixirDropbox v0.0.2 ElixirDropbox.Users

Summary

Functions

Get user current account

Get user account by account_id

Get user account batch by account_ids.List of user account identifiers

Get user space usage

Functions

current_account(client)

Specs

current_account(Client) :: Map

Get user current account

Example

ElixirDropbox.Users.current_account client

More info at: https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account

current_account_to_struct(client)

Specs

current_account_to_struct(Client) :: Account
get_account(client, id)

Specs

get_account(Client, binary) :: Map

Get user account by account_id

Example

ElixirDropbox.Users client, “dbid:AABYkM-pR8ynnNPIVBjMTPRrIyuT4bgtest”

More info at: https://www.dropbox.com/developers/documentation/http/documentation#users-get_current_account

get_account_batch(client, account_ids)

Specs

get_account_batch(Client, binary) :: Map

Get user account batch by account_ids.List of user account identifiers

Example

ElixirDropbox.Users.get_account_batch client, ["12345", "6789"]

More info at: https://www.dropbox.com/developers/documentation/http/documentation#users-get_account_batch

get_account_to_struct(client, id)

Specs

get_account_to_struct(Client, binary) :: Account
get_space_usage(client)

Specs

get_space_usage(Client) :: Map

Get user space usage

Example

ElixirDropbox.Users.get_space_usage client

More info at: https://www.dropbox.com/developers/documentation/http/documentation#users-get_space_usage

get_space_usage_to_struct(client)