I have not been able to fetch any data from your API for the past 4-6 days, even though there is data available on YouTube. Instead, I keep receiving an empty array every time.
I am useing this – > const axios = require(‘axios’);
const options = {
method: ‘GET’,
url: ‘https://youtube-search-results.p.rapidapi.com/youtube-search/’,
params: {q: ‘justin+bieber’},
headers: {
‘X-RapidAPI-Key’: ‘API-KEY’,
‘X-RapidAPI-Host’: ‘youtube-search-results.p.rapidapi.com’
}
};
try {
const response = await axios.request(options);
console.log(response.data);
} catch (error) {
console.error(error);
}
चर्चा में शामिल हों - नीचे टिप्पणी जोड़ें:
Try this “Youtube Search and Download” api
pls let me know is you quys find any alternative options.
same too
same here!