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.
24 Apr 2018, 10:09pm
ED_RecluseThanks!! I do use EDMC...but I didn't realize it had that feature... Appreciate the tip!

..Just tried it.. WORKS PERFECTLY!!


You can also change if you want it to open in ED Shipyard or Coriolis. I prefer Coriolis' interface, but EDSY updates faster. Coriolis still isn't up to date on 3.0.
18 May 2018, 7:10pm
I'm using the EDMC and have added the Inara plugin. I've added both my API key and my login credentials, but every time I start EDMC, I see:

Inara: 12:03 - Cannot login!

I have verified that my login and password are correct. My general Inarra stuff is being updated via the API key (except my DBX is showing as a value of 0cr).

Toughts?
18 May 2018, 8:41pm
The plugin seems to be obsolete at this moment, unfortunately. Please use default EDMC without any plugin and just use the Inara API key. It should work fine.
19 May 2018, 9:55pm
ArtieThe plugin seems to be obsolete at this moment, unfortunately. Please use default EDMC without any plugin and just use the Inara API key. It should work fine.


Thanks, Artie. I tried the plugin because the standard API access wasn't updating my ship or engineer access info.

I will pull it, though.
24 May 2018, 8:48pm
I was wondering, can I force an update for Inara from EDMC? For some reason certain things, like the credit balance can take several days before it updates even tho I’ve been active and playing daily(with EDMC open and no apparent errors). My balance stays the same for 4-5 days, then suddenly jumps 4-5 mill but other things seem to update more frequently, like what ship I’m flying or active system, so I have no idea why that is? Also, is there any way to tell when it updates like a ‘last import 05/23 2:45 pm sort of thing?
Im currently doing the mad dash weekend sprint for mats and engineers but I have no idea if the stock I see in Inara is correct or not. If I’ve missed something obvious, please excuse me -I’m pretty new at this
25 May 2018, 9:15am
EDMC updates credits just on a change higher than 5% (or something like that), so it's quite possible. As far as I know, there is currently no way how to force the credits update in it (but you may try to request a feature on EDMC github page, for example in a form of some settings when the credits should be updated). For the material/cargo page there is a time of the last update below the table. All the stuff is usually updated on jumps, docks, etc.
25 May 2018, 9:20am
I cant get EDMC to update my cargo list, its showing invalid credentials even though i ctrl +c ctrl_v the api into the edmc ?

Any ideas ?
25 May 2018, 10:17am
Invalid credentials error has nothing to do with Inara API. If you are using some old EDMC plug-in for Inara, please uninstall it. Otherwise no idea...
25 May 2018, 1:01pm
BL1PI cant get EDMC to update my cargo list, its showing invalid credentials even though i ctrl +c ctrl_v the api into the edmc ?

Any ideas ?


I've had this before, the solution (from the EDMC bug tracker):
Re-enter your new password in the app
Quit the app
Delete the file C:\Users\*you*\AppData\Local\EDMarketConnector\cookies.txt
Re-start the app
26 May 2018, 11:59pm
Phelbore
BL1PI cant get EDMC to update my cargo list, its showing invalid credentials even though i ctrl +c ctrl_v the api into the edmc ?

Any ideas ?



I've had this before, the solution (from the EDMC bug tracker):
Re-enter your new password in the app
Quit the app
Delete the file C:\Users\*you*\AppData\Local\EDMarketConnector\cookies.txt
Re-start the app



Thanks !
28 May 2018, 12:02am
ArtieEDMC updates credits just on a change higher than 5% (or something like that), so it's quite possible.

EDMC also updates credits on entering the game (but only if EDMC is already running when you enter the game).

Technically there's nothing stopping the app from updating more frequently - e.g. every time you leave a station - but there was a concern about spamming the OVERVIEW and CREDITS AND ASSETS logs.
31 May 2018, 2:05am
Is there anything in the works to get Xbox live ED accounts to update automatically on Inara?
31 May 2018, 2:28am
This is completely up to Microsoft as it is their policies restricting this ability.
31 May 2018, 2:35am
RenraikuThis is completely up to Microsoft as it is their policies restricting this ability.


Cursed MS terrorists.... might start a petition!
05 Jun 2018, 8:08am
Louis N ClarkeI'm using the EDMC and have added the Inara plugin. I've added both my API key and my login credentials, but every time I start EDMC, I see:


Inara: 12:03 - Cannot login!


I have verified that my login and password are correct. My general Inarra stuff is being updated via the API key (except my DBX is showing as a value of 0cr).

Toughts?


Hi, I only recently started using Inara properly and very recently started using EDMC, and the thing with ships showing as 0 credits will clear once you use that particular ship next, or at least it did for me. Hope it works for you too.

Post a reply

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