RoyaleAPI / cr-api

Clash Royale Analytics, Profiles and Insights. We no longer publish a public API. Please use the official API from Supercell.
https://RoyaleAPI.com
167 stars 20 forks source link

all tournaments have EndTime= null #416

Closed batichico closed 6 years ago

batichico commented 6 years ago

Idea/request:

  1. Briefly explain the idea or request.
  2. Briefly explain the rationale behind the request, or provide a use case.
  3. In which request/endpoint does this apply?
  4. Use the boxes at the bottom of this template to demonstrate a request and expected response.

Issue Report:

  1. Did you encounter this recently, or has this bug always been there? Is recently bug.

  2. Expected behaviour: Get all 1k Tournaments

  3. Console logs (if applicable):

  4. Screenshots (if applicable): https://imgur.com/HDHrk2f https://imgur.com/mInq7Ym

Request Details:

GET
https://api.royaleapi.com/tournaments/1k

Response Details:

i recieve all information but all tournaments have EndTime = null

[...]

image

smlbiobot commented 6 years ago

If the tournament hasn’t started when the data is fetched, the endTime will be None. However, createTime should always be available, with which you can calculate whether the tournament is still available or not.

batichico commented 6 years ago

Okay ty, this evening i will try it :)