Get All Currency Exchange Rates from Portugal National Bank (Banco de Portugal - BdP)
This php script permits to automate the update of the daily exchange rates from Portugal National Bank (Banco de Portugal - BdP)
This script uses Simple HTML DOM Parser (https://simplehtmldom.sourceforge.io/)
Instalation:
- Put the two files wherever you want in your server.
- Choose the output of the exchange rates (Browser or File)
- For file output, you must define your file name and absolute location path
Usage:
- Run the script by browser or by command line
This package includes
- bdp_exchange_rate.php (Get daily exchange rates from Portugal National Bank - v1.02)
- simple_html_dom.php (Simple HTML DOM Parser - v1.9.1)
- exr_bdp.txt (Sample output file)