Merge pull request #9 from tasmo/master

updated to API v2 - thanks to @tasmo