SongKick API GraphQL wrapper (
Uses graphql-import and graphql-yoga.
Clone the repo then:
npm i
SKKEY=YOU_SONGKICK_API_KEY npm start
GraphiQL will be available on http://localhost:4000
Query example:
{
artists (query: "thee oh sees", per_page: 1) {
id
displayName
events (per_page: 1) {
id
displayName
}
}
}
Will output
{
"data": {
"artists": [
{
"id": 2321725,
"displayName": "Thee Oh Sees",
"events": [
{
"id": 33137014,
"displayName": "Thee Oh Sees at O2 Forum Kentish Town (September 3, 2018)"
}
]
}
]
}
}
You can create an API key: HERE
You'll find the API references: HERE