--- title: tr description: OpenBB Terminal Function --- # tr Display top repositories [Source: https://api.github.com] ### Usage ```python tr [-s {stars,forks}] [-c CATEGORIES] ``` --- ## Parameters | Name | Description | Default | Optional | Choices | | ---- | ----------- | ------- | -------- | ------- | | sortby | Sort repos by {stars, forks}. Default: stars | stars | True | stars, forks | | categories | Filter by repo categories. If more than one separate with a comma: e.g., finance,investment | | True | None | ![cases](https://user-images.githubusercontent.com/46355364/153897646-99e4f73f-be61-4ed7-a31d-58e8695e7c50.png) ---