minetools icon indicating copy to clipboard operation
minetools copied to clipboard

Use ContentDB's dependencies API

Open rollerozxa opened this issue 1 year ago • 1 comments

The CDB API provides an endpoint for retrieving the dependencies of a package along with potential providers for it in packages including games and modpacks, e.g. https://content.minetest.net/api/packages/apercy/automobiles_pck/dependencies/

This would make it easier to retrieve the dependencies of packages such as modpacks and also resolve the dependencies by installing the other dependencies found as packages on ContentDB.

rollerozxa avatar Mar 27 '24 15:03 rollerozxa

Hi! Thanks for the message! This looks promising - I wasn't aware there were an dependency endpoint. That indeed makes a lot of sense!

ronoaldo avatar Mar 31 '24 18:03 ronoaldo