Demo
What are we really after?
For every video that’s listed publicly on a channel - STATS
Web app
Note: You’d first need an API key from your Google Cloud console - read this for more details.
You could then try this out on your own, here -
https://app.dashdash.com/published/QMqL6Yl92hnvduRsu2KiFptSHDt2Q9HDxz7MVvELow7_/
Rant
If you’re anything like me, then even you too dread the annoying OAuth way of obtaining authorization credentials
Lucky for us, the YouTube Data API supports 2 types of authorization -
- OAuth 2.0
- API keys
Obviously, this post would make use of the 2nd option to get stats for any publicly listed channel on YouTube using their Data API
API Resources
- Channels: list - you input the username or channel ID and the API fetches the playlist ID that buckets every single video that were ever publicly uploaded on the channel
- PlaylistItems: list - once you get the playlist ID, this API allows you to query all the videos (i.e. the video ID) that the playlist holds
- Videos: list - finally, given every video ID, we then get to fetch the relevant details i.e. name, upload date and most importantly, the stats
Gotchas
I blew through my YouTube Data API Quota for a day simply during random testing; albeit, I test like a mad-person and it takes a ton of trial & errors to make sure I get to cover all plausible edge-cases.
Setup
- I make use of 2 things from our action elements
– Input fields
– Buttons
- Invoke YouTube APIs using the
GET
function (none of their API resources that we use for this app requires anything else) andPARSE
their JSON responses accordingly
- Finally, populate the table below with
OVERWRITE_DATA
&FILL
functions
Sneak peak
This is how the setup looks like from the builder’s POV - I bet the design could be better
Challenge
Now that you know (almost) all that you need, would you be able to build it by yourself?
- Yes, I get the idea
- No, tell me more
0 voters
I can also always help you set this up too once you’ve registered for our early access program, feel free to block some time using my Calendly link.
Let’s go!
Sourabh | No-Code Builder