Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 859 Bytes

README.md

File metadata and controls

39 lines (34 loc) · 859 Bytes

Concert Setlist GraphQL API

This project is an experiment with GraphQL. I have a database of concert setlists that I've pulled together and I decided to try and build a simple GraphQL API on top of the database. More details will come as I continue to build on it but for now, it supports a couple of basic queries as described below:

Get the last 20 shows performed by a band:

query={ band(slug: "phish") {
     name
     slug
     performances(limit: 20) {
       date
       first_set
       second_set
       encore
       venue {
         name
         city
         state
       }
     }
 }}

Get a single performance for a band on a particular date:

query={ performance(band: "phish", date: "2009-12-02") {
     date
     first_set
     second_set
     encore
     venue {
       name
       city
       state
     }
 }}