API client makes real-time calls to server