hasadna/anyway-sdk-python

Name: anyway-sdk-python

Owner: The Public Knowledge Workshop

Description: Python SDK for Anyway

Created: 2017-09-11 07:31:06.0

Updated: 2017-09-16 18:18:18.0

Pushed: 2017-09-26 06:40:11.0

Homepage: null

Size: 9

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Anyway SDK Build Status Build status

Python SDK for anyway.co.il.

Installation

This package requires Python 3.5 and above. It does not available in PyPi yet, so installation should be performed by checking out the git repository and running:

install -e .
Example usage
 anywaysdk import Anyway
ay = Anyway()
dents = anyway.get_accidents(location="???? ??? ????", distance_in_km=0.2)
accident in accidents:
if 'address' in accident:
    print(accident['address'])

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.