API client for PIR
Project description
Invest PIR API Client
Client for the PIR service (yet to be deployed)
Example
from pir_client.client import PIRAPIClient
client = PIRAPIClient(
base_url=settings.PIR_API_URL,
api_key=settings.PIR_API_KEY
)
# Creates report and sends email
client.create_report({
'name': 'test',
'sector': 'tech',
'market': 'usa',
'company': 'Acme',
'email': 'foo@acme.com'
})
Install
pip install invest-pir-api-client
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 | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size pir_client-1.1.0-py3-none-any.whl (3.3 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Close
Hashes for pir_client-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28d4c74a4c090059a239a71db6d1b8f3193517d92ff58c87714c95da8348822c |
|
MD5 | 76ce48fa3d590ddf7f5153e2315e0ccf |
|
BLAKE2-256 | 7cc1c07e5763d14f335fd5abdb1e0cad4680a07fe1619779d23e7e7b29668c20 |