ElixirDropbox v0.0.8 ElixirDropbox.Users

Link to this section 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

Link to this section Functions

Link to this function current_account(client)
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

Link to this function current_account_to_struct(client)
current_account_to_struct(Client) :: Account
Link to this function get_account(client, id)
get_account(Client, binary()) :: Map

Get user account by account_id

Example

ElixirDropbox.Users client, “TOKEN”

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

Link to this function get_account_batch(client, account_ids)
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

Link to this function get_account_to_struct(client, id)
get_account_to_struct(Client, binary()) :: Account
Link to this function get_space_usage(client)
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

Link to this function get_space_usage_to_struct(client)