mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2024-12-21 01:50:24 +02:00
1.5 KiB
1.5 KiB
sidebar_position |
---|
4 |
Get account information
Gets account information
Function GetAccountInformation(Val Token, Val Account = "") Export
Parameter | CLI option | Type | Destination |
---|---|---|---|
Token | --token | String | Token |
Account | --account | String | Account ID. Current token account if not filled |
Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
Token = "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L...";
Result = OPI_Dropbox.GetAccountInformation(Token);
oint dropbox GetAccountInformation --token "sl.B2ieEHcB9I9BTwJFjbf_MQtoZMKjGYgkpBqzQkvBfuSz41Qpy5r3d7a4ax22I5ILWhd9KLbN5L..." --account %account%
{
"account_id": "dbid:AAA4WKMCfgoW5LwuNQFeLOyp-X4omQiNDhE",
"name": {
"given_name": "Anton",
"surname": "Titovets",
"familiar_name": "Anton",
"display_name": "Anton Titovets",
"abbreviated_name": "АТ"
},
"email": "bayselonarrend@gmail.com",
"email_verified": true,
"disabled": false,
"country": "BY",
"locale": "en",
"referral_link": "https://www.dropbox.com/referrals/AADQceVD6l02CM1dzgLM7s_o8gdaPXKc7oM?src=app9-2724483",
"is_paired": false,
"account_type": {
".tag": "basic"
},
"root_info": {
".tag": "user",
"root_namespace_id": "3179550035",
"home_namespace_id": "3179550035"
}
}