The Encyclopaedia Metallum: The Metal Archives is a colaborative website, focused in metal genre, that provides information about bands, albums, songs, artists and more. But unfortunately it does not have an official API to access their data. So this repository exists to provide a way to recover these infos with a GraphQL API.
* The Demo can take 3 to 5 minutes to load.
- Clone this repository
git clone https://github.com/caiopiassali/graphql-metalarchives.git
- Navigate to project folder
cd graphql-metalarchives
- Install dependencies
npm install
npm start
npm run dev
After running the application the GraphQL Playground will be available at http://localhost:4000/graphql
query {
bands {
id,
name,
genre,
country
}
}
query {
band(id: "9524") {
name,
genre,
country,
location,
themes,
status,
label,
formYear,
yearsActive,
photoUrl,
logoUrl
}
}
query {
band(id: "9524") {
discography {
id,
name,
type,
year
}
}
}
query {
band(id: "9524") {
discography(type: "misc") {
id,
name,
type,
year
}
}
}
query {
album(id: "239675") {
name,
band,
type,
releaseDate,
label,
format,
coverUrl
}
}
query {
album(id: "239675") {
songs
}
}
query {
lyrics(id: "2699228") {
lyrics
}
}
Read CHANGELOG.md for release details and changes.
This project is licensed under the MIT License - see the LICENSE file for details