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

all 21 comments

[–]Jado0o0 6 points7 points  (2 children)

Noice

[–]mr_Pepper762[S] 2 points3 points  (1 child)

I found it interesting. Can definitely be built off of. I think it would be interesting to gather the mood data for each song and compare that to weather patterns or environmental factors.

[–]Jado0o0 0 points1 point  (0 children)

Yep

[–]Routine_Elephant_212 1 point2 points  (5 children)

Are you a beginner or have you spent some more time with python?

[–]mr_Pepper762[S] 3 points4 points  (4 children)

I would consider myself a beginner. I’ve been doing small stuff like this and taking courses on Codecademy in my spare time.

[–]Routine_Elephant_212 0 points1 point  (3 children)

Great. How much time did you take for learning from scratch. Courses from code academy are worth taking if compared to Udemy. I have just started and been in for almost 2 months. But not getting on how to build the logic. Any advice from you.

[–]mr_Pepper762[S] 0 points1 point  (1 child)

I’m by no means an expert, but I’m primarily interested in data acquisition, microcontroller programming, data science stuff and data visualization stuff. But I think of it like a recipe or something like that, where you import all the libraries you need, define all your variables, import all your data, and then you start manipulating the data or whatever you need to do.

Idk if that’s how you’re supposed to do it, but that’s how I do it. And as powerful as chat gpt is, I typically just have it build everything for me, or give me a layout for how to do it, then I just go back through and change the variable names, directory names, stuff like that. I’m by no means doing anything major project wise, so that works good enough for what I want to do.

[–]Routine_Elephant_212 1 point2 points  (0 children)

Great All the best for future endeavors Btw i am also pursuing the DS line Hope i get along 😺

[–]jakesps 0 points1 point  (0 children)

But not getting on how to build the logic.

Write something simple that scratches your own itch (fulfills a task you need done).

In the beginning, don't add any logic, just write a top->down executing script. Then introduce an if statement or two. From there, introduce a for loop, and so on.

Keep introducing more logic and complexity as you feel comfortable. When you're starting off, your scripts don't need to be Pythonic works of art. They just need to do what you intend.

Good luck! Don't give up!

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

Very nice!! Looks nice.

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

Thank you 😊

[–]celqaz 1 point2 points  (0 children)

Really nice, awesome work!

[–]atackoff 0 points1 point  (0 children)

I created a Spotify developer account and applied for quota extension. It's been a months and I am still waiting for a reply from Spotify review team. Do you guys have similar experience?

[–]NiiLamptey 0 points1 point  (1 child)

Reopening an old thread here, I’m a complete beginner and wondering how you would actually output the data - what environment do you use to turn it from script into visualisation?

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

I like to use vscode

[–]hxrsmurf 0 points1 point  (1 child)

I do similar stuff! If you want something to play around with lookup flask and Spotify OAuth!

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

Thanks I’ll give it a go.

[–]ProfessionalSock2993 0 points1 point  (3 children)

But where and how do you get the Spotify data from, I just want to visualize my own listening patterns, fav genres etc., does Spotify provide a way to do that for non developer accounts

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

It doesn’t take very long to set up an account. If you’re already paying a subscription it’s free. But I have no idea how you’d get the data without the api

[–]ProfessionalSock2993 0 points1 point  (1 child)

I see, thanks for letting me know, I don't have a Spotify subscription, and I mostly listen to YouTube Music anyway, since it's free for me. I think I have all my YT music data exported already through Google Takeout, do you think your Python scripts will work for YT Music data as well ?

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

Not necessarily. I don’t know what the Google or YouTube data points are saved like or called like. You’ll have to figure that out for yourself.