Primary methods for walkscore frontend¶
Walkscore frontend to interact with the Walkscore website without using the limited API. Returns data about cities and neighborhoods from Walkscore.
- walkscore_frontend.data_for_city(city, state)¶
Get the Walkscore data for the given city.
Parameters: - city – Name of the city (such as Seattle)
- state – Two-letter code of the state (such as WA)
Returns: Walkscore data about the specified neighborhood
Return type: dict
- walkscore_frontend.data_for_neighborhood(neighborhood, city, state)¶
Get the Walkscore data for the given neighborhood.
Parameters: - neighborhood – Nane of the neighborhood (such as Denny Triangle)
- city – Name of the city (such as Seattle)
- state – Two-letter code of the state (such as WA)
Returns: Walkscore data about the specified neighborhood
Return type: dict
- walkscore_frontend.get_city(city, state)¶
Return a City object with data for this city.
Parameters: - city – Name of the city (such as Seattle)
- state – Two-letter code of the state (such as WA)
Returns: City object with data about the specified city
Return type: City
- walkscore_frontend.get_neighborhood(neighborhood, city, state)¶
Return a Neighborhood object with data for this neighborhood.
Parameters: - neighborhood – Nane of the neighborhood (such as Denny Triangle)
- city – Name of the city (such as Seattle)
- state – Two-letter code of the state (such as WA)
Returns: Neighborhood object with data about the specified neighborhood
Return type: Neighborhood