Пример #1
0
        public async Task GetAddressBookItemByAddress()
        {
            ApiResponse response = await AddressBookApi.GetAddressBookItemByAddress("fiiit6ZgKDM5ZyDYhkSWDsUmRZpkbRQf7NWiKT");

            Assert.IsFalse(response.HasError);
            AddressBookInfo result = response.GetResult <AddressBookInfo>();

            Assert.IsNotNull(result);
        }
Пример #2
0
        public Result <AddressBookInfo> GetAddressBookItemByAddress(string address)
        {
            ApiResponse response = AddressBookApi.GetAddressBookItemByAddress(address).Result;

            return(GetResult <AddressBookInfo>(response));
        }