Skip to main content

A library to interact with the Astra Portal API of Parendum.

Project description

Parendum Astra API Library

Parendum OÜ
Creation Date: September 2023
Copyright © 2023 Parendum OÜ. All rights reserved.

Description

The Parendum Astra API library provides a Python client for interacting with the Parendum Astra API. This library facilitates secure communication with the API, including HMAC signature generation, request header creation, and encrypted response decryption.

Features

  • HMAC signature generation for secure API requests.
  • Encrypted response decryption using AES.
  • Simple methods for fetching reports and company lists.

Installation

To use this library in your project, simply install it with the next command.

pip install git+https://gitlab.com/parendumteam/parendum-astra-api/

Usage

Initialize the API client with your API key and secret:

from parendum_astra_api import ParendumAstraAPI

client = ParendumAstraAPI(api_key="YOUR_API_KEY", api_secret="YOUR_API_SECRET")

Retrieve reports:

reports = client.get_reports(summary=True)
print(reports)

Retrieve a list of companies:

companies = client.get_companies()
print(companies)

Contact

For any inquiries, feedback, or issues, please contact:

License

Unauthorized use, reproduction, modification, or distribution without the express consent of Parendum OÜ is strictly prohibited.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parendum_astra_api-0.1.2.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

parendum_astra_api-0.1.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file parendum_astra_api-0.1.2.tar.gz.

File metadata

  • Download URL: parendum_astra_api-0.1.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for parendum_astra_api-0.1.2.tar.gz
Algorithm Hash digest
SHA256 179b7923aab76fd78d0b20593b39460582bd8f47046305e050d11088ca964ed0
MD5 1890f22776ddbdf9481370b43401312c
BLAKE2b-256 fbb24faf5e02f2cbd867270b2af0777a0300ea2e11b850a3edb0fd1ad12465c5

See more details on using hashes here.

File details

Details for the file parendum_astra_api-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for parendum_astra_api-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8db5a916d2bc5f336209e030f92fed935c9e7000ee5feeed048367dbf1f110ff
MD5 8924cf984c9790c845a0841dd4bdd863
BLAKE2b-256 d3ffd94f1f227c39ad57b48d620bcb2eaa3144640c8e3adc4ef591f8f39ca31a

See more details on using hashes here.

Supported by

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