Coder Social home page Coder Social logo

walkscore-api's Introduction

The WalkScore Library

(Unofficial) Python Bindings for the WalkScore API

Branch Unit Tests
latest Build Status (Travis CI) Code Coverage Status (Codecov) Documentation Status (ReadTheDocs)
v.1.0 Build Status (Travis CI) Code Coverage Status (Codecov) Documentation Status (ReadTheDocs)
develop Build Status (Travis CI) Code Coverage Status (Codecov) Documentation Status (ReadTheDocs)

The WalkScore Library is a Python library that provides Python bindings for the WalkScore API. It enables you to retrieve WalkScores, TransitScores, and BikeScores from the API within your Python code in Python versions 3.6 and higher.

Warning

The WalkScore Library is completely unaffiliated with WalkScore. It is entirely unofficial and was developed based on publicly available documentation of the WalkScore APIs published to the WalkScore website. Use of WalkScore is subject to WalkScore's licenses and terms of service, and this library is not endorsed by WalkScore or any affiliates thereof.

COMPLETE DOCUMENTATION: http://walkscore-api.readthedocs.org/en/latest/index.html


To install the WalkScore Library, just execute:

$ pip install walkscore-api
Python 3.x

  • Python representation of WalkScores, TransitScores, and BikeScores.
  • Easy serialization and deserialization of API responses to Python objects, dict objects or JSON
  • Built-in back-off/retry logic if the WalkScore API is unstable at any mometn in time
  • Robust error handling to surface meaningful information to help you debug your code.

from walkscore import WalkScoreAPI

You can either use a single object to communicate with all of the available WalkScore APIs, or initialize a single object for each API:

api_key = 'YOUR API KEY GOES HERE'

walkscore_api = WalkScoreAPI(api_key = api_key)
address = '123 Anyplace St Anywhere, AK 12345'

result = walkscore_api.get_score(latitude = 123.45, longitude = 54.321, address = address)

# the WalkScore for the location
result.walk_score

# the TransitScore for the location
result.transit_score

# the BikeScore for the location
result.bike_score

You can ask questions and report issues on the project's Github Issues Page


We welcome contributions and pull requests! For more information, please see the Contributor Guide.


We use TravisCI for our build automation and ReadTheDocs for our documentation.

Detailed information about our test suite and how to run tests locally can be found in our Testing Reference.


WalkScore is made available under an MIT License.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.