How can I implement the currency rates on this website and keep the currencies up to date so that i can access them in python from this website and input and output values and currencies types. I need my program to connect to this webpage and take the rates of the currency using the currency converter app on the webpage.
I need to know how to do this on many high street currency providers that have a website however many do not supply a list of rates so web scrapping is not as straightforward.
Which modules will i need to install using pip and how will i be able to use them to achieve my goal. Many thanks
You can use the following code where exchange_rates is a dict mapping currencies to their rates (the url is the one that this page uses to load it's data)
You can apply this to most sites by loading them with the chrome developer network window open and look through the requests to find the one that loads in this data.