Skip to content
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

Inconsistent details via API call for products #727

Closed
thecloudgarage opened this issue Feb 9, 2024 · 3 comments
Closed

Inconsistent details via API call for products #727

thecloudgarage opened this issue Feb 9, 2024 · 3 comments

Comments

@thecloudgarage
Copy link

The API call for products is missing details for quite a number of products.

Here is my API call

curl --request GET
--url 'https://api.vantage.sh/v2/products?provider_id=aws'
--header 'accept: application/json'
--header 'authorization: Bearer '

As an example the API call for products returns no details., except for the name for m6idn.xlarge instance and many other instance types.

image

Similarly, when I visit the homepage and filter for m6idn.xlarge., I can see the details

image

I can confirm that my API call is constructed properly with token, because in the same API call where instances are missing details, it has many other instances whose details are properly populated

image
image

Is there an issue or something that I need to do differently....

@EverettBerry
Copy link
Contributor

Hey! I've posted this issue for our engineering team to look at but if you would simply like to work with the raw data from ec2instances.info you can do this:

curl https://instances.vantage.sh/instances.json -o instances.json

@thecloudgarage
Copy link
Author

Thanks that helped., this json output does not include RDS, ElastiCache, RedShift, etc.. instances. How can I get the JSON for the same...

@EverettBerry
Copy link
Contributor

Got it! Those are available at the corresponding URLs. So:

https://instances.vantage.sh/rds/instances.json

https://instances.vantage.sh/cache/instances.json

And so on

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants