Skip to content

Commit dcd975a

Browse files
committed
Update README.md
1 parent 59d89b4 commit dcd975a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ like GeoJSON.
1010
```python
1111
>>> import arcgis
1212
>>> source = "http://services.arcgis.com/P3ePLMYs2RVChkJx/ArcGIS/rest/services/USA_Congressional_Districts/FeatureServer"
13-
>>> arc = arcgis.ArcGIS(source)
13+
>>> service = arcgis.ArcGIS(source)
1414
>>> layer_id = 0
15-
>>> shapes = arc.get(layer_id, "STATE_ABBR='IN'")
15+
>>> shapes = service.get(layer_id, "STATE_ABBR='IN'")
1616
```
1717

1818
This assumes you've inspected your ArcGIS services endpoint to know what to look for.

0 commit comments

Comments
 (0)