You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But what if we want the complete data and we want to just filter out the 10 movies in the list. How we will do that
You can add page to the endpoint, this way you can get all the list by simply getting the second page which contains the next 10 movies list, https://www.omdbapi.com/?apikey=[YOUR-KEY]&s=${name}&page=${page}
in here i created async funsction with 2 parameters (name, page) and after when the user fetch the data a button at the end shows up if clicked it increment the page number by 1 and fetch second page
i gave you a kick start, you can figure out how to implement it
http://www.omdbapi.com/?apikey=[yourkey]&
and also http://img.omdbapi.com/?apikey=[yourkey]& is not working
Even after putting the key unable to get all the data
{
"Response": "False",
"Error": "Incorrect IMDb ID."
}
The text was updated successfully, but these errors were encountered: