immoscrapy.cli

Functions

buy_apartment(args)

Query for apartments to buy and pretty print the results.

buy_house(args)

Query for houses to buy and pretty print the results.

main([args])

Main entry point of the CLI.

parse_args([args])

Parse command line arguments.

pretty_print(results)

Pretty print the results.

rent_apartment(args)

Query for apartments for rent and pretty print the results.

rent_house(args)

Query for houses for rent and pretty print the results.

immoscrapy.cli.buy_apartment(args)

Query for apartments to buy and pretty print the results.

Parameters

args (argparse.Namespace) –

immoscrapy.cli.buy_house(args)

Query for houses to buy and pretty print the results.

Parameters

args (argparse.Namespace) –

immoscrapy.cli.main(args=None)

Main entry point of the CLI.

This method parses the CLI arguments and executes the respective commands.

Parameters

args (list[str], optional) – optional parameters, used for testing

immoscrapy.cli.parse_args(args=None)

Parse command line arguments.

argslist[str]

optional parameters, used for testing

Return type

argparse.Namespace

immoscrapy.cli.pretty_print(results)

Pretty print the results.

Parameters

results (list) –

immoscrapy.cli.rent_apartment(args)

Query for apartments for rent and pretty print the results.

Parameters

args (argparse.Namespace) –

immoscrapy.cli.rent_house(args)

Query for houses for rent and pretty print the results.

Parameters

args (argparse.Namespace) –