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
Metadata
Release files for pir-client 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pir_client-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / pir_client-1.2.1-py3-none-any.whl
| Download URL | pir_client-1.2.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
11faa4ca71d2fd0ffabaa026079c25d68fb4db9ea8023860a74dbf71dfcd3fee
|
|
BLAKE2b-256 checksum How to use checksums |
d8a69ca70149cdfda5704d7e9c73b81001c6f51f07ec20579fa91913dc29f96c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.9
|