> For the complete documentation index, see [llms.txt](https://openrarity.gitbook.io/developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openrarity.gitbook.io/developers/quick-guides/rank-any-collections-in-shell-with-opensea-api.md).

# Rank any collections in shell with OpenSea API

For a sample of how to use the existing Opensea API to fetch the collection and token metadata and to funnel that into the scoring library, checkout `scripts/score_real_collections`.           In shell run:

```
python -m scripts.score_real_collections
```

This may also be used to generate json or csv outputs of OpenRarity scoring and ranks for any number of collections

```
python -m scripts.score_real_collections boredapeyachtclub proof-moonbirds
```
