API calls with promises
Merge pull request #1 from rubystar/promises

API calls with promises