Request: View guild bank log

Request: View guild bank log

in API Development

Posted by: Roytazz.5932

Roytazz.5932

Can we get the possibility to read the guild bank log using the API?
I know we can already get the guild vault info but I’d like to also get the logs for the Guild Stash, Treasure Trove and Deep Cave.

Request: View guild bank log

in API Development

Posted by: Lawton Campbell

Lawton Campbell

Web Programmer

I thought there was an open github issue or pull request, but there isn’t. Anyway, someone asked for this awhile back, and I’m looking to deploy it late this week or early next week. When I push the new code out we’ll have “stash” events in /v2/guild/:id/log.

EDIT: I am stupid and this has already been deployed — I blame post-lunch sleepiness — there should already be “stash” events in there. Those should be emitted for all the guild storages. If you seem to be missing events, shoot me your guild ID via PM or in the thread and I’ll figure out what’s gone wrong.

(edited by Lawton Campbell.8517)

Request: View guild bank log

in API Development

Posted by: Roytazz.5932

Roytazz.5932

Well I guess im also being stupid for not properly examining the raw JSON, because it does indeed include the stash log entries.

This does however let me find an undocumented property. In case the value of type is ‘stash’ there is an extra property called coins. Looking at the Guild log doc I could not find any documentation about it.
Thought that might be of use for others.

Thank you for your help!

EDIT: After examining the JSON, I found serveral other properties that are not documented on the wiki, but are documented on the Github page.

(edited by Roytazz.5932)