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:
- https://pub.dartlang.org/packages/pub_client
- https://pub.dartlang.org/packages/bwu_pub_client
- https://pub.dartlang.org/packages/pub_server
Answered By – Günter Zöchbauer
Answer Checked By – Candace Johnson (FlutterFixes Volunteer)