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.
25 Feb 2021, 5:03pm
Thank you!

ArtieHello, yes, this is an expected behavior. The ship loadouts are written in the the journal only at the sessions starts or ship swapping, so you need to hop into these ships first.
11 Mar 2021, 9:24am
One thing regarding apps, you can daisy chain them to access online data once a minute then talk to each other in your own system.

INARA - EDSM - EDDM
OTHER ED Modules talk to the EDSM app

This way it not only saves bandwidth across the system, but it deosnt cause any other issues. Been running like this now for 6 moths, no probs.
11 Mar 2021, 11:36am
I'm currently running passenger rescue missions. But the passenger ranks don't go up.
17 Mar 2021, 10:10am
Hi there, I noticed a couple of days ago that my fleet carrier location is not updated, it seems it assumes its in the same location as my main ship, but its not its a couple of 1000 light years away on its own mission, when i update commander stats, it seems to have lost it . is this a bug ? is there anyway to manually update the location of the ship (or crossreff it against inara commander database) , my playstation account occasionally lands on the carrier, so it 'Sees' its wareabouts, but does not seem to push the update either.

hope its fixable

funily enough it seems ok now ? something changed ?


Last edit: 17 Mar 2021, 1:08pm
17 Mar 2021, 10:20am
Hello, the fleet carrier's location (and stats) are updated on EDDN updates (when somebody docked in there) and journal imports (when somebody "saw" it in the star system, docked, or from the other data for the fleet carrier owner). It seems your automatic journal updates stopped a few days ago (it probably requires a re-auth Frontier is forcing each 25 days), so please just make another update via Import Frontier data on your CMDR page and it should start to work again.
17 Mar 2021, 1:09pm
AAAh Thank you for the quick reply, yes it seems indeed it updates again Lovely so there is an inteligence behind it
i live this tool
19 Mar 2021, 1:51pm
Good AM to all..I got home to read the : FRONT PAGE of Website /WWW.INARA.CZ/

"*Pilots Federation ALERT*

Safeguard Interstellar requires deliveries of medicines to treat casualties from the NMLA’s recent terrorist attack."


-Why is this grammatically inaccurate, by default, 'treating casualties' is a lost cause...no pun intended...

Please advise the Role Players to identify things that are almost a bad humor...if read correctly...its just not good story synapsis...right or wrong?

(Ok, no more ranting, its unneeded.)

To replace 'casualties' with 'victims' for obvious reasons is the option A, or ignore. Its ok, too..

(free grammar edit-log 03.20.3307.09.05.AM - incomplete)
19 Mar 2021, 1:55pm
Hello, please report that to Frontier - it was taken from the official source automatically, so it's their wording.
19 Mar 2021, 7:17pm
Resolute3kby default, 'treating casualties' is a lost cause...

Why? If it's because you believe that "casualty" means "dead person" then you are mistaken. Injured people are also casualties.
28 Mar 2021, 2:43pm
Just a heads-up: InaraAPI will be temporarily disabled around the Odyssey alpha start until it will be checked the local journal files are having expected headers, so tools won't be sending your alpha data via API and messing your Inara profiles in a case the headers will be other than expected.
20 May 2021, 6:44pm
Hello CMDRs,

This week I reached tier 2 on The Hunter and The Captain medals. How much points my overall rank should increase with this two achievement?

Thanks in advance.
o7
20 May 2021, 6:49pm
Alexx_camargoHello CMDRs,
This week I reached tier 2 on The Hunter and The Captain medals. How much points my overall rank should increase with this two achievement?
Thanks in advance.
o7

Hello, as the rankings score increase is gradual as the medals progress, you won't see any big increase. Reaching the medal tier doesn't provide any bonus on top of that.
20 May 2021, 6:53pm
Artie
Alexx_camargoHello CMDRs,
This week I reached tier 2 on The Hunter and The Captain medals. How much points my overall rank should increase with this two achievement?
Thanks in advance.
o7


Hello, as the rankings score increase is gradual as the medals progress, you won't see any big increase. Reaching the medal tier doesn't provide any bonus on top of that.


Thanks for clarification.
o7
27 May 2021, 2:12pm
Not sure if this is the place for it (or if it's been addressed already), but some of the data in my Inara account hasn't sync'd with frontier since the 19th. I have EDMC up, though the new 5.0.2 version is throwing some errors. Money data seems to sync (albeit slowly), but ranking data is from the 19th.

Also curious: was told yesterday that the badly jacked up commodity prices have something to do with the FC debacle. I have no insights there but was wondering if anyone knows how long these things generally take to smooth back out? Right now the pricing dB is useful only in the sense that it can get me to a station that buys what I'm selling, but there's no chance the pricing will in the same ballpark. I'm seeing about 50% or less than what the dB is reporting for sales prices. And I've been to MANY stations checking prices. They're all wrong.


Last edit: 27 May 2021, 2:21pm
27 May 2021, 4:05pm
Please try to import the data manually by pressing the Import Frontier data button on your commander page, there are still some journals in the last queue and this will move it forward (so it will make an update and puts it also into the regular queues).

About the prices - there was some change in how some commodities are prices with the Odyssey launch (like Gold), but those should be back in normal, as far as I know and see in the data. Otherwise, I am not aware any other issue, there is just the regular bulk sale tax, etc. as it was before. Do you have some specific example (station names and for what commodity), please?

Post a reply

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