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
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) :: Account
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
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, binary()) :: Account
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