Exemplo n.º 1
0
def PUTstatDownvote(statIDs):
	statID_list = statIDs.split('-')
	try:
		Stat.increment(statID_list, "down_count")
		return respond200()
	except Exception as e:
		return respond500(e)
Exemplo n.º 2
0
def PUTstatIncrement(statID, count):
	try:
		Stat.increment([statID], count)
		return respond200()
	except Exception as e:
		return respond500(e)