change required parameters
Merge pull request #1 from rvrangel/master

A few changes to make the module work with the current version of the API