Event API not returning any results

Using PHP to request some event data from the API

$url = https://www.warcraftlogs.com:443/v1/report/events/KnDf9A4vqL8w6JYP/?api_key={my_key_goes_here}

$json = file_get_contents($url);
$array = json_decode($json, true);

print_r($array);

Returns:

Array
(
[events] => Array
(
)
)

Did I do something wrong (more like what did I do wrong…)

Need to specify start and end times. Use the fights API to get fight start and end time so that you can request the events for the fight you want.

Thank you. I didn’t realize that was a requirement. I also just tried out the API page widget thingy. I don’t know the technical term obviously, but that is pretty awesome. I can get the url I need and build it in my app. Less testing is always great!