Skip to main content

PredictHQ Event Intelligence

Project description


For the latest source, discussions, bug reports, etc., please visit the GitHub repository

PredictHQ API Client for Python

PredictHQ combines real-world events into one global source of truth to help businesses better understand demand, and plan for the future.


pip install predicthq


from predicthq import Client

phq = Client(access_token="$ACCESS_TOKEN")

for event in"Foo Fighters", rank_level=[4, 5], place={"scope": ["5391959", "5368361"]}):
    print(event.rank, event.category, event.title, event.start.strftime('%Y-%m-%d'))


  • Client.oauth2
  • Client.accounts
  • Client.signals
  • Client.places

For a description of all available endpoints, refer to our API Documentation.

Running Tests

pip install tox

Found a Bug?

Please log an issue.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
predicthq-0.0.17-py2.py3-none-any.whl (19.1 kB) Copy SHA256 hash SHA256 Wheel py2.py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page