token="$(cat .oauthtoken)" curl -H "Authorization: Bearer $token" "https://us.api.blizzard.com/profile/user/wow?namespace=profile-us&locale=en_US" > ./output/account.json # output_json=$(curl -H "Authorization: Bearer $token" "https://us.api.blizzard.com/profile/user/wow?namespace=profile-us&locale=en_US") #jq -r '.wow_accounts[0].characters[] | [.name, .level] | @csv'