#NEWLINE# def create_entry( self , project_id , task_id , hours = 0 , notes = '' , spent_at = '' ) : #NEWLINE# #INDENT# entry = { #NEWLINE# #INDENT# 'project_id' : project_id , #NEWLINE# 'task_id' : task_id , #NEWLINE# 'hours' : hours , #NEWLINE# 'notes' : notes , #NEWLINE# 'spent_at' : spent_at , #NEWLINE# #UNINDENT# } #NEWLINE# response = self . post_request ( 'daily/add' , entry ) #NEWLINE# if response : #NEWLINE# #INDENT# return Entry ( self , response )