j_karamazov
New Member
- Joined
- Feb 12, 2024
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
Hi all,
Part of my work involves financial modelling. For this, we use forecast interest rates, published by Chatham Financial (Global Financial Risk Management Firm).
They used to publish the data on a spreadsheet located a non-login protected section of their website, which a simply Power Query could pull easily.
Now, however, they have moved to a new website setup which is password protected. We have an account, but the way the website is set up is (I think) defeating the Power Query.
The username entry for the website is here: https://www.chathamdirect.com/login
Once the username is entered, the URL then moves to another page for the password: Log in | Chatham Financial
After some digging, I've found the URL for the excel sheet that can then be downloaded via the same URL every day (even though the filename changes each day): https://chathamdirect.com/rates/api/v1/rateset/sonia/forwardcurves/export/
Once I've logged into the website, I can download the sheet simply by pasting this link into the browser. However, this is quite a manually-intensive way of doing it, and I'd like to automate it in Excel if possible.
Is there a way of negotiating the two-page login process, and then downloading the file from the URL above?
Any help would be gratefully received!
Best wishes all.
Part of my work involves financial modelling. For this, we use forecast interest rates, published by Chatham Financial (Global Financial Risk Management Firm).
They used to publish the data on a spreadsheet located a non-login protected section of their website, which a simply Power Query could pull easily.
Now, however, they have moved to a new website setup which is password protected. We have an account, but the way the website is set up is (I think) defeating the Power Query.
The username entry for the website is here: https://www.chathamdirect.com/login
Once the username is entered, the URL then moves to another page for the password: Log in | Chatham Financial
After some digging, I've found the URL for the excel sheet that can then be downloaded via the same URL every day (even though the filename changes each day): https://chathamdirect.com/rates/api/v1/rateset/sonia/forwardcurves/export/
Once I've logged into the website, I can download the sheet simply by pasting this link into the browser. However, this is quite a manually-intensive way of doing it, and I'd like to automate it in Excel if possible.
Is there a way of negotiating the two-page login process, and then downloading the file from the URL above?
Any help would be gratefully received!
Best wishes all.