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.
12 Jan 2021, 10:03am
EDMC gives you more granular updates, but yes, you don't strictly need it if your accounts are linked.
12 Jan 2021, 10:06am
thanks
18 Feb 2021, 6:16pm
Hi,

I read through all the API's, but I didn't find anything to get information out of Inara. Aren't there any API's for that?
I am interested in goods min/max/avg buy/sell prices and my commanders materials, info, carrier info. I found that I can scrape this info from the webpage, but that is prone to stop working when the html changes.
But I would also like to get info from Commander=>personal logs=>game statistics but that info is impossible to scrape.

Or is there some other way for that? On the forum I read something about frontier API's but I haven't found any info about those.

Thanks.
18 Feb 2021, 6:25pm
Hello,
no, there are no such outputs by purpose as for the real-time price data you can use EDDN (as every 3rd party tool us using) or static dumps like EDDB is providing.. The commander stats are simply considered as a private thing, so they aren't even displayed nor exposed to the API. You can get it from their journals if they will decide to share (either the local files or via Frontier's API by using their OAuth authorization).
18 Feb 2021, 9:23pm
Thanks for the info. Do you have any links to info about Frontier's API's? I have searched for it but not found anything.
18 Feb 2021, 9:47pm
Athanasius collected some stuff about it here, it's probably the most compact source. There is also EDCD Discord with a community of 3rd party developers.
19 Feb 2021, 8:49am
Thanks. This is the info I have been searching ... and not finding.
19 Feb 2021, 6:57pm
Hello!

Would anyone know if there is any program or application that helps identify the missions that are available at the stations?

If there is no such feature, could someone create one?

Fly safe
20 Feb 2021, 9:12am
Hi there,

it may have been asked before, but I can't find anything in the docs about my question.

If I have 2 ED Accounts and want to sync them both via EDMC to Inara. Do I have to use the same API key for both accounts or must I change the API key in EDMC each time the other commander logs in?

And - where are the logs from when I link my account to FD? From my SSD or from FD?

Thanks
20 Feb 2021, 10:17am
Lord Acton LoboHello!
Would anyone know if there is any program or application that helps identify the missions that are available at the stations?
If there is no such feature, could someone create one?

Fly safe

Hello, although there is to some extent possible predict some mission types (like donations) that more likely appear, based on the minor faction states, I am afraid there is no such tool and no easy way to do it for all mission types reliably. Nobody exactly knows how all mission types are generated and there is also a portion of randomness in it.

Balthier BunansaHi there,

it may have been asked before, but I can't find anything in the docs about my question.

If I have 2 ED Accounts and want to sync them both via EDMC to Inara. Do I have to use the same API key for both accounts or must I change the API key in EDMC each time the other commander logs in?

And - where are the logs from when I link my account to FD? From my SSD or from FD?

Thanks

Hello, yes, certainly use two API keys, one for each account (otherwise you risk mixing the data). I also recommend to check "Cancel update on commander name mismatch" for each Inara API key, to be sure. I think EDMC doesn't support multi-accounts, so you will need to change that each session (but I am not sure about it). You can however give a chance to another lightweight tools like EDDLite which I think may support multiple accounts.

If you link your account on Inara, the logs/journals are taken from the Frontier's servers.
20 Feb 2021, 12:34pm
Artie
Lord Acton LoboHello!
Would anyone know if there is any program or application that helps identify the missions that are available at the stations?
If there is no such feature, could someone create one?

Fly safe


Hello, although there is to some extent possible predict some mission types (like donations) that more likely appear, based on the minor faction states, I am afraid there is no such tool and no easy way to do it for all mission types reliably. Nobody exactly knows how all mission types are generated and there is also a portion of randomness in it.

Balthier BunansaHi there,

it may have been asked before, but I can't find anything in the docs about my question.

If I have 2 ED Accounts and want to sync them both via EDMC to Inara. Do I have to use the same API key for both accounts or must I change the API key in EDMC each time the other commander logs in?

And - where are the logs from when I link my account to FD? From my SSD or from FD?

Thanks


Hello, yes, certainly use two API keys, one for each account (otherwise you risk mixing the data). I also recommend to check "Cancel update on commander name mismatch" for each Inara API key, to be sure. I think EDMC doesn't support multi-accounts, so you will need to change that each session (but I am not sure about it). You can however give a chance to another lightweight tools like EDDLite which I think may support multiple accounts.

If you link your account on Inara, the logs/journals are taken from the Frontier's servers.


Thanks a lot for your explanation
21 Feb 2021, 12:41pm
Howdy!

Firstly, Inara is an amazing tool. Huge thanks!
Struggling to navigate this board (are there really just a few threads that contain *everything*?) but hopefully this is the right place to ask...

Is there a way to see which blueprints you have pinned with the engineers?
21 Feb 2021, 2:24pm
I will double check that, but I think there is nothing in the journal files regarding the pinned blueprints, so it may be a problem to see it (outside the game). Otherwise, yes, the discussion is focused just to those few threads.
25 Feb 2021, 4:46pm
Hello, I have my data auto-updating (and I have clicked the manual button also) but I while I can see all my ships in the MY FLEET I can only see loadout for my current ship that I was flying last. Is that expected?
25 Feb 2021, 4:54pm
Hello, 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.

Post a reply

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