API client for tinymesh cloud using Superagent and promises