Metadata-Version: 2.1
Name: pydsb
Version: 2.3.0
Summary: Python API for DSBmobile
Project-URL: Homepage, https://github.com/mojansch/pydsb
Project-URL: Bug Tracker, https://github.com/mojansch/pydsb/issues
Author-email: Moritz Jannasch <contact@moritzj.de>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Requires-Dist: requests
Description-Content-Type: text/markdown

# pydsb 2.3.0
pydsb provides a Python API for DSBmobile.

Heinekingmedia (the creators of DSBmobile) shut down the API pydsb was previously using so I had to use the app-API. That required a complete rewrite so some features are currently not implemented yet. See below for the current featureset.
I strongly recommend that users of version 1.0 upgrade to 2.0, because it doesn't work anymore. Some syntax has changed too, so be aware of that.

## Features

- [x] Getting plans
- [x] Getting news (maybe not always working due to limited sample data)
- [x] Getting postings (Aushänge)

## Installation

    pip install pydsb

## Usage

    from pydsb import PyDSB
    
    dsb = PyDSB("username", "password")
    
    print(dsb.get_plans())
    print(dsb.get_postings())
    print(dsb.get_news())
