add rudimentary api client