You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@ The module is not on PyPi yet.
13
13
## Use it
14
14
15
15
```python
16
-
>>>from overpass importOverpass
17
-
>>> api =Overpass.API()
16
+
>>>importoverpass
17
+
>>> api =overpass.API()
18
18
>>> response = api.Get('node["name"="Salt Lake City"]')
19
19
```
20
20
@@ -36,15 +36,15 @@ The API takes a few parameters:
36
36
The default endpoint is `http://overpass-api.de/api/interpreter` but you can pass in the rambler instance (`http://overpass.osm.rambler.ru/cgi/interpreter`) or your own:
37
37
38
38
```python
39
-
api =Overpass.API(endpoint=http://overpass.myserver/interpreter)
39
+
api =overpass.API(endpoint=http://overpass.myserver/interpreter)
40
40
```
41
41
42
42
#### `timeout`
43
43
44
44
The default timeout is 25 seconds, but you can set it to whatever you want.
0 commit comments