thanks. Too bad I'd still need the Password for searching. BTW, I really have to add a note somewhere that I used your unofficial Google Music API as reference.
If your're Spotify account is bound to Facebook you need to specifically lookup your device username (which usually only contains digits) and password. You can do that on your Spotify Profile page at: https://www.spotify.com/de/account/set-device-password/
That's why I chose JS and to distribute it as ready-to-run app with app.js. Everyone should check the code and make sure I am not doing nasty things with their passwords.