GCS Version 8a: New market functions and now cost indices
Good evening.
I've prepared version 8a of GCS for general release. You can find the latest version here: https://github.com/nuadi/googlecrestscript which includes a lot of new functions. What I did was the following:
- Added functions to count available orders and volume in stations so you can see just how much is available before you jump through 8 gates only to find the market is short...
- Added function to get adjusted prices for items for use in industrial calculations.
- Added function to get cost indices for industrial activities for use in industrial calculations.
- Added functions to get item volume. Note: Only the assembled volume is available through CREST.
- Added optional filters to getOrdersAdv, getOrders, getStationMarketPrice, getRegionMarketPrice, and getMarketPriceList so that filters can be set for minimum/maximum volume and minimum/maximum price considerations
- The version check is now a menu item that requires manual selection. This is necessary to enable onOpen to run in new sheets or those shared with new users.
So lots of new stuff to help a number of you that I've already written stuff for, and a few more functions just because I was riding a coding high and wanted to add stuff in.
I'm still working on the bulk market data endpoints. Google's CacheService does not like storing JSON objects, so I have to essentially build a toString() for the market data since Google Scripts doesn't appear to have one for JSON objects. I only learned this today, so I have some research to do.
As usual, if you need something doing that this doesn't doing let me know. I can also help in custom implementations in case you are like one user who was using the script but just couldn't quite get it to fit his edge case.
As always, fly safe. o7
Posted Jun 21, 2016, 9:31 PM UTC · edited
Thank you very much!
o7