Skip to main content

A wrapper around a webscraper for popular rental agencies on UIUC campus

Project description

UIUC Apartment Kit

A wrapper around a webscraper for popular rental agencies on UIUC campus

Installation:

pip install uiuc-apartments

Usage:

from uiuc_apartments import AllAgencies

for agency in AllAgencies:
    print(agency.get_all())
from uiuc_apartments import Smith
agency = Smith()
print(agency.name) # Smith Apartments
apartments = agency.get_all()
# [<Apartment $1020.0/month 2.0 beds/1.0 baths 8/2/2024 Smith Apartments>, ...
print(apartments[0].link)
# https://smithapartments-cu.com/property-details/?pid=27

Development:

  • Add a new agency to the folder
  • Add it to the imports of agencies/__init__.py and to AllAgencies

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

uiuc_apartments-0.0.7.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

uiuc_apartments-0.0.7-py3-none-any.whl (16.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page