Updated to 0.2.3

This commit is contained in:
Profitroll
2022-09-24 13:59:54 +02:00
parent cc6324cc88
commit c7b0649b50
3 changed files with 11 additions and 11 deletions

View File

@@ -9,19 +9,19 @@ Small module that makes your journey with RMV REST API somehow easier. Based ful
import pyrmv
# Set API key
accessId = "Something"
access_id = "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.stop_by_name(access_id, "Frankfurt Hauptbahnhof", max_number=3)[0]
destination = pyrmv.stop_by_coords(access_id, 50.099613, 8.685449, max_number=3)[0]
# Find a trip by locations got
trip = pyrmv.trip_find(accessId, origin_id=origin.id, dest_id=destination.id)
trip = pyrmv.trip_find(access_id, origin_id=origin.id, dest_id=destination.id)
```
"""
__name__ = "pyrmv"
__version__ = "0.2.1"
__version__ = "0.2.3"
__license__ = "MIT License"
__author__ = "Profitroll"