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:
- Email: info@parendum.com
- Website: https://parendum.com
License
Unauthorized use, reproduction, modification, or distribution without the express consent of Parendum OÜ is strictly prohibited.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file parendum_astra_api-0.1.1.tar.gz
.
File metadata
- Download URL: parendum_astra_api-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8c8d6beb59157e9658417c833ceed5bf91d49c22ef1357771e815aefd87f886 |
|
MD5 | c7373eb77b7f1f895caaca7779e3d7cc |
|
BLAKE2b-256 | 45d23662c296a50ad213e0e16c02cc9cd0e52bc987fecfb77b066f0d5d3efacb |
File details
Details for the file parendum_astra_api-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: parendum_astra_api-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb4a4ef14b4e53cd097a8d08686489098c15423391768a06064a03a375946536 |
|
MD5 | 24d335f7b2f2ab4c585f440e3f90d214 |
|
BLAKE2b-256 | 2f3a79ed6d91d08536a5e86251a5d5765c9e604a723310cc3caf5e76eef481bc |