Get the count of Live TV broadcasts by category, label and more.
Last updated 6 months ago
Was this helpful?
GET https://api.predicthq.com/v1/broadcasts/count/
This endpoint accepts the same query parameters as the Search Broadcasts endpoint. Please refer to the documentation for query parameters.
Below is an example response:
{ "count": 3142 }
curl -X GET "https://api.predicthq.com/v1/broadcasts/count/?event.event_id=AdKtL974inQB7GURRd" \ -H "Accept: application/json" \ -H "Authorization: Bearer $ACCESS_TOKEN"
import requests response = requests.get( url="https://api.predicthq.com/v1/broadcasts/count", headers={ "Accept": "application/json", "Authorization": "Bearer $ACCESS_TOKEN" }, params={ "event.event_id": "AdKtL974inQB7GURRd" } ) print(response.json())