Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Hacca Kerpeten
Deep Core Mining Inc. Caldari State
4
|
Posted - 2017.06.14 20:45:06 -
[1] - Quote
Hi,
I'm trying to write a small script to replicate in game market window for sell orders. Unfortunately ESI does not give the same functionality as the ingame market window directly, as /markets/{region_id}/orders/ does not include citadels into the list.
The only way I found to mimic the in game functionality is find each 'public' citadel in the system and merge the orders in those citadels with orders in stations.
However this time, definition of 'public' gets into the way. Several citadels in the system I'm interested in does not show up in the /universe/structures/ list, even though I can see orders in those citadels in my market window and dock to them as a NPC corp member.
I can not query orders in those structures using /markets/structures/{structure_id}/ as I don't know the structure id. Is there a way to get the structure id of a structure which is not listed in /universe/structures/ ? |

Blacksmoke16
Resilience.
65
|
Posted - 2017.06.14 22:05:09 -
[2] - Quote
Make a courier to it and check the endStationID in the XML API. Kinda hacky but it works. |

Professor JinMine
Project Fruit House Solyaris Chtonium
13
|
Posted - 2017.06.15 04:43:32 -
[3] - Quote
You could use a player complied list like this one : https://www.adam4eve.eu/info_stations.php |

Hacca Kerpeten
Deep Core Mining Inc. Caldari State
4
|
Posted - 2017.06.15 15:31:55 -
[4] - Quote
Blacksmoke16 wrote:Make a courier to it and check the endStationID in the XML API. Kinda hacky but it works.
That's a nice temporary work around. Thank you. It will help me out until hopefully devs will understand the problem.
This has potential however I don't think it will solve my problem, as it also relies on 'public' universe/structures end point.
I guess I should follow this up in Github. The actual problem is, currently there is no way to replicate the in-game market sell orders view results accurately. |

Hacca Kerpeten
Deep Core Mining Inc. Caldari State
4
|
Posted - 2017.06.15 17:44:19 -
[5] - Quote
I found another work-around. It's possible to find a structure_id using /characters/{character_id}/search/ endpoint with the name of the structure.
To create a mimic of in-game Regional Market view, someone needs to traverse all systems in the Region in-game, retrieve the structure_ids from the names though. Pretty cumbersome. |

Blacksmoke16
Resilience.
65
|
Posted - 2017.06.16 01:00:52 -
[6] - Quote
Hacca Kerpeten wrote:I found another work-around. It's possible to find a structure_id using /characters/{character_id}/search/ endpoint with the name of the structure.
To create a mimic of in-game Regional Market view, someone needs to traverse all systems in the Region in-game, retrieve the structure_ids from the names though. Pretty cumbersome.
That's surprising, since using the in game search doesn't return structures you don't have access to. |

Hacca Kerpeten
Deep Core Mining Inc. Caldari State
4
|
Posted - 2017.06.16 16:39:34 -
[7] - Quote
Blacksmoke16 wrote:That's surprising, since using the in game search doesn't return structures you don't have access to.
The problem is the other way around. The 'public' structures endpoint do not return structures that you DO have access to, likely related to this blog post: https://developers.eveonline.com/blog/article/changes-to-public-citadel-endpoint
So what I'm trying to do is actually get the IDs of structures that I can access, which I found to be surprisingly difficult. |
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |