Fixed accessId in example

This commit is contained in:
Profitroll
2022-09-24 13:08:10 +02:00
parent 7b0f2c31ed
commit 52aea964b1
2 changed files with 3 additions and 3 deletions

View File

@@ -29,8 +29,8 @@ import pyrmv
accessId = "Something"
# Get origin's and destination's location
origin = pyrmv.raw.stop_by_name(accessid, "Frankfurt Hauptbahnhof", maxNo=3)[0]
destination = pyrmv.raw.stop_by_coords(accessid, 50.099613, 8.685449, maxNo=3)[0]
origin = pyrmv.raw.stop_by_name(accessId, "Frankfurt Hauptbahnhof", maxNo=3)[0]
destination = pyrmv.raw.stop_by_coords(accessId, 50.099613, 8.685449, maxNo=3)[0]
# Find a trip by locations got
trip = pyrmv.trip_find(accessId, origin_id=origin.id, dest_id=destination.id)