Hackathon Data Quickstart
Article 3619465, Status: VALIDATED
Table of Contents
❓Issue/Question
- How do I start using the data?
- Where do I start with the data?
- What is the best logic to get the data?
- How to tackle the data?
💻Environment/Context
- Sky's The Limit - Cloud9 x JetBrains Hackathon
👌Resolution/Answer
- Everything starts with getting Series IDs from Central Data
https://api-op.grid.gg/central-data/graphql- First you query to get the available titles
query Titles { titles { id name } } - Then you query to get Tournaments in a specific title
query Tournaments { tournaments(filter: { title: { id: { in: ["3"] } } }) { totalCount edges { node { id name } } } } - Then you check if there are any series with that Tournament
query AllSeries { allSeries( filter: { tournament: { id: { in: 756907 }, includeChildren: { equals: true } } } orderBy: StartTimeScheduled ) { totalCount edges { node { id startTimeScheduled teams { baseInfo { id name } } } } pageInfo { endCursor hasNextPage } } } - And this gives you series IDs that you can use in the Series State API and the File Download API
- First you query to get the available titles