An example script which uses this library to perform the following:
-Login to the selected project
-Open defect #1 for editing
-Append text to the summary of defect #1
-Append text to a custom field of defect #1
-Add a Comment event to defect #1