This commit is contained in:
Miupro 2021-10-31 05:13:47 +01:00
parent 7db1c2736f
commit c02dc11009
2 changed files with 19 additions and 1 deletions

View File

@ -27,8 +27,26 @@ class SBBWrapper:
return auth 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'} query = {'name':'Kreuzlingen'}
sbb = SBBWrapper() sbb = SBBWrapper()
print(sbb.wrapper.locations.get(params=query)) print(sbb.wrapper.locations.get(params=query))
"""

BIN
static/event_id1_image.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 176 KiB