Added an API call for the extract method
Merge pull request #1 from mattgaunt/extract

Added an API call for the extract method