craigapts

Python package for scraping apartment data from Craigslist.


License
Other
Install
pip install craigapts==2020.3.16

Documentation

craigapts

Python package for scraping apartment data from Craigslist.

Install

Stable version from PyPI:

pip install craigapts

Dev version from GitLab:

pip install git+https://gitlab.com/everetr/craigapts.git

Examples

from craigapts import CLSearch

GEO   = "newjersey"
QUERY = '"no section 8"'  # exact phrases must be within "double quotes"

# get basic data available on search result pages
c1 = CLSearch(GEO, QUERY)
print(c1.data)

# get details by navigating to each individual ad
c2 = CLSearch(GEO, QUERY, deep=True)
print(c2.data)

CHANGELOG

See NEWS.md.

TODO

See TODO.md.