smith1302 / guess_that_song

Song-guessing game using grooveshark's api.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Guess That Song

Song-guessing game using Grooveshark's api.

Note to contributors: For these php files to work, they need config.php included. Please make sure that it is created and excluded from git by placing "config.php" in your .gitignore.

Documentation

getPlaylistIDs.php
Accepts a POSTED 'playlistID', acquired from getUserPlaylists.php. Returns a json_encoded array of Song objects.
getSearchResults.php
Accepts a song title as a search parameter. Title only for now. Returns a json_encoded array of matching Song objects.
getUserPlaylists.php
Returns a json_encoded array of a user's playlists, assuming they are logged in already.
logInUser.php
Accepts POSTED password and username as 'pw' and 'un'

About

Song-guessing game using grooveshark's api.