Discussion How to get access to API?

Hi Commanders,

i had the chance to get a cheap Logitech G510.
Unfortunateli there is only one working App out there, and this is the G19 "Companion".
It show's the actual System-Name, Goverment, and some things more, but not what i expect.

So i decided to learning LUA for scripting my own Applet.
But i have no idea where to search for the API and how to use it (sending an request and logging it into a json file).
Maybe someone here could help?

Good flight.

NemWar
 
Hi Commanders,

i had the chance to get a cheap Logitech G510.
Unfortunateli there is only one working App out there, and this is the G19 "Companion".
It show's the actual System-Name, Goverment, and some things more, but not what i expect.

So i decided to learning LUA for scripting my own Applet.
But i have no idea where to search for the API and how to use it (sending an request and logging it into a json file).
Maybe someone here could help?

Good flight.

NemWar

So far there have been two possibilities. Most common one is reading the game network log with "verbose logging" enabled. That gives you the system name, position and some other stuff, but is fairly limited. The other option has been to use the ED iOS app (app has been discontinued) API which gives you a lot more, but has other challenges and requires the player to log on with his game credentials to get access.

Other sources are available, such as scraping Galnet from the ED web site and using EDDN / EDDB / EDSM, but these sites primarily get their data from the network logs and the iOS api.

As for the API specifics, I would have a look at how other open source apps do it. ED Market Connector (on GitHub) is a good one for pulling from the iOS app API. For pulling info from the logs, looking at your network logs should do the trick.

With the next 2.2 release, ED will have a player journal which is basically the game logging a lot of information and saving it to a json file on your local HD. This is probably your best bet. The journal is quite rich and you can find out more here: https://forums.frontier.co.uk/showthread.php/275151-Commanders-log-manual-and-data-sample

Caveat: I'm not a programmer in any way.
 
Last edited:
Back
Top Bottom