List of All Snap Packages

I am writing a simple python script that will serve as a front end for snap, flatpak and apt. It will function by searching a database of all the snaps, flatpaks, and regular packages for the app the user requested. However, to build that database, the program will need a to access simple, up to date text list of all the available snaps. Where can I access such a list?

i added this post to the store category so the right people see it and can help further …

there is a REST API you could query, but i doubt it allows listing all snaps at once (that simply doesnt scale very well once you have hundrets of thousands or even millions of packages in the reply), though someone from the store team might correct me here :slight_smile:

https://api.snapcraft.io/docs/