Skip to content

Commit

Permalink
Fix typo in broadcasts endpoint usecase
Browse files Browse the repository at this point in the history
  • Loading branch information
mbonnefoy committed Jan 13, 2021
1 parent 202c322 commit 92ceb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usecases/broadcasts/basics.py
Expand Up @@ -18,7 +18,7 @@
# Broadcast fields and their description are available at
# https://docs.predicthq.com/resources/broadcasts/#broadcast-fields.
for broadcast in phq.broadcasts.search():
print(broadcast.event.title, broadcast.phq_viewership, broadcast.event.category, broadcast.start.strftime('%Y-%m-%d'))
print(broadcast.event.title, broadcast.phq_viewership, broadcast.event.category, broadcast.dates.start.strftime('%Y-%m-%d'))


# You can add parameters to filter your search further.
Expand Down

0 comments on commit 92ceb30

Please sign in to comment.