Skip to content

Commit

Permalink
Update usage instructions in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
roycehaynes committed Nov 11, 2012
1 parent 9f5fa18 commit bad7415
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,24 @@ pip install email_reply_parser

## Tutorial

How to parse an email message:
### How to parse an email message

Step 1: import package
Step 1: Import email reply parser package

from email_reply_parser import EmailReplyParser

Step 2: Pass in email message as type String
Step 2: Provide email message as type String

EmailReplyParser.read(text)
EmailReplyParser.read(email_message)

### How to only retrieve the reply message

Step 1: Import email reply parser package

from email_reply_parser import EmailReplyParser

Step 2: Provide email message as type string using parse_reply class method.

EmailReplyParser.parse_reply(email_message)


0 comments on commit bad7415

Please sign in to comment.