I did this (from the README):
api = overpass.API(user_agent="...")
and got this message:
/Users/joachim/Sites/hist/test-overpass.py:2: DeprecationWarning: overpass.API is deprecated and will be removed in overpass 1.0; use overpass.OverpassClient in 1.0 instead.
So, as indicated, I tried this:
api = overpass.OverpassClient(user_agent="...")
and it crashes with:
AttributeError: module 'overpass' has no attribute 'OverpassClient'
I did this (from the README):
```
api = overpass.API(user_agent="...")
```
and got this message:
> /Users/joachim/Sites/hist/test-overpass.py:2: DeprecationWarning: overpass.API is deprecated and will be removed in overpass 1.0; use overpass.OverpassClient in 1.0 instead.
So, as indicated, I tried this:
```
api = overpass.OverpassClient(user_agent="...")
```
and it crashes with:
> AttributeError: module 'overpass' has no attribute 'OverpassClient'