immoscrapy.cli¶
Functions
|
Query for apartments to buy and pretty print the results. |
|
Query for houses to buy and pretty print the results. |
|
Main entry point of the CLI. |
|
Parse command line arguments. |
|
Pretty print the results. |
|
Query for apartments for rent and pretty print the results. |
|
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) –