From f7873ac66b534d0b8ef23e24e5d4a8ae253f8256 Mon Sep 17 00:00:00 2001 From: profitroll Date: Sat, 25 Nov 2023 13:20:00 +0100 Subject: [PATCH] Fixed installation methods --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6345086..a8910dd 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,11 @@ If you have everything listed in [requirements](#requirements), then let's begin ### Variant 1 -1. `python -m pip install pyrmv` +`python -m pip install pyrmv` ### Variant 2 -1. `git clone https://git.end-play.xyz/profitroll/PythonRMV.git` -2. `cd PythonRMV` -3. `python setup.py install` +`python -m pip install git+https://git.end-play.xyz/profitroll/PythonRMV.git` ## Usage @@ -39,7 +37,7 @@ client = pyrmv.Client("AcessId") origin = client.stop_by_name("Frankfurt Hauptbahnhof", max_number=3)[0] destination = client.stop_by_coords(50.099613, 8.685449, max_number=3)[0] -# Find a trip by locations got +# Find a trip by locations you got above trip = client.trip_find(origin_id=origin.id, dest_id=destination.id) ```