gjohansson-ST / pytrafikverket

python module for communicating with the swedish trafikverket api
MIT License
22 stars 7 forks source link

Ferry support #4

Closed jacobgarder closed 4 years ago

jacobgarder commented 4 years ago

Added support for ferry information. I have tried to keep the same formats and names as much as possible, even though the ferry departures differ from trains.

CLI-example: -key [api_key_here] -method get-next-ferry-stop -from-harbor "Ekerö" -key [api_key_here] -method get-next-ferry-stop -from-harbor "Furusund" -date-time "2019-12-24T00:00:00"

jacobgarder commented 4 years ago

Made some formatting changes, also in the current project files. Not sure of your preference of flake8-settings. I usually use max-line-length of 88-100. Now I have used 88 (default for black).