Skip to content

A HTTP Python client to interface with the Lleida.net API

License

Notifications You must be signed in to change notification settings

reclamador/pylleida

Repository files navigation

pylleida

https://coveralls.io/repos/github/reclamador/pylleida/badge.svg?branch=master Documentation Status Updates

A HTTP Python client to use the Lleida.net API. This API consists of several modules, each one related to a different set of services. More information can be found at the official API listing website.

Disclosure

This Python library has been developed by the reclamador.es team without any previous collaboration agreement with Lleida.net. The code in this repository will be updated according to the updates on the Lleida.net APIs, initially based on the internal requirements of the reclamador.es team.

Features

  • MailCert API: lets the client check the status of the PDF email certificate documents emitted by the Lleida.net MailCert service. Currently implemented methods:

    • get_default_settings: retrieves a list of the MailCert service's configuration parameters associated to the account used by the PyLleida client.
    • list_pdf: fetches a listing of PDF documents (email certificates), indicating their metadat, status and other identification data.
    • download_pdf: fetches the binary data of a given PDF document (email certificate) if possible, otherwise returns an error response.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.