Basic api structure in place, removed the static api files - moved to a class in api.py'

This commit is contained in:
rembo10
2012-03-26 23:27:49 +01:00
parent 6b820dffbb
commit 108b732cfe
5 changed files with 125 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
General structure:
http://localhost:8181 + HTTP_ROOT + /api?apikey=$apikey&cmd=$command
Optional parameters:
format : json, xml
Commands:
findArtist?name=$artistname&type={album,artist}[&limit=$limit]