Pull all items from clan stash

General_Herpes

New member
Greetings,

I'm hoping someone can help me figure out how to pull all items from the clan stash. I'm guessing the clan stash has to be listed/logged, then iterate through that list to pull the items?

Thank you for your time!
 

Saklad5

Member
I highly recommend prefacing that with
Code:
batch_open();
and following it with
Code:
batch_close();
. That will tell KoLmafia to queue up all the server requests and execute them in bulk. For completely serious reasons that are not even funny, that should make it 11 times faster.

I’m not joking, the KoL API interfaces for item handling can do up to 11 things at once.
 
Last edited:

heeheehee

Developer
Staff member
Didn't that stop being a thing, one API after another?

I believe it still exists in some places that haven't ever gotten an interface overhaul; DC and clan stash are two that come to mind. Some of the old APIs might still exist even if they're not linked to from within the game.
 
Top