Skip to content

Instantly share code, notes, and snippets.

View velaar's full-sized avatar

Vlad Rurukin velaar

  • Calgary, Canada
View GitHub Profile
@velaar
velaar / waze.py
Created April 24, 2016 21:25 — forked from StatusReport/waze.py
Simple Waze wrapper for querying route cross time with / without real time data. More work is required with parsing the JSON returned from the server to extract the textual route information, but it should be pretty straightforward.
import json
import urllib
class WazeLocationNotFoundException(Exception):
pass
class Waze(object):
_BASE_URL = "http://www.waze.co.il/"
def __mozi(self, query):