i am having trouble configuring this API https://pipl.com/dev/
i have this code in page load event, but the problem is that it keep on loading the page once i click on "veiw page in browser".
Code
protected void Page_Load(object sender, EventArgs e)Code
{Code
RunAsync().Wait();Code
}Code
static async Task RunAsync()Code
{Code
SearchAPIRequest req = new SearchAPIRequest(email: "[email protected]");Code
SearchAPIResponse resp = await req.SendAsync();Code
Console.Out.WriteLine(resp.Image.GetThumbnailUrl(200, 100, true, true));Code
Console.Out.WriteLine(resp.Name);Code
Console.Out.WriteLine(resp.Education);Code
Console.Out.WriteLine(resp.Username);Code
Console.Out.WriteLine(resp.Address);Code
var jobs = resp.Person.Jobs.Select(j => j.ToString());Code
Console.Out.WriteLine(String.Join(", ", jobs));Code
Console.Out.WriteLine();Code
var relationships = resp.Person.Relationships.Select(r => r.Names[0]);Code
Console.Out.WriteLine(String.Join(", ", relationships)); Console.Out.WriteLine();Code
}Am i missing some code ? or any thing else.. please guide.
PS: I have already installed their package with "PM> Install-Package piplclient"
Answers
Know the answer? Post it. Somebody with the same question will find it here.