In this example we will get the sets in an event at a particular station or set of stations. Here I have selected the ladder event Team Calyptus ran for the release of Super Smash Bros. Ultimate.
Example #1 (Sets at a Station)
The stationNumbers
filter for sets queries accepts a set of station numbers.
I filtered the results for this to sets at Station 3 in the event.
You can use a much larger perPage
here- it is kept small in the example for demo purposes.
- Request
- Response
query SetsAtStation($eventId: ID!, $stationNumbers: [Int]) {event(id: $eventId) {idnamesets(page: 1perPage: 3filters: {stationNumbers: $stationNumbers}) {nodes {idstation {idnumber}slots {identrant {idname}}}}}},{"eventId": 122755,"stationNumbers":[3]}