a simple api client for readability