Skip to content

Python library to get information about houses from pararius.nl

License

Notifications You must be signed in to change notification settings

orsinium-labs/pararius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pararius

Python library to get information about houses from pararius.nl.

DISCLAIMER: this is not an official API and doesn't use one. The script is provided as is (see the LICENSE) and for personal usage only. Please, contact the pararius team (Real Estate Classifieds BV) if you need a stable API for extensive or commercial usage.

Installation

python3 -m pip install pararius

Usage

import pararius
search_url = 'https://www.pararius.nl/koopwoningen/nederland/bestaande-bouw/huis'
urls = pararius.get_urls(search_url)
for url in urls:
    info = pararius.get_info(url)
    print(info)

Output example (anonymized, just in case):

{'@context': 'http://schema.org/',
 '@id': 'https://www.pararius.nl/huis-te-koop/schiedam/.../...',
 '@type': ['House', 'Product'],
 'address': {
    '@type': 'PostalAddress',
    'addressLocality': 'Schiedam',
    'addressRegion': '...',
    'postalCode': '...',
    'streetAddress': '...'},
 'description': '...',
 'floorSize': {'@type': 'QuantitativeValue', 'unitText': 'MTK', 'value': 115},
 'image': 'https://casco-media-prod.global.ssl.fastly.net/...',
 'name': '...',
 'numberOfRooms': [{
    '@type': 'QuantitativeValue',
    'unitText': 'kamer',
    'value': 4,
  }],
 'offers': {
    '@type': 'Offer',
    'availability': 'http://schema.org/LimitedAvailability',
    'businessFunction': 'sell',
    'image': '...',
    'price': '290000.00',
    'priceCurrency': 'EUR',
    'url': 'https://www.pararius.nl/huis-te-koop/schiedam/...',
    'validFrom': '2021-06-02',
  },
}

About

Python library to get information about houses from pararius.nl

Topics

Resources

License

Stars

Watchers

Forks

Languages