How do I use a API in a console application - C#