diff --git a/apis/sbb.py b/apis/sbb.py index b8ceee1..6c565f9 100644 --- a/apis/sbb.py +++ b/apis/sbb.py @@ -27,8 +27,26 @@ class SBBWrapper: return auth -#Example +sbb = SBBWrapper() +print(sbb.wrapper.get('route-offers')) + + +""" +tripQuery = { + 'date' : '2021-10-31', + 'time' : '19:44', + 'originId' : "8591122", + 'destinationId' : "8591123", +} + +sbb = SBBWrapper() +print(sbb.wrapper.trips.get(params=tripQuery)) +""" + +""" +#Example for locations query = {'name':'Kreuzlingen'} sbb = SBBWrapper() print(sbb.wrapper.locations.get(params=query)) +""" \ No newline at end of file diff --git a/static/event_id1_image.jpg b/static/event_id1_image.jpg new file mode 100644 index 0000000..00e07a9 Binary files /dev/null and b/static/event_id1_image.jpg differ