GCS Version 7a: Removing your getMarketPrice functions ... (soon)
Good morning.
GCS has been updated to work with the new CREST inventory types endpoint. You can find the latest version here: https://github.com/nuadi/googlecrestscript
This is version 7a which includes a major change of my own, but it isn't going to actually break your sheets (yet). What I did was the following:
- Deprecated the
getMarketPricefunction - Added the
getStationMarketPriceandgetRegionMarketPricefunctions
So, if you are genuinely interested in the station price, then you need only change your getMarketPrice cells to use the getStationMarketPrice function. The getMarketPrice function will still work, and nothing will break, but I will be removing it in version 9a or 10a.
Not much else to say. Track me down using one of the various contact methods I have in the README if you encounter any bugs. I have been working on integrating the bulk market data for those of you who routinely contact me asking why you've reached Google's UrlFetchApp limit after trying to pull every item price in Jita. Well, this should let you do that. I just have to sort out the caching scheme.
As always, fly safe. o7
Edit to add:
Version 7b is now available. This version includes the following:
- Fixed a few minor bugs in edge cases that I found. Hopefully no one else did... :/
- Errors related to the order type are now more expressive so that you know exactly what might be wrong with that argument. Let me know if it's still confusing.
- Added the getAverageDailyVolume and getAverageDailyOrders functions. These both ping the historical data endpoint and let you calculate the averages in one cell as opposed to having to setup some elaborate set of sheets, the getHistoryAdv function, and then average the data.
- Added a version check per u/RHAGU's suggestion. Hopefully this isn't annoying, but as always keep me posted on feedback.
This concludes my plans for the version 7 series. Stuff coming up in version 8 includes Minimum volume threshold for pricing, so you don't get the lowest sell price for Tritanium when there's only 1 trit available in the order. Support for the Adjusted Price of items so you can use it in industrial sheets. I also plan to look into groups to make those a little easier to pull than using the getMarketItems function, but we'll see how that goes.
Posted Jun 14, 2016, 1:06 PM UTC · edited
Thank you so much for all your efforts!!!!!!!
Suggestion: It would be a help if you had out-of-date support. Just update a tiny file when there is a release and have the code check that file on a free website once a day. Then my spreadsheet could do a big red cell if my current version is 6c and latest is 7a.
Thanks again, off to download.
Good idea. I'll create a ticket for this.
Aaaaand... done. :)