I'm trying to write a program for myself using Spotify's api. I have no intention of my software being public, I just need access to my own playlist data. The issue is, in order to actually get this information, I need to go through Spotify's authentication process. Part of this process is a redirect URL which it sends you back to once you've logged on. The issue is, I don't actually have my code/site online, its just on my local file system. How can I open up an html file on my local filesystem using spotify's redirect url?
I tried entering a path like I would for a cmd run command such as
I'm not sure about how Spotify's API works, but there are two options that I see.
file:///my-pathbut this might not work
localhosturl. An easy way to do this is python's
python -m SimpleHTTPServer.