Skip to main content

Python client for onlinebrief24.de - a German letter sending service.

Project description

Installation

pip install onlinebrief24

Beispiele

import onlinebrief24

c = onlinebrief24.Client('email@example.com', 'secret_password')
c.login()
c.upload('/tmp/filename1.pdf', duplex=False, color=False)
c.upload('/tmp/filename2.pdf', registered='insertion', envelope='c4')
c.disconnect()

with-statement

with onlinebrief24.Client('email@example.com', 'secret_password') as c:
    c.upload('/tmp/filename1.pdf', duplex=False, color=False)
    c.upload('/tmp/filename2.pdf', registered='insertion', envelope='c4')

Optionen für Brief

Option Werte Vorbelegung Beschreibung
color
  • True
  • False
True Farbdruck ja/nein
duplex
  • True
  • False
True Duplexdruck ja/nein
envelope
  • din_lang
  • c4
din_lang Umschlagformat. DIN lang oder C4.
distribution
  • auto
  • national
  • international
auto Versandzone. Automatisch, National, International
registered
  • None
  • insertion
  • standard
  • personal
None Einschreiben: Nein, Einwurf-Einschreiben, Standard-Einschreiben, Einschreiben eigenhändig
payment_slip
  • None
  • national
  • sepa
None Zahlschein: Kein Zahlschein, Inlands-Zahlschein, SEPA-Zahlschein

Copyright

MIT License

Project details


Download files

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

Files for onlinebrief24, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size onlinebrief24-1.2-py2.py3-none-any.whl (4.9 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page