dart-lang / dart-lang/pub-dev

Add support for sorting api packages list by created, relevance, popularity and top packages

Open
#2,404 3 comments 4 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.