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.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

parendum_astra_api-0.1.3-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for parendum_astra_api-0.1.3.tar.gz
Algorithm Hash digest
SHA256 29b2eabf8a5ecc27d115b8e1554fd537c5b41accccd33d74771f456a64ba803a
MD5 a24729abd5ea12f0bc57d4b27fb7b3dc
BLAKE2b-256 448258dad6f5b26bf48dec184855a10ae94dd09818d5183a9f2fb5ad005ec84b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for parendum_astra_api-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ff40288999fc764678aa5f850feb47f4abf526ea09d4d7a547dde908185145f3
MD5 38750a2f6ffc1fd620303d6f9598a665
BLAKE2b-256 7373e9f4fa0ad36963e78529971e1c027a649c0e985d04a8591060a8b6dc7437

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