Package: guedesmoney
GuedesMoneyDescriptionGuedesMoney is a CLI tool meant to interact and interface with Portal das Finanças automatically via NIF/Password credentials. GuedesMoney is meant to be used for automation and allows for easy access to any action or information in Portal das Finanças through web scraping.Installationpip install guedesmoneyorpip install guedesmoney==<any_version> (for instance 1.0.1)UsageLike any other CLI tool guedesmoney keeps it simple by asking for a command action and arguments in this orderguedesmoney <command> <args> <option>DocumentationCommandArgumentsDescriptioncheck-alertsheadless, save_results, screenshotWill check the current alertscheck-fiscalheadless, save_results, screenshotWill check the state of the current fiscal situationcheck-interactionsheadless, save_results, screenshotWill check the current interactionscheck-messagesheadless, save_results, screenshotWill check the current messagescheck-paymentsheadless, save_results, screenshot, current, missing, refundWill check state of the current paymentsconfigcheck_config, show_passwordWill prompt user to setup the CLI configurationloginheadlessWill check if login credentials are correctrunheadless, save_results, screenshot,check-fiscal,check-alerts, check-messages, check-interactions, check-payments ,current, missing, refund, send-email, attach-screenshotsCan run all commands in GuedesMoney (recommended for pipeline integration)versionnoneReturns the current version of guedesmoneyArgumentsmallTypeDescriptionheadlesshlbooleanRun scraper in headless modesave_resultssrbooleanSave results to filescreenshotssbooleanSave a screenshot of the of windowcheck-fiscalcfbooleanRun Check Fiscal Commandcheck-alertscabooleanRun Check Alerts Commandcheck-messagescmbooleanRun Check Messages Commandcheck-interactionscibooleanRun Check Interactions Commandcheck-paymentscpbooleanRun Check Payments CommandcurrentcbooleanCheck the state of the current paymentsmissingmbooleanCheck the state of the missing paymentsrefundrbooleanCheck the state of the refund paymentssend-emailebooleanSends an email with the results of the runattach-screenshotsasbooleanAttach the screenshots to the emailcheck_configcbooleanChecks CLI configuration instead of configuring itshow_passwordshpbooleanShow password in CLI configuration checkuser_nifuntextUser NIFuser_passworduptextUser Passwordemail_typeettextSender email providersender_emailsetextSender emailsender_passwordsptextSender email passwordrecipient_listrltextRecipient list (comma-separated)ExampleThe following example will run every command and verify every check in guedesmoney through the command run:guedesmoney run --headless --save_results --screenshot --check-fiscal --check-alerts --check-messages --check-interactions --check-payments --current --missing --refundToolsTyperSeleniumbumpversionContributingYou must clone the repogit clone https://github.com/JoaoGuedes01/scraper_portal_financas.gitCreate a new feature branch (keep it simple and to the point as to follow gitflow)git checkout <your_new_branch>Then you need to merge onto dev branch, which will need CODEOWNER's approval and then your change can be featured in the next version of guedesmoney.LicenseMIT License