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.
16 Nov 2017, 5:47pm
Hmmm... it should be reliable with the jumps/docks. The only possible problems which come on my mind may be on the board flipping (returns to the menu and back), but I didn't tested it. May that be the case?
16 Nov 2017, 5:58pm
ArtieHmmm... it should be reliable with the jumps/docks. The only possible problems which come on my mind may be on the board flipping (returns to the menu and back), but I didn't tested it. May that be the case?


I do a lot of board hopping to get missions before starting my mission run
17 Nov 2017, 7:00pm
At least the data EDMC reports seems wrong. My credits are reported correctly, my assets however are reported 600 mil lower than the ingame screen says. Will try Mr SheepSheep's plugin to see if the game is reporting wrong data or EDMC.
17 Nov 2017, 8:03pm
NumaAt least the data EDMC reports seems wrong. My credits are reported correctly, my assets however are reported 600 mil lower than the ingame screen says. Will try Mr SheepSheep's plugin to see if the game is reporting wrong data or EDMC.

Well, the game should not report wrong data. Maybe EDMC didn't detect all of your ships and Inara cannot calculate your assets accordingly.
18 Nov 2017, 1:55pm
EDMC is not collating all the mission data when I board hop between solo/open/private group and complete them. For example I undertook and completed 10 mission last night in this way. EDMC did not update inara when I checked both last night and before I started playing ED. Still no update as I undertook more mission by board hoping today and is failing to update all the missions. I have had to manually update the record
18 Nov 2017, 8:10pm
JetkarEDMC is not collating all the mission data when I board hop between solo/open/private group and complete them. For example I undertook and completed 10 mission last night in this way. EDMC did not update inara when I checked both last night and before I started playing ED. Still no update as I undertook more mission by board hoping today and is failing to update all the missions. I have had to manually update the record

Are you talking about EDMC or my EDMC plugin ?
In both cases, check your API Logs to see what happened.
18 Nov 2017, 8:41pm
MrSheepSheep Are you talking about EDMC or my EDMC plugin ?
In both cases, check your API Logs to see what happened.


I checked the logs that don't show any errors.   I did conduct further tests and found when in solo mode I had no issue and it appear the same when I switched from solo to open play. I will continue to assess it to ascertain what is causing loss of automated mission updates


Last edit: 18 Nov 2017, 8:47pm
19 Nov 2017, 9:32am
Ok I carried out further test this morning I took a total of 13 missions  7 in solo, 3 in open play and remainder in solo EDMC/plugin only recorded the last 4 mission I collected and completed. According to Api log their were 16 events no warning or errors. I cannot tell if the plugin and  or EDMC is at fault. If a player uses EDMC/plugin in one sort of mode of play its great!!

Last edit: 19 Nov 2017, 9:41am
19 Nov 2017, 10:32am
On EDSM do you have to input your Cmdr name and API every time that you log on.
As you cant copy and paste the code in the box it makes the app unusable for me.
I did have it all working last night, and this morning I had an email that I hade obtained a new badge.

Or is it that I am doing something wrong?
19 Nov 2017, 10:37am
ScorpionOn EDSM do you have to input your Cmdr name and API every time that you log on.
As you cant copy and paste the code in the box it makes the app unusable for me.
I did have it all working last night, and this morning I had an email that I hade obtained a new badge.

Or is it that I am doing something wrong?


I experienced a similar issue what I do is launch the game once at main menu launch EDMC and it should work retaining your login info
19 Nov 2017, 11:46am
JetkarI cannot tell if the plugin and  or EDMC is at fault. If a player uses EDMC/plugin in one sort of mode of play its great!!

There's a bug in EDMC's Inara support that causes it to lose Mission (and some other events) when board hopping. Will be fixed in the next release.
19 Nov 2017, 12:05pm
ScorpionOn EDSM do you have to input your Cmdr name and API every time that you log on.

No.

As you cant copy and paste the code in the box it makes the app unusable for me.
You can't edit your Frontier, Inara or EDSM credentials in the app while E:D is sitting at the main menu, since the app doesn't know your Cmdr name at that time. Enter the game if you need to change these settings in the app.
19 Nov 2017, 12:05pm
Otis B. There's a bug in EDMC's Inara support that causes it to lose Mission (and some other events) when board hopping. Will be fixed in the next release.


That's good to know
19 Nov 2017, 12:21pm
JetkarThat's good to know
Thanks for investigating. Next release should be later today.
20 Nov 2017, 7:29am
Greetings, I wanted ask if there is InaraAPI support for rank promotion? I saw that this information is not automatically added to the Achievement  log. (as temporary solution I uploaded game journals (3 entries, in 2nd was promotion info) from my last play day and mentioned entry was added)

Last edit: 20 Nov 2017, 10:30am

Post a reply

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