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.
23 Jan 2019, 4:43am
Yep. A huge thank you for this Artie, works a treat with just a single click of the button, much quicker to update.

Let's hope FDev release loads more info through the API.

Cheers O7
31 Jan 2019, 2:18pm
Artie, I assume that asterisked ship names are pulling through in that format from the Frontier API and not something you can affect here? E.g. "TSV Lith of Iserath" displays as "*** **** ** *******"

+1 Shinies from this XBox Cmdr too BTW. Here's hoping for Mats and a flight-log too, at some point.
31 Jan 2019, 7:53pm
Yep, it came in that way, I am afraid there is nothing I can do about that.
11 Feb 2019, 4:22pm
Hi Artie,

Firstly I wanted to say qudos for the amazing site.

I noticed that our "Member activity overview" page shows all our influence points as 1 or 2 points (mostly 2). However most missions are 3-5 points. It looks like the basic points are being added but not the influence from the multi-choice rewards. That's just an guess at the root cause, but certainly something doesn't look right.

Cheers,

Sledge
11 Feb 2019, 6:08pm
Hello,
unfortunately, it's a problem in the journals or somewhere deeper in Frontier's system - the MissionCompleted events in the journals are not reporting correct reputation/influence increases (+ to +++++) most of the time. The problem was reported to Frontier and at the moment they will fix that it will provide correct reports here as well, as Inara is doing just a simple conversion of data provided.
11 Feb 2019, 7:52pm
The mission completed entry in the journal logs contains...

"Influence":[ { "SystemAddress":9467315627441, "Trend":"UpGood", "Influence":"+++++" } ]

Is this what you get from our logs via EDMC? Is it not a case of adding up the "+"s?
11 Feb 2019, 10:33pm
Ah, you are right, it doesn't work as intended. As I have double-checked now, for some reason I've forgot to enable that for the live version and tell tools authors about the change. I will poke them and hopefully everything will be better then. However, it still won't be perfect because as I have mentioned, some mission rewards may be reported incorrectly. But it will be definitely much better.

Thanks for bringing that to my attention!
13 Feb 2019, 10:05am
Hello,

Is the API import offline? As I've tried to import my Frontier Data (from PS4) on a couple of different machines and get this message - I've not made any changes, but have noticed this since Monday 11th 10pm (UK). I've managed to import my data before - and love the feature.

To finish the action, you will be forwarded to Frontier Authentication Service where you must log in using your platform credentials and grant Inara an access. You will be moved back to Inara after that.

Select your platform for connection to Frontier Authentication Service
Frontier, Steam, Xbox, Playstation

An error occured or the access was denied. Please try to connect to Frontier Authentication Service again, grant Inara a permission to access your data there or wait a while if the service is offline.

Details: No access token received (using the refresh token).
OAuth: A service provider error [httpCode: 401, fetchCode: 0].
13 Feb 2019, 1:50pm
Hmmm... interesting. Please go to your Commander settings, click the "Reset link" button to free your link to Frontier OAuth and try to authorize and set the permissions again.
13 Feb 2019, 3:42pm
Kermit, Frontier Authentication server was playing up yesterday. I couldn't do a thing with EDMC because of it.

Could have been the same thing messing you up. Seems to be ok today.
15 Feb 2019, 10:41am
Thanks you guys.

I Reset the link and it has now kicked back in.
27 Feb 2019, 7:08pm
I'm a relatively new player, and I'm trying to connect Inara to my game data.

I click the "Link Your Account" button, and select Steam (as that's how I access the game).
I enter my login and password, and authenticate via Steam's 2 factor authorization on my mobile phone.
It finds my Steam account and I click "Sign In'
I'm then taken back to Inara's site, where I get the following error message:

An error occured or the access was denied. Please try to connect to Frontier Authentication Service again, grant Inara a permission to access your data there or wait a while if the service is offline.

Details: Access denied by user.


I've repeated the process a dozen times, and I get the same response. I can't figure out why I'm unable to connect my Frontier account to Inara via Steam.

Is anyone able to help get me on track?
Thanks in advance.
28 Feb 2019, 8:45am
NemnutsI'm a relatively new player, and I'm trying to connect Inara to my game data.

I click the "Link Your Account" button, and select Steam (as that's how I access the game).
I enter my login and password, and authenticate via Steam's 2 factor authorization on my mobile phone.
It finds my Steam account and I click "Sign In'
I'm then taken back to Inara's site, where I get the following error message:

An error occured or the access was denied. Please try to connect to Frontier Authentication Service again, grant Inara a permission to access your data there or wait a while if the service is offline.

Details: Access denied by user.


I've repeated the process a dozen times, and I get the same response. I can't figure out why I'm unable to connect my Frontier account to Inara via Steam.

Is anyone able to help get me on track?
Thanks in advance.


Is your steam account linked to your Frontier account? Try linking using Frontier account instead of Steam
28 Feb 2019, 10:54am
As John wrote above. You can also try to login via Frontier instead, it should work.
28 Feb 2019, 6:57pm
yes! this worked. thanks very much!

Post a reply

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