-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Request: Pricing #22
Comments
Hey Evan, that's pretty cool. We used to have a hidden API call to get the prices. I'll let you know if/when it is available again. |
Thanks! An alternative approach would be to add that metadata to |
Is there any progress on this? |
With no progress on an official pricing API, I'm considering changing smartdc-cost to be a scraper for joyent's public pricing page. Thoughts? |
Evan There is an internal JIRA filed for you and other customers that have Would wait for the Joyent product manager to respond on feature requests On Wed, Dec 4, 2013 at 2:00 PM, Evan Tahler [email protected]:
Peter Yorke |
Evan a scraper seems like a good idea. I'd love to see pricing metadata in |
FYI, the website has a .json file that it renders client-side. NB: that the public catalog on the front web page only lists the most common types. |
@xer0x @benzenwen it looks like @joyent is working on this, so I'd rather wait for a supported API from them. @peteryorke do you have a rough ETA? |
Hi Evan Here are the urls that power the joyent.com web grid. http://www.joyent.com/assets/js/pricing.json http://www.joyent.com/assets/js/pricing-images.json Note that they are not comprehensive, they get updated sporadically, I'm still working with Product Management on when this type of Peter On Mon, Dec 9, 2013 at 9:00 PM, Evan Tahler [email protected]:
Peter Yorke |
Thanks @peteryorke! For now, I've updated smartdc-cost to use the I'm keeping around a list of costs for some of the older machine images, but I'll always replace any value saved there with that returned by |
Hey, looks like this hasn't been updated in a few years. Is this still in progress, or is this feature request dead? |
@ashleyschuett this doesn't answer your question, but node-smartdc is now all but deprecated in favor of node-triton, and my guess is that we actually want the pricing data to be included in instances packages from cloudapi, rather than assembled client-side in either node-smartdc or node-triton. As you can see, your question made me realize that there's some issue pruning to be done in this repo, but it also reminds me of this not-too-uncommon request for pricing data. Thank you. |
Hi Joyent!
I woud like to request a
sdc-listprices
API call which would return the cost per hour of the various services you offer.In the interim, I've cobbled tougher a new method:
sdc-listmachines-cost
which returns the list if servers I currently have running and what they cost. You can see that I'm currently relying on a static list of prices [[ https://github.com/evantahler/smartdc-cost/blob/master/lib/prices.js ]], and having an accurate list from the source would be appreciated.Github: https://github.com/evantahler/smartdc-cost
NPM: https://npmjs.org/package/smartdc-cost
The text was updated successfully, but these errors were encountered: