We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2850490 commit 0c7b00bCopy full SHA for 0c7b00b
README.md
@@ -59,11 +59,9 @@ for situation in line_data.situations:
59
### Fetching Affluence for Journeys
60
To get affluence data for a specific journey on a line:
61
```python
62
-start_coords = (longitude, latitude) # Start location coordinates
63
-end_coords = (longitude, latitude) # End location coordinates
64
line_id = LineID.RER_A # Using LineID enum
65
66
-affluence_data = api.get_affluence(start=start_coords, end=end_coords, line_id=line_id)
+affluence_data = api.get_line_affluence(line_id=line_id)
67
print(affluence_data)
68
```
69
0 commit comments