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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pir_client-1.2.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file pir_client-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: pir_client-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.9

File hashes

Hashes for pir_client-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11faa4ca71d2fd0ffabaa026079c25d68fb4db9ea8023860a74dbf71dfcd3fee
MD5 4734f6f5226e11650bfb8d384bc4f00b
BLAKE2b-256 d8a69ca70149cdfda5704d7e9c73b81001c6f51f07ec20579fa91913dc29f96c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page