How to fetch youtube data points and save them into database

I’m not looking for solution, but steps you would take to figure it out. I’m relatively new to ruby / ruby on rails and desire to learn more through small projects. I don’t have experience with APIs and I figured that catching youtube data points and storing them in the database would be a great start?

Here is what I’m trying to accomplish: when I insert youtube video link into a form (create), then: thumb, link, title, date uploaded will get saved into the database as soon as I hit “submit.” This will allow me to display these videos using the views.

Any pointers appreciated.

Thanks,

I think you need to start with the Youtube Data API (https://developers.google.com/youtube/v3/).