Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ValhallaPY

This is a quick python wrapper for the [Valhalla]() service from MapZen
This is a quick python wrapper for the [Valhalla](https://www.mapzen.com/blog/valhalla-intro/) service from MapZen

## Instalation
## Installation

pip install valhallapy

Expand Down Expand Up @@ -30,7 +30,7 @@ from valhalla import Valhalla
valhalla = Valhalla(host="http://192.168.99.100:5333", api_key="")
```

where the api key is optional (get your api keys [here](https://mapzen.com/developers/sign_in) if you are running locally. Once you have a connection, request a route by
where the api key is optional (get your api keys [here](https://mapzen.com/developers/sign_in)) if you are running locally. Once you have a connection, request a route by

## Get a route

Expand All @@ -40,9 +40,9 @@ Request a route using the following
route = valhalla.route(start, end, costing)
```

where costing can be 'pedestrian', 'auto' etc ([full list of costing models](https://mapzen.com/documentation/turn-by-turn/api-reference/#costing-models)).
where costing can be 'pedestrian', 'auto' etc. ([full list of costing models](https://mapzen.com/documentation/turn-by-turn/api-reference/#costing-models)).

This returns a ValhallaRoute object which can be interegated for information about the returned route
This returns a ValhallaRoute object which can be integrated for information about the returned route

```python
route.time() # The time in seconds the route will take
Expand Down