Hey! I am building a system to make FPL’s in JS using the Simbrief API. I have 2 questions:
- An example of unexpected outputs is the reserve fuel, I collect the input as so:
<label for="resvrule" class="form-label">Reserve Fuel (Mins)</label>
<input type="number" name="resvrule" class="form-control" placeholder="45">
and I see it set in the api_params in the output. However, on the simbrief dashboard and in the API output, the reserve fuel is not 0, it is much higher, like 800 for example. Why?
- How can I get the runways of an airport? I would like my users to be able to select a runway of an airport for their departure or arrival, but I have no clue where to get this data from, is there an API I can use or do I need to find my own database or an external API for this?
Many thanks,
Robin
Hi, the resvrule
option is in minutes of flight time. Not an absolute fuel amount.
Currently the SimBrief API does not return a choice of runways for a given airport, you would need to implement this yourself. Navigraph has separate APIs that can provide this: Introduction to Navigation Data | Navigraph Developer Portal
Feel free to reach out to the email address on that portal.
Best regards,
1 Like
Hello, thanks for the quick reply!
I understand about the resvrule, I thought that if I inputted 0 minutes on reserve fuel, it would output 0 Kg of reserve fuel, perhaps 1 minute would be 20Kg depending on fuel usage on that particular aircraft.
I have another quick question, is it possible to pass max as cargo or passengers? So that it selects the maximum number of passengers/cargo on that aircraft?
Thanks