wow-api-characterinfo/toons-avglvl.sh

2 lines
226 B
Bash
Raw Normal View History

2024-12-24 09:49:14 -07:00
curl -sH "Authorization: Bearer USCdfWcbxv1hGYQDPWSXbvr84SHme9eJ5T" "https://us.api.blizzard.com/profile/user/wow?namespace=profile-us&locale=en_US" | jq -r '[ .wow_accounts[0].characters[].level | select(.) ] | add / length'