I would like to show each 10 data with infinite scrolling by using yts API.
It shows that I can show data by this code https://yts.am/api/v2/list_movies.json?sort_by=download_count&limit=10'
and it has limit between 1 - 50, but I want to show data infinitely. It seems has page Parameter..
Do you guys have Idea of how can I show data infinitely?
this is the link of yts API
https://yts.am/api#list_movies

this is my code of call API
_getMovies = async()=>{
const movies = await this._callApi()
this.setState({
movies
})
}
_callApi=()=>{
return fetch('https://yts.am/api/v2/list_movies.json?sort_by=download_count&limit=10')
.then(potato=> potato.json())
.then(json=> json.data.movies)
.catch(err=>console.log(err))
}