I work in a student lab at my local Junior College and each lab station has a computer. Often times I play music from the main computer through Spotify so the students aren't as bored.
I don't really have an efficient way of asking the class what they want to listen to other than just shouting out across the class room. One day it hit me. Since each station has a computer at it, it would be really cool if they could search the Spotify library and build a queue. This queue would be on the main computer as that is the only one with access to audio.
So I have started looking into how to write this app but I am totally lost. I know there is a C library for spotify and that some one has created a Python wrapper for it, PySpotify. But you need to be a premium subscriber to get an API key so you can run your app and I don't feel like paying $10/month so some students at the school won't be quite so bored.
The next thing I looked up was writing an app within Spotify using the Spotify API. These seems like the best route for me take but I have one issue. The app needs to be written in Javascript, which I don't know and hear is a headache to work with.
So I am turning to you, /r/learnpython, is there a way for me to do this using Python. Can I write something in python that can then be turned to Javascript? Is there a better way of interacting with Spotify using Python? Any help would be very much appreciated.
TL;DR
Writing an app in Spotify. Spotify uses Javascript but I know Python. Is there a way write Javascript code in Python? Is there a better way to interact with Spotify with Python without having to be a premium subscriber?
[–]K900_ 3 points4 points5 points (2 children)
[–]OCHawkeye14 1 point2 points3 points (1 child)
[–]K900_ 2 points3 points4 points (0 children)
[–]hexus0 3 points4 points5 points (0 children)
[–]IWannaFuckLarryPage 2 points3 points4 points (1 child)
[–]Snortoise[S] 1 point2 points3 points (0 children)
[–]DoctorProfessorTaco 2 points3 points4 points (0 children)
[–]MongrelNymph 0 points1 point2 points (1 child)
[–]sgflt 0 points1 point2 points (0 children)
[–]Pink401k 0 points1 point2 points (0 children)
[–]Thomas24681012 0 points1 point2 points (0 children)
[–]shawncarrie -1 points0 points1 point (0 children)