Youtube v3

FREEMIUM
Por ytdlfree | Atualizado a month ago | Data
Popularidade

9.9 / 10

Latência

381ms

Nível de serviço

100%

Health Check

100%

Voltar para todas as discussões

JSM Youtube Clone Project Easy Fix

Rapid account: Hassankllc
hassankllc
a year ago

Just do not put API Key to your .env file. Use it main file it will work.

in fectFromAPI.js file

'X-RapidAPI-Key': 'PasteYourAPIKey',
Rapid account: Abhishekbharambe 10
abhishekbharambe10 Commented 8 months ago

Thank you man you have solved my problem

Rapid account: Talhaali 1
talhaali1 Commented 9 months ago

from javascript mastery youtube 2.0 the channel data is not showing only videos are fetched from the api

Rapid account: Whereisnomu
whereisnomu Commented 9 months ago

Thank You man! Youre issued my problem

Rapid account: Onlyaddy 68
onlyaddy68 Commented a year ago

i have done it in single quotes yet getting an 404 error
import axios from “axios”;
const BASE_URL = "https://youtube-v31.p.rapidapi.com/search"
const options = {
method: ‘GET’,

params: {
    maxResults: '50'
 
},
headers: {
  'X-RapidAPI-Key':' ',
  'X-RapidAPI-Host': 'youtube-v31.p.rapidapi.com'
}

}
export const fetchFromAPI = async(url)=>{
const {data}= await axios.get(${BASE_URL}/${url},options);
return data
}

Rapid account: Muhammadtahawahid 1
muhammadtahawahid1 Commented a year ago

still not working, kindly help with any other solution

Rapid account: Ytdlfree
ytdlfree Commented a year ago

Thank you for your inputs.

Junte-se à discussão - adicione o comentário abaixo:

Efetue login / inscreva-se para postar novos comentários