/better-vplan-server

REST API server built with flask, based on the dsbapipy library from @nerrixde - will be used in my upcoming custom DSB client.

Primary LanguagePython

better-vplan-server

REST API server built with flask, based on the dsbapipy library from @nerrixde - will be used in my upcoming custom DSB client. I had to put everything into one file and remove some code due to some import errors. Sorry for the messy code... This is my first fullstack project

Demo

This API is also hosted here:

https://better-vplan-server.vercel.app/

API Reference

Get full substitution plan

  POST /
Parameter Type Description
username string Your DSBmobile username
password string Your DSBmobile password

More options will follow soon...

Run Locally

Clone the project

  git clone https://github.com/joel-wlf/better-vplan-server.git

Go to the project directory

  cd better-vplan-server

Install dependencies

  pip install -r requirements.txt

Start the server

  flask run

License

This project is licensed under the Apache 2.0 License.

Acknowledgements