How do I use the Series State API?
Article 3619413, Status: VALIDATED
Table of Contents
❓Issue/Question
- How do I use the Series State API?
💻Environment/Context
- Sky's The Limit - Cloud9 x JetBrains Hackathon
👌Resolution/Answer
- Full Series State Documentation is available here and the API reference here
- Central Data is available using
https://api-op.grid.gg/live-data-feed/series-state/graphql - You can test it out using our GQL Playground or other API testing tools such as Postman, Insomnia, Bruno and others
Quick how-to:
- Input the URL into the tool you are using
- Input your API key into the headers section. The API uses
x-api-keyauthentication- Usually the tool will already automatically pull the API documentation from the server
- Compile a query and pass it to the request
query SeriesState { seriesState(id: "2692648") { id started finished teams{ id name won } games { teams{ id players{ id name kills deaths } } } } } - Run the request to get the data