Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
A little more usage notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Gillies committed Aug 6, 2015
1 parent 01fd01b commit 0186033
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ $ pip install mapbox

## Usage

Basic usage of the geocoder:
Client methods return [Requests](http://www.python-requests.org/en/latest/)
style response objects.

```python
import mapbox
Expand All @@ -28,6 +29,7 @@ geocoder = mapbox.Geocoder(access_token='YOUR_ACCESS_TOKEN')
response = geocoder.fwd('Chester, NJ')

# response.json() returns the geocoding result as GeoJSON.
# response.status_code returns the HTTP API status code.
```

## Testing
Expand Down

0 comments on commit 0186033

Please sign in to comment.