I am trying to export some csv data and I want to do it preferable by reading the data using the url and then exporting.
The url I want to get data from is: https://bank.gov.ua/en/markets/exchangerate-chart?startDate=2022-01-01&endDate=2022-07-11 and if you look at the bottom there is an option to download the data in csv format.
This is my code so far:
import requests
response = requests.get(url)
data = response.content
If we call the data variable we get a byte type format of the webpage, and I just want to get the section of data illustrated in the picture which I guess has the heading of "data" followed by what seems a dictionary:
I am not really sure if there is a way of cleaning it all up or a way of indexing but I could really use some help.
