Add support for sorting api packages list by created, relevance, popularity and top packages
Open
Type: enhancement
- Dominant language
- Dart
- Stars
- 944
- Forks
- 184
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 12
Description
https://pub.dev/api/packages?sort=updated is currently the only endpoint that works with the sort value.
The rest return the same data that you get when sorting updated.
### Missing support for:
- https://pub.dev/packages?sort=created // created: Packages are sorted by their created time.
- https://pub.dev/packages?sort=popularity // popularity: Packages are sorted by their popularity score.
- https://pub.dev/packages // Packages are sorted by the combination of their overall score and their specificity to the selected platform.
- https://pub.dev/packages?sort=top // Packages are sorted by the overall score.
Contributor guide
Assessment
This issue has not been assessed yet.