Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [JavaScript][AJAX][PHP]Spotify Web API - wyszukiwanie danych
arturpiotrowski
post 18.01.2017, 22:51:32
Post #1





Grupa: Zarejestrowani
Postów: 71
Pomógł: 1
Dołączył: 6.12.2016

Ostrzeżenie: (0%)
-----


Cześć. Orientuje się ktoś w Spotify Web Api i mógłby mi pomóc?
Próbowałem się bawić tym: http://jsfiddle.net/user/JMPerez/ ale nie wychodzi mi nic.

Nie umiem sobie poradzić z wyszukiwaniem danych o utworach w serwisie Spotify. Chciałbym wpisując w oba pola dane po kliknięciu szukaj sprawdzić czy utwór o dokładnie takim wykonawcy i tytule znajduje się w Spotify,
Jeśli tak to żeby lista tego co jest pojawiła się w divie #spotify-results
  1. <form class='form-horizontal' method='post'>
  2. <!-- Text input-->
  3. <div class='form-group'>
  4. <label class='col-md-4 control-label' for='artist'>Artist</label>
  5. <div class='col-md-4'>
  6. <input id='artist' name='artist' type='text' placeholder='Artist' class='form-control input-md' value='John Lenon'>
  7. </div>
  8. </div>
  9. <!-- Text input-->
  10. <div class='form-group'>
  11. <label class='col-md-4 control-label' for='title'>Title</label>
  12. <div class='col-md-4'>
  13. <input id='title' name='title' type='text' placeholder='Title' class='form-control input-md' value='Imagine'>
  14. </div>
  15. </div>
  16. <!-- Button -->
  17. <div class='form-group'>
  18. <label class='col-md-4 control-label' for='searchbutton'></label>
  19. <div class='col-md-4'>
  20. <button type='submit' id='searchbutton' name='searchbutton' class='btn btn-primary'>Search</button>
  21. </div>
  22. </div>
  23. </form>
  24. <div id='spotify-results'>
  25.  
  26. </div>


Ten post edytował arturpiotrowski 18.01.2017, 22:52:43
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 14.08.2025 - 02:19