Skip to content

Commit 0c7b00b

Browse files
committed
feat: pydantic
1 parent 2850490 commit 0c7b00b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,9 @@ for situation in line_data.situations:
5959
### Fetching Affluence for Journeys
6060
To get affluence data for a specific journey on a line:
6161
```python
62-
start_coords = (longitude, latitude) # Start location coordinates
63-
end_coords = (longitude, latitude) # End location coordinates
6462
line_id = LineID.RER_A # Using LineID enum
6563

66-
affluence_data = api.get_affluence(start=start_coords, end=end_coords, line_id=line_id)
64+
affluence_data = api.get_line_affluence(line_id=line_id)
6765
print(affluence_data)
6866
```
6967

0 commit comments

Comments
 (0)