Quantcast
Channel: Active questions tagged youtube-api - Stack Overflow
Viewing all articles
Browse latest Browse all 3831

React native implement Youtube data API v3

$
0
0

Is it possible somehow to integrate youtube data API v3 directly in react-native?

If not, Is there any other way to do it?

Right now I am using axios to send get request but not able to figure out how exactly send the request what I tried is this:

componentWillMount() {    axios.get('https://www.googleapis.com/youtube/v3/channels', {      params: {'id': 'UC_x5XG1OV2P6uZZ5FSM9Ttw','key': 'AIzaSy...','part': 'snippet,contentDetails,statistics'      }    }).then(      (response) => {        console.warn(response);      }).catch(      (error) => {        console.error(error);      });  }

Not sure whether it is correct or not as I don't have much experience in React native. Any help would be appreciated.


Viewing all articles
Browse latest Browse all 3831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>