search = async (input) => {
const response = await fetch(
`https://youtube.googleapis.com/youtube/v3/search?part=snippet&q=${input}&type=video&maxResults=15&key=${this.key}`,
this.requestOptions
);
return await response.json();
};
loadMore= async (searchToken, inputValue) => {
const response = await fetch(
`https://youtube.googleapis.com/youtube/v3/search?part=snippet&q=${inputValue}&type=video&pageToken=${searchToken}&key=${this.key}`,
this.requestOptions
);
return await response.json();
};
has anyone experienced and solved this problems?