Lieutenant Dan
Lieutenant Dan

Reputation: 8294

Getting started with Spotify API (for Web App)

I am seeking to integrate the Spotify Library of music into a Web App. A custom Web App that I am creating. Not downloading a native app to desktop.

For starters I simply want to create a Search; where users can search by 'City' or by 'Venue' and and I will store these autofill results in a array that will ideally; via URL go to that designated Spotify screen where the users can play their music based on the filtered choice.

Eg.

$(document).ready(function() {
    $("input#autocomplete").autocomplete({
        source: [
             { value: "New York, NY, USA", url: 'Spotify URL of NYC artists search results' }, 

I've downloaded a kitchen sink via git hub to get started and uploaded to a sandbox server. https://github.com/ptrwtts/kitchensink/blob/master/index.html

Bot nothing is display; any advice on working with the Spotify API and how I could implement it in a search as described.

Cheers for any pointers!

// Update:

I am still confused as firstly; downloading and uploading the boilerplate and /or popular 'kitchen sink' for spotify foundation; nothing displays as the index. And external files don't load as they are referenced as 'views' in which aren't .zipped. Also it mentions $BUNDLE-IDENTIFIER which make me think it's xcode or native mobile app specific. I want to create a web app.

Upvotes: 0

Views: 628

Answers (2)

Lieutenant Dan
Lieutenant Dan

Reputation: 8294

The apparent answer is still; 'Figure it out with our scarce API documentation'

Upvotes: 1

José M. Pérez
José M. Pérez

Reputation: 3279

I would advise you to have a read to the Developer Guidelines and start a project using a sample project such as the boilerplate app.

Upvotes: 0

Related Questions