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.
 

Container details from API

Author
Doctor Grugon
School of Applied Knowledge
Caldari State
#1 - 2011-11-23 18:08:13 UTC
Is there a call that gets the names of the containers that are listed in the AssetList API call? If not maybe a ContainerList call would be a great addition.

Are you standing where you should be?

Dragonaire
Here there be Dragons
#2 - 2011-11-24 01:24:17 UTC
No API for that and I could think of some others I'd like to see first but it would be a useful one. The are some ways to figure it out yourself and then store a mapping from the itemID to the name. One of the easiest is to simply put something odd in to them like one civilian shield boost in the first one and two in the second etc then look at the API in about 6 hours Blink It doesn't matter after you've made your map what you do with the containers as long as you don't repackage them the ID stays the same.

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.

Doctor Grugon
School of Applied Knowledge
Caldari State
#3 - 2011-11-24 18:31:13 UTC
I was hoping to avoid that because as people add containers to corp hangers the map would to be updated. Personal containers would also need to be updated, but its not as big a deal.

Are you standing where you should be?

Irijah Onzo
Caldari Provisions
Caldari State
#4 - 2011-11-24 18:43:06 UTC
As long as the container isn't repackaged it would maintain it's itemID. The suggestion was that, you would put one item in the container, and then via the API get that itemID, which you could manually map to the name you've given it.

Once you've got all of your container's mapped, you've got nothing to worry about - items placed in or taken out of the container will not change it's itemID, which you've already figured out the name.