Open lekspyl opened 5 years ago
NBU has API which will be useful for converting taxes into UAH.
https://bank.gov.ua/NBUStatService/v1/statdirectory/exchange?date=20190317&json
Think about response caching to avoid throttling/request limiting. We only need to fetch currency rates once a day and keep it for 24h.
https://bank.gov.ua/NBUStatService/v1/statdirectory/exchange?valcode=USD&date=20190317&json this request is a lot more optimized
NBU has API which will be useful for converting taxes into UAH.
https://bank.gov.ua/NBUStatService/v1/statdirectory/exchange?date=20190317&json
Think about response caching to avoid throttling/request limiting. We only need to fetch currency rates once a day and keep it for 24h.