Skip to content

Broadcasts Stats: Add sent_after and sent_before params#139

Merged
n7studios merged 5 commits into
masterfrom
add-broadcasts-sent-after-before-query-params
May 27, 2026
Merged

Broadcasts Stats: Add sent_after and sent_before params#139
n7studios merged 5 commits into
masterfrom
add-broadcasts-sent-after-before-query-params

Conversation

@n7studios
Copy link
Copy Markdown
Contributor

Summary

Adds support for the sent_after and sent_before parameters on the get_broadcasts_stats method, which was added to the API on May 8th 2026:
https://developers.kit.com/changelog#may-8-2026-%E2%80%94-broadcast-stats

Testing

  • testGetBroadcastsStatsWithSentAfter: Test that get_broadcasts_stats() returns the expected data when a valid sent_after date is specified.
  • testGetBroadcastsStatsWithSentAfterNow: Test that get_broadcasts_stats() returns no broadcasts when a sent_after date is specified that is after all broadcasts.
  • testGetBroadcastsStatsWithSentBefore: Test that get_broadcasts_stats() returns the expected data when a valid sent_before date is specified.

Checklist

@n7studios n7studios added this to the 2.5 milestone May 25, 2026
@n7studios n7studios self-assigned this May 25, 2026
@n7studios n7studios requested review from a team, ciccio-kit and noelherrick and removed request for a team May 25, 2026 13:04
@n7studios n7studios marked this pull request as ready for review May 25, 2026 13:04
Add `slim` query parameter support
@n7studios n7studios merged commit 2c2cdd1 into master May 27, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants