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 Apr 2018, 7:17pm
Is there a way to force the API to update? It's 20:15 now and my last INARA API updated 18:59.
01 Apr 2018, 8:26pm
There is no such thing as it is not needed - by its nature, everything sent to API is performed immediately. I see in the logs that your latest API events were performed at 19:22 GMT?
04 Apr 2018, 11:36pm
What is a Alien Data point -- and what do you do with it ???
05 Apr 2018, 8:18am
Hi,

How do I add my application to list of allowed? I'm currently developing a log parser/uploader (here), but get a following error when trying to call an API:
{  
  "header":{  
     "eventStatus":400,
     "eventStatusText":"This application has no access allowed."
  }
}


Input JSON I used:
{  
  "header":{  
     "appName":"EliteLogAgent",
     "appVersion":"0.1",
     "isDeveloped":true,
     "APIkey":"......",
     "commanderName":"John Kozak",
     "eventStatus":0,
     "eventStatusText":null
  },
  "events":[  
     {  
        "eventName":"getCommanderProfile",
        "eventData":{  
           "searchName":"John Kozak"
        },
        "eventTimestamp":"0001-01-01T00:00:00",
        "eventCustomID":0
     }
  ]
}

(yes, lots of fields are filled incorrectly yet, but I've just put 1 hour into it )
05 Apr 2018, 7:47pm
PM sent.
17 Apr 2018, 2:01am
I've downloaded market connector and generated an I.D. code, then typed that I.D. code in Market Connector under Inara, but Inara doesn't seem to update for me. Cargo, credits, ect ect. Am I doing something wrong?
Side Note: This is my first time.
17 Apr 2018, 2:35am
MorfyneI've downloaded market connector and generated an I.D. code, then typed that I.D. code in Market Connector under Inara, but Inara doesn't seem to update for me. Cargo, credits, ect ect. Am I doing something wrong?
Side Note: This is my first time.


Go to https://inara.cz/settings-api/ and tell me if you have events being sent.
17 Apr 2018, 3:16am
Yes I do, it started to update. It took about an hour of me not messing with it though. Put in my I.D. code and tried to patiently wait it out this time and it worked. Thank you for the prompt reply though!
17 Apr 2018, 3:30pm
please help

errorÑ frontier server is lagging

any solution????
21 Apr 2018, 9:41am
i really really really wish to upload 30+ days journal log files to inara ... is there any way to do this please? I wish to have my inara logbook totally complete ... thanks in advance
22 Apr 2018, 5:35am
Ragingspeedi really really really wish to upload 30+ days journal log files to inara ... is there any way to do this please? I wish to have my inara logbook totally complete ... thanks in advanced


Very good question . Also is there a way to download the INARA format logs?
22 Apr 2018, 6:28pm
Csanchezoltplease help
 errorÑ frontier server is lagging
 any solution????

There is nothing I can do about it. Please see EDMC troubleshooting for the details.

Ragingspeedi really really really wish to upload 30+ days journal log files to inara ... is there any way to do this please? I wish to have my inara logbook totally complete ... thanks in advance

I have no plans for it. I was thinking about it some time ago, but I really do not want to carry a burden of the old journal formats/information parsing, handling file batches upload and all problems related. But, if somebody is willing and able to write a tool that will translate journals to Inara API events and it will be reliably working with journal batches, I can make the necessary changes to the log summaries generated and other stuff and lift away the information date/time restriction in the API.

MacjimVery good question . Also is there a way to download the INARA format logs?

What is meant exactly? Some CSV export or something like that? Nothing at this moment...


Last edit: 22 Apr 2018, 6:43pm
24 Apr 2018, 2:17pm
Sorry if this is an old question. I love the fact that INARA API gets my latest SHIP configuration. Is there a way to EXPORT from INARA so I can keep my ships updated at CORIOLIS or ED Shipyard?
24 Apr 2018, 3:36pm
ED_RecluseSorry if this is an old question. I love the fact that INARA API gets my latest SHIP configuration. Is there a way to EXPORT from INARA so I can keep my ships updated at CORIOLIS or ED Shipyard?


Since you have to use a tool like EDMC to get your ship info to Inara in the first place, just use that tool instead. EDMC offers options to export the current ship configuration, aswell just by clicking the displayed ship name, it opens your preferred ship configurator page with the current configuration.
24 Apr 2018, 3:59pm
Thanks!! I do use EDMC...but I didn't realize it had that feature... Appreciate the tip!

..Just tried it.. WORKS PERFECTLY!!


Last edit: 24 Apr 2018, 4:13pm

Post a reply

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