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

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

Market Discussions

 
  • Topic is locked indefinitely.
 

Google script history grabber?

Author
FrenchSubstitute
Tradors'R'us
IChooseYou Alliance
#1 - 2016-01-05 14:31:55 UTC
Recently, Steve Ronuken kindly made a history grabber, showing total daily volume. https://github.com/fuzzysteve/eve-googledocs-script/blob/master/HistoryGrabber.gs

The loadAllVolumes function seems to return a "data is not defined" error. And the loadVolume function returns a reference error.

Is this just me?

Also, does anyone know how I could change the code so that I get an average jita volume over the last 30 days, instead of just the volume from the previous day? Sorry, I am very bad with coding.
Elizabeth Norn
Nornir Research
Nornir Empire
#2 - 2016-01-06 02:42:53 UTC
I have no idea what I'm doing so okoolos rimmer kindly fixed the loadAllVolumes function with a single line (data = JSON.parse(jsonFeed);). There was also a missing semi-colon in the loadVolume function, but we're not sure what the problem with that is. If you want to find how to fix that I would suggest googling the error message as there appeared to be some relevant topics in the first few results, I think it's fairly simple, but my brain isn't working at the moment Lol.

http://pastebin.com/B0WX6cX2