muxinc / mux-php

Official Mux API wrapper for PHP projects, supporting both Mux Data and Mux Video.
MIT License
40 stars 30 forks source link

Improve documentation of using epoch timestamps for Data timeframe #73

Closed timmch closed 1 year ago

timmch commented 1 year ago

I has trouble understanding how to pass timestamps for a timeframe. Since there were no examples or specific documentation of using the library to do so, I ended up diving the source to understand how ObjectSerializer::buildBetterQuery works. I think it would help other developers to have at least one example that uses timestamps.

Before

CleanShot 2023-09-12 at 16 53 14@2x

After

CleanShot 2023-09-12 at 16 52 40@2x

philcluff commented 1 year ago

Merging ignoring broken tests due to tokens not being present on the fork.