Refactored clickatell api