Videos
I want to use azure's API to collect all the Azure marketplace Images of type Virtual Machine into my product
What API? Azure has many.
You can use powershell...
Get-AzVMImage
Job done.
Keep in mind, not all images are available in all locations.
You may also want to look at licensing if you're trying to re-sell microsoft and third party images.
More on reddit.comAzure Marketplace - Great in concept but the most useless thing in practice
How can I create an Azure Marketplace SaaS App using api/azure-cli/powershell/terraform? - Stack Overflow
Are Public API aggregators like MASHAPE/AZURE MARKETPLACE a waste of time ?
IMO I would definitely go straight to the source site (or use Nuget, most SDK's should be available there) for any third party SDKs. Even if you use an API that works now, there's no guarantee that it will be kept up to date in the future.
More on reddit.comI wanted to know more about the API I can use to do this, currently I am using catalog API with /catalog/curatedsearch endpoint but it is returning duplicate images and most of the times there will be missing images so it is very inconsistent. Any help would be really appreciated.
The idea of having a gallery, a library, a repository, a pre-populated list, a Market Place, a store for business, a catalogue etc... is great in concept. It's been around since the days of LINUX where we pull and download packages and apps from a central location so we ALL benefit.
However, I find the Azure Market place is great in concept but absolutely useless %99 of the time. Go try for your self https://azuremarketplace.microsoft.com/en-us/home. You do not even need an account. Try searching for a solution that you are self-hosting in Azure today and see if it is available as a Market place image. I would put ALL my money that %99 of the time you won't find what you're looking for.
Let me explain further.... The idea that say there are (and these skills are VERY RARE by the way) x100 Johns around the globe wanting to self host solution XYZ in their own Azure environment. Those x100 Johns EACH and EVERY one of them need to repeat the SAME exact thing, creating the SAME exact resource groups, same EXACT resources, SAME exact Function Apps, SAME exact Logic Apps, SAME exact SQL DBs, SAME Exact App Services, SAME exact Monitor and Log Workspace etc..
So instead of wasting their time, the Azure Market place should have a ready to go ARM/BICEP whatever template that magically stands up all of the needed resources and VOILA your solution XYZ is ready to go. The same thing goes for other vendors so that the Market Place becomes a MARKET PLACE!
OH LORD if you're are ONE JOHN working for an MSP with even X10 Azure Customers. You will blow your head out before you're done creating the SAME exact resources for all of them so you end up paying for a third-party premium IaaC tools like Terraform, Ansible, etc..
EVEN when you do end up finding an Azure Market place template that spins up resources, GOSH it was created back in the dark ages (IaaS) and is NOT aware of current technologies/architecture (PaaS).
Extremely disappointing! Then you end up going BAAAAACK (WASTING your time) to the Azure Portal or Azure CLI or Power Shell or an IaaC tool (Terraform,DSC, etc..) and building and deploying the full solution from A - Z from scratch one resource at a time using IaaS or PaaS or a mix of both. Would not be nice if it was ready to go as an Azure ARM/BICEP template on GitHub or even better the Azure Marketplace that deploys the entire solution for you???. I'm not asking for Azure Marketplace to automate everything, but come on Microsoft, come on partners, come on app providers and vendors. WHERE IS THE BUY IN!
The Azure Market place is meant to truly make Azure SHINE! Not to be a piece of garbage.
IMHO, (and feel free to flame me by the way) the Azure Market place should be the strongest and most lively place in Azure as it SAVES EVERYONE so much time and it adds a ton of value to the platform, but instead it is the MOST useless piece and the last think you want to look at.