Can i use the youtube API

I was wondering if i can implement the youtube API to do these tasks :

  1. I want to make a music app to download music and listen to them offline and i was wanting to put the youtube API in my app so when someone searches for a song it would come up as musics that are from youtube. Is this possible ?

  2. Can someone provide a doc that would help us more on how to implement API’s in our apps.

Thank you very much!

Hi, what do you mean by the Youtube API? Can you point us to the docs for the API you want to use?

https://developers.google.com/youtube/v3/code_samples/java

these API’s can they be implemented into my app