PredictHQ Event Intelligence
Project description
PredictHQ API Client for Python
PredictHQ is a global events intelligence platform that aggregates, enriches and connects scheduled and real-time event data happening both locally and globally, then predicts which ones could impact your business.
Installation
pip install predicthq
Usage
from predicthq import Client
phq = Client(access_token="$ACCESS_TOKEN")
for event in phq.events.search(q="Foo Fighters", rank_level=[4, 5], place={"scope": ["5391959", "5368361"]}):
print(event.rank, event.category, event.title, event.start.strftime('%Y-%m-%d')))
Endpoints
Client.oauth2
Client.accounts
Client.events
Client.signals
Client.places
For a description of all available endpoints, refer to our API Documentation.
Running Tests
pip install tox
tox
Found a Bug?
Please log an issue.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for predicthq-0.0.9-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe85561668678ec6fa95c268f5800c39528e88bc2bbf5a7208b000295814498e |
|
MD5 | 188e2c849934584da744b4ad60f9b7bd |
|
BLAKE2b-256 | 8534c4e3c61c4ac880b91ac18560ce3302a89937f3488e36209b7ca2fee7a152 |