Basic API to extract data from widgets of investing.com
Just copy the files and point to
https://your_site/api_folder/index.php?a=rates
https://your_site/api_folder/index.php?a=single
**Change/add the endpoints in config.php for rates, single or other available in investing.com
I added only two by now.