No description
Find a file
2013-11-26 14:31:18 +01:00
client/trash Merge client and server in a single bottle app 2013-11-26 12:04:43 +01:00
server removed useless dependency 2013-11-26 14:11:27 +01:00
.gitignore Merge client and server in a single bottle app 2013-11-26 12:04:43 +01:00
examplejson.txt lettura file json lato server, 2013-08-28 00:18:03 +02:00
LICENSE Initial commit 2013-08-23 04:03:28 -07:00
README.md readme 2013-11-26 14:31:18 +01:00

TECHREC

A Python2 web application that assist radio speakers in recording their shows. At the moment, it relies on some details that are specific of our radio (like the directory/format of the continous recording).

Implementation details

It is based on bottle, to get a minimal framework. Rest APIs are offered through it, and the static site uses them.

Create

JSON = {
        'starttime-rec-1385231288390': '2013/11/23 19:32:49',
        'endtime-rec-1385231288390': '2013/11/23 19:32:49',
        'recid': 'rec-1385231288390',
        'name-rec-1385231288390': 'adasd',
        'op': 'new'
        }

Update

JSON = {
        'starttime-rec-1385231288390': '2013/11/23 19:32:49',
        'endtime-rec-1385231288390': '2013/11/23 19:32:49',
        'recid': 'rec-1385231288390', ### VALID REC ID
        'name-rec-1385231288390': 'adasd',
        'op': 'update'
        }

Delete

JSON = {
        'recid': 'rec-1385231288390', ### VALID REC ID
        'op': 'delete'
        }