skip to navigation
skip to content

onlinebrief24 1.0

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

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')