Im using YTS API and I would like to make Infinite scrolling function. There are page parameter and limit parameter. And seems it can work with them but I have no idea of how to use it.. I'm a beginner of React. Could you guys help me? thanks!!!!
fetch('https://yts.am/api/v2/list_movies.json?sort_by=download_count&limit=20')
fetch('https://yts.am/api/v2/list_movies.json?sort_by=download_count&page=2')
this is the link of YTS API https://yts.am/api#list_movies
Aucun commentaire:
Enregistrer un commentaire