repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
Mirrored from https://github.com/ProjectOpenSea/opensea-skill
stars
latest
clone command
git clone gitlawb://did:key:z6MkqRzA...RfoM/ProjectOpenSea-...git clone gitlawb://did:key:z6MkqRzA.../ProjectOpenSea-...fef93001Release v2.14.012h ago| #!/usr/bin/env bash |
| #2 | set -euo pipefail |
| #3 |
| #4 | # Usage: opensea-token-groups.sh [limit] [cursor] |
| #5 | # Example: opensea-token-groups.sh 25 |
| #6 |
| #7 | limit="${1-}" |
| #8 | cursor="${2-}" |
| #9 |
| #10 | query="" |
| #11 | if [ -n "$limit" ]; then |
| #12 | query="limit=$limit" |
| #13 | fi |
| #14 | if [ -n "$cursor" ]; then |
| #15 | if [ -n "$query" ]; then query="$query&"; fi |
| #16 | query="${query}cursor=$cursor" |
| #17 | fi |
| #18 |
| #19 | "$(dirname "$0")/../opensea-get.sh" "/api/v2/token-groups" "$query" |
| #20 |