Forum Academy Marketplace Showcase Pricing Features

Pull from Setlist.fm

I am trying to pull from Setlist.fm based on a current artist name and show date using the Blockspring XML Explorer. But I need to somehow insert a dash in the artist name that is in my database. So if the the current band name is “Band Name” I need it to be reformatted to “Band-Name”. Any example API url is below. Any help is appreciated.

http://api.setlist.fm/rest/0.1/search/setlists.json?&date=22-04-2007&artistName=band-name

1 Like

Use Blockspring’s URL Encoder on the Band Name.

Doesn’t need to be dashes…

http://api.setlist.fm/rest/0.1/search/setlists.json?date=08-02-2016&artistName=Bruce%20Springsteen

Works perfectly well.