eichblatt / deadstream

A time machine to play GD tapes from archive.org
GNU General Public License v3.0
51 stars 14 forks source link

Add venue, set break for non GD collections when available #122

Open eichblatt opened 3 years ago

eichblatt commented 3 years ago

check and see if jerrybase data contains information about later incarnations of the Grateful Dead.

If so, add in venue and set break information for non-GD bands.

eichblatt commented 3 years ago

Jerrybase does not contain anything after 1995.

the site http://setlist.fm has what I need. I have applied for an api key from them.

eichblatt commented 3 years ago

My setlist.fm API key is 9e4o1HX1iaxVa0shsGk7Ox_3nQVnX_wKORLi

See documentation at https://api.setlist.fm/docs/1.0/ui/index.html

Artist name mbid
Dead & Company 94f8947c-2d9c-4519-bcf9-6d11a24ad006
Grateful Dead 6faa7ca7-0d99-4a5e-bfa6-1fd5037520c6
The Other Ones a4c13824-64dd-49bb-bada-2f29acbc33e2

Getting the setlist of Dead & Co

curl -X GET --header 'Accept: application/json' --header 'x-api-key: 9e4o1HX1iaxVa0shsGk7Ox_3nQVnX_wKORLi' 'https://api.setlist.fm/rest/1.0/artist/94f8947c-2d9c-4519-bcf9-6d11a24ad006/setlists?p=1'

The query returns 20 items per page, and the header tells me that there are currently 167 setlists, so I'll need to query it 9 times to get them all. The appear to be in descending date order. So I guess querying page 1 will give the update. Nifty.