Created
June 27, 2024 05:21
-
-
Save rmtbb/ff817c90b84a8ca79156527d83224c76 to your computer and use it in GitHub Desktop.
Bash script to return Shane Gillis' upcoming tour dates from his website
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s "https://rest.bandsintown.com/artists/Shane%20Gillis/events?app_id=squarespace-moose-pelican-53kl&date=upcoming" | jq '[.[] | select(.offers[]?.type == "Tickets") | {Date: .starts_at, "Artist Name": .lineup[0], "City and State": "\(.venue.city), \(.venue.region)", "Venue Name": .venue.name, "Tickets URL": (.offers[] | select(.type == "Tickets").url)}] | sort_by(.Date)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment