I'm requesting list of coins
requests.get(
"https://api.coingecko.com/api/v3/coins/markets?vs_currency=eur&order=market_cap_desc&per_page=4&page=1&sparkline=false").text
Problem is that there is a parameter called "per_page" with a limit. So in order to get all coins with one request I need to increment the "page" parameter by 1. Also there is no telling of how many pages there are. Is there a fix for this kinda situation? Maybe a loop that incerements the value ?