Show apartments for a region

get_apartments[source]

get_apartments(region:str)

return listing of apartments from craigslist

Type Default Details
region str craiglist region like portland

You can use get apartments to show links for the most recent listings for a specific region. For example, to get the most recent listings for portand, you can run:

_results = get_apartments('portland')

show_apts[source]

show_apts(region:str, n:int)

Show links to apartments on craigslist

Type Default Details
region str craiglist region like portland
n int show n listings