public async Task SearchAuthors() { var request = new SearchAuthorsRequest { Languages = { "C#" }, Location = "New York", Projects = Range.Create(5, int.MaxValue) }; var response = _client.SearchAuthors(request); Assert.IsNotNull(response); Assert.IsNotEmpty(response); }
/// <summary> /// Search the authors database for specific criteria /// </summary> /// <param name="request">Object with the search criteria</param> /// <returns>List of matching authors</returns> public List <Author> SearchAuthors(SearchAuthorsRequest request) { return(Execute(request).Result); }