Get position of aircraft

I’m quite a newby to FS2020 SDK, but I’m developing a .NET application for it. I need to get the position of the aircraft to make calculations with it. Is it possible to implement only that or do I have to implement all the requests. I’d be happy about a little code snippet!