def POST(self, sub, field, value): getSubscriptionManager().set_series_detail(sub, field, urllib.unquote(value)) return json.dumps(None)
def GET(self): return json.dumps( {"subscriptions": getSubscriptionManager().get_series()})
def GET(self, sub, field, value): return json.dumps(getSubscriptionManager().get_series_details(sub)[field])
def PUT(self, sub): return json.dumps(getSubscriptionManager().add_series(sub))
def GET(self, sub): return json.dumps(getSubscriptionManager().get_episodes(sub))
def DELETE(self, sub): getSubscriptionManager().remove_series(sub) return json.dumps(None)
def GET(self): return json.dumps({"subscriptions": getSubscriptionManager().get_series()})