Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Contact Us
  • Home
  • Client Help

How to get a list of series for the next x hours/days

Article 2681615, Status: VALIDATED

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Client Help
+ More

Table of Contents

❓Issue/Question 💻Environment/Context 👌Resolution/Answer

❓Issue/Question

  • How to get a list of series for the next x hours/days

💻Environment/Context

  • Central Data

👌Resolution/Answer

  • To do that, you need to specify the time period in the filters within your query that you will run against Central Data
  • gte - the date from which you would like to have the series.
  • lte - the date up to which you would like to have the series.
  • There is an example of how to specify a time period within a Central Data Query
query GetAllSeriesInNext24Hours {
  allSeries(
    filter:{
      startTimeScheduled:{
        gte: "2024-07-17T15:00:30+02:00"
        lte: "2024-07-18T15:00:30+02:00"
      }
    }
    orderBy: StartTimeScheduled
  ) {
    totalCount,
    pageInfo{
      hasPreviousPage
      hasNextPage
      startCursor
      endCursor
    }
    edges{
      cursor
      node{
        ...allSeriesFields
      }
    }
  }
}

 

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Can I get a list of series that are currently live?
  • How do I get orb and ultimate info?
Privacy Policy
Esports Players Privacy Notice
Imprint
Careers
GRID® 2022 | All Rights Reserved
Expand