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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

onlinebrief24-1.2-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file onlinebrief24-1.2-py2.py3-none-any.whl.

File metadata

  • Download URL: onlinebrief24-1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

File hashes

Hashes for onlinebrief24-1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9c8778d3597071607bb8788604ebf193cc7fae27e43a7c5052c69ac8ba7a06f8
MD5 ce6ece6ba1be5e1d85df4fdfa41cb500
BLAKE2b-256 4e03b96a0e33035498371c194693112f28b4788b44b15fee286dfed4fbf85169

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