Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanExtreme002 authored Nov 29, 2023
1 parent d21ceb7 commit 7c97050
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,12 @@ Arrivals and departures can have a limit `flight_limit` (max value is 100) to di


## Get flights above your position:
The `get_bounds_by_point(...)` method has parameters `latitude` and `longitude` for your position.
And `radius` for what distance in meters from the point to start tracking
The `get_bounds_by_point(...)` method has parameters `latitude` and `longitude` for your position and `radius` for the distance in meters from your position to designate a tracking area.
```py
# Your point is 52°34'04.7"N 13°16'57.5"E from Google Maps and radius 2km
bounds = fr_api.get_bounds_by_point(52.567967, 13.282644, 2000)

flights = fr_api.get_flights(bounds=bounds)
flights = fr_api.get_flights(bounds = bounds)
```

## Filtering flights and airports:
Expand Down

0 comments on commit 7c97050

Please sign in to comment.