SDK / API Help

I’ve spent countless hours trying to get a working connection to the MSFS 2024 SDK and SimConnect, but I’m stuck. My goal is to access GPS variables in MSFS 2024, specifically values like (basically anything, potentially, on the 2024 GPS Variables page):

MSFS 2024 - GPS Variables

  • FlightPlanDestinationAirportIdent
  • FlightPlanDestinationName

(Reference: MSFS 2024 GPS Variables)

I’ve read through the documentation multiple times, but I’m struggling to understand how to actually retrieve these values in a working script. Ideally, I want to write this data to L: variables so my Stream Deck can access and display it. I know this is a ‘me’ issue I just need some guidance getting started down the correct path.

I’m looking for someone who can tutor me and help me get a basic script up and running. If I can get a solid foundation and a simple example (I have looked at some of the provided examples), I’m confident I can build from there. My programming experience is limited, and while I’m eager to learn, frustration is starting to get in the way.

If you’re interested in helping me learn the basics of using the MSFS SDK/API’s, I’d really appreciate it—and I’m happy to compensate you for your time.

Some of the tools I have been playing around with:

  1. Axis and Ohs
  2. Spad.Next
  3. Notepad++
  4. Visual Studio 22
  5. StreamDeck Software

Thanks in advance!

I’m feeling lost and would love to pay someone for some guidance.

Let me explain what I’m trying to do. This is likely my fault—I’m not a programmer, but I want to learn the basics so I can continue my education through online resources like YouTube. My goal is to eventually become proficient.

I want to access various GPS-related data in Microsoft Flight Simulator 2024, such as:

  • WaypointAirportDepartureName
  • NearestAirportCurrentICAO
  • NearestNdbCurrentIdent
  • FlightPlanDepartureAirportIdent
  • FlightPlanDestinationAirportIdent
  • FlightPlanDestinationName

These are just examples from the MSFS 2024 GPS Variables page. However, I’ve been advised (by @saschl) that these are legacy variables, and I should instead use the SimConnect API:

:backhand_index_pointing_right: SimConnect API Reference

Right now, terms like SDK, API, SimConnect, JavaScript, WASM, etc., are beyond my current understanding. I’m struggling to figure out the first step in setting up a working environment.

My Goal:

I want to collect specific flight data from MSFS 2024 (such as the GPS variables mentioned earlier) and write them to an L: variable so I can display or manipulate them using my Stream Deck.

What I Need:

I need help setting up a basic framework that allows me to access and work with MSFS 2024 data through SimConnect, the MSFS SDK, and JavaScript options like:

  • Facility Data: Using JS_LISTENER_FACILITY for Coherent listener API calls or the SimConnect Facilities API in WASM.
  • Flight Plan Data: Using JS_LISTENER_PLANNEDROUTE or the Planned Route API in WASM.
  • Geographical & Navigational Math: Using GeoPoint, GeoCircle, and NavMath from the MSFS Avionics Framework.

Willing to Pay for Help:

I am offering $50 for the first hour, then $25/hour for additional help if needed. Whether you can tutor me, point me in the right direction, or help me get started, I’d really appreciate it.

If you’re interested in helping a nice guy get started, I’d be eternally grateful!