Skip to main content

API client for PIR

Project description

Invest PIR API Client

CircleCI codecov PyPI

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.

Files for pir-client, version 1.1.0
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

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page