simple api client