List/search dart-pub packages

Issue

Does the pub package manager in dart expose a way to list or search through existing pub packages?

This would, for example, make it possible to build alternative platforms for accessing/rating/exploring packages.

Solution

There is a JSON API which allows to fetch all kind of data.
You can use one of these packages or investigate the source to see how the API can be used:

Answered By – Günter Zöchbauer

Answer Checked By – Candace Johnson (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.