Make Go script to custom youtube video finder by using Youtube API
- Enable the Youtube API Data V3 in your project
- Create credentials > choose API Key
- Follow the steps and voila! you get the key
git clone github.com/kaabima/youtube-finder-with-go.git
go run finder.go -query "your keyword" -max-results 10
after you run the code above, you will get the result like the following below:
Videos:
The Top 10 Most Promising Medical Technologies UPDATED - The Medical Futurist
URL: https://www.youtube.com/watch?v=dy5Hh_MTVRM
Output:
Videos:
SWIPE-SWIPE MANJAH DI TINDER!
URL: https://www.youtube.com/watch?v=UCpObkRz6Ek
View count: 658678
Subscriber count: 0
8min | Dikta berpendapat tentang profil di Tinder | #BisaBareng101
URL: https://www.youtube.com/watch?v=iMOSQKtYbvk
View count: 83550
Subscriber count: 0