Python library for accessing trulia.com's REST API
Project description
# trulia
Python library for accessing Trulia’s REST API
## Installation
pip install trulia
## Usage
import trulia.location
TRULIA_KEY = “RELACE_WITH_YOUR_API_KEY” # Get all cities in California cities = trulia.location.LocationInfo(TRULIA_KEY).get_cities_in_state(“CA”)
# Get all counties in California counties = trulia.location.LocationInfo(TRULIA_KEY).get_counties_in_state(“CA”)
# Get all neighborhoods in Los Angeles neighborhoods = trulia.location.LocationInfo(TRULIA_KEY).get_neighborhoods_in_city(“Los Angeles”, “CA”)
# Get all states in the United States states = trulia.location.LocationInfo(TRULIA_KEY).get_states()
# Get all zip codes in California zip_codes = trulia.location.LocationInfo(TRULIA_KEY).get_zip_codes_in_state(“CA”)
## Documentation
Trulia’s API documentation can be found here: http://developer.trulia.com/docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for trulia-0.0.2.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a82b8bc4ed43fb562fc620a9d4aaac8a0e04751fde8532e57621b1bc0347856 |
|
MD5 | 283491f1cff9e3377345042a822b2269 |
|
BLAKE2b-256 | d7a0061dfba2f76752c1593e5804c0c473245c23f85235f99a2856c063d1dff2 |