Metadata-Version: 2.1
Name: getapt
Version: 0.0.2
Summary: A python package that gets apartments from craigslist
Home-page: https://github.com/hamelsmu/getapt/tree/master/
Author: Hamel
Author-email: hamel@foo.com
License: Apache Software License 2.0
Keywords: web scraping
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: Apache Software License
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: dev
License-File: LICENSE

# getapt
> See craigslist apartments


## Install

`pip install getapt`

## How to use

```
! show_apts -h
```

    usage: show_apts [-h] region n
    
    Show links to apartments on craigslist
    
    positional arguments:
      region      craiglist region like `portland`
      n           show n listings
    
    optional arguments:
      -h, --help  show this help message and exit


# Example

```
! show_apts portland 10
```

    Showing 10 apartments in portland
    ==================================================
    https://portland.craigslist.org/mlt/apa/d/gresham-spacious-bedroom-unit-in-gresham/7489169916.html
    https://portland.craigslist.org/mlt/apa/d/gresham-spacious-bedroom-unit-in-gresham/7489169138.html
    https://portland.craigslist.org/wsc/apa/d/portland-call-for-future-availability/7489168564.html
    https://portland.craigslist.org/mlt/apa/d/portland-get-your-dream-apartment-come/7489168443.html
    https://portland.craigslist.org/clk/apa/d/vancouver-looking-for-an-apartment-this/7489168297.html
    https://portland.craigslist.org/clc/apa/d/clackamas-want-to-wake-up-to-nature/7489168192.html
    https://portland.craigslist.org/mlt/apa/d/portland-pet-friendly-apartments-in/7489167947.html
    https://portland.craigslist.org/clc/apa/d/west-linn-fitness-center-swimming-pool/7488321368.html
    https://portland.craigslist.org/mlt/apa/d/portland-pet-friendly-one-bedroom-in/7489163662.html
    https://portland.craigslist.org/mlt/apa/d/portland-oversized-closets-elevator/7489167324.html



