Syntax error example code in 'Python SDK'
Closed this issue · 2 comments
KaanTolunayKilic commented
To many close parentheses
from predicthq import Client
phq = Client(access_token="$ACCESS_TOKEN")
for event in phq.events.search(q="Foo Fighters", rank_level=[4, 5], country='US'):
print(event.rank, event.category, event.title, event.start.strftime('%Y-%m-%d'))) # <---
YenLim commented
Hiya,
Thanks for letting us know! We'll get it fixed.
vdmchernov commented
Hi there,
I just deployed a fix for this.
Thanks