public async void can_get_developer_key() { KeysClient keysClient = new KeysClient(ACCESS_KEY, SECRET_KEY, TenantName.ONEBLINK_TEST); DeveloperKey developerKey = await keysClient.GetDeveloperKey(ACCESS_KEY); Assert.NotNull(developerKey); }
public async Task <DeveloperKey> GetDeveloperKey(string id) { string getUrl = "/keys/" + id; DeveloperKey result = await this.oneBlinkApiClient.GetRequest <DeveloperKey>(getUrl); return(result); }