Inara API

More about Inara API is on the API page, general dev guidelines are here and more detailed documentation about the events and data format here.

Just a note for tool authors using Inara API - please ensure your apps are doing  TWO requests per minute AT MAXIMUM. As I have discovered, many users are using multiple apps at once (nothing wrong with that), but are also updating their profiles from all of the applications at once, which is causing quite serious overhead. For such reason, I have needed to make API requests limits much tighter. For bots and other similar non-demanding apps are requests rates set same as before. If do you need another requests rate limit, please send me a PM.

Inara API update for Odyssey:
  • The header property isDeveloped was renamed to less confusing isBeingDeveloped. You don't need to change anything on your end though, the old property will still work.
  • A new event addCommanderTravelLand for commanders landing on the celestial body was added (should be triggered at journal's Touchdown, DropShipDeploy and similar).
  • The events addCommanderTravelCarrierJump, addCommanderTravelDock, addCommanderTravelFSDJump and setCommanderTravelLocation now contain optional properties for the star system coordinates, celestial body and celestial body coordinates. It's not required to set, it may however help to further precise commander's location when the star system is not in the database, etc.
  • The events addCommanderTravelDock, addCommanderTravelFSDJump and addCommanderTravelLand are now having boolean properties isTaxiShuttle and isTaxiDropship for travelling with Apex or Frontline Solutions ships.
  • New events setCommanderInventory, resetCommanderInventory, setCommanderInventoryItem, addCommanderInventoryItem and delCommanderInventoryItem added. Those are supposed for handling the new Odyssey events like ShipLockerMaterials and similar, you can however use it also for the existing engineering materials or ship cargo instead of the existing dedicated events (but you do not need to, they are not going anywhere).
  • New events setCommanderSuitLoadout, updateCommanderSuitLoadout and delCommanderSuitLoadout for the suit loadouts added.
01 Dec 2019, 11:37pm
https://cdn.discordapp.com/attachments/494935059481231360/650744790195109928/Capture.JPG

Hi What are these states? Are they inara placeholders or were they found in the API and added for future updates?
I noticed Inara updated today with unknown states frontier has not mentioned.
They are:
Historic event
colonizaiton
technological leap
cold war
trade war.
i may have missed another.
someone help me out here? I've hunted all day to figure out if this is a placeholder or something found in ED's data...
01 Dec 2019, 11:48pm
It's something that may or may not be used in the game in the future. I don't know if it will appear in the game nor how it does work, it's just a preparation to be sure it won't be missed in a case such states will appear.
01 Dec 2019, 11:58pm
ArtieIt's something that may or may not be used in the game in the future. I don't know if it will appear in the game nor how it does work, it's just a preparation to be sure it won't be missed in a case such states will appear.


so you didn't make them up in anticipation of additional states? How'd you come across them?
02 Dec 2019, 12:09am
Those were provided by FDev to 3rd party developers (as identifiers/variables names, so we can handle the conversions from journal records when needed) without any further details. As I said, outside of those states announced in the beta patch notes there is no guarantee any other will appear in the game. It was just simpler to update and adjust everything at once on the site to me, so those are listed here.
02 Dec 2019, 12:32am
ArtieThose were provided by FDev to 3rd party developers (as identifiers/variables names, so we can handle the conversions from journal records when needed) without any further details. As I said, outside of those states announced in the beta patch notes there is no guarantee any other will appear in the game. It was just simpler to update and adjust everything at once on the site to me, so those are listed here.


Thank you very much!
17 Dec 2019, 9:41pm
How do I switch my API login information?
I have the Frontier Dev login stuck and it shows me as PC, but I want to switch it to Xbox.
17 Dec 2019, 10:06pm
In the Settings here on Inara is the "Reset link" button, which will disconnect your Inara and Frontier account (so you can use another account on the next account linking).
18 Dec 2019, 6:41pm
ArtieIn the Settings here on Inara is the "Reset link" button, which will disconnect your Inara and Frontier account (so you can use another account on the next account linking).



Thanks Artie. I have it all synced up again.
31 Dec 2019, 12:00pm
How can I update factions influence with Inara?
04 Jan 2020, 4:43pm
When I update from my linked Frontier account, my account is filled with random ships that I don't own. Including ones I can't even buy, like a Cutter. One of them has a non-random ID so it's clearly some other player's ship.
04 Jan 2020, 8:36pm
Deadlock-989When I update from my linked Frontier account, my account is filled with random ships that I don't own. Including ones I can't even buy, like a Cutter. One of them has a non-random ID so it's clearly some other player's ship.

That's really odd and indeed - it seems those are ships of other players (randomly, not ships of one particular player). As there is not technically possible to fetch data of other players on the individual OAuth session and as this issue was not met before here on Inara, it may be a problem of the data served by Frontier. But to check this, do you can please make an update (via Import Frontier data) to fetch a new journals, so I will be able to take a look into the logs?
04 Jan 2020, 10:12pm
They look garbled somehow - none of them have names, but the one has that custom ID, but all the prices/values are completely wrong.

I just did another manual update. No new ships were added.
04 Jan 2020, 10:43pm
Thanks, I've found the problem. It seems that under certain circumstances when in multicrew, the ship Loadout event is written into the journals despite the fact it's not your own ship (which subsequently cause such ship is being added to the fleet, including the odd hull/module values which are there). I was not aware it may happen and I am also not sure it is an intended behavior, but apparently it can under some conditions. I will omit all changes when in multicrew, which should solve the problem (the update will be deployed as soon as possible). Thank you very much for bringing this to my attention.
04 Jan 2020, 10:46pm
That would explain it. I have been doing some MC recently and it has been a mixture of Condas, Kraits and the occasional Cutter, which matches the ships seen in the update. Thanks for investigating.
09 Jan 2020, 10:14pm
I'm getting an error "Error: There was not possible to update your commander data." when updating from Xbox. It used to work fine and was on auto update.

I did recently purchase Jurassic World.

Post a reply

You must be signed in to post here.
Inara API is... well... see sticky post for the details.