Skip to content

Commit 4184783

Browse files
committed
Added auto-import for queries and updated readme accordingly.
1 parent 7f2c0c8 commit 4184783

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ Up to now, only a query for [complete ways and relations](http://wiki.openstreet
6565
You just pass the bounding box to the constructor:
6666

6767
```python
68-
>>> from overpass import queries
69-
>>> map_query = queries.MapQuery((50.746,7.154,50.748,7.157))
70-
>>> response = api.Get(map_query)
68+
>>> map_query = overpass.MapQuery((50.746,7.154,50.748,7.157))
69+
>>> response = api.Get(map_query)
7170
```
7271

7372
## Need help? Want feature?

overpass/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
__version__ = '0.0.1'
77
__license__ = 'Apache 2.0'
88

9-
from .api import API
9+
from .api import API
10+
from .queries import MapQuery

0 commit comments

Comments
 (0)