Fixed installation methods
Some checks reported warnings
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.8) (push) Has been cancelled
Tests / test (3.9) (push) Has been cancelled
Tests / test (3.10) (push) Has been cancelled

This commit is contained in:
Profitroll 2023-11-25 13:20:00 +01:00
parent 83ae0999ea
commit f7873ac66b
Signed by: profitroll
GPG Key ID: FA35CAB49DACD3B2

View File

@ -19,13 +19,11 @@ If you have everything listed in [requirements](#requirements), then let's begin
### Variant 1 ### Variant 1
1. `python -m pip install pyrmv` `python -m pip install pyrmv`
### Variant 2 ### Variant 2
1. `git clone https://git.end-play.xyz/profitroll/PythonRMV.git` `python -m pip install git+https://git.end-play.xyz/profitroll/PythonRMV.git`
2. `cd PythonRMV`
3. `python setup.py install`
## Usage ## Usage
@ -39,7 +37,7 @@ client = pyrmv.Client("AcessId")
origin = client.stop_by_name("Frankfurt Hauptbahnhof", max_number=3)[0] origin = client.stop_by_name("Frankfurt Hauptbahnhof", max_number=3)[0]
destination = client.stop_by_coords(50.099613, 8.685449, 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) trip = client.trip_find(origin_id=origin.id, dest_id=destination.id)
``` ```