refactor
Merge pull request #3 from davidrs/master

add call to api