Updated helper to use api v2
Merge pull request #3 from srautiai/master

Updated helper to use api v2