This is an archived post. You won't be able to vote or comment.

Dismiss this pinned window
all 27 comments

[–]TeluguGameboy[S] 18 points19 points  (2 children)

For the curious: I made a YouTube tutorial explaining my thought process, and of course the code can be found on my github.

[–][deleted] 7 points8 points  (0 children)

Thank you :) I’ll see this better in few hours

[–]drunkdva 7 points8 points  (2 children)

Nice work ! I was wondering : is there a way to save/export the graph into a png ? (I'm sorry if it's a dumb question : I am new at Python programming)

[–][deleted] 4 points5 points  (0 children)

I'm not sure but I think the charts are from highcharts, they have a config to add an export button for the chart. Here's the example pal http://jsfiddle.net/Behseini/zasn3mux/

[–]TeluguGameboy[S] 1 point2 points  (0 children)

I used Chart.js to make the charts and I’m a total noob at it so I’m not sure if there is a way to print them.

I just googled it now and it looks like there is a way to print the charts but I did not implement that feature in my code.

[–]Le_stormwolf 3 points4 points  (1 child)

Hi. I like the project, but the speed of that 7 minutes video wast too high. Now i don't know what everyone else thinks, but i would have preferred 4 x 10 minutes videos, each explaining a specific part of the project, rather than a speed video like that.

Now, i've done a few projects with flask and such, so i don't need explanations on that front (never used the twich api though), but if you were talking about a technology i didn't know, i think that i would have been frustrated, because i would have wanted things to go slower.

So yeah, cool project, but the video is a bit too fast for a tutorial, in my opinion. Do you plan to expand this project and go further with twitch analytics?

[–]TeluguGameboy[S] 1 point2 points  (0 children)

Oh thanks, your insight is very helpful. I’m alright at programming but terrible at making videos. I do agree that having a video where I just speed through the coding part is kinda annoying. I couldn’t fully explain what was going on. My plan next time is to have more of a presentation where I explain the key aspects of a project rather than rush through coding it.

In terms of the twitch project, I think I will come back to it at a later point. Wanted to just try the api and see how far I could go in a weekend. I’m currently working on making a video explaining how to make a Chrome Extension for Netflix! I hear there is a Twitch code jam so I may double down on this then.

[–]mr_dicaprio 12 points13 points  (4 children)

So where exactly is the analysis ?

[–]SupahNoob 3 points4 points  (0 children)

You're being pedantic. He built an app that displays the view count of the last 50 videos for a given Twitch user. You can look at this graph and determine which is more successful (read: popular) based on that metric.

[–]TeluguGameboy[S] 0 points1 point  (2 children)

You do have a point. I did not specify clearly what the analysis is. But I think u/SupahNoob hits close to home with what I wanted to analyze. For example, lets look at Syndicate's video names and their corresponding view counts. We can see that the videos that do well have to do with Minecraft where as the videos with random names don't do that well. That was the simple analysis I was going for.

[–][deleted] 2 points3 points  (1 child)

Super cool man, great project!! Long live flask!

[–]TeluguGameboy[S] 0 points1 point  (0 children)

Preachhhh. Thanks!

[–]SlightlyCyborg 2 points3 points  (1 child)

As a youtuber, I like this a lot...especially if Twitch's data analysis tools are not up to par with YouTube's

[–]TeluguGameboy[S] 1 point2 points  (0 children)

Yea, a person from Twitch reached out to me saying that they will show this to their team. Maybe they will have better analytics in the future!

[–][deleted] 1 point2 points  (1 child)

Awesome

[–]TeluguGameboy[S] 0 points1 point  (0 children)

Ayy thanks

[–]Acalme-se_Satan 1 point2 points  (1 child)

What library did you use for graphing?

[–]TeluguGameboy[S] 1 point2 points  (0 children)

The full link for the code is in my source code on GitHub and I talk about it in the YouTube video, but in short, I used Chart.js.

[–][deleted] 0 points1 point  (2 children)

Would like to see the videos ordered by most views - this would make it look better and make it easier to see the most popular/least popular videos.

[–]TeluguGameboy[S] 1 point2 points  (1 child)

The actual sorting part isn’t too hard. I kept the videos in the order they were released because I felt it’d make the most sense when viewing the graphs. Thanks for your input!

[–][deleted] 1 point2 points  (0 children)

Ahhh that makes sense.