These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

[API] Assets in structures visible in the API

Author
AmpGod
Ascendance Of New Eden
Workers Trade Federation
#1 - 2016-11-17 18:11:40 UTC
I've been waiting to move into a structure right after they've been released.
But there is one MAJOR obstacle:
- Assets in citadels/other structures are invisible to the API

Personal API sees everything i have in stations. But bits lying in the citadels is -STILL- missing.
Or is there workaround thru the ESI API?

I have a big buildsheet in GDocs which allows me to build anything with ease - and any combination of items.
( It calculates everything for me - and spits out nice shoppinglists and buildlists what components to make )



Question to CCP Devs:
- When will it be fixed finally -- or will it be ever done ... "Soon (tm)" ?


Messenger Of Truth
Butlerian Crusade
#2 - 2016-11-17 18:19:06 UTC
It seems to fail if you use the default nested assets list.

There is a parameter you can pass to retrieve a non-nested assets list which people are using for the time being.

Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck

Visit "Haulers Channel" in game for all matters courier-related.

Structure name/system API: stop.hammerti.me.uk/api

AmpGod
Ascendance Of New Eden
Workers Trade Federation
#3 - 2016-11-17 18:23:30 UTC
Messenger Of Truth wrote:
It seems to fail if you use the default nested assets list.

There is a parameter you can pass to retrieve a non-nested assets list which people are using for the time being.



Thanks for that. Havent even noticed that there is possibility of non-nested lists.

When has it been added - or has it always existed but I just havent noticed?

Ps. thanks for the fast reply. Bear
Messenger Of Truth
Butlerian Crusade
#4 - 2016-11-17 18:57:35 UTC
I use a library called evelink and that doesn't have support for the parameter (its on my TODO list to add it), so that leads me to believe that the parameter was not always there.

Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck

Visit "Haulers Channel" in game for all matters courier-related.

Structure name/system API: stop.hammerti.me.uk/api

AmpGod
Ascendance Of New Eden
Workers Trade Federation
#5 - 2016-11-17 20:11:36 UTC  |  Edited by: AmpGod
Quote:
Argument Type Description
characterID long ID of character
flat bool 0 (False, default) - return a nested assets list
1 (True) - return flat assets list


My own .php api parser already read the nested list and made a flat list ... good thing that there is simpler way to do things.

I wonder why structures are not in the nested list tho ...

3rd party documentation on CharAssets
salacious necrosis
Garoun Investment Bank
Gallente Federation
#6 - 2016-11-18 02:44:36 UTC
AmpGod wrote:
Messenger Of Truth wrote:
It seems to fail if you use the default nested assets list.

There is a parameter you can pass to retrieve a non-nested assets list which people are using for the time being.



Thanks for that. Havent even noticed that there is possibility of non-nested lists.

When has it been added - or has it always existed but I just havent noticed?

Ps. thanks for the fast reply. Bear


I don't recall when they added the flat list, but everything is documented on the community site now:

http://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_assetlist.html

Some libraries added support for this. Mine has it (java):

https://github.com/OrbitalEnterprises/orbital-eve-xml-api

There are many others on github.

Use EveKit ! - Tools for EVE Online 3rd party development

AmpGod
Ascendance Of New Eden
Workers Trade Federation
#7 - 2016-11-18 16:36:00 UTC
salacious necrosis wrote:
[

I don't recall when they added the flat list, but everything is documented on the community site now:

http://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/character/char_assetlist.html

Some libraries added support for this. Mine has it (java):

https://github.com/OrbitalEnterprises/orbital-eve-xml-api

There are many others on github.


Thanks for the info. I've my own simple parser in place - and assets are visible now that flat=1 is enabled. I wonder if the blueprint api is OK tho ...